/*
  File: css/styles.css
  Purpose: Design system + components for dommarajuenterprises.com.
  Engine: Plain CSS, no build step. Cloudflare Pages static hosting.
  Palette: same navy + brushed gold family as rajurealestate.com, light theme.
  Why variables: one place to re-skin. Indic fonts sit in the stack so Tamil,
  Telugu and Devanagari glyphs render with a matched Noto face (loaded on demand
  by js/i18n.js) and fall back to the OS font otherwise.
*/
:root {
  --navy-900: #0b1626;
  --navy-800: #12233a;
  --navy-700: #1e3453;
  --navy-600: #23395d;
  --navy-500: #2c476f;
  --navy-100: #dbe4ef;
  --navy-50:  #eef3f8;

  --gold-600: #96672b;
  --gold-500: #b07a35;
  --gold-400: #c99552;
  --gold-100: #f4e8d6;
  --gold-50:  #faf4ea;

  --ink: #0f1222;
  --ink-soft: #4b5168;
  --ink-mute: #6b7088;
  --line: #e6e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --ok: #15803d;
  --err: #b91c1c;
  --wa: #25d366;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,18,34,.06), 0 2px 8px rgba(15,18,34,.05);
  --shadow-md: 0 10px 28px rgba(15,18,34,.10);
  --shadow-lg: 0 24px 56px rgba(18,35,58,.18);
  --maxw: 1180px;

  --font-indic: 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Devanagari';
  --font-head: 'Poppins', var(--font-indic), system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', var(--font-indic), system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; margin: 0 0 .45em; letter-spacing: -0.02em; }
/* Indic scripts need more line height and no negative tracking. */
html[lang="ta"] h1, html[lang="ta"] h2, html[lang="ta"] h3,
html[lang="te"] h1, html[lang="te"] h2, html[lang="te"] h3,
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { letter-spacing: 0; line-height: 1.4; }
html[lang="ta"] h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--gold-600); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy-600); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--navy-50), #fff); }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); background: var(--gold-50); border: 1px solid var(--gold-100); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.section-head { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease; white-space: nowrap; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--navy-600); color: #fff; box-shadow: 0 8px 20px rgba(35,57,93,.28); }
.btn--primary:hover { background: var(--navy-700); color: #fff; }
.btn--gold { background: var(--gold-500); color: #fff; box-shadow: 0 8px 20px rgba(176,122,53,.30); }
.btn--gold:hover { background: var(--gold-600); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy-600); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-600); background: var(--navy-50); color: var(--navy-600); }
.btn--wa { background: var(--wa); color: #0b3d1f; }
.btn--wa:hover { background: #1ebe5b; color: #0b3d1f; }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--navy-700); }
.brand-sub { font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-500); margin-top: 3px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { display: block; padding: 9px 13px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink-soft); }
.nav-links a:hover { color: var(--navy-600); background: var(--navy-50); }
.nav-links a.active { color: var(--navy-600); background: var(--navy-50); font-weight: 600; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang-select { appearance: none; -webkit-appearance: none; font: 500 .88rem var(--font-body); color: var(--navy-600); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2323395d' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 11px center; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 30px 9px 13px; cursor: pointer; }
.lang-select:hover { border-color: var(--navy-600); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy-600); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 2px; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; box-shadow: var(--shadow-md); display: none; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .nav-tools { margin-left: auto; }
  .nav-tools .btn--call { display: none; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 88px; background:
  radial-gradient(900px 420px at 92% -10%, var(--gold-50), transparent 60%),
  radial-gradient(800px 500px at -10% 110%, var(--navy-50), transparent 60%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 .hl { color: var(--gold-500); }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; padding: 0; margin: 28px 0 0; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .93rem; color: var(--ink-soft); font-weight: 500; }
.hero-points svg { width: 18px; height: 18px; color: var(--gold-500); flex: none; }

.collage { position: relative; height: 520px; }
.collage figure { position: absolute; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-soft); border: 6px solid #fff; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { width: 58%; height: 70%; top: 0; right: 0; }
.collage .c2 { width: 50%; height: 56%; left: 0; bottom: 0; }
.collage-tag { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy-700); }
.collage-tag .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-600); }
.collage-tag .dot svg { width: 18px; height: 18px; }
.collage-tag.t1 { left: 4%; top: 12%; }
.collage-tag.t2 { right: 2%; bottom: 8%; }
.collage-tag.t2 .dot { background: var(--gold-50); color: var(--gold-600); }

@media (max-width: 960px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .collage { height: 400px; max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 520px) { .collage { height: 330px; } .collage-tag { font-size: .8rem; padding: 9px 12px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 56px 0 64px; background: radial-gradient(900px 380px at 100% 0%, var(--gold-50), transparent 60%), linear-gradient(180deg, var(--navy-50), #fff); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero-media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; max-width: 480px; justify-self: end; aspect-ratio: 4 / 3; width: 100%; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: .85rem; color: var(--ink-mute); margin-bottom: 14px; }
.crumbs a { color: var(--ink-mute); }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-media { justify-self: start; }
}

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc { display: grid; grid-template-columns: 200px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; color: var(--ink); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--ink); }
.svc-media { background: var(--bg-soft); min-height: 260px; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 26px 26px 24px; display: flex; flex-direction: column; }
.svc-body p { color: var(--ink-soft); font-size: .97rem; }
.svc-link { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--navy-600); display: inline-flex; align-items: center; gap: 6px; }
.svc:hover .svc-link { color: var(--gold-600); }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy-600); margin-bottom: 12px; align-self: flex-start; }
.tag--gold { background: var(--gold-50); color: var(--gold-600); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } .svc-media { min-height: 0; aspect-ratio: 16 / 10; } }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-600); margin-bottom: 16px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature:nth-child(3n+2) .ico { background: var(--gold-50); color: var(--gold-600); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.9rem; color: var(--gold-400); display: block; margin-bottom: 10px; line-height: 1; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; max-width: 520px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--ok); margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Spec / info list ---------- */
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.info-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.info-item dt { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.info-item dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy-700); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; font-weight: 500; font-size: .93rem; }
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); }

/* ---------- Fleet ---------- */
.fleet { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.crane { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.crane-media { aspect-ratio: 4 / 3; background: var(--bg-soft); }
.crane-media img { width: 100%; height: 100%; object-fit: cover; }
.crane-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.crane-body h3 { margin: 0; }
.crane-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.crane-specs span { font-size: .82rem; font-weight: 600; background: var(--navy-50); color: var(--navy-600); padding: 5px 10px; border-radius: 8px; }
.crane-body .btn { margin-top: auto; }
.notice { display: flex; gap: 14px; align-items: flex-start; background: var(--gold-50); border: 1px solid var(--gold-100); border-radius: var(--radius-sm); padding: 18px 20px; color: var(--ink); }
.notice svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; margin-top: 2px; }
.notice p { margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-soft); position: relative; }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
#map { height: 380px; width: 100%; background: var(--bg-soft); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: var(--err); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--font-body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 4px rgba(35,57,93,.12); }
.field :is(input, select, textarea):user-invalid { border-color: #e48b8b; }
.seg { display: inline-flex; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 22px; gap: 4px; flex-wrap: wrap; }
.seg button { font: 600 .92rem var(--font-head); border: 0; background: transparent; color: var(--ink-soft); padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy-600); color: #fff; box-shadow: var(--shadow-sm); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.form-note { font-size: .84rem; color: var(--ink-mute); margin: 0; }
#turnstile-widget:empty { display: none; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 22px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s ease, transform .15s ease; }
a.ccard:hover { border-color: var(--navy-600); transform: translateY(-2px); color: var(--ink); }
.ccard .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-600); flex: none; }
.ccard .ico svg { width: 22px; height: 22px; }
.ccard.wa .ico { background: #e7f9ee; color: #128c4a; }
.ccard small { display: block; color: var(--ink-mute); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ccard strong { font-family: var(--font-head); font-size: 1.08rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.owner { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.owner .avatar { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-600); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.3rem; flex: none; }
.owner p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(700px 300px at 85% 0%, rgba(201,149,82,.35), transparent 60%), linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: #fff; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--gold-400); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer .brand-name { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .86rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .code { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(4rem, 14vw, 8rem); color: var(--navy-100); line-height: 1; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}
[hidden] { display: none !important; }
.gallery--portrait { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; }
.gallery--portrait figure { aspect-ratio: 2 / 3; }
@media (max-width: 860px) { .gallery--portrait { grid-template-columns: repeat(2, 1fr); } }
.split-media--portrait { aspect-ratio: 3 / 4; max-width: 400px; justify-self: center; }
