/* =====================================================================
   West Coast Mobile Home Improvement
   Coastal-contractor theme — ink navy, ocean teal, sunset amber, sand.
   Built by Incline Digital Marketing Agency.
   ===================================================================== */

:root {
  --ink: #0e2438;
  --ink-2: #16334d;
  --teal: #1b9aaa;
  --teal-dark: #137885;
  --amber: #f6a43c;
  --amber-dark: #e8881a;
  --sand: #f6f1e7;
  --sand-2: #efe7d6;
  --white: #ffffff;
  --gray: #5c6b78;
  --line: rgba(14, 36, 56, 0.12);
  --shadow-sm: 0 2px 10px rgba(14, 36, 56, 0.08);
  --shadow: 0 14px 40px rgba(14, 36, 56, 0.14);
  --shadow-lg: 0 30px 70px rgba(14, 36, 56, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --display: "Poppins", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
section { position: relative; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-dark);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); border-radius: 2px; }
.section { padding: 92px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--ink); }
.section-head p { margin-top: 14px; color: var(--gray); font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px rgba(246, 164, 60, 0.4); }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(246, 164, 60, 0.5); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(27,154,170,0.35); }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }

/* ---------- Opening animation / preloader ---------- */
#intro {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(1200px 600px at 50% 30%, var(--ink-2), var(--ink) 70%);
  display: grid; place-items: center;
  transition: opacity .7s ease, visibility .7s ease;
}
#intro.done { opacity: 0; visibility: hidden; }
.intro-stage { width: min(440px, 82vw); text-align: center; color: #fff; }
.intro-stage svg { width: 100%; height: auto; overflow: visible; }
.intro-word {
  font-family: var(--display); font-weight: 700; letter-spacing: 0.04em;
  margin-top: 18px; font-size: 1.05rem; opacity: 0;
  animation: fadeUp .6s ease 1.5s forwards;
}
.intro-word b { color: var(--amber); }
.intro-tag { font-size: .82rem; color: rgba(255,255,255,.6); letter-spacing: .22em; text-transform: uppercase; opacity: 0; animation: fadeUp .6s ease 1.8s forwards; }

/* intro SVG animated parts */
.pier { transform-origin: bottom center; animation: pierRise .5s cubic-bezier(.2,.9,.3,1.2) forwards; opacity: 0; }
.pier.p2 { animation-delay: .15s; }
.pier.p3 { animation-delay: .3s; }
.pier.p4 { animation-delay: .45s; }
.home-body { transform: translateY(-120px); opacity: 0; animation: homeDrop .7s cubic-bezier(.3,.8,.3,1) .6s forwards; }
.home-roof { transform: translateY(-160px); opacity: 0; animation: homeDrop .7s cubic-bezier(.3,.8,.3,1) .85s forwards; }
.home-detail { opacity: 0; animation: fadeUp .5s ease 1.25s forwards; }
.level-bubble { animation: bubble 1.2s ease 1.4s infinite; }
.draw-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.1s ease .2s forwards; }

@keyframes pierRise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes homeDrop { to { transform: translateY(0); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes bubble { 0%,100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.skip-intro {
  position: fixed; bottom: 22px; right: 22px; z-index: 10000;
  background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; cursor: pointer;
  font-family: var(--display); transition: background .2s;
}
.skip-intro:hover { background: rgba(255,255,255,0.25); }
#intro.done ~ .skip-intro { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(246, 241, 231, 0.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, background .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(246,241,231,0.96); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 1.02rem; letter-spacing: -0.01em; }
.brand-text span { font-size: 0.68rem; font-weight: 500; color: var(--teal-dark); letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: var(--display); font-weight: 500; font-size: 0.98rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--amber); transition: width .25s; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--display); font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.nav-phone svg { width: 18px; height: 18px; color: var(--teal); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, #0a4f5a 130%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 88% 18%, rgba(246,164,60,0.20), transparent 60%),
    radial-gradient(600px 400px at 5% 90%, rgba(27,154,170,0.28), transparent 60%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; padding: 86px 0 96px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; padding: 7px 16px;
  font-size: 0.82rem; font-family: var(--display); font-weight: 500; margin-bottom: 22px;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--amber); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.hero h1 .accent { color: var(--amber); }
.hero .lede { margin-top: 20px; font-size: 1.14rem; color: rgba(255,255,255,0.82); max-width: 540px; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.92rem; color: rgba(255,255,255,0.78); }
.hero-meta div { display: flex; align-items: center; gap: 9px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px; padding: 26px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-card .scene { width: 100%; height: auto; }
.hero-card .quote { margin-top: 18px; font-style: italic; color: rgba(255,255,255,0.9); font-size: 0.98rem; }
.hero-card .quote span { display: block; margin-top: 8px; font-style: normal; font-weight: 600; color: var(--amber); font-size: 0.85rem; }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* hero scene animation (subtle, loops) */
.scene .float-cloud { animation: floatX 9s ease-in-out infinite; }
.scene .float-cloud.c2 { animation-duration: 13s; animation-direction: reverse; }
.scene .sun { transform-origin: center; animation: spin 60s linear infinite; }
.scene .hammer { transform-origin: 70% 30%; animation: tap 2.2s ease-in-out infinite; }
@keyframes floatX { 0%,100% { transform: translateX(0); } 50% { transform: translateX(14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes tap { 0%,60%,100% { transform: rotate(0deg); } 30% { transform: rotate(-22deg); } }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--ink); color: rgba(255,255,255,0.9); }
.trustbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 22px 24px; }
.trust-item { display: flex; align-items: center; gap: 11px; font-size: 0.92rem; }
.trust-item svg { width: 24px; height: 24px; color: var(--amber); flex: none; }
.trust-item b { font-family: var(--display); }

/* ---------- Services ---------- */
.services { background: var(--sand); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.svc-card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(27,154,170,0.12); color: var(--teal-dark); margin-bottom: 18px; }
.svc-ico svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.svc-card p { color: var(--gray); font-size: 0.96rem; }

/* ---------- Foundation spotlight ---------- */
.spotlight { background: linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%); }
.spot-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.spot-visual {
  background: var(--ink); border-radius: 22px; padding: 30px; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.spot-visual svg { width: 100%; height: auto; }
.spot-list { display: grid; gap: 16px; margin-top: 26px; }
.spot-list li { list-style: none; display: flex; gap: 14px; align-items: flex-start; }
.spot-list .num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--ink); font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.spot-list h4 { font-size: 1.06rem; }
.spot-list p { color: var(--gray); font-size: 0.95rem; }

/* ---------- Why choose ---------- */
.why { background: var(--ink); color: #fff; }
.why .section-head h2 { color: #fff; }
.why .section-head p { color: rgba(255,255,255,0.72); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 26px; transition: transform .25s, background .25s; }
.why-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); }
.why-ico { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: rgba(246,164,60,0.18); color: var(--amber); margin-bottom: 16px; }
.why-ico svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: rgba(255,255,255,0.72); font-size: 0.94rem; }

/* ---------- Stats ---------- */
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: var(--teal-dark); line-height: 1; }
.stat .lbl { color: var(--gray); font-size: 0.95rem; margin-top: 8px; }

/* ---------- Process ---------- */
.process { background: var(--sand); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); position: relative; }
.step .badge { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 0.94rem; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 46px; color: var(--amber); font-size: 1.4rem; font-weight: 700; }

/* ---------- Testimonials ---------- */
.reviews { background: linear-gradient(180deg, var(--sand-2), var(--sand)); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev-card { background: #fff; border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.stars { color: var(--amber); display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; }
.rev-card p { color: var(--ink-2); font-size: 1rem; flex: 1; }
.rev-author { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.rev-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--amber)); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.rev-author b { font-family: var(--display); display: block; }
.rev-author span { color: var(--gray); font-size: 0.85rem; }

/* ---------- Financing ---------- */
.financing { background: var(--teal-dark); color: #fff; }
.fin-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.financing .section-head h2 { color: #fff; }
.fin-list { display: grid; gap: 12px; margin: 22px 0 28px; }
.fin-list li { list-style: none; display: flex; gap: 12px; align-items: center; }
.fin-list svg { width: 22px; height: 22px; color: var(--amber); flex: none; }
.fin-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 32px; text-align: center; }
.fin-card .big { font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--amber); }
.fin-card p { color: rgba(255,255,255,0.85); margin: 8px 0 22px; }

/* ---------- Service area ---------- */
.area { background: var(--sand); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 0.9rem; font-family: var(--display); font-weight: 500; }
.area-map svg { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }

/* ---------- Articles teaser ---------- */
.resources { background: #fff; }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.res-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.res-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.res-top { height: 120px; display: grid; place-items: center; }
.res-top svg { width: 64px; height: 64px; color: #fff; }
.res-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.res-tag { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; font-family: var(--display); }
.res-body h3 { font-size: 1.1rem; margin: 8px 0 10px; }
.res-body p { color: var(--gray); font-size: 0.94rem; flex: 1; }
.res-link { margin-top: 16px; color: var(--teal-dark); font-family: var(--display); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- CTA + Contact ---------- */
.cta-band { background: linear-gradient(135deg, var(--amber), var(--amber-dark)); color: var(--ink); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 54px 24px; }
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); max-width: 620px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; }

.contact { background: var(--ink); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact .section-head h2 { color: #fff; }
.contact-info { display: grid; gap: 18px; margin-top: 8px; }
.ci-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(27,154,170,0.2); color: var(--teal); display: grid; place-items: center; flex: none; }
.ci-ico svg { width: 22px; height: 22px; }
.ci-item b { font-family: var(--display); display: block; }
.ci-item a, .ci-item span { color: rgba(255,255,255,0.8); }
.ci-item a:hover { color: var(--amber); }
.form-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: 20px; padding: 30px; }
.form-card h3 { margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; margin-bottom: 6px; color: rgba(255,255,255,0.8); font-family: var(--display); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); color: #fff; font-family: var(--font); font-size: 0.96rem;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: rgba(255,255,255,0.12); }
.form-note { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { background: #081826; color: rgba(255,255,255,0.7); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,0.7); display: block; padding: 5px 0; font-size: 0.94rem; }
.footer a:hover { color: var(--amber); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-text span { color: var(--teal); }
.footer-about p { font-size: 0.94rem; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; padding: 0; }
.footer-social a:hover { background: var(--amber); color: var(--ink); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 0.85rem; }
.footer-bottom .credit a { display: inline; color: var(--teal); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Article pages ---------- */
.article-hero { background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: #fff; padding: 70px 0 60px; }
.article-hero .crumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.article-hero .crumb a:hover { color: var(--amber); }
.article-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); max-width: 800px; }
.article-hero .meta { margin-top: 16px; color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.article-body { padding: 64px 0; }
.prose { max-width: 760px; margin: 0 auto; font-size: 1.06rem; color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; margin: 38px 0 14px; color: var(--ink); }
.prose h3 { font-size: 1.22rem; margin: 28px 0 10px; color: var(--ink); }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose .callout { background: var(--sand-2); border-left: 4px solid var(--amber); border-radius: 10px; padding: 20px 24px; margin: 24px 0; }
.prose .callout b { color: var(--ink); }
.article-cta { background: var(--teal-dark); color: #fff; border-radius: 18px; padding: 34px; text-align: center; margin-top: 44px; }
.article-cta h3 { font-size: 1.4rem; margin-bottom: 14px; }

/* ---------- Real logo ---------- */
.brand-logo { height: 46px; width: auto; display: block; }
.footer .brand-logo { height: 70px; background: #fff; padding: 10px 14px; border-radius: 12px; }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--ink); box-shadow: 0 -6px 24px rgba(0,0,0,0.25);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 10px; font-family: var(--display); font-weight: 600; font-size: 1rem; color: #fff;
}
.callbar a svg { width: 18px; height: 18px; }
.callbar a.call { background: var(--teal-dark); }
.callbar a.quote { background: var(--amber); color: var(--ink); }

/* ---------- Symptom checklist ---------- */
.symptoms { background: var(--ink); color: #fff; }
.symptoms .section-head h2 { color: #fff; }
.symptoms .section-head p { color: rgba(255,255,255,0.75); }
.symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.symptom {
  display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 18px 20px; font-size: 1rem;
}
.symptom svg { width: 26px; height: 26px; color: var(--amber); flex: none; }
.symptom-cta { text-align: center; margin-top: 36px; }
.symptom-cta p { color: rgba(255,255,255,0.85); margin-bottom: 16px; font-size: 1.05rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--sand); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-item {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.07); }
.gal-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px; color: #fff;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(transparent, rgba(14,36,56,0.85));
}
.gal-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* hero photo */
.hero-photo { position: relative; }
.hero-photo img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); display: block; }
.hero-float {
  position: absolute; bottom: -18px; left: -18px; background: #fff; color: var(--ink);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.hero-float .hf-ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(27,154,170,0.15); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.hero-float .hf-ico svg { width: 22px; height: 22px; }
.hero-float b { font-family: var(--display); display: block; font-size: 0.95rem; }
.hero-float span { font-size: 0.8rem; color: var(--gray); }
.hero-badges { position: absolute; top: -16px; right: -10px; display: flex; gap: 8px; }
.hero-badges img { height: 64px; width: auto; background: #fff; border-radius: 10px; padding: 6px; box-shadow: var(--shadow); }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: var(--sand); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 22px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .ico { flex: none; width: 24px; height: 24px; transition: transform .3s; color: var(--teal-dark); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--gray); }

/* ---------- Portal ---------- */
.portal-page { min-height: 100vh; background: linear-gradient(160deg, var(--ink), var(--ink-2)); display: grid; place-items: center; padding: 40px 20px; }
.portal-card { width: min(440px, 100%); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: 22px; padding: 40px 34px; backdrop-filter: blur(8px); box-shadow: var(--shadow-lg); color: #fff; }
.portal-card .brand-logo { height: 78px; margin: 0 auto 22px; background: #fff; padding: 12px 16px; border-radius: 14px; }
.portal-card h1 { font-size: 1.6rem; text-align: center; margin-bottom: 6px; }
.portal-card .sub { text-align: center; color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 26px; }
.portal-card .field input { margin-bottom: 4px; }
.portal-err { color: #ff9d8a; font-size: 0.88rem; min-height: 20px; margin: 6px 0; text-align: center; }
.portal-hint { text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 18px; }
.portal-back { text-align: center; margin-top: 16px; }
.portal-back a { color: var(--teal); font-family: var(--display); font-weight: 600; font-size: 0.9rem; }

.dash { display: none; min-height: 100vh; background: var(--sand); }
.dash.show { display: block; }
.dash-top { background: var(--ink); color: #fff; padding: 16px 0; }
.dash-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dash-top .brand-logo { height: 50px; background: #fff; padding: 6px 12px; border-radius: 9px; }
.dash-user { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; }
.dash-user .btn { padding: 9px 18px; font-size: 0.88rem; }
.dash-hero { background: var(--ink-2); color: #fff; padding: 38px 0; }
.dash-hero h1 { font-size: 1.7rem; }
.dash-hero p { color: rgba(255,255,255,0.72); margin-top: 6px; }
.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; padding: 36px 0; }
.dash-col { display: grid; gap: 20px; align-content: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 1.15rem; margin-bottom: 4px; }
.panel .muted { color: var(--gray); font-size: 0.9rem; margin-bottom: 18px; }
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.doc-row:first-of-type { border-top: none; }
.doc-meta { display: flex; align-items: center; gap: 12px; }
.doc-ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(27,154,170,0.12); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.doc-ico svg { width: 20px; height: 20px; }
.doc-meta b { font-family: var(--display); display: block; font-size: 0.96rem; }
.doc-meta span { font-size: 0.82rem; color: var(--gray); }
.doc-actions { display: flex; gap: 8px; }
.pill { font-size: 0.74rem; font-family: var(--display); font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.pill.paid { background: rgba(27,154,170,0.15); color: var(--teal-dark); }
.pill.due { background: rgba(246,164,60,0.2); color: var(--amber-dark); }
.pill.progress { background: rgba(14,36,56,0.1); color: var(--ink); }
.mini-btn { font-family: var(--display); font-weight: 600; font-size: 0.82rem; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.mini-btn.pay { background: var(--amber); border-color: var(--amber); }
.mini-btn:hover { transform: translateY(-1px); }
.timeline { display: grid; gap: 0; }
.tl-step { display: flex; gap: 14px; padding-bottom: 20px; position: relative; }
.tl-step:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--line); color: var(--gray); z-index: 1; }
.tl-step.done .tl-dot { background: var(--teal); color: #fff; }
.tl-step.active .tl-dot { background: var(--amber); color: var(--ink); }
.tl-step b { font-family: var(--display); display: block; font-size: 0.96rem; }
.tl-step span { font-size: 0.84rem; color: var(--gray); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .spot-grid, .fin-grid, .area-grid, .contact-grid, .dash-grid { grid-template-columns: 1fr; }
  .svc-grid, .why-grid, .rev-grid, .res-grid, .steps, .stats .container, .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-big { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .hero-photo { order: -1; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-phone { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--sand); padding: 22px 24px; gap: 16px; box-shadow: var(--shadow); border-bottom: 1px solid var(--line);
  }
  .svc-grid, .why-grid, .rev-grid, .res-grid, .steps, .stats .container, .footer-grid, .symptom-grid, .gal-grid { grid-template-columns: 1fr; }
  .gal-big { grid-column: span 1; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .callbar { display: grid; }
  body { padding-bottom: 56px; }
  .dash-top .container { flex-direction: column; }
}
.nav-links a { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
