/* =========================================================
   Family Memorial — Quiet Harbor design system
   Navy, warm ivory and gold with Lora + Nunito Sans
   ========================================================= */

:root {
  --ocean: #1e4c72;
  --ocean-deep: #173857;
  --ocean-ink: #102b42;
  --sage: #a9b6c2;
  --sage-soft: #dce3e8;
  --sage-mist: #eef2f5;
  --ivory: #fbf8f1;
  --cream: #f2ebdd;
  --sand: #b7964f;
  --sand-deep: #8c6b2f;
  --coral: #a96145;
  --ink: #1b2a38;
  --muted: #5d6b78;
  --line: rgba(30, 76, 114, 0.14);
  --white: #fffdf8;
  --shadow-sm: 0 10px 28px rgba(27, 42, 56, 0.06);
  --shadow: 0 24px 60px rgba(27, 42, 56, 0.1);
  --shadow-lg: 0 40px 90px rgba(27, 42, 56, 0.14);
  --radius: 26px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.028'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ocean-ink);
}

h1 {
  font-size: clamp(2.7rem, 5.1vw, 4.35rem);
  line-height: 1.05;
  margin-bottom: 1.35rem;
}

h1 em {
  font-style: italic;
  color: var(--ocean);
  background: linear-gradient(transparent 72%, rgba(183, 150, 79, 0.55) 72%);
  padding: 0 0.08em;
}

h2 {
  font-size: clamp(2rem, 3.35vw, 2.95rem);
  line-height: 1.12;
  margin-bottom: 1.1rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.3;
}

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

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ocean);
  color: var(--ivory);
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--ocean);
  color: var(--ivory);
  box-shadow: 0 14px 30px rgba(30, 76, 114, 0.24);
}

.btn-primary:hover {
  background: var(--ocean-deep);
  box-shadow: 0 18px 38px rgba(30, 76, 114, 0.3);
}

.btn-outline {
  background: rgba(255, 253, 248, 0.45);
  border-color: rgba(30, 76, 114, 0.32);
  color: var(--ocean-deep);
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--ocean);
}

.btn-sand {
  background: var(--sand);
  color: var(--ocean-ink);
  box-shadow: 0 12px 26px rgba(140, 107, 47, 0.24);
}

.btn-sand:hover {
  background: #d9c39a;
}

.btn-ghost {
  background: transparent;
  color: var(--ocean);
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

.btn-small {
  padding: 0.68rem 1.1rem;
  font-size: 0.84rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ocean);
  font-weight: 750;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(140, 107, 47, 0.7);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.text-link:hover {
  color: var(--ocean-ink);
  border-color: var(--ocean);
}

.text-link .icon {
  transition: transform 0.2s var(--ease);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ocean);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--sand-deep);
  flex: none;
}

.eyebrow-light {
  color: var(--sand);
}

.section {
  position: relative;
  padding: clamp(4.5rem, 7.5vw, 7.2rem) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.section-intro {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  line-height: 1.45;
}

.check-list .icon {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.16rem;
  color: var(--ocean);
}

.check-list-large li {
  font-size: 1rem;
  gap: 0.75rem;
}

.check-list-large .icon {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--sand-deep);
}

.fine-print {
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Top bar & header ---------- */

.topbar {
  background: var(--ocean-ink);
  color: rgba(251, 248, 241, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 1rem;
}

.topbar p,
.topbar a,
.topbar-hours {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.topbar .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--sand);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.topbar a:hover {
  color: var(--sand);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(27, 42, 56, 0.08);
  border-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  flex: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(140, 107, 47, 0.7);
  background: rgba(255, 253, 248, 0.6);
  color: var(--ocean);
}

.brand-mark .icon {
  width: 23px;
  height: 23px;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ocean-ink);
}

.brand-text small {
  margin-top: 5px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand-deep);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.8rem);
}

.main-nav a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--sand-deep);
  transition: right 0.25s var(--ease);
}

.main-nav a:hover {
  color: var(--ocean-ink);
}

.main-nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--ocean);
}

.header-phone .icon {
  width: 1rem;
  height: 1rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--ocean);
  background: rgba(255, 253, 248, 0.6);
  transition: border-color 0.2s, background 0.2s;
}

.lang-switch:hover {
  border-color: var(--ocean);
  background: var(--white);
}

.lang-switch .icon {
  width: 0.9rem;
  height: 0.9rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ocean);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--ivory);
  padding: 1.2rem 24px 1.6rem;
  box-shadow: 0 20px 40px rgba(27, 42, 56, 0.12);
}

.mobile-menu nav {
  display: grid;
  gap: 0.1rem;
}

.mobile-menu nav a {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ocean-ink);
}

.mobile-menu-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.mobile-menu-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.mobile-menu-meta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(3rem, 5.5vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(220, 227, 232, 0.55), transparent 65%),
    radial-gradient(ellipse 50% 50% at 5% 90%, rgba(183, 150, 79, 0.16), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -120px;
  background: rgba(169, 182, 194, 0.18);
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -180px;
  left: -140px;
  background: rgba(183, 150, 79, 0.14);
}

.hero-sub {
  max-width: 540px;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-micro {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-micro .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--sand-deep);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.76rem;
  font-weight: 650;
  color: var(--muted);
}

.trust-list .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--ocean);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: end;
}

.arch-outline {
  position: absolute;
  inset: -16px -14px 12px 14px;
  border: 1px solid rgba(140, 107, 47, 0.65);
  border-radius: 280px 280px 32px 32px;
  transform: rotate(-2.2deg);
  pointer-events: none;
}

.arch-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: 9px;
  border: 1px solid rgba(30, 76, 114, 0.18);
  border-radius: 280px 280px 30px 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 270px 270px 22px 22px;
}

.arch-frame-small {
  aspect-ratio: 4 / 3.2;
  border-radius: 200px 200px 26px 26px;
}

.arch-frame-small img {
  border-radius: 190px 190px 18px 18px;
}

.arch-frame-tall {
  aspect-ratio: 4 / 4.8;
  border-radius: 230px 230px 26px 26px;
}

.arch-frame-tall img {
  border-radius: 220px 220px 18px 18px;
}

.arch-frame-advisor {
  aspect-ratio: 4 / 4.7;
  border-radius: 230px 230px 26px 26px;
  border-color: rgba(183, 150, 79, 0.4);
  background: rgba(251, 248, 241, 0.08);
}

.arch-frame-advisor img {
  border-radius: 220px 220px 18px 18px;
}

.hero-card {
  position: absolute;
  left: -34px;
  bottom: 30px;
  z-index: 3;
  display: flex;
  gap: 0.8rem;
  width: min(300px, 82%);
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--sage-mist);
  color: var(--ocean);
}

.hero-card-icon .icon {
  width: 19px;
  height: 19px;
}

.hero-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ocean-ink);
}

.hero-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.22rem;
}

.hero-card li {
  display: flex;
  gap: 0.35rem;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--muted);
}

.hero-card li .icon {
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.1rem;
  color: var(--sand-deep);
}

.hero-badge {
  position: absolute;
  top: 34px;
  right: -18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ocean-ink);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(140, 107, 47, 0.3);
  transform: rotate(3deg);
}

.hero-badge .star {
  width: 0.85rem;
  height: 0.85rem;
}

.botanical {
  position: absolute;
  color: var(--sage);
  opacity: 0.55;
  pointer-events: none;
}

.botanical-hero {
  width: 120px;
  right: -78px;
  bottom: -70px;
  z-index: -1;
  transform: rotate(12deg);
}

/* ---------- Stats ---------- */

.stats {
  background: var(--ocean);
  color: var(--ivory);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 1.5rem;
  border-right: 1px solid rgba(251, 248, 241, 0.16);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: 0;
}

.stat-value {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  color: var(--sand-deep);
}

.stat-label {
  font-size: 0.74rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: rgba(251, 248, 241, 0.76);
}

/* ---------- Paths ---------- */

.section-paths {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.path-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.path-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.path-media {
  position: relative;
  height: 265px;
  overflow: hidden;
}

.path-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.path-card:hover .path-media img {
  transform: scale(1.035);
}

.path-tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.92);
  color: var(--ocean);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.path-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.7rem 1.8rem 1.8rem;
}

.path-body h3 {
  margin-bottom: 0.55rem;
  font-size: 1.7rem;
}

.path-body > p {
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.path-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.4rem;
}

/* ---------- Services ---------- */

.section-services {
  background: var(--ivory);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 76, 114, 0.4);
  box-shadow: var(--shadow-sm);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--sage-mist);
  color: var(--ocean);
}

.service-icon .icon {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.28rem;
}

.service-card p {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ocean);
}

.service-card:hover .service-link .icon {
  transform: translateX(3px);
}

.service-link .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.service-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.8rem;
  border-radius: 22px;
  background: var(--ocean);
  color: rgba(251, 248, 241, 0.82);
}

.service-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: rgba(183, 150, 79, 0.18);
  color: var(--sand-deep);
}

.service-cta p {
  margin-bottom: 1.2rem;
  font-size: 0.8rem;
  line-height: 1.55;
}

/* ---------- Quiz ---------- */

.section-quiz {
  overflow: hidden;
  background: var(--sage-mist);
}

.section-quiz::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 15% 20%, rgba(255, 253, 248, 0.9), transparent 70%);
  pointer-events: none;
}

.quiz-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4rem);
}

.quiz-copy {
  position: relative;
}

.quiz-promise {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  max-width: 430px;
  margin-top: 1.6rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(30, 76, 114, 0.16);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.55);
}

.quiz-promise > span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ocean);
}

.quiz-promise .icon {
  width: 15px;
  height: 15px;
}

.quiz-promise p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
}

.botanical-quiz {
  width: 130px;
  left: -50px;
  bottom: -130px;
  opacity: 0.4;
  transform: rotate(-14deg);
}

.quiz-card {
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  border: 1px solid rgba(30, 76, 114, 0.14);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quiz-top {
  margin-bottom: 1.4rem;
}

.quiz-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sage-soft);
}

.quiz-progress span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ocean), #35658a);
  transition: width 0.45s var(--ease);
}

.quiz-count {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.quiz-step {
  margin: 0;
  padding: 0;
  border: 0;
}

.js .quiz-step:not(.is-active) {
  display: none;
}

.quiz-step legend {
  max-width: 100%;
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.3;
  color: var(--ocean-ink);
}

.quiz-hint {
  margin-bottom: 1.1rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.quiz-options {
  display: grid;
  gap: 0.55rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.quiz-option:hover {
  border-color: var(--ocean);
  transform: translateX(2px);
}

.quiz-option[aria-pressed="true"] {
  border-color: var(--ocean);
  background: var(--ocean);
  color: var(--ivory);
}

.quiz-dot {
  width: 16px;
  height: 16px;
  flex: none;
  border: 1.5px solid rgba(30, 76, 114, 0.45);
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 3px var(--ivory);
}

.quiz-option[aria-pressed="true"] .quiz-dot {
  border-color: var(--sand);
  background: var(--sand);
  box-shadow: inset 0 0 0 3px var(--ocean);
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
}

.quiz-nav .btn-ghost .icon {
  transform: rotate(180deg);
}

.quiz-result {
  padding-top: 0.3rem;
}

.quiz-score-label {
  margin-bottom: 0.1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.quiz-score {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--ocean);
}

.quiz-score small {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.quiz-result h3 {
  margin-bottom: 0.5rem;
  font-size: 1.45rem;
}

.quiz-result > p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.quiz-result .check-list {
  margin-bottom: 1.3rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--sage-mist);
}

.quiz-restart {
  display: block;
  margin: 1rem auto 0;
  padding: 0.4rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiz-noscript {
  margin-top: 1rem;
  font-size: 0.85rem;
}

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.split-media {
  position: relative;
}

.split-media .arch-frame {
  box-shadow: var(--shadow);
}

.media-note {
  position: absolute;
  right: -22px;
  bottom: -26px;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  width: min(280px, 82%);
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: var(--ocean);
  color: rgba(251, 248, 241, 0.9);
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
  box-shadow: var(--shadow);
}

.media-note .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.2rem;
  color: var(--sand);
}

.media-note-light {
  background: var(--sand);
  color: var(--ocean-ink);
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.78rem;
}

.media-note-light .icon {
  color: var(--ocean);
}

.split-copy h2 {
  margin-bottom: 1rem;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.mini-steps {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.mini-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  align-items: flex-start;
}

.mini-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(140, 107, 47, 0.55);
  border-radius: 50%;
  background: var(--white);
  color: var(--ocean);
  font-family: var(--serif);
  font-size: 1rem;
}

.mini-steps strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.mini-steps p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Pre-need ---------- */

.section-preneed {
  background: var(--ivory);
}

.compare-card {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.compare-head {
  max-width: 720px;
  margin-bottom: 1.4rem;
}

.compare-head h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
}

.compare-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.table-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: var(--sage-mist);
  color: var(--ocean-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-table thead th:first-child {
  border-radius: 12px 0 0 12px;
}

.compare-table thead th:last-child {
  border-radius: 0 12px 12px 0;
}

.compare-table tbody th {
  width: 30%;
  font-weight: 750;
  color: var(--ocean-ink);
}

.compare-table tbody td {
  color: var(--muted);
}

.compare-table tbody td:nth-child(2) {
  color: var(--ocean-ink);
  font-weight: 650;
  background: rgba(220, 227, 232, 0.22);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--ocean);
  vertical-align: -0.2em;
}

.compare-yes .icon {
  width: 0.8rem;
  height: 0.8rem;
}

.cost-band {
  display: grid;
  grid-template-columns: 0.75fr 1.15fr auto;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 28px;
  background: var(--ocean);
  color: rgba(251, 248, 241, 0.86);
  box-shadow: var(--shadow);
}

.cost-figure {
  display: grid;
  gap: 0.25rem;
}

.cost-value {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.3rem);
  line-height: 1;
  color: var(--sand);
}

.cost-label {
  max-width: 230px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.cost-source {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 750;
  color: var(--sand);
}

.cost-source .icon {
  width: 0.8rem;
  height: 0.8rem;
}

.cost-copy p {
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.cost-copy .text-link {
  color: var(--sand);
  border-color: rgba(183, 150, 79, 0.6);
}

.cost-copy .text-link:hover {
  color: var(--ivory);
}

.cost-copy .fine-print {
  margin-top: 0.6rem;
  margin-bottom: 0;
  color: rgba(251, 248, 241, 0.58);
}

.cost-actions {
  display: grid;
  gap: 0.6rem;
  min-width: 220px;
}

.cost-actions .btn-outline {
  border-color: rgba(251, 248, 241, 0.35);
  color: var(--ivory);
  background: transparent;
}

.cost-actions .btn-outline:hover {
  background: rgba(251, 248, 241, 0.08);
  border-color: var(--sand);
}

/* ---------- Benefits ---------- */

.section-benefits {
  background: var(--cream);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit-card {
  padding: 1.7rem;
  border: 1px solid rgba(30, 76, 114, 0.1);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.62);
  transition: background 0.25s, transform 0.25s var(--ease);
}

.benefit-card:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--ocean);
  box-shadow: 0 8px 18px rgba(27, 42, 56, 0.06);
}

.benefit-icon .icon {
  width: 21px;
  height: 21px;
}

.benefit-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.benefit-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- How it works ---------- */

.section-how {
  background: var(--ivory);
}

.how-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 58px;
  bottom: -1.5rem;
  border-left: 1px dashed rgba(30, 76, 114, 0.3);
}

.timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--sage-mist);
  color: var(--ocean);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.timeline-time {
  display: inline-block;
  margin-bottom: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(183, 150, 79, 0.25);
  color: var(--ocean);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.timeline-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.how-media {
  position: relative;
}

.how-card {
  position: absolute;
  left: -22px;
  bottom: -24px;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  width: min(310px, 84%);
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.how-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: rgba(183, 150, 79, 0.25);
  color: var(--ocean);
}

.how-card-icon .icon {
  width: 18px;
  height: 18px;
}

.how-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ocean-ink);
}

/* ---------- Life insurance ---------- */

.section-life {
  background: linear-gradient(180deg, var(--sage-mist), #e7edf1);
}

.split-reverse .split-media {
  order: 2;
}

.split-reverse .split-copy {
  order: 1;
}

.formula-card {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--sand-deep);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 253, 248, 0.72);
}

.formula-title {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
}

.formula {
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ocean-ink);
}

.formula-note {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Advisor ---------- */

.section-advisor {
  overflow: hidden;
  background: var(--ocean-ink);
  color: rgba(251, 248, 241, 0.82);
}

.advisor-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -260px;
  border-radius: 50%;
  background: rgba(169, 182, 194, 0.12);
  pointer-events: none;
}

.advisor-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.advisor-media {
  position: relative;
}

.advisor-badge {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: max-content;
  max-width: 90%;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ocean-ink);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.advisor-badge .icon {
  width: 0.9rem;
  height: 0.9rem;
}

.advisor-copy h2 {
  color: var(--ivory);
  margin-bottom: 1.3rem;
}

.advisor-copy blockquote {
  position: relative;
  margin: 0 0 1.2rem;
  padding-left: 1.6rem;
  border-left: 1px solid rgba(183, 150, 79, 0.55);
}

.quote-mark {
  display: inline-flex;
  color: var(--sand);
  margin-bottom: 0.3rem;
}

.quote-mark .icon {
  width: 26px;
  height: 26px;
}

.advisor-copy blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ivory);
}

.advisor-text {
  max-width: 580px;
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(251, 248, 241, 0.72);
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.badge-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(251, 248, 241, 0.18);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  color: rgba(251, 248, 241, 0.8);
}

.badge-list .icon {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--sand-deep);
}

.advisor-signature {
  display: grid;
  margin-bottom: 1.3rem;
}

.advisor-signature strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ivory);
}

.advisor-signature span {
  font-size: 0.76rem;
  color: rgba(251, 248, 241, 0.6);
}

/* ---------- Testimonials ---------- */

.section-stories {
  background: var(--ivory);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.9rem;
  color: var(--sand-deep);
}

.testimonial-stars .star {
  width: 0.9rem;
  height: 0.9rem;
}

.testimonial-card blockquote {
  flex: 1;
  margin: 0 0 1.3rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ocean-ink);
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--sage-mist);
  color: var(--ocean);
  font-family: var(--serif);
  font-size: 0.9rem;
}

.testimonial-card footer div {
  display: grid;
  line-height: 1.3;
}

.testimonial-card footer strong {
  font-size: 0.82rem;
  font-weight: 800;
}

.testimonial-card footer div span {
  font-size: 0.72rem;
  color: var(--muted);
}

.testimonial-tag {
  margin-left: auto;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(183, 150, 79, 0.22);
  color: var(--ocean);
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.testimonial-note {
  margin: 1.4rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ---------- Guide ---------- */

.section-guide {
  overflow: hidden;
  background: linear-gradient(135deg, #e8dfcf 0%, var(--cream) 55%, #f7f2e8 100%);
}

.guide-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.guide-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.guide-cover {
  position: relative;
  z-index: 2;
  width: min(300px, 80%);
  aspect-ratio: 3 / 4;
  padding: 12px;
  border-radius: 8px 8px 8px 8px;
  background: var(--ocean-ink);
  box-shadow: 0 30px 60px rgba(16, 43, 66, 0.3);
  transform: rotate(-3deg);
  transition: transform 0.4s var(--ease);
}

.guide-cover:hover {
  transform: rotate(-1deg) translateY(-4px);
}

.guide-cover-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(183, 150, 79, 0.4);
  border-radius: 4px;
  color: var(--ivory);
  text-align: center;
}

.guide-kicker {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}

.guide-arch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 1.5rem 0 1rem;
  border: 1px solid rgba(183, 150, 79, 0.55);
  border-radius: 50%;
  color: var(--sand);
}

.guide-arch .icon {
  width: 34px;
  height: 34px;
}

.guide-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.05rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.guide-title em {
  color: var(--sand);
}

.guide-rule {
  width: 40px;
  height: 1px;
  margin: 1.1rem 0 0.7rem;
  background: var(--sand);
}

.guide-sub {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, 0.7);
}

.guide-edition {
  margin-top: auto;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, 0.45);
}

.guide-leaf {
  position: absolute;
  width: 150px;
  right: 4%;
  bottom: -40px;
  color: var(--sage);
  opacity: 0.7;
  transform: rotate(18deg);
  z-index: 1;
}

.guide-copy h2 {
  margin-bottom: 1rem;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

/* ---------- FAQ ---------- */

.section-faq {
  background: var(--ivory);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 110px;
}

.faq-help {
  margin-top: 1.8rem;
  padding: 1.2rem;
  border-radius: 18px;
  background: var(--sage-mist);
}

.faq-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--ocean);
}

.faq-help-icon .icon {
  width: 18px;
  height: 18px;
}

.faq-help p {
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ocean-ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ocean);
  transition: transform 0.3s var(--ease), background 0.3s;
}

.faq-icon .icon {
  width: 0.9rem;
  height: 0.9rem;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--sage-mist);
}

.faq-answer {
  padding: 0 2.5rem 1.2rem 0;
}

.faq-answer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- Articles ---------- */

.section-articles {
  background: var(--cream);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid rgba(30, 76, 114, 0.12);
  border-radius: 20px;
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.article-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-date .icon {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--sand-deep);
}

.article-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.18rem;
  line-height: 1.35;
}

.article-card p {
  margin-bottom: 1.2rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.article-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Contact ---------- */

.section-contact {
  overflow: hidden;
  background: linear-gradient(180deg, var(--sage-mist) 0%, var(--ivory) 70%);
}

.contact-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  left: -240px;
  bottom: -260px;
  border-radius: 50%;
  background: rgba(183, 150, 79, 0.16);
  pointer-events: none;
}

.contact-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-aside {
  padding-top: 0.4rem;
}

.contact-photo {
  overflow: hidden;
  height: 310px;
  margin-bottom: 1.4rem;
  border-radius: 190px 190px 22px 22px;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-methods {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.72);
  transition: border-color 0.2s, background 0.2s;
}

.contact-method:hover {
  border-color: var(--ocean);
  background: var(--white);
}

.contact-method > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--sage-mist);
  color: var(--ocean);
}

.contact-method > span .icon {
  width: 17px;
  height: 17px;
}

.contact-method div {
  display: grid;
  line-height: 1.3;
}

.contact-method small {
  font-size: 0.68rem;
  color: var(--muted);
}

.contact-method strong {
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--ocean-ink);
  overflow-wrap: anywhere;
}

.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.contact-address .icon {
  width: 1rem;
  height: 1rem;
  flex: none;
  margin-top: 0.15rem;
  color: var(--sand-deep);
}

.contact-address .icon:last-child {
  width: 0.8rem;
  height: 0.8rem;
  margin-left: auto;
}

.form-card {
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-card.is-highlighted {
  animation: formPulse 1.8s var(--ease);
}

@keyframes formPulse {
  0% {
    box-shadow: var(--shadow);
  }
  35% {
    box-shadow: 0 0 0 6px rgba(183, 150, 79, 0.5), var(--shadow-lg);
  }
  100% {
    box-shadow: var(--shadow);
  }
}

.form-card-head {
  margin-bottom: 1.3rem;
}

.form-card-head h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.4rem, 2.3vw, 1.8rem);
}

.form-card-head p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  margin-bottom: 0.85rem;
}

.field label,
.consent-field label {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--ocean-ink);
}

.req {
  color: var(--coral);
}

.opt {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(30, 76, 114, 0.22);
  border-radius: 11px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ocean);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 76, 114, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(93, 107, 120, 0.6);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 0.22rem;
  font-size: 0.72rem;
  color: var(--coral);
}

.field.has-error input,
.field.has-error select {
  border-color: var(--coral);
  background: #fffaf4;
}

.consent-field {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.55rem;
  align-items: start;
  margin: 0.3rem 0 1rem;
}

.consent-field input {
  width: 17px;
  height: 17px;
  margin-top: 0.18rem;
  accent-color: var(--ocean);
}

.consent-field label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

.consent-field .field-error {
  grid-column: 2;
}

.btn-submit {
  margin-top: 0.2rem;
}

.btn-submit.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.form-micro {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin: 0.7rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--muted);
}

.form-micro .icon {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
  margin-top: 0.1rem;
  color: var(--sand-deep);
}

.form-micro a {
  color: var(--ocean);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  min-height: 1.1rem;
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--coral);
}

.form-status:empty {
  min-height: 0;
  margin: 0;
}

.form-success {
  padding: 0.5rem 0.2rem;
  text-align: center;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--sage-mist);
  color: var(--ocean);
}

.success-icon .icon {
  width: 28px;
  height: 28px;
}

.form-success h3 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.form-success > p {
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.success-guide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--sage-mist);
  text-align: left;
}

.success-guide strong {
  display: block;
  font-size: 0.85rem;
}

.success-guide p {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: clamp(3rem, 5vw, 4.5rem) 0 1.5rem;
  background: var(--ocean-ink);
  color: rgba(251, 248, 241, 0.7);
  font-size: 0.84rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  width: 225px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 300px;
  margin-bottom: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(251, 248, 241, 0.62);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(251, 248, 241, 0.18);
  border-radius: 50%;
  color: var(--sand);
  transition: background 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  background: rgba(183, 150, 79, 0.12);
  border-color: var(--sand);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-col a {
  color: rgba(251, 248, 241, 0.72);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--ivory);
}

.footer-contact p {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.footer-contact p .icon {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
  margin-top: 0.2rem;
  color: var(--sand);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(251, 248, 241, 0.12);
  font-size: 0.72rem;
  color: rgba(251, 248, 241, 0.5);
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-legal a:hover {
  color: var(--sand);
}

.footer-legal .lang-switch {
  color: var(--sand);
  border-color: rgba(251, 248, 241, 0.2);
  background: transparent;
}

.footer-disclaimer {
  padding-top: 1rem;
}

.footer-disclaimer p {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.55;
  color: rgba(251, 248, 241, 0.36);
}

/* ---------- Mobile action bar ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(255, 253, 248, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(27, 42, 56, 0.08);
  backdrop-filter: blur(12px);
}

.mobile-bar a {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 58px;
  font-size: 0.62rem;
  font-weight: 750;
  color: var(--ocean);
}

.mobile-bar .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.mobile-bar-cta {
  background: var(--ocean);
  color: var(--ivory) !important;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .hero-copy.reveal {
  transition-delay: 0.05s;
}

.js .hero-visual.reveal {
  transition-delay: 0.15s;
}

/* ---------- Not found ---------- */

.notfound-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
}

.notfound {
  max-width: 620px;
  text-align: center;
}

.notfound .brand-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.4rem;
}

.notfound .brand-mark .icon {
  width: 38px;
  height: 38px;
}

.notfound .eyebrow {
  justify-content: center;
}

.notfound h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.notfound p {
  color: var(--muted);
}

.notfound .hero-actions {
  justify-content: center;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .main-nav {
    gap: 1rem;
  }

  .header-phone {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .quiz-grid,
  .split,
  .how-grid,
  .advisor-grid,
  .guide-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: center;
    max-width: 460px;
    margin-top: 1rem;
  }

  .hero-copy {
    max-width: 640px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(3) {
    padding-left: 0;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-media {
    max-width: 520px;
    margin: 1rem auto 0;
  }

  .advisor-media {
    max-width: 460px;
    margin: 0 auto;
  }

  .guide-visual {
    max-width: 420px;
    margin: 0 auto 1rem;
  }

  .faq-copy {
    position: static;
  }

  .contact-aside {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.2rem;
    align-items: start;
  }

  .contact-photo {
    grid-row: span 2;
    height: 100%;
    min-height: 300px;
    margin-bottom: 0;
  }

  .contact-methods {
    margin-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 84px;
  }

  body {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .topbar {
    display: none;
  }

  .header-inner {
    min-height: 70px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .lang-switch {
    padding: 0.4rem 0.55rem;
  }

  .lang-switch span {
    display: none;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .hero-card {
    left: 8px;
    bottom: 16px;
    width: min(280px, 88%);
  }

  .hero-badge {
    right: 4px;
    top: 18px;
  }

  .section {
    padding: 4rem 0;
  }

  .path-media {
    height: 230px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .compare-card {
    padding: 1.1rem;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tbody tr {
    margin-bottom: 0.8rem;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--ivory);
  }

  .compare-table tbody th {
    padding: 0 0 0.6rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .compare-table tbody td {
    padding: 0.55rem 0 0;
    border: 0;
    font-size: 0.82rem;
  }

  .compare-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.1rem;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ocean);
  }

  .compare-table tbody td:nth-child(2) {
    background: transparent;
  }

  .cost-band {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .cost-actions {
    min-width: 0;
  }

  .contact-aside {
    grid-template-columns: 1fr;
  }

  .contact-photo {
    min-height: 260px;
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: 58px;
  }

  .media-note,
  .how-card {
    right: 10px;
    left: auto;
    bottom: -18px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.55rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .hero-badge {
    display: none;
  }

  .trust-list {
    gap: 0.4rem 0.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 0.4rem 0.8rem;
  }

  .path-body {
    padding: 1.3rem;
  }

  .path-actions {
    align-items: flex-start;
  }

  .quiz-card {
    padding: 1.1rem;
  }

  .success-guide {
    text-align: center;
    justify-content: center;
  }

  .guide-cover {
    width: 78%;
  }

  .testimonial-card footer {
    flex-wrap: wrap;
  }

  .testimonial-tag {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Aseguranza para mí logo ---------- */
.brand-logo {
  width: 210px;
  height: auto;
}
.brand-sub {
  padding-left: 2px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.notfound-logo {
  width: min(260px, 72vw);
  height: auto;
  margin: 0 auto 1.4rem;
}
@media (max-width: 720px) {
  .brand-logo {
    width: 168px;
  }
  .brand-sub {
    font-size: 0.44rem;
    letter-spacing: 0.12em;
  }
}
