@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --ink: #16202e;
  --muted: #5b6676;
  --line: #e3e8ef;
  --tint: #f2f6fb;
  --white: #ffffff;
  --accent: #f26b1d;
  --accent-dark: #d25510;
  --ice: #2d8cf0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .10);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.eyebrow { display: inline-block; font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.tint { background: var(--tint); }
.section.dark { background: var(--navy); color: #dbe4f0; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .lead { color: #b8c6d9; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.5em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform .2s, background .2s, border-color .2s; cursor: pointer; font-size: 1rem; font-family: var(--font-body); }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-wa { background: #1fa855; color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: var(--navy); color: #c9d6e8; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar a { text-decoration: none; }
.topbar span + span { margin-left: 18px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--navy); }
.logo-mark { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--accent) 0 50%, var(--navy-2) 50% 100%); display: grid; place-items: center; color: var(--white); font-size: 1rem; }
.logo small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .7rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 8px; color: var(--ink); }
.nav a:hover, .nav a.active { color: var(--accent); }
.header-phone { font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: heroZoom 18s ease-out forwards; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.94) 0%, rgba(11,31,58,.82) 45%, rgba(11,31,58,.35) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 90px 0; }
.hero h1 { max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: #d3deec; }
.hero .btn-row { margin-top: 28px; }
.hero-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: #c3d1e4; }
.hero-meta b { color: var(--white); }
.fade-word { display: inline-block; opacity: 0; transform: translateY(18px); animation: fadeUp .7s ease forwards; }
.page-hero { background: var(--navy); color: var(--white); padding: 80px 0 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242,107,29,.35), transparent 70%); }
.page-hero .lead { color: #c3d1e4; }
.crumbs { font-size: .9rem; color: #9fb2cb; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }

@keyframes heroZoom { to { transform: scale(1); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Trust bar */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--navy); line-height: 1.1; }
.trust-label { color: var(--muted); font-size: .95rem; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(242,107,29,.12); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 26px; height: 26px; }
.card-link { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.section.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section.dark .card p { color: #b8c6d9; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--white); font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; font-size: 1.2rem; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.check { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check li { display: flex; gap: 12px; align-items: flex-start; }
.check li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 16px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure.wide { grid-column: span 2; }

/* Brands */
.brands { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.brands span { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; background: var(--white); font-size: .95rem; }
.brands span.main { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Products */
.product { display: flex; flex-direction: column; gap: 6px; }
.product .brand { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.product .btu { display: inline-block; align-self: flex-start; margin-top: 10px; padding: 4px 12px; background: var(--tint); border-radius: 999px; font-weight: 600; color: var(--navy); font-size: .9rem; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter button { font: inherit; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.filter button.on { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Fault list */
.faults { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.faults li { padding: 12px 16px; background: var(--white); border-radius: 10px; border: 1px solid var(--line); font-weight: 500; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--accent), #f58a3c); color: var(--white); padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; color: var(--white); }
.cta-band p { margin: 6px 0 0; opacity: .92; }
.cta-band .btn-primary { background: var(--navy); }
.cta-band .btn-primary:hover { background: #07152a; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.8); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--white); display: grid; place-items: center; }
.info-list .icon svg { width: 22px; height: 22px; }
.info-list b { display: block; font-family: var(--font-head); }
.info-list a { text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.form { display: grid; gap: 14px; }
.form label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: 10px; background: var(--white); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .88rem; color: var(--muted); }
.form-ok { display: none; padding: 16px; border-radius: 10px; background: #e8f7ee; color: #146c3a; font-weight: 600; }
.map { border: 0; width: 100%; height: 360px; border-radius: var(--radius); }
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.areas span { padding: 6px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; }

/* Footer */
.site-footer { background: #071426; color: #9fb2cb; padding: 64px 0 28px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: var(--white); font-family: var(--font-head); margin: 0 0 14px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .logo { color: var(--white); margin-bottom: 14px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }

/* Floating buttons */
.float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float a { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--white); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.float svg { width: 26px; height: 26px; }
.float .f-wa { background: #1fa855; }
.float .f-call { background: var(--accent); }
.mobile-bar { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (min-width: 861px) {
  .float .f-call { display: none; }
}

@media (max-width: 1180px) {
  .header-phone { display: none; }
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .faults { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .topbar { display: none; }
  .menu-btn { display: block; }
  .header-cta .btn { display: none; }
  .nav { position: fixed; inset: 74px 0 auto 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .hero { min-height: auto; }
  .hero .wrap { padding: 70px 0 80px; }
  .hero::after { background: linear-gradient(180deg, rgba(11,31,58,.85), rgba(11,31,58,.92)); }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-item { padding: 22px 10px; }
  .trust-num { font-size: 1.7rem; }
  .trust-num.sm { font-size: 1.15rem; padding-top: 8px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .gallery figure.wide { grid-column: span 2; }
  .faults { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .float { bottom: 80px; }
  .float .f-call { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 8px; font-weight: 700; text-decoration: none; color: var(--white); }
  .mobile-bar a:first-child { background: var(--accent); }
  .mobile-bar a:last-child { background: #1fa855; }
  .mobile-bar svg { width: 20px; height: 20px; }
  .float .f-wa { display: none; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .fade-word { opacity: 1; transform: none; }
  .hero-bg { transform: none; }
}
