/* SunGo Solar — logo-matched theme
   Colors taken from the SunGo logo: slate-blue background, orange S, indigo-navy G. */

:root {
  --sky-deep: #96B3C2;     /* page background (logo background) */
  --sky-deeper: #A9C3D0;   /* lighter bands */
  --sky-mid: #2D2BAC;      /* indigo (logo G) */
  --sky-mid-dark: #1C1A70;
  --navy: #0A0A28;         /* logo G dark end / text */
  --sunbeam: #FF751F;      /* orange (logo S) — CTAs, badges, highlights */
  --on-sunbeam: #0A0A28;   /* text on orange, always */
  --tint: #0A0A28;         /* main text */
  --muted: #24384B;        /* secondary text */
  --white: #0A0A28;        /* headings */
  --wa: #1E8E4E;

  --glass: rgba(255, 255, 255, 0.34);
  --glass-strong: rgba(255, 255, 255, 0.55);
  --line: rgba(10, 10, 40, 0.13);
  --line-strong: rgba(10, 10, 40, 0.26);
  --glow: 0 0 0 1px rgba(255, 117, 31, 0.45), 0 12px 36px rgba(10, 10, 40, 0.16);
  --glow-strong: 0 0 24px rgba(255, 117, 31, 0.45);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--sky-deep); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tint);
  background: var(--sky-deep);
}

img, svg { max-width: 100%; display: block; }
a { color: var(--sky-mid); text-underline-offset: 3px; }
a:hover { color: var(--sky-mid-dark); }

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

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 0.4em; font-weight: 600; color: var(--white); }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--sunbeam); color: var(--on-sunbeam); padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px; padding: 0.75rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sun { background: var(--sunbeam); color: var(--on-sunbeam); box-shadow: 0 0 22px rgba(255,117,31,0.35); }
.btn-sun:hover { color: var(--on-sunbeam); background: #FF8A3D; box-shadow: 0 0 36px rgba(255,117,31,0.6); }
.btn-outline-light, .btn-outline { border-color: var(--line-strong); color: var(--white); background: var(--glass); }
.btn-outline-light:hover, .btn-outline:hover { border-color: var(--sunbeam); color: var(--white); box-shadow: 0 0 20px rgba(255,117,31,0.2); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #1F8F52; color: var(--white); box-shadow: 0 0 24px rgba(37,165,95,0.45); }
.btn-sm { min-height: 42px; padding: 0.5rem 1rem; font-size: 0.93rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--sky-deeper); color: var(--muted); font-size: 0.9rem; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.4rem 1.5rem; padding-block: 0.5rem; }
.topbar-dealer { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 1rem; }
.topbar-dealer strong { color: var(--tint); font-weight: 600; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--sunbeam); }
.topbar-dealer a { font-weight: 700; color: var(--sunbeam); }
.topbar-phones { display: flex; gap: 1.2rem; }
@media (max-width: 720px) { .topbar-phones { display: none; } .topbar .wrap { justify-content: center; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(150, 179, 194, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 0.6rem; color: var(--white); text-decoration: none; margin-right: auto; }
.logo:hover { color: var(--white); }
.logo img { height: 62px; width: auto; }
@media (max-width: 520px) { .logo img { height: 46px; } }
.footer-logo { height: 54px; width: auto; margin-bottom: 1rem; }

.nav-toggle { display: none; background: var(--glass); border: 1px solid var(--line-strong); color: var(--white); border-radius: 999px; padding: 0.5rem 1rem; font: 600 0.95rem var(--font-body); cursor: pointer; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.main-nav a, .main-nav .nav-btn {
  display: block; color: var(--tint); text-decoration: none; background: none; border: 0;
  font: 500 0.97rem var(--font-body); padding: 0.55rem 0.75rem; border-radius: 999px; cursor: pointer;
}
.main-nav a:hover, .main-nav .nav-btn:hover { background: var(--glass-strong); color: var(--white); }
.main-nav a[aria-current="page"] { color: var(--sunbeam); }
.nav-btn::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.has-menu { position: relative; }
.header-cta { margin-left: 0.5rem; min-height: 44px; }

.mega {
  display: none; position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: rgba(222, 232, 238, 0.98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 40px rgba(255,117,31,0.08);
  padding: 1.5rem 1.7rem; z-index: 60;
}
.mega-products { width: min(740px, 90vw); display: none; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.mega-brands { width: min(580px, 90vw); }
.has-menu.open > .mega, .has-menu:focus-within > .mega { display: block; }
.has-menu.open > .mega-products, .has-menu:focus-within > .mega-products { display: grid; }
@media (hover: hover) and (min-width: 1025px) {
  .has-menu:hover > .mega { display: block; }
  .has-menu:hover > .mega-products { display: grid; }
  .has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
}
.mega h3 { font-size: 0.95rem; margin-bottom: 0.6rem; color: var(--muted); font-weight: 600; }
.mega h3 a { color: var(--sunbeam); padding: 0; font-weight: 700; border-radius: 0; }
.mega h3 a:hover { background: none; color: #C4520A; text-decoration: underline; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { color: var(--tint); padding: 0.28rem 0; font-size: 0.95rem; border-radius: 0; }
.mega li a:hover { background: none; color: var(--sunbeam); }
.mega-brands .official { background: rgba(255,117,31,0.08); border: 1px solid rgba(255,117,31,0.3); border-radius: var(--radius-sm); padding: 0.9rem 1rem; margin-bottom: 1.1rem; }
.mega-brands .official h3 { color: var(--sunbeam); }
.mega-brands .official ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.mega-brands .official li a { color: var(--white); font-weight: 700; font-size: 1.08rem; }
.mega-brands .others ul { columns: 3; column-gap: 1.2rem; }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-block; }
  .header-cta { display: none; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--sky-deeper); border-bottom: 1px solid var(--line); display: none; max-height: calc(100vh - 84px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 0.8rem 1.25rem 1.5rem; gap: 0; }
  .main-nav a, .main-nav .nav-btn { width: 100%; text-align: left; padding: 0.9rem 0.3rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a:hover, .main-nav .nav-btn:hover { background: none; }
  .has-menu:focus-within > .mega, .has-menu:focus-within > .mega-products { display: none; }
  .mega, .mega-products, .mega-brands { position: static; transform: none; width: auto; box-shadow: none; margin: 0.5rem 0 0.8rem; padding: 1rem; }
  .has-menu.open > .mega { display: block; }
  .has-menu.open > .mega-products { display: grid; grid-template-columns: 1fr; gap: 1rem; }
  .mega a, .mega li a, .mega h3 a { border-bottom: 0; padding: 0.35rem 0; width: auto; }
  .mega-brands .others ul { columns: 2; }
  .main-nav .mobile-cta { display: block; margin-top: 1.2rem; }
  .main-nav .mobile-cta a { text-align: center; border: 0; border-radius: 999px; color: var(--on-sunbeam); }
}
@media (min-width: 1025px) { .main-nav .mobile-cta { display: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-tint {
  background: linear-gradient(180deg, var(--sky-deep) 0%, var(--sky-deeper) 18%, var(--sky-deeper) 82%, var(--sky-deep) 100%);
}
.section-head { max-width: 680px; margin-bottom: 2.6rem; }
.section-head p { color: var(--muted); font-size: 1.12rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 760px; height: 760px; right: calc((100vw - 1180px) / 2 - 300px); top: -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,117,31,0.28) 0%, rgba(255,117,31,0.08) 35%, transparent 65%);
  animation: sunrise 1.8s ease-out both;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 70%;
  background: radial-gradient(ellipse 60% 80% at 15% 40%, rgba(255,255,255,0.45), transparent 70%);
}
@keyframes sunrise { from { opacity: 0; transform: translateY(80px) scale(0.9); } to { opacity: 1; transform: none; } }

.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem) 3rem; }
.hero h1 { max-width: 14ch; }
.hero-lead { font-size: 1.22rem; color: var(--muted); max-width: 34rem; }
.hero-lead strong { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0 1.4rem; }
.hero-rating { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--muted); text-decoration: none; font-size: 0.97rem; padding: 0.45rem 0.9rem 0.45rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); }
.hero-rating:hover { color: var(--white); border-color: var(--line-strong); }
.hero-rating .stars { color: var(--sunbeam); letter-spacing: 2px; text-shadow: 0 0 10px rgba(255,117,31,0.6); }
.hero-art { width: 100%; max-width: 440px; justify-self: end; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35)); }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0 0 clamp(3rem, 6vw, 4.5rem); padding: 0;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.facts li { padding: 1.5rem 1.6rem; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--sunbeam); line-height: 1.1; text-shadow: 0 0 24px rgba(255,117,31,0.45); }
.facts span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-art { justify-self: start; max-width: 230px; order: -1; }
  .hero-glow { width: 520px; height: 520px; right: auto; left: -40px; top: -160px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Glass card base ---------- */
.official-card, .product-card, .guide, .faq-list details, .summary dl, .services li {
  background: var(--glass); border: 1px solid var(--line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.official-card:hover, .product-card:hover { border-color: rgba(255,117,31,0.45); box-shadow: var(--glow); }

/* ---------- About summary ---------- */
.summary { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center; }
.summary p { font-size: 1.15rem; color: var(--muted); }
.summary dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.75rem 1.4rem; font-size: 1rem; padding: 1.8rem; border-radius: var(--radius-lg); }
.summary dt { font-weight: 600; color: var(--muted); }
.summary dd { margin: 0; color: var(--white); }
@media (max-width: 860px) { .summary { grid-template-columns: 1fr; gap: 1.5rem; } .summary dl { grid-template-columns: 1fr; gap: 0.1rem; } .summary dd { margin-bottom: 0.7rem; } }

/* ---------- Three parts ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.flow li { padding: 2rem 1.8rem; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255,255,255,0.45), rgba(255,255,255,0.03)); border: 1px solid var(--line); }
.flow .flow-icon { width: 58px; height: 58px; margin-bottom: 1.2rem; filter: drop-shadow(0 0 14px rgba(255,117,31,0.55)); }
.flow p { color: var(--muted); }
.flow a { font-weight: 600; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Brands ---------- */
.official-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2.8rem; }
.official-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 1.8rem; display: flex; flex-direction: column; }
.official-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255,117,31,0.22), transparent 70%); pointer-events: none; }
.official-card .badge { align-self: flex-start; margin-bottom: 1.1rem; }
.official-card h3 { font-family: var(--font-display); font-size: 2rem; }
.official-card p { color: var(--muted); flex: 1; }
.official-card a { font-weight: 600; }
.badge { display: inline-block; background: var(--sunbeam); color: var(--on-sunbeam); font-size: 0.78rem; font-weight: 700; padding: 0.28rem 0.7rem; border-radius: 999px; box-shadow: 0 0 14px rgba(255,117,31,0.35); }
.other-brands h3 { margin-bottom: 0.9rem; color: var(--muted); font-weight: 500; }
.brand-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.brand-list a { display: inline-block; padding: 0.45rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); color: var(--tint); text-decoration: none; font-size: 0.95rem; transition: border-color 0.2s, color 0.2s; }
.brand-list a:hover { border-color: var(--sunbeam); color: var(--sunbeam); }
@media (max-width: 860px) { .official-grid { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.product-card { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, rgba(31,92,139,0.55), rgba(10,32,54,0.9) 75%); border-bottom: 1px solid var(--line); }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.product-placeholder { display: grid; justify-items: center; gap: 0.5rem; color: var(--sunbeam); text-align: center; }
.product-placeholder svg { width: 62px; height: 62px; filter: drop-shadow(0 0 12px rgba(255,117,31,0.5)); }
.product-placeholder span { font-weight: 700; font-size: 1.05rem; color: var(--white); }
.product-media .badge { position: absolute; top: 0.75rem; left: 0.75rem; }
.product-media .badge-official { left: auto; right: 0.75rem; background: rgba(10,32,54,0.85); color: var(--sunbeam); border: 1px solid rgba(255,117,31,0.5); box-shadow: none; }
.product-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: 0.85rem; font-weight: 600; color: var(--sunbeam); margin: 0 0 0.25rem; }
.product-body h3 { font-size: 1.05rem; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0.35rem 0 1.1rem; padding: 0; }
.spec-chips li { font-size: 0.8rem; background: var(--glass-strong); color: var(--tint); padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px solid var(--line); }
.product-actions { display: flex; gap: 0.5rem; margin-top: auto; }
.product-actions .btn-wa { flex: 1; }
.product-actions .btn-outline { padding-inline: 0.9rem; }
.see-all { margin-top: 2.2rem; }

/* ---------- Size guide ---------- */
.guide { display: grid; grid-template-columns: 220px 1fr; border-radius: var(--radius-lg); overflow: hidden; }
.guide-tabs { display: flex; flex-direction: column; background: rgba(10,32,54,0.7); padding: 0.7rem; gap: 0.35rem; border-right: 1px solid var(--line); }
.guide-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; background: none; border: 1px solid transparent; border-radius: var(--radius-sm); color: var(--muted); text-align: left; padding: 0.9rem 1rem; cursor: pointer; font: 500 0.95rem var(--font-body); transition: background-color 0.2s, box-shadow 0.2s; }
.guide-tab b { white-space: nowrap; font-family: var(--font-display); font-size: 1.5rem; color: var(--white); font-weight: 700; }
.guide-tab:hover { background: var(--glass-strong); }
.guide-tab[aria-selected="true"] { background: var(--sunbeam); color: var(--on-sunbeam); box-shadow: var(--glow-strong); }
.guide-tab[aria-selected="true"] b { color: var(--on-sunbeam); }
.guide-panel { padding: clamp(1.6rem, 3vw, 2.6rem); }
.guide-panel[hidden] { display: none; }
.guide-panel h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
.guide-panel .for { color: var(--muted); }
.runs { list-style: none; margin: 1.3rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.6rem 1rem; }
.runs li { display: flex; align-items: center; gap: 0.6rem; color: var(--white); }
.runs li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: rgba(255,117,31,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23FF751F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; font-size: 0.97rem; color: var(--muted); }
.guide-meta b { color: var(--white); }
.guide-note { margin-top: 1.3rem; font-size: 0.97rem; color: var(--muted); }
@media (max-width: 760px) {
  .guide { grid-template-columns: 1fr; }
  .guide-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .guide-tab { min-width: 110px; padding: 0.7rem 0.8rem; }
  .guide-tab b { font-size: 1.25rem; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.services li { border-radius: var(--radius); padding: 1.5rem 1.4rem; border-top: 2px solid var(--sunbeam); }
.services p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 2.7rem; height: 2.7rem; border-radius: 50%;
  background: var(--sunbeam); color: var(--on-sunbeam); display: grid; place-items: center; font-weight: 700;
  box-shadow: 0 0 20px rgba(255,117,31,0.45);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.35rem; left: 3.3rem; right: -1rem; height: 2px; background: linear-gradient(90deg, rgba(255,117,31,0.6), rgba(255,117,31,0.05)); }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .steps li { padding: 0 0 0 3.8rem; min-height: 2.7rem; }
  .steps li:not(:last-child)::after { display: none; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side p { color: var(--muted); }
.faq-list { display: grid; gap: 0.6rem; }
.faq-list details { border-radius: var(--radius); }
.faq-list details[open] { border-color: rgba(255,117,31,0.4); background: var(--glass-strong); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.15rem 3.2rem 1.15rem 1.3rem; position: relative; font-weight: 600; font-size: 1.08rem; line-height: 1.4; color: var(--white); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: linear-gradient(var(--sunbeam), var(--sunbeam)) center / 13px 2px no-repeat,
              linear-gradient(var(--sunbeam), var(--sunbeam)) center / 2px 13px no-repeat;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--sunbeam); }
.faq-answer { padding: 0 1.3rem 1.3rem; color: var(--muted); max-width: 64ch; }
.faq-answer p { margin: 0; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 1.5rem; } .faq-side { position: static; } }

/* ---------- Visit + areas ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.8rem; align-items: stretch; }
.visit address { font-style: normal; font-size: 1.1rem; margin-bottom: 1.4rem; color: var(--white); }
.hours { width: 100%; max-width: 380px; border-collapse: collapse; margin-bottom: 1.8rem; }
.hours th, .hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-weight: 400; color: var(--tint); }
.hours th { font-weight: 600; white-space: nowrap; padding-right: 1.5rem; }
.hours .closed td { color: #A3200F; font-weight: 600; }
.areas-title { color: var(--muted); font-weight: 500; font-size: 1rem; margin-bottom: 0.7rem; }
.city-list { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0 0 1.8rem; padding: 0; }
.city-list li { background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.95rem; }
.city-list li.home-city { background: rgba(255,117,31,0.12); border-color: rgba(255,117,31,0.5); color: var(--sunbeam); font-weight: 600; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.map-frame { border: 1px solid var(--line-strong); width: 100%; min-height: 380px; height: 100%; border-radius: var(--radius-lg); background: var(--sky-deeper); filter: saturate(0.85) brightness(0.92); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--sky-deeper); color: var(--muted); padding-block: 3.8rem 2rem; font-size: 0.97rem; border-top: 1px solid var(--line); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,117,31,0.7), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.8rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--sunbeam); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  display: flex; align-items: center; gap: 0.5rem; background: var(--wa); color: var(--white);
  padding: 0.85rem 1.15rem; border-radius: 999px; text-decoration: none; font-weight: 600;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4), 0 0 24px rgba(37,165,95,0.4);
}
.wa-float:hover { background: #1F8F52; color: var(--white); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 0.95rem; } }
.visit-note { color: var(--muted); max-width: 40ch; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -200px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,117,31,0.2), transparent 65%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 20ch; }
.page-lead { font-size: 1.15rem; color: var(--muted); max-width: 44rem; }
.page-lead strong { color: var(--white); }
.breadcrumb { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--sunbeam); }
.breadcrumb [aria-current] { color: var(--white); }
.section-tight { padding-top: 1rem; }
.product-brand a { color: var(--sunbeam); text-decoration: none; }
.product-brand a:hover { text-decoration: underline; }
.product-card[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; margin-bottom: 1rem; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); position: sticky; top: 94px; z-index: 20; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background-color: rgba(150,179,194,0.9); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 42px; padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--tint); font: 600 0.95rem var(--font-body); cursor: pointer; transition: box-shadow 0.2s, background-color 0.2s; }
.filter-chip span { font-weight: 500; font-size: 0.8rem; color: var(--muted); }
.filter-chip:hover { border-color: var(--sunbeam); }
.filter-chip[aria-pressed="true"] { background: var(--sunbeam); color: var(--on-sunbeam); border-color: var(--sunbeam); box-shadow: 0 0 18px rgba(255,117,31,0.35); }
.filter-chip[aria-pressed="true"] span { color: var(--on-sunbeam); }
.filter-select { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.95rem; }
.filter-select select { min-height: 42px; padding: 0.4rem 2.2rem 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--sky-deeper) 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='%23FF751F' stroke-width='2'/%3E%3C/svg%3E") right 0.9rem center / 12px no-repeat; color: var(--white); font: 500 0.95rem var(--font-body); appearance: none; -webkit-appearance: none; cursor: pointer; }
.result-count { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.2rem; }
.empty-state { text-align: left; padding: 2rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty-state[hidden] { display: none; }
@media (max-width: 720px) { .filters { position: static; } .filter-chip { min-height: 38px; padding: 0.35rem 0.8rem; font-size: 0.9rem; } }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: var(--radius-lg); border: 1px solid rgba(255,117,31,0.35); background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(255,117,31,0.14), transparent 60%), var(--glass); }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { color: var(--muted); margin: 0; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Compact 2-column product cards on phones */
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .product-media { aspect-ratio: 1 / 1; }
  .product-media .badge { font-size: 0.66rem; padding: 0.2rem 0.5rem; top: 0.5rem; left: 0.5rem; }
  .product-media .badge-official { display: none; }
  .product-placeholder svg { width: 44px; height: 44px; }
  .product-placeholder span { font-size: 0.9rem; }
  .product-body { padding: 0.75rem 0.75rem 0.85rem; }
  .product-brand { font-size: 0.75rem; }
  .product-body h3 { font-size: 0.92rem; }
  .spec-chips li { font-size: 0.72rem; }
  .product-actions .btn-outline { display: none; }
  .product-actions .btn-wa { min-height: 40px; font-size: 0.88rem; padding-inline: 0.6rem; }
}


/* ================= Logo-theme overrides ================= */
body { background: var(--sky-deep); }
html { background: var(--sky-deep); }
.btn-wa, .btn-wa:hover, .wa-float, .wa-float:hover { color: #FFFFFF; }
.btn-outline-light, .btn-outline { color: var(--navy); background: rgba(255,255,255,0.4); }
.btn-outline-light:hover, .btn-outline:hover { color: var(--navy); }

/* Dark anchors: top bar, footer, mobile menu, guide tabs */
.topbar { background: var(--navy); color: #C9D6E2; border-bottom: 0; }
.topbar a, .topbar-dealer strong { color: #FFFFFF; }
.topbar-dealer a { color: var(--sunbeam); }
.site-footer { background: var(--navy); color: #B9C6D3; border-top: 0; }
.site-footer h2 { color: #FFFFFF; }
.site-footer a { color: #B9C6D3; }
.site-footer a:hover { color: var(--sunbeam); }
.footer-bottom { border-top-color: rgba(255,255,255,0.12); }

.main-nav a:hover, .main-nav .nav-btn:hover { background: rgba(255,255,255,0.4); }
.main-nav a[aria-current="page"] { color: var(--sky-mid); font-weight: 600; }
.mega h3 a, .mega-brands .official h3 { color: var(--sky-mid); }
.mega h3 a:hover { color: var(--sky-mid-dark); }
.mega li a:hover { color: var(--sky-mid); }
.mega-brands .official li a { color: var(--navy); }
@media (max-width: 1024px) { .main-nav { background: #D9E5EC; } }

/* Hero */
.hero-glow { background: radial-gradient(circle, rgba(255,117,31,0.30) 0%, rgba(255,117,31,0.10) 35%, transparent 65%); }
.hero::after { inset: 0; height: auto; background: radial-gradient(ellipse 55% 65% at 10% 45%, rgba(255,255,255,0.28), transparent 72%); }
.hero-rating .stars { color: var(--sunbeam); text-shadow: none; }
.hero-art { filter: drop-shadow(0 18px 30px rgba(10,10,40,0.25)); }
.facts b { color: var(--sky-mid); text-shadow: none; }

.section-tint { background: linear-gradient(180deg, var(--sky-deep) 0%, var(--sky-deeper) 15%, var(--sky-deeper) 85%, var(--sky-deep) 100%); }

/* Cards on light */
.official-card, .product-card, .guide, .faq-list details, .summary dl, .services li, .facts { box-shadow: 0 6px 22px rgba(10,10,40,0.07); }
.official-card::before { background: radial-gradient(circle, rgba(255,117,31,0.25), transparent 70%); }
.official-card a, .flow a { color: var(--sky-mid); }
.badge { box-shadow: none; }
.product-media { background: radial-gradient(circle at 50% 55%, rgba(255,255,255,0.75), rgba(255,255,255,0.25) 75%); }
.product-placeholder svg { filter: none; }
.product-placeholder span { color: var(--navy); }
.product-media .badge-official { background: var(--sky-mid); color: #FFFFFF; border: 0; }
.product-brand, .product-brand a { color: var(--sky-mid); }
.flow .flow-icon { filter: none; }
.steps li::before { box-shadow: 0 0 0 4px rgba(255,117,31,0.2); }
.steps li:not(:last-child)::after { background: linear-gradient(90deg, rgba(255,117,31,0.7), rgba(255,117,31,0.1)); }
.faq-list details[open] { background: rgba(255,255,255,0.6); }
.faq-list summary:hover { color: var(--sky-mid); }
.faq-list summary::after { background: linear-gradient(var(--sky-mid), var(--sky-mid)) center / 13px 2px no-repeat, linear-gradient(var(--sky-mid), var(--sky-mid)) center / 2px 13px no-repeat; }
.brand-list a:hover { color: var(--sky-mid); border-color: var(--sky-mid); }
.city-list li.home-city { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.map-frame { filter: none; background: #D9E5EC; }

/* Size guide: navy tab rail */
.guide-tabs { background: var(--navy); border-right: 0; }
.guide-tab { color: #B9C6D3; }
.guide-tab b { color: #FFFFFF; }
.guide-tab:hover { background: rgba(255,255,255,0.08); }
.guide-tab[aria-selected="true"] { background: var(--sunbeam); color: var(--on-sunbeam); }
.runs li::before { background-color: rgba(255,117,31,0.18); }

/* Products page */
.filters { background-color: rgba(214,227,234,0.92); }
.filter-chip { color: var(--navy); background: rgba(255,255,255,0.35); }
.filter-select select { background-color: #FFFFFF; color: var(--navy); }
.page-hero::before { background: radial-gradient(circle, rgba(255,117,31,0.24), transparent 65%); }
.cta-band { border-color: rgba(255,117,31,0.45); background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(255,117,31,0.16), transparent 60%), rgba(255,255,255,0.4); }
.logo-mark { filter: none; }

/* ---------- Brand pages ---------- */
.page-hero .badge { margin-bottom: 1rem; }
.page-hero .hero-actions { margin-bottom: 1rem; }
.cat-title { display: flex; align-items: center; gap: 0.6rem; margin: 2.2rem 0 1rem; font-size: 1.25rem; }
.cat-title:first-of-type { margin-top: 0.5rem; }
.cat-title span { font-size: 0.8rem; font-weight: 600; background: var(--sky-mid); color: #FFFFFF; border-radius: 999px; padding: 0.1rem 0.55rem; }
.product-body h4 { font-size: 1.05rem; line-height: 1.3; margin: 0 0 0.4em; font-weight: 600; }
.h3-size { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.brand-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.brand-group { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: 0 6px 22px rgba(10,10,40,0.07); }
.brand-group h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.brand-rows { list-style: none; margin: 0; padding: 0; }
.brand-rows a { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 600; }
.brand-rows li:last-child a { border-bottom: 0; }
.brand-rows a:hover { color: var(--sky-mid); }
.brand-rows em { font-style: normal; font-size: 0.72rem; background: var(--sunbeam); color: var(--on-sunbeam); border-radius: 999px; padding: 0.1rem 0.5rem; }
.brand-rows span { margin-left: auto; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 900px) { .brand-groups { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .product-body h4 { font-size: 0.92rem; } }
.official-grid-flush { margin-bottom: 0; }

/* ---------- About ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.team-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: 0 6px 22px rgba(10,10,40,0.07); }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; background: var(--navy); color: #FFFFFF; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; box-shadow: 0 0 0 4px rgba(255,117,31,0.35); }
.team-card .role { color: var(--sky-mid); font-weight: 600; margin-bottom: 0.6rem; }
.team-card p:last-child { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: 0 6px 22px rgba(10,10,40,0.07); }
.contact-card h2 { margin-bottom: 0.1rem; }
.contact-card p, .contact-card address { color: var(--muted); font-style: normal; margin: 0 0 0.4rem; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.quote-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .quote-layout { grid-template-columns: 1fr; gap: 1.5rem; } }
.quote-form { background: rgba(255,255,255,0.55); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: 0 10px 30px rgba(10,10,40,0.1); }
.field { margin: 0 0 1rem; border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea { width: 100%; min-height: 46px; padding: 0.6rem 0.85rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #FFFFFF; color: var(--navy); font: 400 1rem var(--font-body); }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sky-mid); outline-offset: 1px; border-color: var(--sky-mid); }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.radio-row label { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; margin: 0; padding: 0.45rem 0.85rem; border: 1px solid var(--line-strong); border-radius: 999px; background: #FFFFFF; cursor: pointer; }
.radio-row input { accent-color: var(--sunbeam); }
.form-error { color: #A3200F; font-weight: 600; }
.quote-form .btn { width: 100%; }
.map-frame { min-height: 380px; }

/* ---------- Solar guide ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.guide-card { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: 0 6px 22px rgba(10,10,40,0.07); transition: border-color 0.2s, box-shadow 0.2s; }
.guide-card:hover { border-color: rgba(255,117,31,0.5); box-shadow: var(--glow); }
.guide-card h2 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.guide-card h2 a { color: var(--navy); text-decoration: none; }
.guide-card h2 a::after { content: ""; position: absolute; inset: 0; }
.guide-card p { color: var(--muted); }
.read-more { font-weight: 600; color: var(--sky-mid); }
.article-meta { color: var(--muted); font-size: 0.95rem; margin: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 3rem; align-items: start; }
.prose { max-width: 70ch; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 2.2rem 0 0.7rem; }
.prose p, .prose li { color: var(--tint); }
.answer-box { background: rgba(255,255,255,0.55); border-left: 5px solid var(--sunbeam); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: 0 6px 22px rgba(10,10,40,0.07); }
.answer-box p { margin: 0; }
.answer-label { font-weight: 700; color: var(--sky-mid); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; margin-bottom: 0.4rem !important; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); }
.data-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,0.45); font-size: 0.98rem; }
.data-table th, .data-table td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--navy); color: #FFFFFF; font-weight: 600; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.check-list { padding-left: 1.3rem; }
.check-list li { margin-bottom: 0.7rem; }
.article-cta { margin-top: 2.5rem; }
.article-cta h2 { margin: 0 0 0.3em; font-size: 1.6rem; }
.article-side { position: sticky; top: 110px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.side-title { font-family: var(--font-body); font-size: 1rem; margin-bottom: 0.7rem; }
.side-links { list-style: none; margin: 0 0 1rem; padding: 0; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links a { display: block; padding: 0.6rem 0; font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; gap: 2rem; } .article-side { position: static; } }

/* =========================================================
   Mobile + iOS/Android hardening
   ========================================================= */
/* Respect iPhone notch / rounded corners (landscape) */
.wrap { width: min(100% - 2.5rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px), var(--wrap)); }
.wa-float { right: calc(18px + env(safe-area-inset-right, 0px)); }

/* Bigger touch targets (at least 44px) */
.nav-toggle { min-height: 44px; min-width: 64px; }
.main-nav .nav-btn, .main-nav > ul > li > a { min-height: 44px; }
.radio-row input { width: 18px; height: 18px; }
.radio-row label { min-height: 44px; }
button, a, summary, select, input, textarea { -webkit-tap-highlight-color: rgba(255, 117, 31, 0.18); }
button, .btn, .filter-chip, .guide-tab { touch-action: manipulation; }

/* iPhone Safari zooms into inputs below 16px, keep them at 16px */
.filter-select select, .field input, .field select, .field textarea { font-size: 16px; }

/* Mobile menu height uses the real visible screen height */
@media (max-width: 1024px) {
  .main-nav { max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
}

/* Guide pages: stop long tables pushing the page sideways */
.article-layout > * { min-width: 0; }
@media (max-width: 900px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.prose { overflow-wrap: anywhere; }
.data-table { min-width: 460px; }

/* Readable small text on phones (never below 12px) */
@media (max-width: 560px) {
  .product-media .badge { font-size: 0.75rem; }
  .spec-chips li { font-size: 0.75rem; }
  .product-brand { font-size: 0.78rem; }
}
.brand-rows em { font-size: 0.75rem; }

/* Floating WhatsApp button must not cover the last lines of the footer */
@media (max-width: 720px) {
  .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .section { padding-block: 3.2rem; }
  .facts li { padding: 1.1rem 1rem; }
}

/* =========================================================
   POLISH LAYER — cleaner cards, better buttons, WhatsApp
   (kept last so it refines everything above)
   ========================================================= */
:root {
  --wa-green: #25D366;      /* WhatsApp brand green (icon) */
  --wa-teal: #128C7E;       /* WhatsApp teal */
  --wa-dark: #075E54;       /* WhatsApp dark teal */
  --card: rgba(255, 255, 255, 0.72);
  --card-strong: rgba(255, 255, 255, 0.9);
  --shadow-sm: 0 1px 2px rgba(10,10,40,0.06), 0 4px 14px rgba(10,10,40,0.07);
  --shadow-md: 0 2px 6px rgba(10,10,40,0.07), 0 14px 34px rgba(10,10,40,0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Softer, brighter page background built from the logo blue */
body {
  background:
    radial-gradient(1200px 600px at 100% 0%, rgba(255,255,255,0.28), transparent 60%),
    linear-gradient(180deg, #A3BECC 0%, #96B3C2 40%, #96B3C2 100%);
  background-attachment: scroll;
}
::selection { background: rgba(255,117,31,0.35); color: var(--navy); }
h1, h2 { letter-spacing: -0.02em; }
.hero h1 { line-height: 1.05; }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; letter-spacing: 0.005em; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sun {
  background: linear-gradient(180deg, #FF8A3D 0%, #FF6A12 100%);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(255,106,18,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-sun:hover { background: linear-gradient(180deg, #FF9550 0%, #FF7424 100%); color: var(--navy); box-shadow: 0 10px 26px rgba(255,106,18,0.45), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-outline, .btn-outline-light {
  background: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(10,10,40,0.18);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover, .btn-outline-light:hover { background: #FFFFFF; border-color: var(--sky-mid); color: var(--sky-mid); box-shadow: var(--shadow-md); }

/* ---------- WhatsApp buttons (redesigned) ---------- */
.btn-wa {
  background: linear-gradient(135deg, var(--wa-teal) 0%, var(--wa-dark) 100%);
  color: #FFFFFF;
  border: 0;
  padding-left: 0.45rem;
  gap: 0.6rem;
  box-shadow: 0 6px 18px rgba(7,94,84,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-wa:hover {
  background: linear-gradient(135deg, #14A08F 0%, #086B60 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(7,94,84,0.45), 0 0 0 4px rgba(37,211,102,0.18);
}
.btn-wa svg {
  width: 30px; height: 30px; padding: 5px; border-radius: 50%;
  background: var(--wa-green); color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.btn-wa.btn-sm { padding-left: 0.35rem; }
.btn-wa.btn-sm svg { width: 26px; height: 26px; padding: 4px; }

/* Floating WhatsApp button */
.wa-float {
  background: linear-gradient(135deg, var(--wa-green) 0%, #1EBE5A 55%, var(--wa-teal) 100%);
  color: #FFFFFF;
  padding: 0.55rem 1.2rem 0.55rem 0.55rem;
  gap: 0.6rem;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  box-shadow: 0 10px 28px rgba(7,94,84,0.4), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  isolation: isolate;
}
.wa-float:hover { color: #FFFFFF; transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 34px rgba(7,94,84,0.5), 0 2px 6px rgba(0,0,0,0.15); }
.wa-float svg { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: var(--wa-green); opacity: 0.55;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (max-width: 520px) {
  .wa-float { padding: 0.45rem; }
  .wa-float svg { width: 44px; height: 44px; padding: 9px; background: transparent; }
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(233, 240, 244, 0.82);
  border-bottom: 1px solid rgba(10,10,40,0.08);
  box-shadow: 0 6px 24px rgba(10,10,40,0.06);
}
.main-nav a, .main-nav .nav-btn { font-weight: 500; }
.main-nav a:hover, .main-nav .nav-btn:hover { background: rgba(45,43,172,0.07); color: var(--sky-mid); }
@media (max-width: 1024px) { .main-nav { background: #EEF3F6; } }
.mega { background: rgba(255,255,255,0.97); border-color: rgba(10,10,40,0.1); box-shadow: 0 24px 60px rgba(10,10,40,0.18); }

/* ---------- Cards: cleaner white glass ---------- */
.official-card, .product-card, .guide, .faq-list details, .summary dl, .services li,
.facts, .team-card, .contact-card, .guide-card, .brand-group, .article-side, .flow li {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.flow li { background: linear-gradient(160deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55)); }
.official-card, .product-card, .guide-card, .team-card, .contact-card, .services li {
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.official-card:hover, .product-card:hover, .guide-card:hover, .team-card:hover, .contact-card:hover, .services li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,117,31,0.45);
}
.services li { border-top: 3px solid var(--sunbeam); }

/* Product cards */
.product-media { background: linear-gradient(180deg, #FFFFFF 0%, #EEF3F6 100%); border-bottom: 1px solid rgba(10,10,40,0.06); }
.product-media img { transition: transform 0.35s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-placeholder svg { transition: transform 0.35s var(--ease); }
.product-card:hover .product-placeholder svg { transform: scale(1.08) rotate(-3deg); }
.product-media .badge { box-shadow: 0 2px 6px rgba(255,106,18,0.3); }
.product-body h3, .product-body h4 { color: var(--navy); }
.spec-chips li { background: #EEF2FF; color: var(--sky-mid-dark); border: 0; font-weight: 600; }

/* Facts strip */
.facts { border-radius: 20px; }
.facts b { background: linear-gradient(180deg, #3B38C9, #1C1A70); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* FAQ */
.faq-list details[open] { background: var(--card-strong); border-color: rgba(255,117,31,0.4); box-shadow: var(--shadow-md); }
.faq-list summary { padding-block: 1.2rem; }

/* Badges */
.badge { background: linear-gradient(180deg, #FF8A3D, #FF6A12); color: var(--navy); }

/* Filter bar and chips */
.filters { background-color: rgba(255,255,255,0.78); border-color: rgba(255,255,255,0.8); box-shadow: var(--shadow-sm); }
.filter-chip { background: #FFFFFF; border-color: rgba(10,10,40,0.14); transition: transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.2s; }
.filter-chip:hover { transform: translateY(-1px); border-color: var(--sunbeam); }
.filter-chip[aria-pressed="true"] { background: linear-gradient(180deg, #FF8A3D, #FF6A12); color: var(--navy); box-shadow: 0 6px 16px rgba(255,106,18,0.3); }
.brand-list a, .city-list li { background: rgba(255,255,255,0.75); border-color: rgba(10,10,40,0.1); }
.brand-list a:hover { background: #FFFFFF; }

/* Size guide selected tab */
.guide-tab[aria-selected="true"] { background: linear-gradient(180deg, #FF8A3D, #FF6A12); box-shadow: 0 8px 20px rgba(255,106,18,0.35); }

/* CTA band */
.cta-band { background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(255,117,31,0.18), transparent 60%), var(--card-strong); border: 1px solid rgba(255,117,31,0.35); box-shadow: var(--shadow-md); }

/* Forms */
.quote-form { background: var(--card-strong); box-shadow: var(--shadow-md); border-color: rgba(255,255,255,0.8); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea { border-radius: 10px; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-mid); box-shadow: 0 0 0 4px rgba(45,43,172,0.15); }

/* Footer accent line */
.site-footer::before { background: linear-gradient(90deg, transparent, var(--sunbeam), transparent); }

/* Gentle reveal on page load (skipped for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-lead, .hero-actions, .page-hero h1, .page-lead { animation: rise 0.7s var(--ease) both; }
  .hero-lead, .page-lead { animation-delay: 0.08s; }
  .hero-actions { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { display: none; } }

/* =========================================================
   WHATSAPP BUTTONS v3 — bright, classic WhatsApp green
   ========================================================= */
.btn-wa {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #3BE584 0%, #25D366 45%, #1DB954 100%);
  color: #FFFFFF;
  border: 1px solid #17A84B;
  padding: 0.7rem 1.35rem;
  gap: 0.55rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 70, 30, 0.45);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(0, 90, 40, 0.18);
}
.btn-wa svg {
  width: 22px; height: 22px; padding: 0; border-radius: 0;
  background: none; box-shadow: none; color: #FFFFFF;
  filter: drop-shadow(0 1px 1px rgba(0, 70, 30, 0.4));
}
.btn-wa.btn-sm { padding: 0.5rem 1rem; }
.btn-wa.btn-sm svg { width: 20px; height: 20px; padding: 0; }
/* shine that sweeps across on hover */
.btn-wa::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-wa:hover {
  background: linear-gradient(180deg, #45EB8C 0%, #2BDB6D 45%, #20C25A 100%);
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(0, 90, 40, 0.18);
}
.btn-wa:hover::after { left: 120%; }

/* Floating button: round bright badge + label */
.wa-float {
  background: linear-gradient(180deg, #3BE584 0%, #25D366 50%, #1DB954 100%);
  border: 2px solid #FFFFFF;
  padding: 0.4rem 1.2rem 0.4rem 0.4rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 70, 30, 0.45);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), 0 3px 8px rgba(0, 0, 0, 0.18);
}
.wa-float svg {
  width: 44px; height: 44px; padding: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: drop-shadow(0 1px 1px rgba(0, 70, 30, 0.35));
}
.wa-float::before { background: #25D366; }
.wa-float:hover { box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55), 0 3px 8px rgba(0, 0, 0, 0.18); }
@media (max-width: 520px) {
  .wa-float { padding: 0.3rem; }
  .wa-float svg { width: 52px; height: 52px; padding: 11px; background: transparent; }
}
@media (prefers-reduced-motion: reduce) { .btn-wa::after { display: none; } }
