/* SERVIPRO — shared styles */
:root {
  --ink: #060912;
  --navy: #0B1220;
  --navy-2: #111A2C;
  --ivory: #F5EFE3;
  --bone: #EFE7D6;
  --paper: #FBF8F1;
  --gold: #D4AF6A;
  --gold-2: #B8904A;
  --gold-deep: #8A6A2F;
  --water: #4A7FA7;
  --line: rgba(212, 175, 106, 0.22);
  --line-strong: rgba(212, 175, 106, 0.55);
  --muted: #8B8577;
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02";
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-2);
}
.eyebrow.on-dark { color: var(--gold); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.display em { font-style: italic; color: var(--gold-2); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 7vw, 112px); line-height: 1.02; margin: 0; }
h2 { font-size: clamp(36px, 4.4vw, 72px); line-height: 1.05; margin: 0; }
h3 { font-size: clamp(22px, 1.8vw, 30px); line-height: 1.2; margin: 0; }

p { margin: 0 0 1em; }
.lead { font-size: 19px; line-height: 1.55; color: #2a2f3b; max-width: 60ch; }
.small { font-size: 13px; line-height: 1.5; }
.num { font-family: var(--serif); font-size: 13px; letter-spacing: 0.08em; color: var(--gold-2); }

/* ---------- Layout ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 56px; }
@media (max-width: 720px) { .wrap { padding: 0 24px; } }

.section { padding: 140px 0; }
.section-sm { padding: 96px 0; }
@media (max-width: 720px) {
  .section { padding: 88px 0; }
  .section-sm { padding: 64px 0; }
}

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.hairline.strong { background: var(--line-strong); }
.hairline.on-dark { background: rgba(212,175,106,0.25); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.dark {
  background: var(--ink);
  border-bottom: 1px solid rgba(212,175,106,0.28);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 0;
  gap: 40px;
}
.nav .brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif);
  letter-spacing: 0.18em;
  font-size: 20px;
  text-transform: uppercase;
}
.brand-mark {
  width: 34px; height: 34px; display: inline-block;
}
.nav .links {
  display: flex; gap: 40px; justify-content: center;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500;
}
.nav .links a { position: relative; padding: 6px 0; color: var(--ink); opacity: 0.85; }
.site-header.dark .nav .links a { color: var(--ivory); opacity: 0.82; }
.nav .links a:hover { opacity: 1; }
.nav .links a.active { color: var(--gold-2); opacity: 1; }
.site-header.dark .nav .links a.active { color: var(--gold); }
.nav .links a.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: -3px; width: 18px; height: 1px; background: currentColor;
}
.nav .cta {
  display: flex; justify-content: flex-end; gap: 14px; align-items: center;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.nav .cta .phone { color: var(--gold-2); font-family: var(--mono); letter-spacing: 0.1em; font-size: 13px; }
.site-header.dark .nav .cta .phone { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--gold-2);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all .35s ease;
}
.btn:hover { background: var(--gold-2); color: var(--ivory); }
.btn.solid { background: var(--gold-2); color: var(--ivory); }
.btn.solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn.on-dark { color: var(--ivory); border-color: var(--gold); }
.btn.on-dark:hover { background: var(--gold); color: var(--ink); }
.btn.whatsapp { background: #25D366; border-color: #25D366; color: #fff; }
.btn.whatsapp:hover { background: #128C7E; border-color: #128C7E; color: #fff; }
.btn.whatsapp.on-dark { background: #25D366; border-color: #25D366; color: #fff; }
.btn.whatsapp.on-dark:hover { background: #128C7E; border-color: #128C7E; color: #fff; }
.btn .arrow { width: 18px; height: 1px; background: currentColor; position: relative; }
.btn .arrow::after {
  content:""; position:absolute; right:-1px; top:-3px;
  width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}

/* ---------- Dark sections ---------- */
.dark-bg {
  background: var(--ink);
  color: var(--ivory);
}
.dark-bg .lead { color: rgba(245,239,227,0.78); }

/* ---------- Capabilities band (taupe contrast against paper) ---------- */
.capabilities-band { background: #D9CDB4; }
.capabilities-band .eyebrow,
.capabilities-band .cap-list .mark { color: var(--navy); }

/* ---------- Gallery static 3-up (about page) ---------- */
.gallery-static {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-static .ph { aspect-ratio: 3/4; }
@media (max-width: 900px) {
  .gallery-static { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 540px) {
  .gallery-static { grid-template-columns: 1fr; }
}

/* ---------- Gallery carousel (about page) ---------- */
.gallery-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 16px;
}
.gallery-viewport { overflow: hidden; }
.gallery-track {
  display: flex;
  transition: transform 480ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.gallery-page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-page .ph { aspect-ratio: 3/4; }
.gallery-nav {
  width: 48px; height: 48px;
  border: 1px solid var(--gold-2);
  background: transparent;
  color: var(--gold-2);
  font-size: 20px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.gallery-nav:hover { background: var(--gold-2); color: var(--ivory); }
.gallery-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.gallery-dots {
  grid-column: 1 / -1;
  display: flex; justify-content: center; gap: 10px;
  margin-top: 18px;
}
.gallery-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--gold-2);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.gallery-dots .dot.active { background: var(--gold-2); }
@media (max-width: 900px) {
  .gallery-carousel { grid-template-columns: 40px 1fr 40px; gap: 10px; }
  .gallery-nav { width: 40px; height: 40px; }
  .gallery-page { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 540px) {
  .gallery-page { grid-template-columns: 1fr; }
}

/* ---------- Imagery ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(212,175,106,0.07) 0 2px,
      transparent 2px 14px),
    linear-gradient(180deg, #12192A, #0B1220);
  border: 1px solid rgba(212,175,106,0.18);
  overflow: hidden;
}
.ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.02);
}
.ph.tinted::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,9,18,0.08) 0%, rgba(6,9,18,0.35) 100%);
  z-index: 1; pointer-events: none;
}
.ph .corner { z-index: 2; }
.ph.light {
  background:
    repeating-linear-gradient(135deg,
      rgba(184,144,74,0.08) 0 2px,
      transparent 2px 14px),
    linear-gradient(180deg, #EFE7D6, #E4DAC2);
  border-color: rgba(184,144,74,0.35);
}
.ph::after {
  content: attr(data-caption);
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: rgba(212,175,106,0.75);
  text-transform: uppercase;
}
.ph.light::after { color: rgba(138,106,47,0.75); }
.ph .corner {
  position: absolute; top: 14px; right: 14px;
  width: 20px; height: 20px;
  border-top: 1px solid rgba(212,175,106,0.55);
  border-right: 1px solid rgba(212,175,106,0.55);
}
.ph.light .corner { border-color: rgba(138,106,47,0.55); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212,175,106,0.18), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(74,127,167,0.10), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center;
  position: relative;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 { font-size: clamp(27px, 3.94vw, 63px); }
.hero h1 .italic { font-style: italic; color: var(--gold); }
.hero .meta-row {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(212,175,106,0.25);
  flex-wrap: wrap;
}
.meta-row .meta-item { display: flex; flex-direction: column; gap: 6px; }
.meta-row .meta-item .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase;}
.meta-row .meta-item .v { font-family: var(--serif); font-size: 20px; font-style: italic;}

.hero-image-stack { position: relative; aspect-ratio: 4/5; }
.hero-image-stack .ph { position: absolute; inset: 0; }
.hero-image-stack .tag {
  position: absolute; left: -20px; top: 40px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service {
  padding: 56px 40px 48px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .4s ease;
}
.service:last-child { border-right: 0; }
.service:hover { background: rgba(212,175,106,0.05); }
.service .num { display: block; margin-bottom: 28px; }
.service h3 { margin-bottom: 14px; font-style: italic; }
.service p { color: #44495a; max-width: 32ch; }
.service .tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px;
}
.service .tags span {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid var(--line-strong); color: var(--gold-deep);
}

/* ---------- Editorial pair ---------- */
.pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center;
}
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; gap: 48px; } }
.pair.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .pair.reverse > :first-child { order: 0; } }

.pair .ph { aspect-ratio: 4/5; }
.pair .text h2 { margin-bottom: 28px; }
.pair .text .lead { margin-bottom: 32px; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid rgba(212,175,106,0.3); border-bottom: 1px solid rgba(212,175,106,0.3);
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 44px 30px; border-right: 1px solid rgba(212,175,106,0.18); }
.stat:last-child { border-right: 0; }
@media (max-width: 720px) { .stat:nth-child(2) { border-right: 0; } }
.stat .big {
  font-family: var(--serif); font-size: 56px; font-style: italic; line-height: 1;
  color: var(--gold); letter-spacing: -0.02em;
}
.stat .big sup { font-size: 24px; color: rgba(212,175,106,0.7); vertical-align: super; }
.stat .lbl { margin-top: 14px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,239,227,0.6); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
.step { background: var(--paper); padding: 44px 32px 52px; }
.step .num { margin-bottom: 40px; display: block;}
.step h3 { font-style: italic; margin-bottom: 12px; font-size: 24px; }
.step p { font-size: 14px; color: #4a4f5b; max-width: 26ch; }

/* ---------- Testimonial ---------- */
.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.25;
  max-width: 22ch;
}
.quote-attr { margin-top: 36px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.quote::before { content: "“"; font-size: 1.4em; color: var(--gold); vertical-align: -0.2em; margin-right: 0.05em; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 110px 0;
  background: var(--ink);
  color: var(--ivory);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(212,175,106,0.18), transparent 75%);
}
.cta-inner { position: relative; text-align: center; }
.cta-inner h2 { max-width: 18ch; margin: 0 auto 32px; font-size: clamp(30.6px, 3.74vw, 61.2px); }
.cta-inner h2 em { color: var(--gold); font-style: italic; }
.cta-inner .row { display: inline-flex; gap: 18px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: var(--ivory);
  padding: 96px 0 40px;
}
.footer-top {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 56px;
  padding-bottom: 64px; border-bottom: 1px solid rgba(212,175,106,0.18);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
.footer h4 {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 20px; font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: rgba(245,239,227,0.75); }
.footer ul a:hover { color: var(--gold); }
.footer .brand-block p { color: rgba(245,239,227,0.65); font-size: 14px; max-width: 32ch; }
.footer-bot {
  display: flex; justify-content: space-between; gap: 20px;
  padding-top: 28px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: rgba(245,239,227,0.5); text-transform: uppercase;
}
.footer-bot a { color: var(--gold); transition: color 0.2s ease; }
.footer-bot a:hover { color: var(--gold-2); }

/* ---------- Marquee / ribbon ---------- */
.ribbon {
  background: var(--gold-2); color: var(--ink);
  overflow: hidden; white-space: nowrap;
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.ribbon-track {
  display: inline-flex; gap: 56px;
  animation: slide 38s linear infinite;
  font-family: var(--serif); font-style: italic; font-size: 22px;
  padding-left: 56px;
}
.ribbon-track span { display: inline-flex; align-items: center; gap: 56px; }
.ribbon-track .dot {
  width: 6px; height: 6px; background: var(--ink); border-radius: 50%;
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- About bits ---------- */
.timeline {
  display: grid; grid-template-columns: 120px 1fr; gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.timeline:last-child { border-bottom: 1px solid var(--line); }
.timeline .year {
  font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--gold-2);
}
.timeline h3 { font-style: italic; margin-bottom: 10px; font-size: 24px; }
.timeline p { max-width: 58ch; color: #4a4f5b; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.team .ph { aspect-ratio: 3/4; margin-bottom: 20px; }
.team .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); }
.team .name { font-family: var(--serif); font-style: italic; font-size: 26px; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 90px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-info .block { padding: 28px 0; border-top: 1px solid var(--line); }
.contact-info .block:last-child { border-bottom: 1px solid var(--line); }
.contact-info .k { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.contact-info .v { font-family: var(--sans); font-weight: 400; font-size: 20px; line-height: 1.4; }
.contact-info .v a:hover { color: var(--gold-2); }

form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 12px 0 14px;
  font-family: var(--sans); font-size: 17px; font-weight: 400;
  color: var(--ink);
  outline: none;
  transition: border-color .3s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(10,14,28,0.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--gold-2);
}
.field textarea { resize: vertical; min-height: 100px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }

/* ---------- Capabilities (what we do) ---------- */
.capabilities {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  align-items: start;
}
@media (max-width: 900px) { .capabilities { grid-template-columns: 1fr; gap: 48px; } }
.capabilities .intro p { color: #3a3f4b; max-width: 48ch; }
.cap-list {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.cap-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
}
.cap-list .mark {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-2);
}
.cap-list .t {
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.3;
  color: var(--ink);
}
.cap-foot {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
  color: var(--gold-deep);
}
.cap-foot .note { font-size: 14px; max-width: 44ch; color: #44495a; }

/* ---------- Language toggle ---------- */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.lang-toggle button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.lang-toggle button + button { border-left: 1px solid var(--line-strong); }
.lang-toggle button:hover { color: var(--gold-deep); }
.lang-toggle button.active {
  background: var(--gold-2);
  color: var(--ivory);
}
.site-header.dark .lang-toggle { border-color: rgba(212,175,106,0.55); }
.site-header.dark .lang-toggle button { color: var(--gold); }
.site-header.dark .lang-toggle button + button { border-left-color: rgba(212,175,106,0.55); }
.site-header.dark .lang-toggle button.active { background: var(--gold); color: var(--ink); }

/* subtle fade-in */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.14);
  z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.wa-float:hover,
.wa-float:focus-visible {
  transform: translateY(-2px);
  background: #1FB855;
  box-shadow: 0 14px 30px rgba(0,0,0,0.28), 0 3px 8px rgba(0,0,0,0.18);
}
.wa-float:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wa-float svg { width: 30px; height: 30px; display: block; }
@media (max-width: 640px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* ---------- Hamburger button ---------- */
.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  position: relative;
  justify-self: end;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color .25s ease;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--gold-2);
  transition: transform .3s ease, opacity .25s ease;
}
.site-header.dark .nav-toggle { border-color: rgba(212,175,106,0.55); }
.site-header.dark .nav-toggle span { background: var(--gold); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 24px 24px 32px;
  box-shadow: 0 14px 30px rgba(6,9,18,0.10);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 49;
}
.site-header.dark .mobile-nav {
  background: var(--ink);
  border-bottom-color: rgba(212,175,106,0.28);
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}
.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav-links {
  display: flex; flex-direction: column;
  gap: 4px;
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500;
}
.mobile-nav-links a {
  padding: 14px 4px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header.dark .mobile-nav-links a {
  color: var(--ivory);
  border-bottom-color: rgba(212,175,106,0.18);
}
.mobile-nav-links a.active { color: var(--gold-2); }
.site-header.dark .mobile-nav-links a.active { color: var(--gold); }
.mobile-nav-cta {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 24px;
  align-items: stretch;
}
.mobile-nav-cta .lang-toggle { align-self: flex-start; }
.mobile-nav-cta .phone {
  color: var(--gold-2);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  font-size: 14px;
}
.site-header.dark .mobile-nav-cta .phone { color: var(--gold); }
.mobile-nav-cta .btn { justify-content: center; }

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; }
  .nav .links { display: none; }
  .nav .cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { display: block; }
}

/* ---------- Mobile-only refinements ---------- */
@media (max-width: 720px) {
  html, body { overflow-x: hidden; }
  body { font-size: 15px; }

  .nav .brand { font-size: 16px; letter-spacing: 0.14em; gap: 10px; }
  .brand-mark { width: 28px; height: 28px; }

  .hero { padding: 64px 0 56px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero .lead { font-size: 16px; }
  .hero .meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-top: 36px;
    padding-top: 22px;
  }
  .meta-row .meta-item .v { font-size: 17px; }
  .hero-image-stack { aspect-ratio: 4/3; }
  .hero-image-stack .tag { left: -8px; top: 24px; font-size: 9px; letter-spacing: 0.3em; }

  div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 32px !important; }
  div[style*="justify-self: end"] { justify-self: start !important; }

  h2 { font-size: clamp(28px, 7.5vw, 40px); }
  h3 { font-size: 20px; }
  .lead { font-size: 16px; }

  .service { padding: 40px 24px 36px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; }

  .capabilities { gap: 32px; }
  .cap-list li { grid-template-columns: 32px 1fr; gap: 14px; padding: 20px 4px; }
  .cap-list .t { font-size: 17px; }

  .cta-band { padding: 72px 0; }
  .cta-inner .row { flex-direction: column; gap: 14px; width: 100%; }
  .cta-inner .row .btn { justify-content: center; }

  .footer { padding: 64px 0 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-bot { flex-direction: column; gap: 10px; align-items: flex-start; }

  .ribbon-track { font-size: 17px; gap: 32px; padding-left: 32px; }
  .ribbon-track span { gap: 32px; }

  .btn { padding: 14px 22px; font-size: 11px; }

  /* About page principles 4-col → 2-col */
  section.dark-bg div[style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  section.dark-bg .wrap[style*="padding: 130px 56px"] { padding: 72px 24px !important; }
  section.dark-bg .wrap[style*="padding: 110px 56px"] { padding: 72px 24px !important; }

  /* Pair section image */
  .pair .ph { aspect-ratio: 4/4; }

  /* Contact page form blocks */
  .contact-info .block { padding: 20px 0; }
  .contact-info .v { font-size: 17px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero .meta-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  div[style*="display:flex"][style*="gap: 18px"] { flex-direction: column !important; align-items: stretch !important; }
  div[style*="display:flex"][style*="gap: 18px"] .btn { justify-content: center; width: 100%; }
}

/* Lock body when drawer open */
body.no-scroll { overflow: hidden; }
