/* ===================================================================
   ClearPath Advisory DWC LLC — UAE Business Advisory Firm
   Global stylesheet. Deep indigo base + warm orange/amber accents.
   Contrast-checked: orange text on white uses #c2410c (>=5:1); bright
   amber (#f7a325) is used only on dark backgrounds or as large marks.
   =================================================================== */

:root {
  /* Deep indigo base keeps the corporate anchor and makes warm accents pop */
  --navy: #10214d;
  --navy-800: #1a2f66;
  --navy-700: #274499;
  --charcoal: #17182b;
  /* Warm energetic accents. --accent is text-safe on white (>=4.5:1);
     --amber is a bright highlight reserved for dark backgrounds/large marks. */
  --accent: #e8590c;        /* vivid orange — buttons, links, accents on white (4.9:1) */
  --accent-dark: #c2410c;   /* hover / deeper orange (6.4:1 on white) */
  --accent-soft: #fff1e8;   /* pale orange tint for chip/tag backgrounds */
  --amber: #f7a325;         /* bright yellow-amber — on dark bg only */
  --amber-soft: #fff4dd;
  /* Back-compat aliases so existing rules keep working */
  --gold: #f7a325;
  --gold-dark: #c2410c;
  --teal: #e8590c;
  --teal-dark: #c2410c;
  --ink: #1b2138;
  --muted: #58607a;
  --line: #e7e9f1;
  --bg: #ffffff;
  --bg-soft: #f6f5f4;
  --bg-navy-soft: #16295f;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 12px rgba(13, 27, 70, 0.07);
  --shadow: 0 18px 44px rgba(13, 27, 70, 0.16);
  --maxw: 1180px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --t: 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent-dark); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--navy-700); }
img { max-width: 100%; display: block; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #dce6f5; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem;
  color: var(--accent-dark); margin-bottom: 14px;
}
.section--navy .eyebrow, .section--photo .eyebrow { color: var(--amber); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.section--navy .lead, .section--photo .lead { color: #c2cdea; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 13px 26px; border-radius: 40px; font-weight: 600; font-size: 0.98rem;
  border: 2px solid transparent; transition: all var(--t); line-height: 1;
}
.btn-primary { background: linear-gradient(135deg, #d24d0a 0%, var(--accent-dark) 100%); color: #fff; box-shadow: 0 8px 22px rgba(194,65,12,0.34); }
.btn-primary:hover { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(232,89,12,0.44); }
.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent-dark); }
.btn-outline:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Top utility strip ---------- */
.topbar {
  background: var(--charcoal); color: #c8cfda; font-size: 0.82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 40px; }
.topbar a { color: #c8cfda; }
.topbar a:hover { color: var(--gold); }
.topbar .tb-left span, .topbar .tb-right { display: inline-flex; align-items: center; gap: 6px; }
.topbar .tb-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .tb-right { gap: 14px; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--navy); flex: 0 0 auto; line-height: 1.15; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--navy), var(--navy-700));
  color: var(--gold); display: grid; place-items: center; font-size: 1rem; font-weight: 700; letter-spacing: 0.5px; flex: 0 0 auto;
}
.brand small { display: block; font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex: 1 1 auto; justify-content: center; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 12px 11px; font-weight: 500; color: var(--ink); font-size: 0.92rem; white-space: nowrap; }
.menu > li > a:hover, .menu > li.active > a { color: var(--accent-dark); }
.has-sub > a::after { content: "▾"; font-size: 0.7em; margin-left: 5px; color: var(--muted); }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 8px; list-style: none; margin: 6px 0 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all var(--t);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 0.92rem; color: var(--ink); }
.submenu a:hover { background: var(--bg-soft); color: var(--navy); }

.nav-cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.nav-cta .btn { padding: 11px 18px; font-size: 0.9rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; transition: var(--t); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 60%, var(--accent-dark) 135%);
}
/* Photographic backdrop layer with a slow, continuous Ken Burns drift */
.hero .hero-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.42; transform: scale(1.08);
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
/* Navy wash over the photo keeps text contrast well above 4.5:1, with teal + gold energy */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(16,33,77,0.88) 0%, rgba(39,68,153,0.68) 55%, rgba(22,41,95,0.82) 100%),
    radial-gradient(90% 90% at 88% 4%, rgba(247,163,37,0.30), transparent 52%),
    radial-gradient(100% 110% at 2% 100%, rgba(232,89,12,0.34), transparent 55%);
}
@keyframes kenburns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -2%, 0); }
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { padding: 96px 0 108px; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p { font-size: 1.2rem; color: #cdd9ec; margin-bottom: 30px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero content entrance — the authored on-load sequence */
.hero h1, .hero p, .hero-actions, .trust-strip {
  animation: heroRise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero p { animation-delay: 0.08s; }
.hero-actions { animation-delay: 0.16s; }
.trust-strip { animation-delay: 0.24s; }
@keyframes heroRise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.trust-strip { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15); }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: #cfd9ea; }
.trust-strip span::before { content: "✓"; color: var(--gold); font-weight: 700; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 72%, var(--accent-dark) 145%); color: #fff; padding: 72px 0; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #cdd9ec; font-size: 1.15rem; margin: 0; max-width: 680px; }
.breadcrumb { font-size: 0.85rem; color: #9fb2cf; margin-bottom: 16px; }
.breadcrumb a { color: #cbd7ea; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: all var(--t); height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--teal)); color: #fff;
  font-size: 1.4rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .more { font-weight: 600; color: var(--accent-dark); font-size: 0.92rem; }
.card .more:hover { color: var(--navy); }

/* Industry photo tile */
.ind-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 200px; display: block; color: #fff; box-shadow: var(--shadow-sm); }
.ind-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.ind-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,27,70,0.15) 30%, rgba(13,27,70,0.82) 100%); transition: background 0.4s ease; }
.ind-tile:hover img { transform: scale(1.09); }
.ind-tile:hover::after { background: linear-gradient(180deg, rgba(13,27,70,0.25) 20%, rgba(13,27,70,0.88) 100%); }
.ind-tile .label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; }
.ind-tile .label h3 { color: #fff; font-size: 1.12rem; margin: 0; }
.ind-tile .label p { color: #cdd9ec; font-size: 0.85rem; margin: 4px 0 0; }

/* Image-topped card */
.card--img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--img .card-thumb { position: relative; height: 200px; overflow: hidden; }
.card--img .card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.card--img:hover .card-thumb img { transform: scale(1.08); }
/* Gold accent bar that wipes across the base of the image on hover */
.card--img .card-thumb::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 2;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.card--img:hover .card-thumb::after { transform: scaleX(1); }
.card--img .card-thumb::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,27,70,0) 55%, rgba(13,27,70,0.28) 100%); }
.card--img .card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card--img .card-body h3 { margin-bottom: 8px; }
.card--img .card-body .more { margin-top: auto; padding-top: 10px; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Why choose / feature list ---------- */
.feature { display: flex; gap: 16px; }
.feature .ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; font-size: 1.2rem; }
.section--photo .feature .ico { background: rgba(247,163,37,.22); color: var(--amber); }
.feature h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.section--navy .feature p, .section--photo .feature p { color: #c2cdea; }
.section--photo .feature h3 { color: #fff; }

/* ---------- Industries ---------- */
.chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chip {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px; font-weight: 500; transition: all var(--t);
}
.chip:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.chip .ico { width: 40px; height: 40px; border-radius: 9px; background: var(--bg-soft); color: var(--navy); display: grid; place-items: center; font-size: 1.1rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: 2rem; color: var(--accent); font-weight: 700; display: block; margin-bottom: 8px; }
.section--navy .step::before, .section--photo .step::before { color: var(--amber); }
.section--navy .step, .section--photo .step { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.section--navy .step p, .section--photo .step p { color: #c2cdea; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat .lbl { font-size: 0.95rem; color: #cdd9ec; margin-top: 8px; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.quote p { font-size: 1.05rem; font-style: italic; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: var(--gold); display: grid; place-items: center; font-weight: 700; }
.quote .who b { color: var(--navy); }
.quote .who small { display: block; color: var(--muted); }
.stars { color: var(--gold); margin-bottom: 10px; letter-spacing: 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 18px; padding: 60px 54px; text-align: center; color: #fff;
  background: linear-gradient(115deg, rgba(13,27,70,0.92), rgba(35,66,156,0.86)), url("../img/cta-band.webp");
  background-size: cover; background-position: center;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dce6f5; max-width: 620px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
table.compare th, table.compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
table.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-head); }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td:first-child { font-weight: 600; color: var(--navy); background: var(--bg-soft); }
table.compare .hl { color: var(--gold-dark); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-dark); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .ans { padding: 16px 22px; color: var(--muted); }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
/* Photographic image tile */
.media-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  border-radius: var(--radius); min-height: 360px; position: relative; overflow: hidden;
  display: grid; place-items: center; color: var(--gold);
  box-shadow: 0 22px 50px rgba(13,27,70, 0.16);
}
.media-box img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Navy-to-transparent scrim anchors the caption and unifies the photos with the palette */
.media-box::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13,27,70,0.10) 0%, rgba(13,27,70,0.06) 45%, rgba(13,27,70,0.72) 100%);
}
/* Inset gold frame that draws itself in on entry */
.media-box::after {
  content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(247,163,37,0.6); border-radius: 8px;
  clip-path: inset(0 0 0 0);
  transition: inset 0.5s ease, border-color 0.5s ease;
}
.media-box:hover img { transform: scale(1.10); }
.media-box:hover::after { inset: 10px; border-color: rgba(247,163,37,0.95); }
.media-box .glyph { display: none; }
.media-box .tagpill {
  position: absolute; bottom: 22px; left: 22px; z-index: 3;
  background: rgba(13,27,70, 0.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(247,163,37,0.45); color: #fff;
  padding: 9px 18px; border-radius: 30px; font-size: 0.85rem; font-weight: 500;
}

/* ---------- Photographic section band ---------- */
.section--photo { position: relative; color: #dce6f5; background: var(--navy); overflow: hidden; }
.section--photo > .bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.22;
}
.section--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, rgba(13,27,70,0.93), rgba(35,66,156,0.85));
}
.section--photo > .container { position: relative; z-index: 2; }

/* Page-hero photographic variant */
.page-hero { position: relative; overflow: hidden; }
.page-hero .bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.30;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, rgba(13,27,70,0.88), rgba(35,66,156,0.72));
}
.page-hero .container { position: relative; z-index: 2; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: translate3d(0, 0, 0); }
/* Row stagger, capped so nothing waits too long */
.reveal-group > * { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.reveal-group.in > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-group.in > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-group.in > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-group.in > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-group.in > *:nth-child(5) { transition-delay: 0.20s; }
.reveal-group.in > *:nth-child(6) { transition-delay: 0.22s; }
.reveal-group.in > * { opacity: 1; transform: translate3d(0, 0, 0); }

/* ---------- Value list ---------- */
.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-dark); font-weight: 700; }
.section--navy .tick-list li, .section--photo .tick-list li { color: #d3ddf3; }
.section--photo .tick-list li::before { color: var(--gold); }

/* ---------- Insights cards ---------- */
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all var(--t); height: 100%; display: flex; flex-direction: column; }
.article:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article .thumb { height: 180px; background: linear-gradient(135deg, var(--navy-700), var(--teal)); display: grid; place-items: center; color: #fff; font-size: 2.4rem; overflow: hidden; position: relative; }
.article .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.article:hover .thumb img { transform: scale(1.08); }
.article .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 20px; margin-bottom: 10px; align-self: flex-start; }
.article h3 { font-size: 1.12rem; }
.article .meta { font-size: 0.82rem; color: var(--muted); margin-top: auto; }

/* ---------- Contact ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: #fff; transition: border var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.contact-card { background: var(--navy); color: #cdd9ec; border-radius: var(--radius); padding: 34px; }
.contact-card h3 { color: #fff; }
.contact-card ul { list-style: none; padding: 0; }
.contact-card li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; gap: 12px; }
.contact-card li .ico { color: var(--gold); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; border: 0; }

.notice { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.92rem; margin-bottom: 16px; }
.notice.ok { background: #e8f6ee; color: #14663b; border: 1px solid #b8e2c8; }
.notice.err { background: #fdeaea; color: #a12626; border: 1px solid #f3c2c2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #aeb7c4; padding: 64px 0 0; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #aeb7c4; }
.site-footer a:hover { color: var(--gold); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand small { color: #8a95a5; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cfd6e0; }
.social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; }
.footer-bottom a { margin-left: 14px; }

/* ---------- Floating WhatsApp + sticky bar ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,0.45); z-index: 90; transition: transform var(--t), box-shadow var(--t); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; display: block; }
.wa-float:hover { color: #fff; transform: scale(1.08); box-shadow: 0 12px 30px rgba(37,211,102,0.55); }

/* ---------- Responsive ---------- */
/* Collapse the nav to a hamburger before the menu would ever wrap */
@media (max-width: 1180px) {
  .menu { justify-content: flex-start; }
  .nav-toggle { display: block; }
  .menu {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px; gap: 0; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease; box-shadow: var(--shadow);
  }
  .menu.open { max-height: 80vh; overflow-y: auto; }
  .menu > li > a { padding: 14px; border-radius: 8px; white-space: normal; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); margin: 0 0 6px 12px; padding: 0; }
  .has-sub > a::after { float: right; }
  .nav-cta .btn { display: none; }
  .brand { font-size: 1.2rem; }
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .chip-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .chip-grid, .steps, .stats, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .topbar .tb-left { gap: 12px; }
  .cta-band { padding: 36px 22px; }
  .hero-inner { padding: 64px 0 80px; }
}

/* ---------- Reduced motion: keep meaning, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero .hero-media img { animation: none; transform: scale(1.08); }
  .hero h1, .hero p, .hero-actions, .trust-strip { animation: none; }
  .media-box img { transition: none; }
  .media-box:hover img { transform: scale(1.04); }
  .reveal, .reveal-group > * { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
