:root {
  --navy-950: #071727;
  --navy-900: #0b1f33;
  --navy-800: #12314c;
  --gold-500: #d6a33b;
  --gold-400: #e3b95e;
  --cream-100: #f7f1e7;
  --cream-50: #fbf8f3;
  --white: #ffffff;
  --ink: #15202a;
  --muted: #5f6870;
  --line: #ddd8cf;
  --shadow: 0 18px 48px rgba(7, 23, 39, .12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--cream-50); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 4px; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: .75rem 1rem; background: var(--white); color: var(--navy-950); border-radius: 8px; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }

.site-header { position: sticky; top: 0; z-index: 1000; min-height: var(--header-height); background: rgba(7, 23, 39, .97); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.header-inner { min-height: var(--header-height); display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; width: max-content; align-items: center; padding: 2px 8px; border-radius: 12px; background: var(--white); }
.brand img { width: 180px; height: 60px; object-fit: contain; }
.primary-nav { justify-self: center; display: flex; align-items: center; gap: .3rem; }
.primary-nav a { color: rgba(255,255,255,.88); text-decoration: none; padding: .75rem .85rem; border-radius: 8px; font-weight: 700; font-size: .92rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--gold-400); background: rgba(255,255,255,.05); }
.menu-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .78rem 1.2rem; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 800; line-height: 1.2; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-gold { color: var(--navy-950); background: var(--gold-500); box-shadow: 0 10px 28px rgba(214, 163, 59, .22); }
.button-gold:hover { background: var(--gold-400); }
.button-navy { color: var(--white); background: var(--navy-900); }
.button-navy:hover { background: var(--navy-800); }
.button-outline-light { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(7,23,39,.28); }
.button-outline-light:hover { background: rgba(255,255,255,.09); border-color: var(--white); }
.button-outline-navy { color: var(--navy-900); border-color: var(--navy-900); background: transparent; }
.header-whatsapp { white-space: nowrap; min-height: 46px; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--navy-900); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link-light { color: var(--white); }

.hero { min-height: min(780px, calc(100vh - var(--header-height))); position: relative; display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--navy-950); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,17,29,.94) 0%, rgba(5,17,29,.79) 37%, rgba(5,17,29,.28) 70%, rgba(5,17,29,.12) 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 90px; }
.hero-content h1 { max-width: 820px; margin: .45rem 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 5.7vw, 5.4rem); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.hero-lead { max-width: 710px; margin: 0; color: rgba(255,255,255,.88); font-size: clamp(1.02rem, 1.6vw, 1.18rem); }
.eyebrow, .section-kicker { margin: 0 0 .5rem; color: var(--gold-500); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }

.section { padding-block: clamp(70px, 9vw, 120px); background: var(--cream-50); }
.section-light { background: var(--white); }
.section-cream { background: var(--cream-100); }
.section-navy { color: var(--white); background: var(--navy-900); }
.section-heading { max-width: 760px; margin-bottom: 2.4rem; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.between { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-heading h2, .split-layout h2, .cta-band h2, .service-detail h2, .contact-card h2 { margin: 0; color: var(--navy-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.025em; }
.section-navy h2, .section-heading-light h2, .split-light h2, .cta-band h2 { color: var(--white); }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.split-layout { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.prose-large { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: #414a52; }
.prose-large p:first-child { margin-top: 0; }
.prose-large p:last-child { margin-bottom: 0; }
.section-navy .prose-large, .split-light .prose-large { color: rgba(255,255,255,.82); }

.service-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1rem; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: 0 8px 28px rgba(7,23,39,.06); }
.service-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-card-body { padding: 1.15rem; }
.service-card h3 { margin: 0 0 .5rem; color: var(--navy-950); font-size: 1.08rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.section-action { display: flex; justify-content: center; margin-top: 2.2rem; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.feature-card { min-height: 235px; padding: 1.6rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); background: rgba(255,255,255,.045); }
.feature-number { display: block; margin-bottom: 1.3rem; color: var(--gold-400); font-weight: 900; font-size: .86rem; }
.feature-card h3 { margin: 0 0 .6rem; font-size: 1.15rem; }
.feature-card p { margin: 0; color: rgba(255,255,255,.72); }

.gallery-preview { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 260px; gap: 12px; }
.gallery-tile { overflow: hidden; border-radius: var(--radius-md); background: #ddd; }
.gallery-tile-wide { grid-column: span 2; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-tile:hover img { transform: scale(1.025); }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; position: relative; padding: 1.35rem 2.8rem 1.35rem 0; cursor: pointer; font-weight: 800; color: var(--navy-950); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .2rem; top: 1rem; color: var(--gold-500); font-size: 1.6rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -.2rem 2rem 1.35rem 0; color: var(--muted); }

.cta-band { padding-block: 70px; color: var(--white); background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); }
.cta-band-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-band p:not(.section-kicker) { color: rgba(255,255,255,.8); }
.cta-band .button-row { margin-top: 0; justify-content: flex-end; }

.page-hero { padding-block: clamp(76px, 10vw, 130px); color: var(--white); background: radial-gradient(circle at 85% 20%, rgba(214,163,59,.15), transparent 34%), linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.page-hero-compact { padding-block: clamp(62px, 8vw, 96px); }
.page-hero h1 { margin: .4rem 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; letter-spacing: -.035em; }
.page-hero p:last-child { margin: 0; max-width: 760px; color: rgba(255,255,255,.82); font-size: 1.08rem; }

.service-detail-list { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.service-detail { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.service-detail.reverse .service-detail-media { order: 2; }
.service-detail-media { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.service-detail-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.service-detail-copy p { color: var(--muted); }
.service-detail-copy .section-kicker { color: var(--gold-500); }

.gallery-grid { columns: 3 300px; column-gap: 14px; }
.gallery-item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #e7e2da; cursor: zoom-in; break-inside: avoid; }
.gallery-item img { width: 100%; transition: transform .25s ease, filter .25s ease; }
.gallery-item:hover img { transform: scale(1.015); filter: saturate(1.04); }
.lightbox { width: min(96vw, 1240px); max-width: none; height: min(94vh, 900px); padding: 0; border: 0; background: rgba(6,17,29,.98); color: var(--white); overflow: hidden; }
.lightbox::backdrop { background: rgba(0,0,0,.82); }
.lightbox figure { height: 100%; margin: 0; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; }
.lightbox figure img { max-width: 100%; max-height: calc(94vh - 60px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { width: 100%; padding: .8rem 4rem 1rem; text-align: center; color: rgba(255,255,255,.78); font-size: .9rem; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 5; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--white); background: rgba(7,23,39,.72); cursor: pointer; }
.lightbox-close { top: 14px; right: 14px; font-size: 2rem; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 2.2rem; }
.lightbox-prev { left: 14px; }.lightbox-next { right: 14px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.3rem; }
.contact-card { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 12px 36px rgba(7,23,39,.06); }
.contact-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 1.4rem; border-radius: 50%; color: var(--navy-950); background: var(--gold-500); }
.contact-icon svg { width: 26px; height: 26px; }
.contact-card h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.contact-card p { color: var(--muted); }
.contact-note { padding-top: 1rem; border-top: 1px solid rgba(7,23,39,.12); }

.not-found { min-height: 62vh; display: grid; place-items: center; padding-block: 100px; text-align: center; }
.not-found h1 { margin: .4rem 0 1rem; color: var(--navy-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; }
.not-found p { color: var(--muted); }
.centered-row { justify-content: center; }

.site-footer { color: rgba(255,255,255,.76); background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 3rem; padding-block: 64px; }
.footer-brand img { margin-bottom: 1rem; padding: 4px 8px; border-radius: 12px; background: var(--white); }
.footer-brand p { max-width: 420px; }
.footer-heading { margin: 0 0 1rem; color: var(--white); font-size: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-links a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-links a:hover { color: var(--gold-400); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { padding-block: 18px 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.footer-bottom p { margin: 0; }

.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: none; gap: 9px; }
.floating-action { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 10px 24px rgba(0,0,0,.24); text-decoration: none; }
.floating-wa { color: #062a13; background: #5de27f; }
.floating-phone { color: var(--navy-950); background: var(--gold-500); }

@media (max-width: 1020px) {
  .header-inner { grid-template-columns: auto auto 1fr; }
  .js .menu-toggle { display: inline-flex; justify-self: end; align-items: center; gap: .55rem; min-height: 44px; padding: .6rem .8rem; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: var(--white); background: transparent; cursor: pointer; }
  .menu-toggle-icon, .menu-toggle-icon::before, .menu-toggle-icon::after { width: 20px; height: 2px; display: block; background: currentColor; content: ""; transition: transform .2s ease; }
  .menu-toggle-icon { position: relative; }.menu-toggle-icon::before { position: absolute; top: -6px; }.menu-toggle-icon::after { position: absolute; top: 6px; }
  .js .primary-nav { position: absolute; top: calc(100% + 1px); left: 20px; right: 20px; display: none; padding: .7rem; border-radius: 14px; background: var(--navy-950); box-shadow: var(--shadow); }
  .js .primary-nav.is-open { display: grid; }
  .primary-nav { justify-self: stretch; }
  .primary-nav a { display: block; padding: .9rem; }
  .header-whatsapp { justify-self: end; }
  .service-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band .button-row { justify-content: flex-start; }
}

@media (max-width: 760px) {
  :root { --header-height: 70px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { grid-template-columns: 1fr auto; gap: .7rem; }
  .brand img { width: 136px; height: auto; }
  .header-whatsapp { display: none; }
  .primary-nav { grid-column: 1 / -1; flex-wrap: wrap; }
  .js .primary-nav { grid-column: auto; }
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .hero { min-height: 690px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(5,17,29,.60) 0%, rgba(5,17,29,.78) 42%, rgba(5,17,29,.96) 100%); }
  .hero-media { object-position: 60% center; }
  .hero-content { align-self: end; padding-block: 64px; }
  .hero-content h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .button-row { align-items: stretch; }
  .button-row .button { width: 100%; }
  .text-link { min-height: 44px; align-items: center; }
  .split-layout, .faq-layout, .service-detail, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-detail.reverse .service-detail-media { order: 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .section-heading.between { align-items: start; flex-direction: column; }
  .gallery-preview { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .gallery-tile-wide { grid-column: span 2; }
  .gallery-grid { columns: 2 220px; }
  .footer-grid { gap: 2rem; }
  .floating-actions { display: flex; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
  .gallery-preview { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-tile-wide { grid-column: span 1; }
  .gallery-grid { columns: 1; }
  .lightbox { width: 100vw; height: 100vh; max-height: 100vh; }
  .lightbox figure img { max-height: calc(100vh - 64px); }
  .lightbox-nav { top: auto; bottom: 12px; transform: none; }
  .lightbox figcaption { padding-inline: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
