/* Dr. Ashawi — Medini Dental Clinic UBC
   Palette taken from the clinic's scrubs (purple) and the Medini logo (green). */

:root {
  --purple-950: #170C3A;
  --purple-900: #21124F;
  --purple-700: #3E2490;
  --purple-600: #4B2DA3;
  --purple-200: #D9D0F2;
  --purple-100: #ECE8F8;
  --purple-50:  #F6F3FC;
  --green:      #6DBE45;
  --green-700:  #3F7F1F;
  --green-100:  #E6F4DC;
  --ink:        #1B1530;
  --muted:      #5C5673;
  --line:       #E4DFF1;
  --bg:         #FCFBFE;
  --white:      #fff;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(33,18,79,.06), 0 12px 32px -12px rgba(33,18,79,.18);
  --shadow-lg: 0 2px 4px rgba(33,18,79,.08), 0 30px 60px -20px rgba(33,18,79,.35);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; margin: 0; letter-spacing: -.01em; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--purple-700); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-primary { background: var(--purple-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(75,45,163,.7); }
.btn-primary:hover { background: var(--purple-700); }
.btn-wa { background: var(--green); color: var(--purple-950); box-shadow: 0 10px 24px -12px rgba(63,127,31,.8); }
.btn-wa:hover { background: #7ccc55; }
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; }
.btn-ghost { background: transparent; color: var(--purple-700); border-color: var(--purple-200); }
.btn-ghost:hover { background: var(--purple-50); border-color: var(--purple-600); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252,251,254,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--purple-600); color: #fff; display: grid; place-items: center; font: 700 22px var(--serif); box-shadow: inset 0 -4px 0 var(--green); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 700 18px var(--serif); }
.brand-text small { font-size: 12px; color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
.nav { display: none; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--muted); white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--purple-700); background: var(--purple-100); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1.5px solid var(--purple-200); background: #fff; border-radius: 999px; padding: 3px; cursor: pointer; font: 600 12px var(--sans); }
.lang span { padding: 5px 10px; border-radius: 999px; color: var(--muted); }
.lang span.on { background: var(--purple-600); color: #fff; }
.burger { display: grid; gap: 4px; width: 42px; height: 42px; place-content: center; border: 1.5px solid var(--purple-200); border-radius: 12px; background: #fff; cursor: pointer; }
.burger span { width: 18px; height: 2px; background: var(--purple-700); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav.open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.nav.open a { padding: 14px 12px; font-size: 17px; }
@media (max-width: 560px) {
  .bar-actions .btn-wa { display: none; }   /* floating WhatsApp button covers this on phones */
}
@media (min-width: 1120px) {
  .nav { display: flex; }
  .burger { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 56px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(109,190,69,.18), transparent 60%),
    radial-gradient(900px 600px at 0% 0%, rgba(75,45,163,.12), transparent 60%),
    var(--bg); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.eyebrow { display: inline-block; font: 700 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin: 0 0 14px; }
.eyebrow.light { color: var(--green); }
.hero h1 { font-size: clamp(38px, 7.2vw, 70px); font-weight: 700; color: var(--purple-900); }
.hero h1 em { font-style: normal; color: var(--purple-600); background: linear-gradient(transparent 70%, rgba(109,190,69,.45) 70%); padding: 0 .08em; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 54ch; margin: 20px 0 28px; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; }
.trust strong { color: var(--ink); }
.trust .star { color: #E8A100; }
.trust .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); margin-right: 8px; }
.trust .dot.open { background: var(--green); box-shadow: 0 0 0 4px rgba(109,190,69,.25); }
.trust .dot.shut { background: #D9534F; }

.hero-visual { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.portrait { position: relative; aspect-ratio: 1/1.05; border-radius: 36px 36px 36px 120px; overflow: hidden;
  background: linear-gradient(160deg, var(--purple-100), #fff 55%, var(--green-100)); box-shadow: var(--shadow-lg); }
.portrait::before { content: ""; position: absolute; inset: auto -20% -30% -20%; height: 70%; border-radius: 50%; background: var(--purple-600); opacity: .12; }
.portrait img { position: absolute; bottom: -2%; left: 50%; transform: translateX(-50%); width: 108%; max-width: none; height: auto; }
.years-badge { position: absolute; left: -8px; bottom: 28px; background: var(--purple-900); color: #fff; border-radius: 22px; padding: 16px 22px 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; border-left: 6px solid var(--green); }
.years-badge .num { font: 700 56px/0.9 var(--serif); color: #fff; }
.years-badge .num sup { font-size: .5em; color: var(--green); vertical-align: top; margin-left: 2px; }
.years-badge .lbl { font-size: 13px; line-height: 1.25; max-width: 9ch; color: var(--purple-200); font-weight: 500; }
.chip { position: absolute; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; color: var(--purple-700); }
.chip .cdot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chip-a { top: 8%; right: -6px; }
.chip-b { top: 22%; left: -10px; }
@media (min-width: 940px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}
@media (max-width: 480px) { .chip-b { display: none; } .years-badge { left: 8px; } }

/* ---------- stats ---------- */
.stats { background: var(--purple-900); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding: 36px 0; }
.stats-grid > div { display: flex; flex-direction: column; gap: 4px; }
.s-num { font: 700 clamp(36px, 6vw, 54px)/1 var(--serif); color: #fff; }
.s-num small { font-size: .6em; color: #FFC93C; margin-left: 2px; }
.stats-grid > div:first-child .s-num { color: var(--green); }
.s-lbl { font-size: 14.5px; color: var(--purple-200); max-width: 22ch; }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); padding: 44px 0; } .stats-grid > div + div { border-left: 1px solid rgba(255,255,255,.14); padding-left: 28px; } }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 5vw, 48px); color: var(--purple-900); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

/* ---------- 30 years ---------- */
.years { background: #fff; }
.years-layout { display: grid; gap: 28px; margin-bottom: 36px; }
.years-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.years-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; }
.years-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(23,12,58,.82)); }
.years-big { background: linear-gradient(160deg, var(--purple-900), var(--purple-700)); color: #fff; border-radius: var(--radius); padding: 32px 28px 28px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; justify-content: center; }
.big-num { font: 700 clamp(96px, 16vw, 160px)/.9 var(--serif); letter-spacing: -.03em; color: #fff; }
.big-num sup { font-size: .45em; color: var(--green); vertical-align: top; position: relative; top: .1em; }
.big-lbl { font: 600 20px var(--serif); color: var(--purple-200); margin: 10px 0 28px; }
.timeline { position: relative; }
.tl-line { height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); margin: 6px 0 18px; overflow: hidden; }
.tl-fill { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; }
.js .tl-fill { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.js .timeline.in .tl-fill { transform: scaleX(1); }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; font-size: 15px; color: var(--purple-200); }
.timeline li b { color: var(--green); font: 700 18px var(--serif); }
@media (min-width: 900px) {
  .years-layout { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .years-photo img { aspect-ratio: auto; }
  .timeline ol { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}
.pillars { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { background: var(--purple-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.p-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-size: 22px; margin-bottom: 14px; }
.pillar h3 { font-size: 20px; margin-bottom: 8px; color: var(--purple-900); }
.pillar p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 36px; align-items: center; }
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; aspect-ratio: 4 / 5; max-height: 640px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.about-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); pointer-events: none; }
.about-copy h2 { font-size: clamp(30px, 4.6vw, 44px); color: var(--purple-900); margin-bottom: 18px; }
.about-copy p { color: var(--muted); }
.facts { margin: 24px 0 28px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--purple-700); font-size: 14.5px; }
.facts dd { margin: 0; font-weight: 500; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- treatments ---------- */
.treatments { background: var(--purple-50); }
.t-featured { display: grid; gap: 18px; margin-bottom: 44px; }
@media (min-width: 900px) { .t-featured { grid-template-columns: repeat(3, 1fr); } }
.t-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.t-card h3, .t-card h4 { color: var(--purple-900); }
.t-card h3 { font-size: 26px; }
.t-card h4 { font-size: 20px; }
.t-card p { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }
.t-card.feat { background: linear-gradient(180deg, #fff, var(--purple-50)); border-color: var(--purple-200); position: relative; overflow: hidden; }
.t-card.feat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--purple-600), var(--green)); }
.tag { align-self: flex-start; font: 700 11.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--green-100); color: var(--green-700); padding: 5px 10px; border-radius: 999px; }
.t-link { font-weight: 600; color: var(--purple-600); text-decoration: none; font-size: 15px; margin-top: 4px; }
.t-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.sub-h { font-size: 24px; margin-bottom: 18px; color: var(--purple-900); }
.t-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .t-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .t-grid { grid-template-columns: repeat(4, 1fr); } }
.t-grid .t-card { padding: 22px; }
.promo { margin-top: 36px; display: grid; gap: 10px 20px; align-items: center; background: var(--purple-900); color: #fff; border-radius: var(--radius); padding: 24px 28px; }
.promo strong { font: 600 22px var(--serif); color: var(--green); }
.promo span { color: var(--purple-200); font-size: 15.5px; }
@media (min-width: 1100px) { .promo { grid-template-columns: auto 1fr auto; } }

/* ---------- journey ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple-600); color: #fff; font: 700 20px var(--serif); margin-bottom: 14px; box-shadow: 0 0 0 5px var(--purple-100); }
.steps h3 { font-size: 20px; margin-bottom: 8px; color: var(--purple-900); }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- clinic ---------- */
.clinic { background: #fff; }
.clinic-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .clinic-grid { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 3/2; }
.g1 { grid-column: span 6; }
.g2, .g3, .g4 { grid-column: span 2; aspect-ratio: 1/1 !important; }
@media (max-width: 560px) { .g2, .g3 { grid-column: span 3; } .g4 { grid-column: span 6; aspect-ratio: 3/2 !important; } }
.info-card { background: var(--purple-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h3 { font-size: 26px; color: var(--purple-900); margin-bottom: 12px; }
.info-card address { font-style: normal; color: var(--muted); margin-bottom: 14px; }
.info-card address strong { color: var(--ink); }
.status-line { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 14px; }
.status-line .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status-line.open .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(109,190,69,.25); }
.status-line.shut .dot { background: #D9534F; }
.hours { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hours th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 0; }
.hours td { text-align: right; padding: 8px 0; font-variant-numeric: tabular-nums; }
.hours tr + tr { border-top: 1px dashed var(--line); }
.hours tr.today th, .hours tr.today td { color: var(--purple-700); font-weight: 700; }
.hours tr.today { background: linear-gradient(90deg, transparent, rgba(109,190,69,.18), transparent); }
.hours tr.closed td, .hours tr.closed th { color: #B04440; }
.note { font-size: 13.5px; color: var(--muted); margin: 14px 0 18px; }
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- reviews ---------- */
.rev-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .rev-grid { grid-template-columns: 340px 1fr; } }
.rating-card { background: var(--purple-900); color: #fff; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-lg); }
.r-num { font: 700 84px/1 var(--serif); }
.r-stars { color: #FFC93C; font-size: 26px; letter-spacing: 3px; }
.r-sub { color: var(--purple-200); font-size: 15px; margin-bottom: 12px; }
.rating-card .t-link { color: var(--green); }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 32px 26px; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; position: absolute; top: -10px; left: 22px; font: 700 110px/1 var(--serif); color: var(--green); opacity: .6; }
.quote blockquote { margin: 0; padding-top: 28px; }
.quote p { font: 500 clamp(19px, 2.6vw, 24px)/1.45 var(--serif); color: var(--purple-900); margin: 0 0 18px; }
.quote figcaption { color: var(--muted); font-size: 15px; }
.quote figcaption strong { color: var(--ink); }
.tags-title { margin: 36px 0 12px; font-weight: 600; color: var(--purple-700); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.tags li { background: #fff; border: 1px solid var(--purple-200); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; }
.tags b { color: var(--green-700); margin-left: 6px; }
.reviews { background: var(--bg); }

/* ---------- group ---------- */
.group { background: var(--purple-50); }
.group-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .group-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.group-logo { height: 52px; width: auto; margin-bottom: 20px; border-radius: 6px; }
.group h2 { font-size: clamp(28px, 4vw, 40px); color: var(--purple-900); margin-bottom: 16px; }
.group p { color: var(--muted); }
.vm { display: grid; gap: 22px; margin-top: 24px; }
@media (min-width: 640px) { .vm { grid-template-columns: 1fr 1.3fr; } }
.vm h3 { font-size: 19px; color: var(--purple-700); margin-bottom: 8px; }
.vm p, .vm li { font-size: 15.5px; color: var(--muted); }
.vm ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.branches { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; align-self: start; }
.branches h3 { font-size: 22px; margin-bottom: 14px; color: var(--purple-900); }
.branches ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.branches li { background: var(--purple-50); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; color: var(--muted); }
.branches li.here { background: var(--purple-600); color: #fff; font-weight: 600; }
.branches li.here small { background: var(--green); color: var(--purple-950); border-radius: 999px; padding: 2px 8px; margin-left: 6px; font-weight: 700; font-size: 12px; }

/* ---------- faq ---------- */
.faq { background: #fff; }
details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); margin-bottom: 12px; transition: background .2s; }
details[open] { background: var(--purple-50); border-color: var(--purple-200); }
summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font: 600 18px var(--sans); position: relative; color: var(--purple-900); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--purple-100); color: var(--purple-700); display: grid; place-items: center; font-size: 20px; font-weight: 500; transition: transform .2s, background .2s; }
details[open] summary::after { content: "–"; background: var(--green); color: var(--purple-950); }
details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* ---------- contact ---------- */
.contact { background: linear-gradient(160deg, var(--purple-950), var(--purple-700)); color: #fff; }
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact h2 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 16px; }
.contact-copy > p { color: var(--purple-200); font-size: 18px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; color: var(--purple-200); }
.contact-list b { display: block; color: #fff; font-weight: 600; }
.contact-list a { color: var(--green); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.ci { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 20px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.social a:hover { background: rgba(255,255,255,.12); }
.book { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.book h3 { font-size: 26px; color: var(--purple-900); }
.book label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--purple-700); }
.book input, .book select, .book textarea { font: 500 16px var(--sans); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); width: 100%; }
.book input:focus, .book select:focus, .book textarea:focus { outline: none; border-color: var(--purple-600); box-shadow: 0 0 0 4px var(--purple-100); }
.book input.bad { border-color: #D9534F; box-shadow: 0 0 0 4px rgba(217,83,79,.15); }
.fine { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--purple-950); color: var(--purple-200); padding: 32px 0 96px; font-size: 14.5px; }
.site-footer strong { color: #fff; }
.foot { display: grid; gap: 18px; }
.foot .fine { color: #9A92BD; }
@media (min-width: 800px) { .foot { grid-template-columns: 1fr 1fr; } .foot-r { text-align: right; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); transition: transform .15s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .tl-fill { transform: none; transition: none; }
  .btn:hover, .t-card:hover { transform: none; }
}
