/* Residence Value Guide — responsive purple renovation website
   Pure CSS: no JavaScript, libraries, frameworks, or remote assets. */
:root {
  --purple-950: #1c0b2f;
  --purple-900: #2b1247;
  --purple-800: #3b1761;
  --purple-700: #54208a;
  --purple-600: #6d28d9;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-300: #c4b5fd;
  --purple-200: #ddd6fe;
  --purple-100: #ede9fe;
  --purple-50: #f7f4ff;
  --ink: #201a2b;
  --muted: #6f667c;
  --line: #e9e2f2;
  --white: #ffffff;
  --gold: #f5b942;
  --green: #22a06b;
  --red: #d6455d;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow-sm: 0 10px 30px rgba(51, 23, 84, .08);
  --shadow: 0 22px 60px rgba(51, 23, 84, .14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--purple-50);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 6% 12%, rgba(167,139,250,.15), transparent 25rem),
    radial-gradient(circle at 95% 30%, rgba(109,40,217,.10), transparent 28rem),
    var(--purple-50);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
::selection { background: var(--purple-300); color: var(--purple-950); }

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--purple-900);
  border-radius: 10px;
}
.skip-link:focus { top: 18px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 850px); margin-inline: auto; }
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.bg-white { background: var(--white); }
.bg-soft { background: linear-gradient(180deg, var(--white), var(--purple-50)); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--purple-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--purple-200); }
.display,
h1, h2, h3, h4 { line-height: 1.14; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--purple-950); }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -.055em; }
h2 { margin-bottom: 24px; font-size: clamp(2.35rem, 5vw, 4.3rem); letter-spacing: -.045em; }
h3 { margin-bottom: 12px; font-size: 1.5rem; letter-spacing: -.02em; }
h4 { margin-bottom: 8px; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.25rem); line-height: 1.75; }
.muted { color: var(--muted); }
.gradient-text {
  color: var(--purple-600);
  background: linear-gradient(110deg, var(--purple-600), #b632c6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-heading { max-width: 780px; margin: 0 auto 54px; text-align: center; }
.section-heading p { max-width: 660px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(83,32,138,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 30px rgba(43,18,71,.05);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; color: var(--purple-950); }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(145deg, var(--purple-500), var(--purple-900));
  box-shadow: 0 10px 24px rgba(109,40,217,.28);
}
.brand-mark::before { content: "⌂"; font-family: Georgia, serif; font-size: 1.8rem; transform: translateY(-1px); }
.brand-mark::after { content: ""; position: absolute; width: 32px; height: 32px; right: -20px; top: -12px; border: 9px solid rgba(255,255,255,.18); border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) { position: relative; color: #4f4659; font-size: .94rem; font-weight: 700; }
.nav-links > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--purple-600); transition: right .2s ease; }
.nav-links > a:hover::after, .nav-links > a.active::after { right: 0; }
.nav-links > a.active { color: var(--purple-700); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; color: var(--purple-800); background: var(--white); font-size: 0; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::before { content: "☰"; font-size: 1.55rem; line-height: 1; }
.mobile-nav[open] summary::before { content: "×"; font-size: 2rem; }
.mobile-panel { position: absolute; top: 58px; right: 0; width: min(300px, calc(100vw - 40px)); padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.mobile-panel a { display: block; padding: 11px 12px; border-radius: 10px; color: var(--ink); font-weight: 700; }
.mobile-panel a:hover { color: var(--purple-700); background: var(--purple-50); }
.mobile-panel .btn { margin-top: 8px; color: var(--white); text-align: center; }

/* Buttons */
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  box-shadow: 0 12px 28px rgba(109,40,217,.22);
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(109,40,217,.30); }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: .9rem; }
.btn-light { color: var(--purple-900); background: var(--white); box-shadow: 0 12px 28px rgba(28,11,47,.18); }
.btn-outline { color: var(--purple-800); border-color: var(--purple-300); background: transparent; box-shadow: none; }
.btn-outline:hover { background: var(--purple-100); box-shadow: none; }
.btn-danger { background: linear-gradient(135deg, #d6455d, #9f1239); box-shadow: 0 12px 28px rgba(214,69,93,.20); }
.link-arrow { color: var(--purple-700); font-weight: 800; }
.link-arrow::after { content: " →"; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(196,181,253,.22), transparent 30rem),
    linear-gradient(135deg, #fbfaff 0%, #eee8ff 55%, #e8dcff 100%);
}
.hero::after { content: ""; position: absolute; right: -15vw; bottom: -28vw; width: 56vw; height: 56vw; border: 1px solid rgba(109,40,217,.12); border-radius: 50%; box-shadow: 0 0 0 60px rgba(109,40,217,.035), 0 0 0 120px rgba(109,40,217,.025); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding: 86px 0; }
.hero-copy { max-width: 680px; }
.hero h1 span { display: block; }
.hero .lead { max-width: 650px; }
.rating-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 25px; padding: 9px 14px; border: 1px solid var(--purple-200); border-radius: 999px; color: var(--purple-800); background: rgba(255,255,255,.72); font-size: .82rem; font-weight: 800; }
.rating-pill::before { content: "★"; color: var(--gold); }
.hero-visual { position: relative; aspect-ratio: 1 / .9; }
.arch-card {
  position: absolute;
  inset: 4% 2% 4% 6%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 48% 48% 32px 32px;
  background: linear-gradient(160deg, rgba(255,255,255,.75), rgba(196,181,253,.5));
  box-shadow: var(--shadow);
}
.arch-card::before { content: ""; position: absolute; inset: 22% 14% 0; border: 14px solid var(--purple-700); border-bottom: 0; border-radius: 7px 7px 0 0; transform: rotate(45deg) translate(12%, 12%); opacity: .98; }
.arch-card::after { content: ""; position: absolute; left: 27%; right: 21%; bottom: 0; height: 45%; border: 10px solid var(--purple-900); border-bottom: 0; background: rgba(255,255,255,.58); box-shadow: inset 64px 0 0 rgba(139,92,246,.18); }
.door { position: absolute; z-index: 2; left: 48%; bottom: 0; width: 18%; height: 28%; border-radius: 20px 20px 0 0; background: var(--purple-700); }
.window { position: absolute; z-index: 2; left: 31%; bottom: 19%; width: 11%; aspect-ratio: 1; border: 6px solid var(--purple-700); border-radius: 50%; background: var(--white); }
.float-note { position: absolute; z-index: 3; padding: 15px 18px; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; color: var(--purple-950); background: rgba(255,255,255,.88); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); font-size: .84rem; font-weight: 800; }
.note-one { left: 0; top: 16%; }
.note-two { right: 0; bottom: 12%; }
.float-note::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; color: var(--white); background: var(--purple-600); }

.page-hero { position: relative; overflow: hidden; padding: 100px 0 86px; color: var(--white); background: linear-gradient(128deg, var(--purple-950), var(--purple-700)); }
.page-hero::before, .page-hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.page-hero::before { width: 380px; height: 380px; right: -120px; top: -190px; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); }
.page-hero::after { width: 180px; height: 180px; left: -80px; bottom: -100px; }
.page-hero .container, .page-hero .narrow { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin-bottom: 18px; color: var(--white); font-size: clamp(3rem, 6vw, 5.4rem); }
.page-hero p { max-width: 760px; margin-bottom: 0; color: rgba(255,255,255,.78); font-size: 1.18rem; }
.page-hero .eyebrow { color: var(--purple-300); }
.breadcrumb { margin-top: 34px; color: var(--purple-200); font-size: .88rem; font-weight: 700; }
.breadcrumb a:hover { color: var(--white); }

/* Bands and cards */
.promise-strip { color: var(--white); background: var(--purple-950); }
.promise-row { min-height: 76px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.promise-row span { padding: 14px; text-align: center; font-size: .87rem; font-weight: 800; letter-spacing: .02em; }
.promise-row span::before { content: "✓"; margin-right: 9px; color: var(--purple-300); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.feature-card { padding: 30px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--purple-300); box-shadow: var(--shadow); }
.icon-badge { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 17px; color: var(--white); background: linear-gradient(145deg, var(--purple-500), var(--purple-800)); box-shadow: 0 12px 24px rgba(109,40,217,.20); font-family: Georgia, serif; font-weight: 700; }
.feature-card p { margin-bottom: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.about-panel { position: relative; padding: 36px; border-radius: var(--radius-lg); color: var(--white); background: linear-gradient(145deg, var(--purple-950), var(--purple-700)); box-shadow: var(--shadow); }
.about-panel::after { content: ""; position: absolute; right: -20px; bottom: -20px; width: 100px; height: 100px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }
.about-panel h3 { color: var(--white); }
.about-panel p { color: rgba(255,255,255,.7); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-card { min-height: 180px; padding: 25px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.08); }
.mini-card .symbol { display: block; margin-bottom: 18px; color: var(--purple-300); font-size: 1.7rem; }
.qualities { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.quality { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.quality .icon-badge { width: 48px; height: 48px; margin: 0; border-radius: 14px; }
.quality p { margin: 3px 0 0; color: var(--muted); font-size: .87rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: service; }
.service-card { position: relative; min-height: 100%; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; counter-increment: service; }
.service-card::before { content: counter(service, decimal-leading-zero); display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 15px; color: var(--purple-700); background: var(--purple-100); font-family: Georgia, serif; font-size: .92rem; font-weight: 700; }
.service-card::after { content: ""; position: absolute; width: 95px; height: 95px; right: -62px; top: -62px; border: 16px solid var(--purple-100); border-radius: 50%; }
.service-card:hover { transform: translateY(-6px); border-color: var(--purple-300); box-shadow: var(--shadow); }
.service-card h3 { font-size: 1.35rem; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }

.dark-section { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, var(--purple-950), var(--purple-800)); }
.dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section .section-heading p { color: rgba(255,255,255,.68); }
.dark-section::before { content: ""; position: absolute; inset: -35%; background: radial-gradient(circle, rgba(167,139,250,.15), transparent 38%); }
.dark-section .container { position: relative; z-index: 1; }
.dark-card { padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.075); }
.dark-card .icon-badge { color: var(--purple-900); background: var(--purple-200); box-shadow: none; }
.dark-card p { margin: 0; color: rgba(255,255,255,.68); }

.testimonial { position: relative; padding: 30px; }
.testimonial::before { content: "“"; display: block; height: 34px; color: var(--purple-300); font-family: Georgia, serif; font-size: 4.4rem; line-height: .8; }
.stars { margin: 6px 0 15px; color: var(--gold); letter-spacing: 3px; }
.testimonial blockquote { margin: 0 0 24px; color: var(--muted); font-size: .98rem; font-style: italic; }
.person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: linear-gradient(145deg, var(--purple-400), var(--purple-800)); font-family: Georgia, serif; font-weight: 700; }
.person strong { display: block; color: var(--purple-950); }
.person span { display: block; color: var(--muted); font-size: .82rem; }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm); }
.faq-item summary { position: relative; list-style: none; padding: 22px 60px 22px 24px; color: var(--purple-950); font-family: Georgia, serif; font-size: 1.1rem; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--purple-700); background: var(--purple-100); font-family: system-ui, sans-serif; font-size: 1.3rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 24px; color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; padding: 55px; border-radius: var(--radius-lg); color: var(--white); background: linear-gradient(125deg, var(--purple-600), var(--purple-950)); box-shadow: var(--shadow); }
.cta::after { content: ""; position: absolute; width: 300px; height: 300px; right: -140px; top: -160px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.03), 0 0 0 90px rgba(255,255,255,.025); }
.cta-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta h2 { max-width: 700px; margin-bottom: 14px; color: var(--white); font-size: clamp(2.3rem, 5vw, 4rem); }
.cta p { max-width: 700px; margin: 0; color: rgba(255,255,255,.76); }

/* Contact and forms */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: start; }
.contact-list { display: grid; gap: 16px; margin-top: 32px; }
.contact-item { display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.contact-item .icon-badge { width: 52px; height: 52px; margin: 0; border-radius: 15px; }
.contact-item h4 { color: var(--purple-950); }
.contact-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.form-card { padding: clamp(24px, 5vw, 42px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.field { margin-bottom: 21px; }
.form-grid .field { margin-bottom: 0; }
.field.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 8px; color: var(--purple-950); font-size: .9rem; font-weight: 800; }
input, textarea { width: 100%; padding: 14px 16px; border: 1px solid #dbd3e6; border-radius: 13px; color: var(--ink); background: var(--white); outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { border-color: var(--purple-500); box-shadow: 0 0 0 4px var(--purple-100); }
textarea { min-height: 150px; resize: vertical; }
.check-row { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; margin: 24px 0; }
.check-row input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--purple-600); }
.check-row label { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 500; }
.check-row a { color: var(--purple-700); font-weight: 800; }
.form-card .btn { border: 0; }
.form-note { margin-top: 18px; color: var(--muted); font-size: .86rem; }
.success-panel { display: none; margin-top: 24px; padding: 20px; border: 1px solid var(--purple-300); border-radius: 16px; color: var(--purple-900); background: var(--purple-100); }
.success-panel:target { display: block; }
.success-panel strong { display: block; font-family: Georgia, serif; font-size: 1.25rem; }
.success-panel p { margin: 6px 0 0; color: var(--muted); }
.unsubscribe-card { max-width: 650px; margin-inline: auto; }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 55px; align-items: start; }
.legal-index { position: sticky; top: 105px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm); }
.legal-index strong { display: block; margin-bottom: 10px; color: var(--purple-950); }
.legal-index a { display: block; padding: 7px 0; color: var(--muted); font-size: .83rem; font-weight: 700; }
.legal-index a:hover { color: var(--purple-700); }
.legal-copy { padding: clamp(25px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.legal-section { padding-top: 6px; scroll-margin-top: 110px; }
.legal-section + .legal-section { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--line); }
.legal-section h2 { margin-bottom: 12px; font-size: 1.45rem; letter-spacing: -.02em; }
.legal-section p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { padding: 74px 0 28px; color: rgba(255,255,255,.72); background: var(--purple-950); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .9fr 1.1fr; gap: 45px; }
.site-footer .brand { margin-bottom: 18px; color: var(--white); }
.site-footer h4 { margin-bottom: 20px; color: var(--white); font-size: 1rem; }
.site-footer p { font-size: .9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--purple-300); }
.footer-contact li { display: grid; grid-template-columns: 24px 1fr; gap: 9px; }
.footer-contact li::before { color: var(--purple-300); font-weight: 900; }
.footer-contact li:nth-child(1)::before { content: "⌖"; }
.footer-contact li:nth-child(2)::before { content: "☎"; }
.footer-contact li:nth-child(3)::before { content: "✉"; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a:hover { color: var(--purple-300); }

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .mobile-nav { display: block; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 30px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-index { display: none; }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 74px 0; }
  .section-sm { padding: 54px 0; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  h2 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .nav-wrap { min-height: 70px; }
  .brand { font-size: 1.12rem; }
  .brand-mark { width: 42px; height: 42px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding: 70px 0 55px; }
  .hero-visual { max-width: 520px; width: 100%; margin: 10px auto 0; }
  .page-hero { padding: 75px 0 65px; }
  .page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .promise-row { grid-template-columns: 1fr 1fr; padding: 8px 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .services-grid, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .cta { padding: 38px 25px; }
  .cta-inner { display: block; }
  .cta .btn { margin-top: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

@media (max-width: 520px) {
  .promise-row, .grid-4, .footer-grid, .mini-grid, .qualities { grid-template-columns: 1fr; }
  .promise-row span { text-align: left; }
  .hero-visual { aspect-ratio: 1 / .95; }
  .float-note { padding: 11px 12px; font-size: .72rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .service-card, .feature-card, .testimonial { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
