/* ==========================================================================
   Bilal Solar Earthing Company — main stylesheet
   Brand: Navy #142B4D · Green #168447 · Gold #F5A623 (accent only)
   ========================================================================== */

:root {
  --navy: #142b4d;
  --navy-900: #0d1d36;
  --navy-700: #1f3d6b;
  --green: #168447;
  --green-700: #0f6636;
  --green-50: #e8f5ee;
  --gold: #f5a623;
  --gold-600: #d98d0c;
  --white: #ffffff;
  --ink: #1b2a41;
  --muted: #526074;
  --line: #dbe3ec;
  --bg-soft: #f3f7fa;
  --bg-tint: #eaf1f7;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(20, 43, 77, 0.06), 0 2px 8px rgba(20, 43, 77, 0.06);
  --shadow: 0 10px 30px rgba(20, 43, 77, 0.12);
  --shadow-lg: 0 24px 60px rgba(20, 43, 77, 0.18);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --maxw: 1200px;
  --header-h: 92px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

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

.container { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 2000;
  background: var(--navy); color: #fff; padding: 0.7rem 1.1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #dbe6f5; font-size: 0.9rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; justify-content: space-between; align-items: center; padding-block: 0.45rem; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 28px; }
.topbar a:hover { color: var(--gold); }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; }
.topbar svg { width: 16px; height: 16px; flex: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; background: #fff; }
.brand img { height: 80px; width: auto; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.7rem;
  color: var(--navy); font-weight: 600; font-size: 0.95rem; text-decoration: none; border-radius: var(--radius-sm); position: relative;
}
.main-nav a:hover { color: var(--green-700); background: var(--green-50); }
.main-nav a[aria-current="page"] { color: var(--green-700); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 4px; height: 3px; border-radius: 3px; background: var(--gold);
}
.main-nav .nav-cta a { background: var(--green); color: #fff; padding-inline: 1.1rem; margin-left: 0.4rem; }
.main-nav .nav-cta a:hover { background: var(--green-700); color: #fff; }
.main-nav .nav-cta a[aria-current="page"]::after { display: none; }

.has-sub { position: relative; }
.has-sub > a .caret { width: 12px; height: 12px; margin-left: 0.35rem; }
.submenu {
  position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 0.5rem !important; display: none !important; flex-direction: column; align-items: stretch !important; gap: 0 !important;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: flex !important; }
.submenu a { display: flex; width: 100%; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 0.3s ease, visibility 0.3s;
  }
  .main-nav.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem 1rem 1.25rem; gap: 0.1rem; }
  .main-nav a { width: 100%; min-height: 48px; font-size: 1.02rem; }
  .main-nav .nav-cta a { justify-content: center; margin: 0.5rem 0 0; }
  .submenu { position: static; display: flex !important; border: 0; box-shadow: none; padding: 0 0 0 0.9rem !important; }
  .has-sub > a .caret { display: none; }
}

@media (max-width: 560px) {
  .brand img { height: 64px; }
  :root { --header-h: 78px; }
  .topbar .hide-sm { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 48px; padding: 0.75rem 1.4rem;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-700); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: #ffb73d; color: var(--navy-900); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-soft); color: var(--navy); }
.btn-whatsapp { background: #1fa855; color: #fff; }
.btn-whatsapp:hover { background: #178a45; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(245, 166, 35, 0.14), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(22, 132, 71, 0.12), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, #eef4f9 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(20, 43, 77, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 43, 77, 0.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-700); background: var(--green-50); padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero h1 span { color: var(--green); }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 40rem; }
.hero-badges { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-badges svg { width: 18px; height: 18px; color: var(--green); }
.hero-visual { perspective: 1200px; }
.hero-visual .frame {
  border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden;
  transform: rotateY(-6deg) rotateX(2deg); transition: transform 0.5s ease;
}
.hero-visual:hover .frame { transform: rotateY(0) rotateX(0); }
.hero-visual figcaption, .img-caption { font-size: 0.82rem; color: var(--muted); padding: 0.6rem 1rem; background: #fff; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual .frame { transform: none; }
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, #f7fafc 0%, #e9f1f8 100%); border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.22), transparent 65%); pointer-events: none;
}
.page-hero .container { position: relative; padding-block: clamp(2rem, 5vw, 3.6rem); }
.page-hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; margin-bottom: 0; }
.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.9rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: #9aa8ba; }
.breadcrumb a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker { color: var(--green-700); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.6rem; display: block; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.title-bar::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; margin-top: 0.7rem; background: linear-gradient(90deg, var(--green) 0 70%, var(--gold) 70% 100%); }
.center .title-bar::after { margin-inline: auto; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; position: relative; height: 100%; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); border-color: #c4d3e3; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; box-shadow: 0 8px 18px rgba(20, 43, 77, 0.25);
}
.card .icon svg { width: 28px; height: 28px; }
.card .icon.green { background: linear-gradient(135deg, var(--green) 0%, #1ea65d 100%); box-shadow: 0 8px 18px rgba(22, 132, 71, 0.3); }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--green-700); }
.card .more svg { width: 16px; height: 16px; transition: transform 0.2s; }
.card .more:hover svg { transform: translateX(4px); }
.card .more::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* whole card clickable */
.tilt { transform-style: preserve-3d; will-change: transform; }

.check-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.65rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--green-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23168447' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
}

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 1rem; font-weight: 600; color: var(--navy); font-size: 0.95rem; }

/* ---------- Benefit stats ---------- */
.benefit { display: flex; gap: 1rem; align-items: flex-start; }
.benefit .num {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--navy-900);
  background: var(--gold); box-shadow: 0 6px 14px rgba(245, 166, 35, 0.4);
}
.benefit h3 { margin-bottom: 0.3rem; }
.benefit p { color: var(--muted); margin: 0; }

/* ---------- Process steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.3rem 1.3rem; position: relative; box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step); position: absolute; top: -18px; left: 1.2rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 800; box-shadow: 0 6px 14px rgba(22, 132, 71, 0.35);
}
.steps h3 { font-size: 1.05rem; margin-top: 0.4rem; }
.steps p { color: var(--muted); font-size: 0.97rem; margin: 0; }

.timeline { list-style: none; counter-reset: tl; margin: 0; padding: 0 0 0 3.4rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 1.15rem; top: 0.5rem; bottom: 0.5rem; width: 3px; background: linear-gradient(var(--green), var(--gold)); border-radius: 3px; }
.timeline li { counter-increment: tl; position: relative; padding-bottom: 2.2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(tl); position: absolute; left: -3.4rem; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--navy);
}
.timeline h3 { margin-bottom: 0.3rem; }
.timeline p { margin-bottom: 0.4rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-soft); }
.gallery figcaption { padding: 0.85rem 1rem 1rem; font-size: 0.95rem; color: var(--muted); }
.gallery figcaption strong { display: block; color: var(--navy); margin-bottom: 0.15rem; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.15rem 0.55rem; border-radius: 999px; background: #fff4de; color: #8a5a00; margin-bottom: 0.4rem; }

.note {
  border-left: 5px solid var(--gold); background: #fffaf0; padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #5a4310; margin: 1.5rem 0;
}
.note.info { border-color: var(--green); background: var(--green-50); color: #134a2b; }
.note p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color: #e6eef9; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px); background-size: 40px 40px;
}
.cta-band .container { position: relative; padding-block: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { margin: 0; max-width: 38rem; color: #cfdcef; }
.cta-band .btn-row { margin: 0; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 0.8rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--green); transition: transform 0.2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); color: var(--navy); }
tr:last-child td { border-bottom: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; font-size: 0.97rem; }
.field label .req { color: #b42318; }
.field label .opt { color: var(--muted); font-weight: 500; font-size: 0.88rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.9rem; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #b8c6d6; border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-700); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(22, 132, 71, 0.18); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field .err { color: #b42318; font-size: 0.9rem; margin-top: 0.3rem; display: none; }
.field [aria-invalid="true"] ~ .err { display: block; }
.field .hint { color: var(--muted); font-size: 0.88rem; margin-top: 0.3rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.1rem; padding: 0.95rem 1.1rem; border-radius: var(--radius-sm); display: none; font-weight: 600; }
.form-status.is-visible { display: block; }
.form-status.success { background: #e6f6ec; color: #0e5a2c; border: 1px solid #98d8b3; }
.form-status.error { background: #fdecea; color: #8a1c13; border: 1px solid #f1b0aa; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; box-shadow: none; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list .ci { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--green-700); text-decoration: underline; }

/* ---------- Illustrations ---------- */
.illustration { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.illustration img { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 4px solid var(--green); color: var(--ink); font-size: 0.97rem; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.2rem; padding-block: 3rem 2.2rem; }
@media (max-width: 960px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.6rem 1rem; display: inline-block; }
.site-footer .logo-box img { height: 92px; width: auto; }
.site-footer h2 { font-size: 1.02rem; margin-bottom: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-footer ul a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.site-footer ul a:hover { color: var(--green-700); text-decoration: underline; }
.site-footer address { font-style: normal; display: grid; gap: 0.5rem; }
.site-footer address a { color: var(--ink); font-weight: 600; text-decoration: none; }
.site-footer address a:hover { color: var(--green-700); text-decoration: underline; }
.footer-bottom { background: var(--navy); color: #c8d6ea; font-size: 0.9rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; padding-block: 1rem; }
.footer-bottom a { color: #fff; }
.social-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem; font-weight: 700; color: var(--navy); text-decoration: none; min-height: 44px; }
.social-link svg { width: 22px; height: 22px; color: #1877f2; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 60px; height: 60px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(15, 100, 50, 0.45); transition: transform 0.2s ease, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 14px 32px rgba(15, 100, 50, 0.55); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fa855; animation: wa-pulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Scroll reveal (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Custom cursor (desktop with fine pointer only) ---------- */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { display: block; position: fixed; left: 0; top: 0; pointer-events: none; z-index: 3000; border-radius: 50%; will-change: transform; }
  body.has-cursor .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
  body.has-cursor .cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid rgba(22, 132, 71, 0.65); transition: width 0.2s, height 0.2s, margin 0.2s, background 0.2s; }
  body.has-cursor .cursor-ring.is-active { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(22, 132, 71, 0.08); }
}

/* ---------- 404 ---------- */
.error-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--navy), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-visual .frame { transform: none; }
  .wa-float::after { display: none; }
}

@media print { .topbar, .site-header, .wa-float, .cta-band, .cursor-dot, .cursor-ring { display: none !important; } }

/* ---------- Two-column layouts (contact / quote) ---------- */
.two-col { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.two-col--contact { grid-template-columns: 1fr 1.25fr; }
.two-col--quote { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr !important; } }

/* ---------- Overflow safety (long emails/URLs on small screens) ---------- */
.split > *, .two-col > *, .grid > *, .hero .container > * { min-width: 0; }
.contact-list a, .site-footer address a, .topbar a span { overflow-wrap: anywhere; }
