/* =========================================================
   Hafsah Al Hadhrami Trad & Cont LLC — site styles
   Palette from the logo: night navy, royal blue (the glossy HAH), metallic gold (the swooshes and the bar)
   Type: Archivo, wide + heavy for display (echoes the logo's wordmark), normal width for reading
   ========================================================= */

:root {
  --night: #06122E;        /* page base, darkest sections */
  --navy: #0A1A40;         /* dark sections */
  --steel: #0C1F4F;        /* surfaces on dark */
  --steel-2: #13296A;      /* raised / hover on dark */
  --royal: #1747C9;        /* logo blue */
  --royal-bright: #4C86FF; /* blue highlights on dark */
  --gold: #F5B800;
  --gold-light: #FFD84D;
  --gold-deep: #C98A00;
  --concrete: #E8ECF3;     /* light sections: cool grey, not white */
  --paper: #F6F8FC;        /* form card */
  --ink: #0A1430;          /* text on light */
  --ink-2: #33405F;        /* body text on light */
  --mist: #C8D2EA;         /* body text on dark */
  --mist-2: #93A1C4;       /* muted on dark */
  --line-dark: rgba(200, 210, 234, .14);
  --line-light: #CDD5E4;
  --whatsapp: #128C4B;
  --danger: #B42318;
  --success: #0F7B3F;

  --gold-metal: linear-gradient(180deg, #FFE27A 0%, #F5B800 48%, #D99A00 100%);
  --hazard: repeating-linear-gradient(-45deg, var(--gold) 0 12px, var(--night) 12px 24px);

  --font: "Archivo", "Arial Narrow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wide: 118%;            /* font-stretch for display text */

  --radius: 6px;
  --radius-lg: 14px;
  --header-h: 76px;
  --topbar-h: 38px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --focus: var(--gold);
}

/* ---------- Scrollbars ---------- */
* { scrollbar-width: thin; scrollbar-color: rgba(76, 134, 255, .45) var(--night); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background-color: rgba(76, 134, 255, .45); border-radius: 99px; border: 2px solid var(--night); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--night);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--mist);
  background: var(--night);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; color: #fff; text-wrap: balance; }
h1, h2 { font-stretch: var(--wide); font-weight: 800; letter-spacing: -.015em; }
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
a { color: var(--gold-light); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: #fff; font-weight: 700; }
.lead { font-size: 1.2rem; line-height: 1.55; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.flip { transform: scaleX(-1); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
.muted { color: var(--mist-2); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--night); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Section themes ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section-dark { background: var(--navy); }
.section-night { background: var(--night); }
.section-light { background: var(--concrete); color: var(--ink-2); --focus: var(--royal); }
.section-light h2, .section-light h3, .section-light strong { color: var(--ink); }
.section-light a { color: var(--royal); }

.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { max-width: 60ch; margin: 0; }
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 48px;
  align-items: end;
}
.split-head h2 { margin: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: .9em 1.7em; font-size: 1.05rem; }
.btn-gold { background: var(--gold-metal); color: var(--night); box-shadow: 0 6px 20px rgba(245, 184, 0, .25), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { color: var(--night); box-shadow: 0 10px 30px rgba(245, 184, 0, .4), inset 0 1px 0 rgba(255,255,255,.5); }
/* light sheen sweeping across the gold, as on the logo's bar */
.btn-gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-110%); transition: transform .7s var(--ease-out);
}
.btn-gold:hover::after { transform: translateX(110%); }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.16); color: #fff; border-color: #fff; }
.btn-navy { background: var(--night); color: #fff; }
.btn-navy:hover { background: var(--steel); color: #fff; }
.btn-outline-navy { color: var(--night); border-color: var(--night); background: transparent; }
.btn-outline-navy:hover { background: rgba(6,18,46,.1); color: var(--night); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.text-link { font-weight: 700; color: var(--gold-light); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; }
.text-link:hover { background-size: 40% 2px; }

.round-btn {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.round-btn svg { width: 22px; height: 22px; }
.round-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
.round-btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: #fff;
}
/* The frosted background lives on a pseudo-element: a backdrop-filter on the header itself would become the
   containing block of the fixed mobile menu and squash it to the header's height. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: rgba(6, 18, 46, .92);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled::before { opacity: 1; }
.topbar {
  height: var(--topbar-h); overflow: hidden; font-size: .875rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: height .3s, opacity .3s, border-color .3s;
}
.site-header.is-scrolled .topbar { height: 0; opacity: 0; border-color: transparent; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
.topbar-contacts { display: flex; gap: 24px; }
.topbar a, .topbar-note { display: inline-flex; align-items: center; gap: .5em; color: var(--mist); text-decoration: none; margin: 0; }
.topbar a:hover { color: var(--gold-light); }
.topbar .icon, .topbar-note .icon { color: var(--gold); }
.topbar-note { font-weight: 600; color: #fff; }
@media (max-width: 1000px) { .topbar-mail { display: none; } }
@media (max-width: 700px) { .topbar { display: none; } }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; border-radius: 4px; }
.brand img { height: 52px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); transition: height .3s; }
.site-header.is-scrolled .brand img { height: 46px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; }
.nav-list a {
  position: relative; display: block; padding: 10px 12px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem;
}
.nav-list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out);
}
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--gold-light); }
.nav-contacts { display: none; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1.5px solid rgba(255,255,255,.35); border-radius: var(--radius);
  background: rgba(6,18,46,.4); cursor: pointer; place-items: center; color: #fff;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); z-index: -1;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: calc(var(--header-h) + var(--topbar-h) + 12px) 24px 32px;
    background: var(--night); border-left: 1px solid var(--line-dark);
    box-shadow: -30px 0 60px rgba(0,0,0,.5);
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease-out), visibility 0s linear .35s;
    overflow-y: auto;
  }
  .site-header.is-scrolled .site-nav { padding-top: calc(var(--header-h) + 12px); }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease-out); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 14px 4px; font-size: 1.3rem; font-stretch: var(--wide); font-weight: 700; border-bottom: 1px solid var(--line-dark); }
  .nav-list a::after { left: 4px; right: auto; width: 40px; bottom: -1px; }
  .nav-cta { width: 100%; }
  .nav-contacts { display: grid; gap: 12px; }
  .nav-contacts a { display: inline-flex; align-items: center; gap: .6em; color: var(--mist); text-decoration: none; font-weight: 600; }
  .nav-contacts .icon { color: var(--gold); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 700px) {
  .site-nav { padding-top: calc(var(--header-h) + 12px); }
  .brand img { height: 42px; }
  .site-header.is-scrolled .brand img { height: 40px; }
}
@media (max-width: 380px) { .brand img { height: 36px; } }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--gold-metal); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; transition: opacity .3s; }
.site-header.is-scrolled .scroll-progress span { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, 100svh, 980px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + var(--topbar-h) + 40px);
  background: var(--night);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide, .hero-slide img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { transform: scale(1.04); }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-1.5%); } }
.hero-video { z-index: 1; }
.hero.has-video .hero-slide { display: none; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,18,46,.94) 0%, rgba(6,18,46,.78) 42%, rgba(6,18,46,.25) 78%, rgba(6,18,46,.35) 100%),
    linear-gradient(180deg, rgba(6,18,46,.6) 0%, transparent 28%, transparent 62%, rgba(6,18,46,.95) 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; flex: 1; padding-bottom: clamp(40px, 6vw, 72px); }
.hero-copy { max-width: 880px; align-self: center; }
.hero h1 {
  font-size: clamp(2.4rem, 1.3rem + 3.9vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: .35em;
  font-weight: 850;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-lead { max-width: 58ch; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: #E1E7F5; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* The hook from the logo, lowering into the hero */
.hero-hook { position: absolute; right: clamp(24px, 9vw, 160px); top: calc(-1 * (var(--header-h) + var(--topbar-h) + 40px)); width: clamp(70px, 7vw, 110px); pointer-events: none; }
.hook-svg { width: 100%; height: auto; overflow: visible; }
/* the cable fades in below the header so it never crosses the menu */
.hook-svg { -webkit-mask: linear-gradient(180deg, transparent 0, transparent 30%, #000 55%); mask: linear-gradient(180deg, transparent 0, transparent 30%, #000 55%); }
.hook-swing { transform-origin: 60px 0; transform-box: view-box; }
.js .hero-hook { animation: hook-lower 2.2s var(--ease-out) .2s both; }
.js .hook-swing { animation: hook-swing 5s ease-in-out 2.1s both; }
@keyframes hook-lower { from { transform: translateY(-70%); } to { transform: none; } }
@keyframes hook-swing { 0% { transform: rotate(0); } 15% { transform: rotate(2.4deg); } 35% { transform: rotate(-1.7deg); } 55% { transform: rotate(1deg); } 75% { transform: rotate(-.5deg); } 100% { transform: rotate(0); } }
@media (max-width: 900px) { .hero-hook { display: none; } }

.hero-facts { position: relative; border-top: 1px solid rgba(255,255,255,.14); background: rgba(6,18,46,.55); backdrop-filter: blur(8px); }
.hero-facts-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-facts-list li { position: relative; padding: 22px 28px 24px 0; display: grid; gap: 2px; }
.hero-facts-list li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-facts-list li::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--gold-metal); }
.hero-facts-list li + li::before { left: 28px; }
.hero-facts-list strong { font-size: 1.15rem; font-stretch: var(--wide); font-weight: 800; color: #fff; }
.hero-facts-list span { color: var(--mist-2); font-size: .95rem; }
@media (max-width: 760px) {
  .hero-facts-list { grid-template-columns: 1fr; }
  .hero-facts-list li, .hero-facts-list li + li { padding: 14px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .hero-facts-list li:first-child { border-top: 0; }
  .hero-facts-list li + li::before { left: 0; }
  .hero-facts-list li::before { display: none; }
}

/* ---------- Capacity ticker: styled like the gold bar in the logo ---------- */
.ticker { position: relative; overflow: hidden; background: var(--gold-metal); color: var(--night); border-block: 2px solid var(--night); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; flex: none; }
.ticker-list li {
  display: flex; align-items: center; padding: 14px 0; font-size: 1.05rem; font-weight: 800; font-style: italic; font-stretch: var(--wide); white-space: nowrap;
}
.ticker-list li::after {
  content: ""; width: 26px; height: 18px; margin-inline: 22px;
  background: linear-gradient(var(--royal), var(--royal)) 3px 0 / 6px 100% no-repeat, linear-gradient(var(--royal), var(--royal)) 14px 0 / 6px 100% no-repeat;
  transform: skewX(-24deg);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.about-copy h2 { max-width: 16ch; }
.about-copy > p { max-width: 62ch; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 40px 0; border-top: 2px solid var(--ink); }
.stats li { padding: 18px 16px 0 0; display: grid; align-content: start; gap: 4px; }
.stats li + li { padding-left: 16px; border-left: 1px solid var(--line-light); }
.stat-num { white-space: nowrap; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1; font-weight: 850; font-stretch: var(--wide); color: var(--royal); font-variant-numeric: tabular-nums; }
.stat-label { font-size: .92rem; line-height: 1.35; color: var(--ink-2); }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
}
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv { padding-left: 18px; border-left: 3px solid var(--gold); }
.mv h3 { font-size: 1.05rem; margin-bottom: .35em; }
.mv p { margin: 0; font-size: .98rem; }
@media (max-width: 560px) { .mv-grid { grid-template-columns: 1fr; } }

.about-side { display: grid; gap: 0; }
.about-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--steel); box-shadow: 0 30px 60px rgba(10, 20, 48, .25); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo {
  position: relative; margin: -56px 0 0 clamp(16px, 4vw, 40px);
  padding: 28px 28px 24px; border-radius: var(--radius-lg);
  background: var(--navy); color: var(--mist);
  box-shadow: 0 24px 50px rgba(10, 20, 48, .3);
}
.ceo::before { content: ""; position: absolute; left: 28px; top: 0; width: 64px; height: 4px; background: var(--gold-metal); }
.ceo blockquote { margin: 0 0 16px; }
.ceo blockquote p { margin: 0; font-size: 1.12rem; line-height: 1.5; color: #fff; font-style: italic; }
.ceo figcaption { display: grid; font-size: .92rem; }
.section-light .ceo figcaption strong { color: var(--gold-light); }
.ceo figcaption span { color: var(--mist-2); }
.values { margin-top: 28px; }
.values h3 { font-size: 1rem; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 99px; border: 1.5px solid var(--ink); font-weight: 600; font-size: .92rem; color: var(--ink); }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } .about-copy h2 { max-width: 22ch; } }

/* Hoist reveal: photos are revealed upward, like a load coming off the ground */
/* (the clip sits on the inner picture: a fully clipped observed element never counts as "visible") */
.hoist picture { display: block; width: 100%; height: 100%; }
.js .hoist picture { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-out); }
.js .hoist img { transform: scale(1.12) translateY(6%); transition: transform 1.6s var(--ease-out); }
.js .hoist.is-in picture { clip-path: inset(0 0 0 0); }
.js .hoist.is-in img { transform: none; }

/* ---------- Services (tabbed list → image) ---------- */
.services { background: linear-gradient(180deg, var(--navy), var(--night)); }
.svc { position: relative; }
.svc-list { counter-reset: svc; }
.svc-tab {
  display: flex; align-items: center; gap: 18px; width: 100%;
  padding: 18px 0; border: 0; border-bottom: 1px solid var(--line-dark); background: none; cursor: pointer;
  font: inherit; font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); font-weight: 700; font-stretch: var(--wide);
  color: var(--mist-2); text-align: left;
  transition: color .2s;
}
.svc-tab::before { content: ""; flex: none; width: 22px; height: 2px; background: currentColor; transition: width .35s var(--ease-out), background-color .2s; }
.svc-tab:hover { color: #fff; }
.svc-item.is-active .svc-tab { color: #fff; }
.svc-item.is-active .svc-tab::before { width: 56px; background: var(--gold); }
.svc-panel { color: var(--mist); }
.svc-img { display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--steel); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-text p { max-width: 56ch; }

@media (min-width: 901px) {
  .svc { min-height: 540px; }
  .svc-list { width: 40%; }
  .svc-panel {
    position: absolute; top: 0; bottom: 0; left: 46%; right: 0;
    display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 22px;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .45s ease, transform .6s var(--ease-out), visibility 0s linear .45s;
  }
  .svc-item.is-active .svc-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .6s var(--ease-out); }
  .svc-img img { transform: scale(1.06); transition: transform 1.4s var(--ease-out); }
  .svc-item.is-active .svc-img img { transform: none; }
  .svc-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
  .svc-text p { margin: 0; }
}
@media (max-width: 900px) {
  .svc-tab { cursor: default; color: #fff; }
  .svc-tab::before { width: 40px; background: var(--gold); }
  .svc-panel { padding: 4px 0 28px; }
  .svc-img { aspect-ratio: 16 / 9; margin-bottom: 16px; }
}

/* ---------- Fleet ---------- */
.fleet {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(76,134,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,134,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
}
.fleet::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--hazard); }

.fleet-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.fleet-tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border: 1.5px solid var(--line-dark); border-radius: 99px;
  background: rgba(6,18,46,.6); color: var(--mist); cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.fleet-tab:hover { border-color: var(--royal-bright); color: #fff; }
.fleet-tab[aria-selected="true"] { background: var(--gold-metal); color: var(--night); border-color: var(--gold); }
.tab-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 99px; font-size: .8rem; background: rgba(255,255,255,.1); }
.fleet-tab[aria-selected="true"] .tab-count { background: rgba(6,18,46,.15); }
.js .fleet-panel[hidden] { display: none; }
.fleet-panel { animation: panel-in .5s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

/* Crane load chart (signature) */
.crane-stage {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0;
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(ellipse at 30% 80%, rgba(23,71,201,.35), transparent 60%), rgba(6,18,46,.7);
}
.crane-view { padding: 16px 8px 0; border-right: 1px solid var(--line-dark); }
.crane-svg { width: 100%; height: auto; overflow: visible; }
.crane-ground { stroke: var(--mist-2); stroke-width: 2; stroke-dasharray: 2 8; }
.crane-cable { stroke: var(--mist); stroke-width: 2; }
.crane-load-text { font-family: var(--font); font-weight: 800; font-stretch: var(--wide); font-size: 22px; fill: #fff; }
.crane-info { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.crane-cap { margin: 0; line-height: .9; font-weight: 900; font-stretch: 125%; }
.crane-cap-num {
  font-size: clamp(4rem, 2.4rem + 5vw, 7.5rem); letter-spacing: -.03em;
  background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.crane-cap-unit { font-size: clamp(1.4rem, 1rem + 1vw, 2rem); color: #fff; }
.crane-kind { margin: 12px 0 16px; color: #fff; font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(76,134,255,.16); border: 1px solid rgba(76,134,255,.4); color: #fff; font-weight: 600; font-size: .9rem; }
.badges .icon { color: var(--gold); }
.crane-use { min-height: 3.2em; }
.crane-quote { align-self: flex-start; }

.load-chart { margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.load-chart legend { padding: 0; margin-bottom: 16px; color: #fff; font-weight: 700; font-size: 1.05rem; }
.load-bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(4px, .8vw, 10px); align-items: end; height: 190px; border-bottom: 2px solid var(--mist-2); }
.bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; cursor: pointer; }
.bar input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bar-fill {
  display: block; height: calc(var(--h) * 100%); min-height: 12px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(76,134,255,.55), rgba(23,71,201,.35));
  border: 1px solid rgba(76,134,255,.45); border-bottom: 0;
  transform-origin: bottom; transition: background .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.js .load-chart:not(.is-in) .bar-fill { transform: scaleY(0); }
.js .load-chart.is-in .bar-fill { transition: transform .8s var(--ease-out) calc(var(--i, 0) * 50ms), background .25s, box-shadow .25s; }
.bar:hover .bar-fill { background: linear-gradient(180deg, rgba(76,134,255,.85), rgba(23,71,201,.55)); }
.bar input:checked + .bar-fill { background: var(--gold-metal); border-color: var(--gold); box-shadow: 0 0 30px rgba(245,184,0,.35); }
.bar:has(input:focus-visible) .bar-fill { outline: 3px solid #fff; outline-offset: 3px; }
.bar-label {
  position: absolute; left: 0; right: 0; bottom: -30px; text-align: center;
  font-weight: 700; font-size: clamp(.72rem, .6rem + .4vw, .95rem); color: var(--mist-2);
}
.bar input:checked ~ .bar-label { color: var(--gold-light); }
.load-axis { display: flex; justify-content: space-between; margin: 40px 0 0; font-size: .88rem; color: var(--mist-2); }
@media (max-width: 900px) {
  .crane-stage { grid-template-columns: 1fr; }
  .crane-view { border-right: 0; border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 560px) {
  .load-bars { height: 150px; }
  .bar-label { writing-mode: vertical-rl; transform: rotate(180deg); bottom: -44px; height: 40px; display: grid; place-items: center; }
  .load-axis { margin-top: 56px; }
}

/* Transport */
.road { position: relative; height: 150px; margin-bottom: 28px; overflow: hidden; border-bottom: 3px solid var(--mist-2); }
.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 3px; background: repeating-linear-gradient(90deg, rgba(200,210,234,.5) 0 36px, transparent 36px 72px); }
.truck { position: absolute; bottom: 8px; left: 0; width: min(560px, 90%); height: auto; overflow: visible; }
.js .fleet-panel.is-shown .truck { animation: drive-in 2.6s cubic-bezier(.25,.8,.3,1) both; }
.js .fleet-panel.is-shown .wheel { animation: wheel-spin 2.6s cubic-bezier(.25,.8,.3,1) both; }
.wheel { transform-box: fill-box; transform-origin: center; }
@keyframes drive-in { from { transform: translateX(-105%); } to { transform: translateX(calc(min(100vw, var(--container)) * .06)); } }
@keyframes wheel-spin { from { transform: rotate(-1080deg); } to { transform: none; } }

.equip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.equip {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; border-radius: var(--radius-lg);
  background: rgba(6,18,46,.72); border: 1px solid var(--line-dark);
  transition: border-color .25s, transform .25s var(--ease-out);
}
.equip:hover { border-color: rgba(245,184,0,.6); }
.equip-wide { grid-column: span 2; }
.equip-ico { width: 120px; height: 60px; margin-bottom: 18px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.equip-ico circle { fill: var(--night); stroke: var(--mist); }
.equip-ico-lg { width: 132px; height: 88px; }
.equip-ico .arm { transform-box: view-box; transform-origin: 30px 34px; transition: transform .6s var(--ease-out); }
.equip:hover .equip-ico .arm { transform: rotate(-8deg); }
.equip h3 { margin-bottom: 4px; }
.equip-spec { color: var(--gold-light); font-weight: 700; margin-bottom: 10px; }
.equip p:not(.equip-spec) { color: var(--mist); font-size: .98rem; }
.equip-link { margin-top: auto; align-self: flex-start; font-weight: 700; color: #fff; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.equip-link:hover { color: var(--gold-light); }
.equip-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card is clickable */
@media (max-width: 960px) { .equip-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .equip-grid { grid-template-columns: 1fr; } .equip-wide { grid-column: auto; } }

/* ---------- Projects ---------- */
.carousel-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.carousel-nav p { margin: 0; }
.carousel-btns { display: flex; gap: 10px; }
.carousel {
  display: flex; gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 12px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.project { flex: none; width: clamp(260px, 28vw, 360px); scroll-snap-align: start; }
.project-xl { width: clamp(300px, 46vw, 620px); }
.project-open {
  position: relative; display: block; width: 100%; height: clamp(240px, 26vw, 340px);
  padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; background: var(--steel);
}
.project-open picture, .project-open img { width: 100%; height: 100%; }
.project-open img { object-fit: cover; transition: transform 1s var(--ease-out), filter .4s; filter: saturate(.92); }
.project-open:hover img, .project-open:focus-visible img { transform: scale(1.06); filter: saturate(1.08); }
.project-open::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,18,46,.55));
}
.project-open[data-video]::before {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; background: var(--gold-metal) center / 28px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.4-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5z' fill='%2306122E'/%3E%3C/svg%3E"), var(--gold-metal);
  box-shadow: 0 0 0 10px rgba(245,184,0,.25);
}
.project-text { padding: 18px 4px 0; }
.project-tag { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 99px; background: rgba(245,184,0,.14); color: var(--gold-light); font-size: .82rem; font-weight: 700; }
.project-text h3 { margin-bottom: 6px; }
.project-text p:last-child { margin: 0; color: var(--mist-2); font-size: .98rem; }
@media (max-width: 600px) { .carousel-nav { grid-template-columns: 1fr; } }

/* Viewer */
.viewer {
  width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--night); color: #fff; overflow: hidden;
}
.viewer::backdrop { background: rgba(3, 8, 22, .88); backdrop-filter: blur(4px); }
.viewer[open] { animation: panel-in .35s var(--ease-out); }
.viewer-media { display: grid; place-items: center; background: #000; max-height: calc(92vh - 76px); }
.viewer-media img, .viewer-media video { max-width: 100%; max-height: calc(92vh - 76px); width: auto; height: auto; object-fit: contain; }
.viewer-media video { width: 100%; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.viewer-caption { margin: 0; font-weight: 600; }
.viewer-btns { display: flex; gap: 8px; }

/* ---------- Industries + process ---------- */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.industries li {
  display: flex; align-items: center; gap: 16px; padding: 22px 20px;
  border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  font-weight: 700; color: var(--ink); line-height: 1.3;
  transition: background-color .25s;
}
.industries li:hover { background: rgba(255,255,255,.6); }
.industries svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--royal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .industries { grid-template-columns: 1fr; } }

.process { margin-top: clamp(64px, 8vw, 104px); }
.process-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; position: relative; }
/* the cable linking the steps draws itself across when the list comes into view */
.steps::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 16px);
  transform-origin: left; transition: transform 1.6s var(--ease-out);
}
.js .steps:not(.is-in)::before { transform: scaleX(0); }
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px;
  border-radius: 50%; background: var(--night); color: var(--gold); position: relative;
  font-weight: 900; font-stretch: 125%; font-size: 1.5rem; box-shadow: 0 0 0 6px var(--concrete);
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; font-size: .98rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Safety ---------- */
.safety { background: linear-gradient(135deg, var(--night) 0%, var(--steel) 100%); overflow: hidden; }
.safety::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--hazard); }
.safety-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.safety h2 { max-width: 14ch; }
.safety-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.safety-points li { padding: 26px; background: var(--navy); }
.safety-points h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.safety-points h3::before {
  content: ""; flex: none; width: 22px; height: 22px;
  background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.9-4.9 1.4 1.4-6.3 6.3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.9-4.9 1.4 1.4-6.3 6.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.safety-points p { margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .safety-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .safety-points { grid-template-columns: 1fr; } }

/* ---------- Slogan band ---------- */
.slogan {
  position: relative; overflow: hidden;
  background: var(--gold-metal); color: var(--night); --focus: var(--night);
  padding-block: clamp(64px, 8vw, 110px);
}
.slogan::before, .slogan::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 13%;
  background: repeating-linear-gradient(-66deg, transparent 0 30px, var(--royal) 30px 44px);
  pointer-events: none;
}
@media (max-width: 600px) { .slogan::before, .slogan::after { width: 7%; } }
.slogan::before { left: 0; -webkit-mask: linear-gradient(90deg, #000 40%, transparent); mask: linear-gradient(90deg, #000 40%, transparent); }
.slogan::after { right: 0; -webkit-mask: linear-gradient(270deg, #000 40%, transparent); mask: linear-gradient(270deg, #000 40%, transparent); }
.slogan-inner { position: relative; z-index: 1; display: grid; gap: 32px; justify-items: center; text-align: center; }
.slogan-text {
  margin: 0; color: var(--night); max-width: 18ch;
  font-size: clamp(2.3rem, 1.2rem + 5vw, 5.6rem); line-height: .98;
  font-style: italic; font-weight: 900; font-stretch: 125%; letter-spacing: -.02em;
  text-shadow: 0 2px 0 rgba(255,255,255,.35);
}
.slogan-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.slogan-hook { position: absolute; z-index: 1; top: 0; left: clamp(16px, 8vw, 140px); width: 44px; }
.slogan-hook svg { width: 100%; height: auto; overflow: visible; }
.slogan-hook-g { transform-origin: 30px 0; transform-box: view-box; }
.js .slogan.is-in .slogan-hook-g { animation: hook-swing 4.5s ease-in-out both; }
@media (max-width: 760px) { .slogan-hook { display: none; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.12rem; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--night) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23F5B800' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--royal); }
.faq-list details p { margin: 0 0 22px; max-width: 64ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--navy), var(--night)); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.quote-form {
  --focus: var(--royal);
  padding: clamp(22px, 3vw, 40px);
  background: var(--paper); color: var(--ink-2);
  border-radius: var(--radius-lg); border-top: 6px solid var(--gold);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.quote-form a { color: var(--royal); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-row-3 { grid-template-columns: 1.3fr 1fr 1fr; }
.field { margin-bottom: 14px; min-width: 0; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #8A94AB; border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field input, .field select { height: 48px; }
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; padding-right: 40px;
  background: #fff right 14px center / 12px 8px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A1A40' stroke-width='2'/%3E%3C/svg%3E");
}
.field input::placeholder, .field textarea::placeholder { color: #6b758d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(245,184,0,.55); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180,35,24,.2); }
.field-error { margin: 6px 0 0; font-size: .88rem; font-weight: 600; color: var(--danger); }
.field-error:empty { display: none; }
.field.is-highlight select { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 6px rgba(245,184,0,.9); border-color: var(--royal); } 100% { box-shadow: 0 0 0 0 rgba(245,184,0,0); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.form-note { margin: 0; font-size: .88rem; color: #56607a; }
.btn.is-loading .btn-label::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px;
  border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); font-weight: 500; }
.form-status:focus { outline: none; }
.form-status p { margin: 0; }
.form-status p + p { margin-top: 6px; }
.form-status strong { color: inherit; }
.form-status.is-success { background: #E7F6EC; color: #0B5A2E; border-left: 5px solid var(--success); }
.form-status.is-error { background: #FDECEA; color: #8A1C12; border-left: 5px solid var(--danger); }
.form-status a { color: inherit; font-weight: 700; }

.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(12,31,79,.55);
}
.contact-card h3 { font-size: .9rem; font-weight: 600; color: var(--mist-2); margin-bottom: 4px; }
.contact-card a { font-weight: 700; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--gold-light); text-decoration: underline; }
.contact-card p { margin: 0; font-weight: 700; color: #fff; }
.contact-card .muted { font-weight: 400; }
.cc-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-metal); }
.cc-icon svg { width: 22px; height: 22px; fill: var(--night); }
.cc-wa { background: var(--whatsapp); }
.cc-wa svg { fill: #fff; }
.map-wrap { margin-top: 14px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); aspect-ratio: 2 / 1; background: var(--steel); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .form-footer .btn { width: 100%; }
  .map-wrap { aspect-ratio: 4 / 3; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--mist-2); font-size: .98rem; position: relative; }
.site-footer::before { content: ""; display: block; height: 6px; background: var(--hazard); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr; gap: 36px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { width: min(260px, 100%); height: auto; }
.footer-title { font-size: 1rem; font-stretch: var(--wide); color: var(--gold); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: var(--mist); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 26px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; padding-top: 44px; } .footer-bottom-inner { padding-bottom: 92px; } }

/* ---------- Floating buttons ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); box-shadow: 0 10px 28px rgba(0,0,0,.4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Back to top: a crane hook that hoists you up */
.to-top {
  position: fixed; right: 26px; bottom: 90px; z-index: 89;
  display: grid; place-items: center; width: 42px; height: 52px; border-radius: 10px;
  background: var(--night); border: 1.5px solid rgba(245,184,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s, transform .3s var(--ease-out), visibility 0s linear .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease-out), background-color .2s; }
.to-top svg { width: 18px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.to-top:hover { background: var(--steel); }
.to-top:hover svg { transform: translateY(-4px); }
@media (max-width: 480px) {
  .wa-float { width: 50px; height: 50px; right: 12px; bottom: 12px; }
  .wa-float svg { width: 26px; height: 26px; }
  .to-top { right: 16px; bottom: 74px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker-track { animation: none; }
  .ticker-list + .ticker-list { display: none; }
  .ticker-list { flex-wrap: wrap; justify-content: center; }
}
