:root {
  --navy: #0b1c2c;
  --navy-2: #123047;
  --navy-3: #1b3d57;
  --ink: #15202b;
  --gold: #c9a44c;
  --gold-2: #e0bb63;
  --gold-d: #8f6f24;
  --cream: #f4efe6;
  --paper: #fbf8f3;
  --white: #ffffff;
  --muted: #5a6a78;
  --line: #e4dcd0;
  --line-2: #d3cbbd;
  --danger: #b42318;
  --success: #0f7b4a;
  --whatsapp: #128c7e;
  --whatsapp-2: #0e7a6e;
  --shadow: 0 18px 40px rgba(11, 28, 44, 0.12);
  --radius: 14px;
  --header-h: 76px;
  --font-d: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-b: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--gold-d); }
h1, h2, h3, h4, .wordmark, .btn {
  font-family: var(--font-d);
  letter-spacing: -0.02em;
}
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy); margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 1000;
}
.skip:focus { left: 8px; top: 8px; }

/* Top bar */
.topbar {
  background: var(--navy);
  color: #d7dde3;
  font-size: 14px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar a { color: #eef2f5; text-decoration: none; }
.topbar a:hover { color: var(--gold-2); }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.wa-mini { color: #8ee0d3 !important; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-text span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--gold-d); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span:before,
.nav-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span:before { top: -6px; }
.nav-toggle span:after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}
.btn-wa:hover { background: var(--whatsapp-2); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--navy) center/cover no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,28,44,0.25) 0%, rgba(11,28,44,0.55) 45%, rgba(11,28,44,0.88) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 80px 0 72px;
}
.eyebrow {
  display: inline-block;
  color: var(--gold-2);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5.4vw, 68px);
  font-weight: 800;
  max-width: 16ch;
  margin-bottom: 18px;
}
.hero .lede {
  max-width: 46ch;
  font-size: 19px;
  color: #e6ebf0;
  margin-bottom: 28px;
}

/* Sections */
.section { padding: 88px 0; }
.section-cream { background: var(--cream); }
.section-navy {
  background: var(--navy);
  color: #e6ebf0;
}
.section-navy h2 { color: #fff; }
.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.kicker {
  color: var(--gold-d);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}
.section-navy .kicker { color: var(--gold-2); }

.service-grid,
.why-grid,
.card-grid {
  display: grid;
  gap: 22px;
}
.service-grid { grid-template-columns: repeat(3, 1fr); }
.why-grid { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(11,28,44,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}
.service-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--navy-2);
}
.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .thumb img { transform: scale(1.05); }
.service-card .body { padding: 20px 20px 22px; }
.service-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0 0 12px;
}
.more {
  font-weight: 700;
  font-size: 14px;
  color: var(--gold-d);
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cta-band p { color: #c9d3dc; max-width: 52ch; margin: 0; }

/* Page hero (inner) */
.page-hero {
  background:
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 52px); margin-bottom: 12px; }
.page-hero p { color: #d5dde4; max-width: 56ch; margin: 0; }

.prose { max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.placeholder-note {
  border: 1px dashed #c8b27a;
  background: #fff8e8;
  color: #6a5420;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.placeholder-text {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  color: #4d5a66;
  font-style: italic;
}

.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li { margin: 0 0 14px; }
.contact-list a { font-weight: 700; text-decoration: none; color: var(--navy); }
.contact-list a:hover { color: var(--gold-d); }
.contact-list .label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.form label {
  display: block;
  font-weight: 650;
  font-size: 14px;
  margin: 0 0 6px;
}
.form .field { margin-bottom: 14px; }
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.alert-success { background: #e7f6ee; color: #0b5c38; }
.alert-error { background: #fdecea; color: #8a1c14; }

.service-detail-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.service-detail-hero .media {
  min-height: 360px;
  background: var(--navy-2) center/cover no-repeat;
}
.service-detail-hero .copy { padding: 56px 48px; }
.product-group { margin-top: 56px; }
.product-group h2 { margin-bottom: 8px; }
.product-group .lead { color: var(--muted); margin-bottom: 24px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-grid > .product-card:only-child {
  grid-column: 1 / -1;
  max-width: 900px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card .media {
  background: #e8e2d6;
  aspect-ratio: 16 / 10;
  min-height: 0;
}
.product-card .media img,
.product-card .media a {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card .copy { padding: 20px 22px 22px; }
.product-card .brand {
  display: inline-block;
  color: var(--gold-d);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.product-card h3 { font-size: 22px; margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: 15.5px; }
.features {
  margin: 10px 0 16px;
  padding: 0 0 0 18px;
  color: var(--ink);
}
.features li { margin: 0 0 6px; }
.muted { color: var(--muted); }

.site-footer {
  background: #08141f;
  color: #b7c0c8;
  padding: 56px 0 24px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.site-footer h3 { color: #fff; font-size: 16px; }
.site-footer a { color: #dce3e9; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.copyright {
  border-top: 1px solid #1b2a38;
  padding-top: 18px;
  font-size: 13px;
  color: #8b96a0;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gallery-item .gallery-link {
  display: block;
  aspect-ratio: 4 / 3;
  background: #10202c;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item .gallery-link:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  padding: 12px 14px 14px;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gallery-item .gallery-service {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.gallery-item .gallery-service:hover { color: var(--gold-d); }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 24, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 24px;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: 8px;
}
.gallery-lightbox p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  color: #fff;
  margin: 0;
  padding: 0 20px;
  font-size: 15px;
}
.gallery-lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .split,
  .service-detail-hero,
  .product-card,
  .cta-band .wrap,
  .footer-grid { grid-template-columns: 1fr; }
  .service-detail-hero .media { min-height: 240px; }
  .service-detail-hero .copy { padding: 32px 24px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 20px;
    gap: 12px;
  }
  .nav.open { display: flex; }
  .hero { min-height: 68vh; }
  .section { padding: 56px 0; }
  .product-grid,
  .service-grid,
  .why-grid,
  .gallery-grid { grid-template-columns: 1fr; }
}
