@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800;900&display=swap');

:root {
  --ink: #182027;
  --muted: #5c6873;
  --line: #d9e0e6;
  --panel: #f5f7f8;
  --steel: #245d78;
  --steel-dark: #14384d;
  --action: #f47a20;
  --action-dark: #c85b0d;
  --whatsapp: #128c4a;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(15, 31, 44, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav__links,
.nav__actions,
.inline-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ───── Sticky Nav ───── */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(16, 30, 42, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--steel-dark), var(--steel));
  color: var(--white);
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav__links a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--steel-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 1.35rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  display: block;
}

/* ───── Buttons ───── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--steel);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--steel-dark);
  transform: translateY(-1px);
}

.btn--action {
  background: var(--action);
}

.btn--action:hover {
  background: var(--action-dark);
}

.btn--ghost {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--panel);
  color: var(--ink);
}

.btn--whatsapp {
  background: var(--whatsapp);
}

/* ───── Hero ───── */

.hero {
  min-height: 720px;
  position: relative;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 28, 40, 0.94) 0%, rgba(13, 28, 40, 0.78) 38%, rgba(13, 28, 40, 0.25) 72%),
    url("../images/industrial-workshop-hero.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  padding: 112px 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--action);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.lead {
  color: #dce7ed;
  font-size: clamp(1.04rem, 1.6vw, 1.24rem);
  max-width: 680px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* ───── Stats ───── */

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stat {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--steel-dark);
}

.stat span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ───── Sections ───── */

section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head p {
  color: var(--muted);
  max-width: 560px;
}

/* ───── Grids ───── */

.grid {
  display: grid;
  gap: 18px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ───── Cards ───── */

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ───── Photo Grid (homepage) ───── */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.photo-card {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.photo-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.05), rgba(7, 16, 24, 0.78));
}

.photo-card__body {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.photo-card__body h3 {
  margin-bottom: 4px;
}

.photo-card__body p {
  margin-bottom: 0;
  color: #dce7ed;
  font-size: 0.92rem;
}

/* ───── Proof Strip (infrastructure) ───── */

.proof-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.proof-media {
  min-height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #e6f1f5;
  color: var(--steel-dark);
  font-weight: 900;
  margin-bottom: 16px;
}

.muted {
  color: var(--muted);
}

.band {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

/* ───── Capacity Table ───── */

.capacity-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.capacity-table th,
.capacity-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.capacity-table th {
  background: var(--steel-dark);
  color: var(--white);
  font-size: 0.88rem;
}

.capacity-table tr:last-child td {
  border-bottom: 0;
}

/* ───── Split Layout ───── */

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--action);
}

/* ───── CTA Band ───── */

.cta-band {
  background: var(--steel-dark);
  color: var(--white);
}

.cta-band p {
  color: #d3e0e7;
}

/* ───── Clients ───── */

.clients {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.client {
  display: grid;
  place-items: center;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  color: var(--steel-dark);
  font-weight: 800;
  background: var(--white);
}

/* ───── Page Hero (subpages) ───── */

.page-hero {
  background: var(--steel-dark);
  color: var(--white);
  padding: 72px 0;
}

.page-hero p {
  color: #d3e0e7;
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  gap: 6px;
  color: #a9bdca;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #a9bdca;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .sep {
  color: #6e8a9c;
}

/* ───── Gallery (real photos) ───── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-item {
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--ink);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
  opacity: 0.92;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.gallery-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(7, 16, 24, 0.82), transparent);
  color: var(--white);
  font-weight: 900;
  font-size: 0.95rem;
}

/* ───── Lightbox ───── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #c7d4dc;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

/* ───── Form ───── */

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(36, 93, 120, 0.12);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ───── Footer ───── */

.footer {
  background: #101820;
  color: var(--white);
  padding: 52px 0 22px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 30px;
}

.footer a,
.footer p {
  color: #c7d4dc;
}

.footer a:hover {
  color: var(--white);
}

.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer__bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #a9b7c0;
  font-size: 0.9rem;
}

/* ───── Floating WhatsApp ───── */

.float-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(18, 140, 74, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(18, 140, 74, 0.55);
}

.float-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* ───── Service Nav ───── */

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--steel-dark);
  background: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.pill:hover {
  background: var(--steel-dark);
  color: var(--white);
}

/* ───── Actual Photo Note ───── */

.actual-photo-note {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  background: rgba(244, 122, 32, 0.1);
  border: 1px solid rgba(244, 122, 32, 0.25);
  border-radius: 999px;
  color: var(--action-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ───── 404 Page ───── */

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px;
}

.error-page h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--steel);
  line-height: 1;
  margin-bottom: 8px;
}

.error-page p {
  color: var(--muted);
  max-width: 480px;
}

/* ───── Machine Photo Grid (infrastructure) ───── */

.machine-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.machine-photo {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--ink);
}

.machine-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.machine-photo:hover img {
  transform: scale(1.04);
}

.machine-photo__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(7, 16, 24, 0.8), transparent);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
}

/* ───── Responsive ───── */



@media (max-width: 980px) {

  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav.open .nav__links,
  .nav.open .nav__actions {
    display: flex;
    width: 100%;
    align-items: stretch;
  }

  .nav.open .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    position: absolute;
    right: 16px;
    top: 16px;
  }

  .stats,
  .photo-grid,
  .grid--3,
  .grid--2,
  .clients,
  .gallery-grid,
  .footer__grid,
  .split,
  .proof-strip,
  .machine-photos {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 590px;
  }
}

@media (max-width: 680px) {
  .section-head,
  .inline-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .stats,
  .photo-grid,
  .grid--3,
  .grid--2,
  .clients,
  .gallery-grid,
  .footer__grid,
  .split,
  .proof-strip,
  .machine-photos {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
    background-position: 58% center;
  }

  .hero__content {
    padding: 58px 0 72px;
  }

  section {
    padding: 52px 0;
  }

  .capacity-table {
    display: block;
    overflow-x: auto;
  }

  .btn {
    width: 100%;
  }
}
