/*
Theme Name: Guarda Elementor
Theme URI: https://pssva.com
Template: hello-elementor
Author: Fancy Media
Description: Elementor-ready child theme carrying the Guarda Plastic Surgery design. Requires the free Hello Elementor parent theme and Elementor.
Version: 1.0
License: GPL-2.0-or-later
Text Domain: guarda-elementor
*/

/* =====================================================================
   Plastic Surgery Specialists of Virginia — Modern Redesign
   Design system + global styles
   ===================================================================== */

:root {
  /* Palette — warm, elegant, medical-luxury */
  --plum:        #7a5a6e;   /* primary accent */
  --plum-deep:   #5e4356;
  --mauve:       #b98da8;
  --blush:       #f4e9ee;
  --cream:       #faf7f4;
  --sand:        #efe7df;
  --ink:         #2c2530;
  --slate:       #6b6570;
  --gold:        #c9a86a;
  --white:       #ffffff;
  --line:        #e7ddd6;

  --radius:      18px;
  --radius-sm:   12px;
  --shadow-sm:   0 4px 18px rgba(60, 40, 55, 0.07);
  --shadow-md:   0 14px 40px rgba(60, 40, 55, 0.12);
  --shadow-lg:   0 30px 70px rgba(60, 40, 55, 0.18);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:  "Poppins", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--plum);
  display: inline-block;
  margin-bottom: 18px;
}
.eyebrow::before { content: "—"; margin-right: 10px; color: var(--gold); }

.lead { font-size: 1.18rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.4px;
  padding: 15px 32px; border-radius: 100px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .3s var(--ease);
}
.btn-primary { background: var(--plum); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--plum-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-outline:hover { background: var(--plum); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .arw { transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--plum-deep); color: #f3e9ef;
  font-size: 0.82rem; letter-spacing: 0.3px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; gap: 16px; }
.topbar a { color: #f3e9ef; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; align-items: center; gap: 8px; opacity: .9; }
.topbar .tb-right { display: flex; align-items: center; gap: 22px; }
.topbar .tb-social { display: flex; gap: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 244, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; max-width: var(--container); margin: 0 auto; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--plum-deep); letter-spacing: .5px; }
.brand .brand-sub { font-size: 0.62rem; letter-spacing: 3px; text-transform: uppercase; color: var(--slate); margin-top: 5px; }
.brand-logo { display: block; height: 50px; width: auto; }
@media (max-width: 400px) { .brand-logo { height: 40px; } }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links > li > a {
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav-links > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--plum); transition: width .3s var(--ease);
}
.nav-links > li > a:hover::after, .nav-links > li > a.active::after { width: 100%; }
.nav-links > li > a:hover { color: var(--plum); }

/* dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute; top: 130%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: 12px; min-width: 240px;
  opacity: 0; visibility: hidden; transition: all .28s var(--ease); list-style: none;
}
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop li a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 0.88rem; color: var(--slate); }
.drop li a:hover { background: var(--blush); color: var(--plum); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; padding: 90px 0 100px; }
.hero-copy h1 span { color: var(--plum); font-style: italic; }
.hero-copy .lead { margin: 26px 0 34px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--serif); font-size: 2.4rem; color: var(--plum); display: block; }
.hero-stats .stat span { font-size: 0.82rem; color: var(--slate); letter-spacing: .5px; }

.hero-media { position: relative; }
.hero-media img { border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 620px; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: 34px; left: -28px; background: #fff; padding: 20px 26px;
  border-radius: var(--radius); box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
}
.hero-badge .hb-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; color: var(--plum); font-size: 1.3rem; }
.hero-badge b { display: block; font-family: var(--serif); font-size: 1.15rem; }
.hero-badge span { font-size: 0.78rem; color: var(--slate); }
.hero-blob { position: absolute; width: 460px; height: 460px; background: radial-gradient(circle, var(--blush), transparent 70%); top: -80px; right: -120px; z-index: 0; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { color: var(--slate); margin-top: 14px; }
.bg-blush { background: var(--blush); }
.bg-sand { background: var(--sand); }
.bg-plum { background: var(--plum-deep); color: #f5ecf1; }
.bg-plum h2, .bg-plum h3 { color: #fff; }

/* ---------- Procedure cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.proc-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.proc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.proc-card .pc-img { height: 230px; overflow: hidden; position: relative; }
.proc-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proc-card:hover .pc-img img { transform: scale(1.08); }
.proc-card .pc-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); color: var(--plum); font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; }
.proc-card .pc-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.proc-card h3 { margin-bottom: 12px; }
.proc-card p { color: var(--slate); font-size: 0.95rem; flex: 1; }
.proc-card .pc-link { margin-top: 18px; font-weight: 600; font-size: 0.85rem; color: var(--plum); letter-spacing: .4px; display: inline-flex; align-items: center; gap: 8px; }
.proc-card:hover .pc-link .arw { transform: translateX(4px); }
.proc-card .pc-link .arw { transition: transform .3s var(--ease); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: 520px; object-fit: cover; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy p { color: var(--slate); margin-bottom: 18px; }
.tick-list { list-style: none; margin: 24px 0 32px; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.tick-list li .tk { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--blush); color: var(--plum); display: grid; place-items: center; font-size: 0.8rem; margin-top: 3px; }
.tick-list li span { color: var(--ink); font-size: 0.98rem; }

/* ---------- Doctor highlight ---------- */
.doc { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.doc-media { position: relative; }
.doc-media img { border-radius: var(--radius); width: 100%; height: 560px; object-fit: cover; box-shadow: var(--shadow-md); }
.doc-media .doc-cred { position: absolute; bottom: -22px; right: -18px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 18px 24px; text-align: center; }
.doc-media .doc-cred b { font-family: var(--serif); font-size: 2rem; color: var(--plum); display: block; }
.doc-media .doc-cred span { font-size: 0.74rem; color: var(--slate); letter-spacing: .5px; }
.doc-copy .signature { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--plum); margin-top: 20px; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats-band .sb b { font-family: var(--serif); font-size: 3rem; color: #fff; display: block; }
.stats-band .sb span { font-size: 0.85rem; letter-spacing: 1px; opacity: .85; text-transform: uppercase; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.quote-card { background: #fff; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow-sm); }
.quote-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; }
.quote-card p { font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.quote-card .who { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.quote-card .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--blush); color: var(--plum); display: grid; place-items: center; font-weight: 600; font-family: var(--serif); }
.quote-card .who b { font-size: 0.92rem; }
.quote-card .who span { font-size: 0.78rem; color: var(--slate); display: block; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: linear-gradient(135deg, var(--plum), var(--plum-deep)); color: #fff; border-radius: 28px; padding: 72px 40px; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band p { color: #f0e2ea; max-width: 560px; margin: 0 auto 32px; }
.cta-band .btn-light { background:#fff; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(135deg, var(--blush), var(--cream)); padding: 70px 0 66px; text-align: center; position: relative; overflow: hidden; }
.page-hero .crumbs { font-size: 0.82rem; color: var(--slate); margin-bottom: 16px; letter-spacing: .5px; }
.page-hero .crumbs a:hover { color: var(--plum); }
.page-hero p { color: var(--slate); max-width: 640px; margin: 18px auto 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.gallery-grid .g-item { border-radius: var(--radius-sm); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); cursor: pointer; }
.gallery-grid .g-item img { width: 100%; height: 300px; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid .g-item:hover img { transform: scale(1.07); }
.gallery-grid .g-item .g-cap { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(44,37,48,.82)); color: #fff; padding: 30px 18px 16px; font-size: 0.85rem; letter-spacing: .5px; opacity: 0; transition: opacity .3s var(--ease); }
.gallery-grid .g-item:hover .g-cap { opacity: 1; }
.tall { grid-row: span 2; }
.tall img { height: 618px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.info-card .ic { flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--blush); color: var(--plum); display: grid; place-items: center; font-size: 1.2rem; }
.info-card b { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 3px; }
.info-card p, .info-card a { color: var(--slate); font-size: 0.95rem; }
.info-card a:hover { color: var(--plum); }
.form { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); letter-spacing: .3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: 0.95rem; background: var(--cream); transition: border .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }

/* ---------- Category block (procedures page) ---------- */
.cat-block { margin-bottom: 70px; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 30px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.cat-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cat-head span { color: var(--slate); font-size: 0.85rem; letter-spacing: .5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc6cf; padding: 76px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 22px; }
.site-footer .f-brand .brand-name { font-family: var(--serif); font-size: 1.7rem; color: #fff; }
.site-footer .f-brand p { margin-top: 16px; font-size: 0.9rem; color: #a89fa8; max-width: 300px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul li a { font-size: 0.9rem; color: #cfc6cf; }
.site-footer ul li a:hover { color: var(--mauve); }
.f-social { display: flex; gap: 12px; margin-top: 22px; }
.f-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 0.9rem; transition: background .3s var(--ease); }
.f-social a:hover { background: var(--plum); color: #fff; }
.f-contact p { font-size: 0.9rem; color: #cfc6cf; margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 54px; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: #8f8792; }

/* ---------- Full-width hero (home) ---------- */
.hero-full {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  background-size: cover; background-position: center; overflow: hidden;
}
.hero-full::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(48,34,44,0.82) 0%, rgba(94,67,86,0.55) 45%, rgba(94,67,86,0.15) 100%);
}
.hero-full .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero-full .hero-inner { max-width: 640px; color: #fff; }
.hero-full .eyebrow { color: #e9d3e0; }
.hero-full .eyebrow::before { color: var(--gold); }
.hero-full h1 { color: #fff; }
.hero-full h1 span { color: #eac9dc; font-style: italic; }
.hero-full .lead { color: #f2e8ee; margin: 26px 0 34px; }
.hero-full .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-full .hero-stats { display: flex; gap: 46px; margin-top: 52px; flex-wrap: wrap; }
.hero-full .hero-stats .stat b { font-family: var(--serif); font-size: 2.5rem; color: #fff; display: block; line-height: 1; }
.hero-full .hero-stats .stat span { font-size: 0.8rem; color: #e2d3dd; letter-spacing: .5px; }
.hero-full .scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; opacity: .8; text-align: center; }
.hero-full .scroll-cue span { display: block; font-size: 1.2rem; margin-top: 6px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* ---------- Interior hero banner (full-width image) ---------- */
.hero-banner {
  position: relative; padding: 118px 0 96px; text-align: center;
  background-size: cover; background-position: center; overflow: hidden;
}
.hero-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(48,34,44,0.62), rgba(94,67,86,0.72));
}
.hero-banner .container { position: relative; z-index: 2; }
.hero-banner, .hero-banner h1 { color: #fff; }
.hero-banner .eyebrow { color: #e9d3e0; }
.hero-banner .crumbs { color: #e6d7e0; font-size: 0.82rem; margin-bottom: 16px; letter-spacing: .5px; }
.hero-banner .crumbs a { color: #f4e9ee; }
.hero-banner .crumbs a:hover { color: #fff; text-decoration: underline; }
.hero-banner p { color: #f2e8ee; max-width: 660px; margin: 18px auto 0; }

/* ---------- Medically-reviewed byline ---------- */
.med-review { display: inline-flex; align-items: center; gap: 8px; background: var(--blush); color: var(--plum-deep); font-size: 0.82rem; padding: 10px 18px; border-radius: 100px; margin-top: 6px; }
.med-review a { color: var(--plum); font-weight: 600; text-decoration: underline; }

/* ---------- Recovery timeline ---------- */
.timeline { max-width: 820px; margin: 0 auto; border-left: 2px solid var(--line); padding-left: 0; }
.tl-item { position: relative; padding: 0 0 26px 34px; }
.tl-item::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 4px var(--blush); }
.tl-item:last-child { padding-bottom: 0; }
.tl-when { font-family: var(--serif); font-size: 1.25rem; color: var(--plum-deep); margin-bottom: 4px; }
.tl-what { color: var(--slate); font-size: 0.98rem; }

/* ---------- Quick facts ---------- */
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); }
.fact .fic { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: var(--blush); color: var(--plum); display: grid; place-items: center; font-size: 1.2rem; }
.fact .flabel { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--slate); }
.fact .fval { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-top: 6px; line-height: 1.2; }

/* ---------- Candidacy two-column list ---------- */
.cand-list { columns: 2; column-gap: 40px; list-style: none; margin-top: 8px; }
.cand-list li { break-inside: avoid; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 15px; }
.cand-list li .tk { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-size: 0.72rem; margin-top: 3px; }
.cand-list li span { color: var(--ink); font-size: 0.98rem; }

/* ---------- Step timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: 8px; }
.step .snum { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--plum), var(--plum-deep)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.step h4 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; padding: 22px 26px; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: color .25s var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--plum); flex: 0 0 auto; transition: transform .3s var(--ease); }
.faq-item[open] summary { color: var(--plum); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 26px 24px; color: var(--slate); font-size: 1rem; line-height: 1.7; }

@media (max-width: 980px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cand-list { columns: 1; }
  .steps, .steps.three { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .doc, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .hero-media img { height: 460px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .doc-media img, .split-media img { height: 420px; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); background: #fff; flex-direction: column; align-items: flex-start; padding: 90px 30px; gap: 8px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .35s var(--ease); z-index: 70; }
  .nav-links.open { transform: none; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 4px 0 8px 14px; min-width: 0; background: transparent; }
  .has-drop:hover .drop { transform: none; }
  .nav-toggle { display: flex; z-index: 80; }
  .topbar .tb-left span.addr { display: none; }
  .form .row { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 54px 24px; }
  .hero-badge { left: 0; }
}


/* =====================================================================
   Elementor full-width safety — makes the imported section blocks and the
   theme header/hero span the full viewport regardless of Elementor/Hello
   container widths. (Pages are imported on the "Elementor Full Width" template.)
   ===================================================================== */
.topbar, .site-header { width: 100%; }
.elementor,
.elementor-section,
.elementor-section-wrap,
.elementor-widget-html,
.elementor-widget-container { width: 100%; }
/* neutralize Elementor's default section/column padding around our blocks */
.elementor-element .elementor-widget-html > .section,
.elementor-element .elementor-widget-html > .hero-full,
.elementor-element .elementor-widget-html > .hero-banner { width: 100%; }
.elementor-widget-html .elementor-widget-container { padding: 0 !important; }
/* release Elementor's boxed content width so our full-width blocks reach the edges
   (!important is required — Elementor prints its container width inline, after this file) */
.elementor-section > .elementor-container,
.elementor-section.elementor-section-boxed > .elementor-container { max-width: 100% !important; }
.e-con, .e-con-inner { max-width: 100% !important; }
/* Hello Elementor sometimes constrains the main wrapper — release it */
.site-main, .page-content, main#content { max-width: 100%; padding: 0; }

/* -------------------------------------------------------------------
   Class-collision fix: Hello Elementor also styles .site-header and
   .site-footer (flex, max-width:1140px, margin:auto), which squeezes our
   navigation and footer. Re-assert our full-width block layout. Our own
   .nav / .container handle the centered 1200px content inside.
   ------------------------------------------------------------------- */
.site-header {
  max-width: none !important; width: 100% !important; margin: 0 !important;
  display: block !important; padding: 0 !important;
  position: sticky !important; top: 0;
}
.site-footer {
  max-width: none !important; width: 100% !important; margin: 0 !important;
  display: block !important; padding: 76px 0 30px !important;
}

/* -------------------------------------------------------------------
   Elementor editor: the editing canvas does NOT run our theme's front-end
   JS, and the design fades sections in from opacity:0 via that JS. So inside
   the editor everything would look blank. Force scroll-reveal content visible
   whenever Elementor's editor/preview is active. The live site still animates.
   ------------------------------------------------------------------- */
.elementor-editor-active .reveal,
.elementor-editor-preview .reveal,
body.elementor-editor-active .reveal { opacity: 1 !important; transform: none !important; }
