/* CTM Engenharia & Refrigeração — homepage styles
   Faithful static port of the "CTM Site.dc.html" design canvas.
   Blue palette, full-bleed cycling hero (residencial/empresarial), cold-mist canvas.
   Fonts (Sora + Inter) are loaded via <link> in the page <head> — no @import here. */

:root {
  --blue: #0369A1;
  --blue-2: #0B84C6;
  --blue-3: #38A5DC;
  --blue-l1: #E0F2FE;
  --blue-l2: #D6ECFA;
  --blue-l3: #BAE6FD;
  --blue-l4: #A8D8F0;
  --ink: #0F2A3D;
  --navy: #0D1F3C;
  --muted: #41637A;
  --bg: #FBFDFF;
  --amber: #F59E0B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
img { max-width: 100%; }
button { font-family: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }
[data-reveal].rv { opacity: 1; transform: none; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(56,165,220,.45); } 70% { box-shadow: 0 0 0 18px rgba(56,165,220,0); } 100% { box-shadow: 0 0 0 0 rgba(56,165,220,0); } }
@keyframes kenburns { from { scale: 1; } to { scale: 1.08; } }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation: none !important; }
}

/* ============ Nav ============ */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1160px, calc(100% - 32px)); z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 14px 10px 20px; border-radius: 999px;
  background: rgba(255,255,255,0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.9); box-shadow: 0 8px 32px rgba(3,105,161,0.10);
}
.nav-logo img { height: 46px; width: auto; display: block; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff !important; font-weight: 600; font-size: 14px;
  padding: 11px 22px; border-radius: 999px; box-shadow: 0 6px 18px rgba(3,105,161,0.35);
  transition: transform .25s ease, box-shadow .25s ease; white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(3,105,161,0.45); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: 150px 24px 110px; background: var(--bg); }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
  animation: kenburns 16s ease-in-out infinite alternate; transition: opacity 1.6s ease; opacity: 0;
}
.hero-bg.is-active { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(251,253,255,0.96) 0%, rgba(251,253,255,0.82) 34%, rgba(251,253,255,0.35) 58%, rgba(251,253,255,0) 78%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none;
  background: linear-gradient(180deg, rgba(251,253,255,0), var(--bg)); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; max-width: 1160px; margin: 0 auto; width: 100%; }
.hero-copy { max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.8); backdrop-filter: blur(10px);
  border: 1px solid rgba(3,105,161,0.15); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600;
  color: var(--blue); margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-3); animation: pulseRing 2.4s infinite; }
.hero-title {
  font-family: 'Sora',sans-serif; font-size: clamp(46px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 800; margin: 0 0 26px; color: var(--ink); text-wrap: balance;
}
.hero-title .grad { background: linear-gradient(100deg, var(--blue) 20%, var(--blue-3) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 520px; margin: 0 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff !important;
  font-weight: 700; font-size: 16px; padding: 17px 32px; border-radius: 999px; box-shadow: 0 10px 28px rgba(3,105,161,0.35);
  transition: transform .25s ease, box-shadow .25s ease; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 36px rgba(3,105,161,0.45); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px);
  border: 1.5px solid rgba(3,105,161,0.25); color: var(--blue); font-weight: 600; font-size: 16px; padding: 17px 30px; border-radius: 999px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.btn-outline:hover { transform: translateY(-3px); border-color: var(--blue); background: #fff; }
.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 40px; }
.hero-trust .rating { display: flex; align-items: center; gap: 6px; }
.stars { color: var(--amber); letter-spacing: 1px; font-size: 15px; }
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: #B9D3E3; }

.hero-toggle {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.75); backdrop-filter: blur(16px);
  border: 1px solid rgba(3,105,161,0.14); border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px rgba(3,105,161,0.12);
}
.hero-toggle button {
  display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; border-radius: 999px; padding: 10px 20px;
  font-family: 'Inter',sans-serif; font-size: 14px; font-weight: 600; background: transparent; color: var(--muted);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.hero-toggle button.active { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 6px 16px rgba(3,105,161,0.35); }

/* ============ Stats ============ */
.stats-wrap { padding: 0 24px; }
.stats-grid {
  max-width: 1160px; margin: -10px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; background: rgba(3,105,161,0.10); border: 1px solid rgba(3,105,161,0.10); border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(3,105,161,0.08);
}
.stat-cell { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); padding: 34px 28px; text-align: center; }
.stat-num { font-family: 'Sora',sans-serif; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--blue); }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ============ Section headers ============ */
.section { padding: 80px 24px; }
.section.services { padding: 120px 24px 60px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section-title {
  font-family: 'Sora',sans-serif; font-size: clamp(34px,4.2vw,54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  margin: 0 0 18px; color: var(--ink); text-wrap: balance;
}
.section-lead { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ============ Service cards (4-up) ============ */
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  position: relative; background: rgba(255,255,255,0.75); backdrop-filter: blur(14px); border: 1px solid rgba(3,105,161,0.10);
  border-radius: 28px; padding: 38px 34px; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 26px 54px rgba(3,105,161,0.16); border-color: rgba(3,105,161,0.28); }
.card-icon { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.card h3 { font-family: 'Sora',sans-serif; font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--ink); }
.card p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 0 24px; }
.card-link { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; transition: gap .25s ease; }
.card-link:hover { gap: 12px; }

/* ============ Process ============ */
.step-card {
  position: relative; background: rgba(255,255,255,0.75); backdrop-filter: blur(14px); border: 1px solid rgba(3,105,161,0.10);
  border-radius: 24px; padding: 32px 28px; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(3,105,161,0.14); }
.step-num {
  font-family: 'Sora',sans-serif; font-size: 52px; font-weight: 800; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--blue), var(--blue-3)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px;
}
.step-card h3 { font-family: 'Sora',sans-serif; font-size: 19px; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.step-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ============ About ============ */
.about { background: linear-gradient(180deg, rgba(224,242,254,0.45), rgba(251,253,255,0)); }
.about-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 60px; }
.about-media { flex: 1 1 440px; min-width: 300px; position: relative; }
.about-glow { position: absolute; inset: -20px; border-radius: 40px; background: linear-gradient(135deg, rgba(56,165,220,0.12), rgba(3,105,161,0.12)); filter: blur(28px); }
.about-img { position: relative; width: 100%; height: auto; display: block; border-radius: 30px; box-shadow: 0 26px 56px rgba(15,42,61,0.2); border: 1px solid rgba(255,255,255,0.6); }
.about-copy { flex: 1 1 460px; min-width: 300px; }
.about-copy p { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 18px; }
.about-copy p.small { font-size: 16px; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { background: rgba(255,255,255,0.85); border: 1px solid rgba(3,105,161,0.15); border-radius: 999px; padding: 9px 20px; font-size: 14px; font-weight: 600; color: var(--blue); }
.chip.muted { color: var(--muted); }
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff !important; font-weight: 600; font-size: 15px;
  padding: 15px 30px; border-radius: 999px; transition: transform .25s ease, box-shadow .25s ease;
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,42,61,0.3); }

/* ============ Onde atuamos ============ */
.atua-card {
  background: rgba(255,255,255,0.8); backdrop-filter: blur(14px); border: 1px solid rgba(3,105,161,0.10); border-radius: 28px; padding: 16px;
  display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.atua-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(3,105,161,0.14); }
.atua-media { position: relative; height: 250px; min-width: 0; margin-bottom: 20px; border-radius: 18px; overflow: hidden; background: #E7EEF3; }
.atua-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atua-tag { position: absolute; top: 12px; left: 12px; background: rgba(13,31,60,0.72); backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; }
.atua-body { padding: 0 12px 12px; }
.atua-body h3 { font-family: 'Sora',sans-serif; font-size: 20px; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.atua-body p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ============ Testimonials ============ */
.testimonials { background: linear-gradient(180deg, rgba(224,242,254,0.3), rgba(251,253,255,0)); }
.t-card { background: rgba(255,255,255,0.8); backdrop-filter: blur(14px); border: 1px solid rgba(3,105,161,0.10); border-radius: 26px; padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease; }
.t-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(3,105,161,0.13); }
.t-stars { color: var(--amber); letter-spacing: 2px; font-size: 16px; }
.t-quote { font-size: 15.5px; line-height: 1.7; color: #2A4A5F; margin: 0; flex: 1; }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-3)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.t-name { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.t-role { font-size: 12.5px; color: var(--muted); }

/* ============ FAQ ============ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: rgba(255,255,255,0.8); backdrop-filter: blur(14px); border: 1px solid rgba(3,105,161,0.12); border-radius: 20px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: none; cursor: pointer; padding: 24px 28px; font-family: 'Inter',sans-serif; }
.faq-q .label { font-size: 16.5px; font-weight: 700; color: var(--ink); }
.faq-chevron { display: flex; flex-shrink: 0; transition: transform .35s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22,1,.36,1); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { padding: 0 28px 24px; margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* ============ Contact ============ */
.contact { padding: 80px 24px 110px; background: radial-gradient(900px 500px at 50% 110%, var(--blue-l1) 0%, rgba(224,242,254,0) 65%); }
.contact-card { max-width: 1080px; margin: 0 auto; background: rgba(255,255,255,0.82); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.95); border-radius: 36px; box-shadow: 0 34px 80px rgba(3,105,161,0.14); overflow: hidden; display: flex; flex-wrap: wrap; }
.contact-left { flex: 1 1 380px; min-width: 300px; padding: 56px 48px; background: linear-gradient(160deg, var(--ink) 0%, #0B3A55 55%, #0B63A5 130%); color: #fff; }
.contact-left h2 { font-family: 'Sora',sans-serif; font-size: clamp(30px,3.6vw,44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 16px; color: #fff; }
.contact-left p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.75); margin: 0 0 38px; }
.contact-rows { display: flex; flex-direction: column; gap: 22px; }
.contact-row { display: flex; align-items: center; gap: 14px; color: #fff !important; }
.contact-row:hover { color: var(--blue-l4) !important; }
.contact-icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row-label { display: block; font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-row-value { font-size: 16px; font-weight: 600; }
.contact-right { flex: 1 1 420px; min-width: 300px; padding: 56px 48px; }
.form-group { display: flex; flex-direction: column; gap: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.form-input { width: 100%; box-sizing: border-box; padding: 14px 18px; border-radius: 14px; border: 1.5px solid rgba(3,105,161,0.18); background: #fff; font-family: 'Inter',sans-serif; font-size: 15px; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(3,105,161,0.10); }
textarea.form-input { resize: none; }
.form-submit { display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; font-family: 'Inter',sans-serif; font-weight: 700; font-size: 16px; padding: 17px 24px; border-radius: 999px; border: none; cursor: pointer; box-shadow: 0 10px 26px rgba(3,105,161,0.3); transition: transform .25s ease, box-shadow .25s ease; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(3,105,161,0.4); }
.form-status { text-align: center; margin: 0; font-size: 14px; font-weight: 600; color: var(--blue-2); display: none; }
.form-status.show { display: block; }

/* ============ Footer ============ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 70px 24px 36px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 52px; max-width: 1160px; margin-left: auto; margin-right: auto; }
.footer-logo { height: 60px; width: auto; display: block; border-radius: 8px; margin-bottom: 16px; }
.footer-col-title { font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: #fff; }
.social-row { display: flex; gap: 12px; }
.social-btn { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); transition: background .25s ease, transform .25s ease; }
.social-btn:hover { background: rgba(255,255,255,0.22); transform: translateY(-3px); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: rgba(255,255,255,0.45); max-width: 1160px; margin: 0 auto; }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 16px; }

/* ============ WhatsApp float ============ */
.wa-float { position: fixed; bottom: 26px; right: 26px; z-index: 100; width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: #fff !important; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(37,211,102,0.45); animation: pulseRing 2.6s infinite; transition: transform .25s ease; }
.wa-float:hover { transform: scale(1.1); }

/* ============ A11y & fundamentals ============ */
[id] { scroll-margin-top: 96px; }
::selection { background: #BAE6FD; color: #0F2A3D; }
:focus-visible { outline: 3px solid rgba(11,132,198,0.55); outline-offset: 2px; border-radius: 6px; }

/* ============ Nav: mobile menu + active section ============ */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px; border-radius: 10px; }
.mobile-menu {
  display: none; position: fixed; top: 84px; left: 50%; transform: translateX(-50%);
  width: min(1160px, calc(100% - 32px)); z-index: 99;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 24px; padding: 14px; box-shadow: 0 18px 44px rgba(3,105,161,0.18);
  flex-direction: column; gap: 2px;
}
.mobile-menu.show { display: flex; animation: menuIn .3s cubic-bezier(.22,1,.36,1) both; }
@keyframes menuIn { from { opacity: 0; transform: translateX(-50%) translateY(-8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.mobile-menu a { padding: 13px 12px; color: var(--muted); font-weight: 600; font-size: 15px; border-radius: 12px; }
.mobile-menu a:hover { color: var(--blue); background: var(--blue-l1); }
.nav-links a { position: relative; }
.nav-links a.on { color: var(--blue); }
.nav-links a.on::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -7px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue-2); }

/* ============ Motion system (all reduced-motion-safe) ============ */
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: heroIn .85s cubic-bezier(.22,1,.36,1) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .27s; }
.hero-copy > :nth-child(4) { animation-delay: .4s; }
.hero-copy > :nth-child(5) { animation-delay: .52s; }
.hero-copy > :nth-child(6) { animation-delay: .64s; }
@keyframes gradShift { to { background-position: 100% 50%; } }
.hero-title .grad { background-size: 200% 100%; background-position: 0% 50%; animation: gradShift 5.5s ease-in-out infinite alternate; }

.btn-primary, .form-submit, .btn-emergency { position: relative; overflow: hidden; }
.btn-primary::after, .form-submit::after, .btn-emergency::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.38) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg); pointer-events: none; transition: left .65s ease;
}
.card-icon { transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.atua-media img { transition: transform .8s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) {
  .btn-primary:hover::after, .form-submit:hover::after, .btn-emergency:hover::after { left: 125%; }
  .card:hover .card-icon { transform: translateY(-6px) rotate(-6deg) scale(1.06); }
  .atua-card:hover .atua-media img { transform: scale(1.06); }
}
.btn-primary:active, .btn-outline:active, .form-submit:active, .nav-cta:active, .btn-emergency:active { transform: scale(.97); }

/* ============ Brands marquee ============ */
.brands { padding: 46px 24px 0; }
.brands-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.brands-label { flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7C96A8; }
.marquee { flex: 1; min-width: 240px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.mq-group { display: flex; align-items: center; gap: 52px; padding-right: 52px; }
.mq-group span { font-family: 'Sora',sans-serif; font-weight: 700; font-size: 17px; color: #A3B9C9; white-space: nowrap; transition: color .3s ease; }
.mq-group span:hover { color: var(--blue-2); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { width: auto; }
  .mq-group { flex-wrap: wrap; padding-right: 0; }
}

/* ============ Emergency band ============ */
.emergency { padding: 10px 24px 0; }
.emergency-card {
  max-width: 1080px; margin: 0 auto; border-radius: 32px; padding: 40px 44px;
  background: linear-gradient(120deg, var(--navy) 0%, #0B3A55 55%, #0B63A5 130%);
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
  box-shadow: 0 30px 70px rgba(13,31,60,0.28); position: relative; overflow: hidden;
}
.emergency-card::before {
  content: ""; position: absolute; top: -60%; right: -10%; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,165,220,0.25), rgba(56,165,220,0) 65%); pointer-events: none;
}
.emergency-badge {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 110px; height: 110px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  font-family: 'Sora',sans-serif; font-size: 26px; font-weight: 800; color: #fff; position: relative;
}
.emergency-badge .pulse-dot { position: absolute; top: 12px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); animation: pulseAmber 2.2s infinite; }
@keyframes pulseAmber { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.55); } 70% { box-shadow: 0 0 0 14px rgba(245,158,11,0); } 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } }
.emergency-copy { flex: 1 1 320px; min-width: 260px; }
.emergency-copy h2 { font-family: 'Sora',sans-serif; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 0 0 8px; }
.emergency-copy p { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.75); margin: 0; }
.btn-emergency {
  display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff !important;
  font-weight: 700; font-size: 16px; padding: 16px 30px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(37,211,102,0.4); transition: transform .25s ease, box-shadow .25s ease;
}
.btn-emergency:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(37,211,102,0.5); }

/* ============ Blog teaser ============ */
.bpost {
  background: rgba(255,255,255,0.8); backdrop-filter: blur(14px); border: 1px solid rgba(3,105,161,0.10);
  border-radius: 26px; padding: 14px 14px 24px; display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.bpost:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(3,105,161,0.14); }
.bpost-band { display: flex; align-items: flex-end; height: 130px; border-radius: 16px; padding: 14px; margin-bottom: 18px; position: relative; overflow: hidden; }
.bpost-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 85% 0%, rgba(255,255,255,0.3), rgba(255,255,255,0) 55%); }
.bpost-band span { position: relative; z-index: 1; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(13,31,60,0.35); backdrop-filter: blur(6px); padding: 6px 13px; border-radius: 999px; }
.bpost-band.grad-a { background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.bpost-band.grad-b { background: linear-gradient(135deg, var(--blue-2), var(--blue-3)); }
.bpost-band.grad-c { background: linear-gradient(135deg, #0B3A55, var(--blue)); }
.bpost h3 { font-family: 'Sora',sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin: 0 12px 10px; }
.bpost h3 a { color: var(--ink); }
.bpost h3 a:hover { color: var(--blue); }
.bpost p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 12px 16px; flex: 1; }
.bpost .card-link { margin: 0 12px; }

/* ============ WhatsApp nudge label ============ */
.wa-label {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600; padding: 10px 16px; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15,42,61,0.18); white-space: nowrap; opacity: 0; pointer-events: none;
  animation: waNudge 9s ease 3.5s 1 both;
}
.wa-label::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: #fff; }
@keyframes waNudge {
  0% { opacity: 0; transform: translateY(-50%) translateX(8px); }
  8% { opacity: 1; transform: translateY(-50%) translateX(0); }
  82% { opacity: 1; transform: translateY(-50%) translateX(0); }
  100% { opacity: 0; transform: translateY(-50%) translateX(8px); }
}
@media (hover: hover) { .wa-float:hover .wa-label { opacity: 1 !important; transform: translateY(-50%) translateX(0) !important; } }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-toggle { display: block; }
  .hero-title { font-size: 44px !important; }
  .hero { padding: 120px 20px 70px !important; min-height: 86vh !important; }
  .hero-scrim { background: linear-gradient(180deg, rgba(251,253,255,0.96) 0%, rgba(251,253,255,0.88) 52%, rgba(251,253,255,0.6) 78%, rgba(251,253,255,0.35) 100%) !important; }
  .emergency-card { padding: 32px 26px; }
  .emergency-badge { width: 88px; height: 88px; font-size: 21px; }
}
