:root {
  --rose: #dfad9f;
  --rose-deep: #c98f80;
  --rose-soft: #f6e7e1;
  --stone: #b9b5ae;
  --taupe: #8f8781;
  --taupe-deep: #6f675f;
  --gold: #c7aa78;
  --gold-soft: #eadfc8;
  --ink: #433e3b;
  --paper: #fbfaf8;
  --soft: #f4efeb;
  --line: rgba(67, 62, 59, 0.13);
  --gold-line: rgba(199, 170, 120, 0.42);
  --white: #ffffff;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Avenir Next, Avenir, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgba(67, 62, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(223, 173, 159, 0.19), transparent 36rem),
    radial-gradient(circle at 88% 12%, rgba(199, 170, 120, 0.13), transparent 25rem),
    linear-gradient(180deg, var(--paper) 0%, #ffffff 48%, var(--soft) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5.25rem;
  padding: 0.7rem clamp(1rem, 4vw, 4rem);
  background: rgba(251, 250, 248, 0.9);
  border-bottom: 1px solid rgba(199, 170, 120, 0.24);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2rem);
  font-size: 0.92rem;
  font-weight: 650;
  color: rgba(67, 62, 59, 0.78);
}

.main-nav a,
.nav-cta {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.main-nav a {
  position: relative;
  padding: 0.45rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.18rem;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 180ms ease, transform 220ms ease;
}

.main-nav a:hover {
  color: var(--taupe-deep);
  transform: translateY(-2px);
}

.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (prefers-reduced-motion: no-preference) {
  .main-nav a::before {
    content: "";
    position: absolute;
    top: 0.12rem;
    left: 50%;
    width: 0.32rem;
    height: 0.32rem;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, 4px) scale(0.6);
    transition: opacity 180ms ease, transform 220ms ease;
  }

  .main-nav a:hover::before {
    opacity: 0.75;
    transform: translate(-50%, 0) scale(1);
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0 1.35rem;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(67, 62, 59, 0.16);
}

.nav-cta:hover {
  background: var(--taupe-deep);
  border-color: var(--taupe-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(67, 62, 59, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(21rem, 0.88fr);
  gap: clamp(1.6rem, 4.4vw, 4rem);
  align-items: start;
  min-height: calc(100svh - 5.25rem);
  padding: clamp(2.2rem, 5vw, 4.5rem) clamp(1.15rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
}

.hero-copy {
  max-width: 48rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--taupe-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.5rem, 6.7vw, 6.6rem);
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.55rem, 5vw, 5.2rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-lead {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: rgba(67, 62, 59, 0.76);
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.2rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--ink), #2f2b28);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(67, 62, 59, 0.2);
}

.button.primary:hover {
  background: linear-gradient(135deg, #2f2b28, var(--ink));
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--gold-line);
  color: var(--ink);
}

.button.secondary:hover {
  box-shadow: 0 14px 30px rgba(67, 62, 59, 0.1);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  min-height: 34rem;
  margin-top: 0.35rem;
  padding: clamp(1.3rem, 2.8vw, 2rem);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(244, 239, 235, 0.78)),
    linear-gradient(90deg, rgba(223, 173, 159, 0.1), rgba(199, 170, 120, 0.12));
  border: 1px solid rgba(199, 170, 120, 0.28);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: -1;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--rose), var(--gold-soft));
  transform: rotate(-3deg);
}

.hero-panel::after {
  display: none;
}

.hero-panel > img {
  position: relative;
  z-index: 1;
  width: min(19rem, 76%);
  margin: 2.2rem auto 2.3rem;
}

.enrollment-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  margin-bottom: 1rem;
  padding: 0.2rem 0.85rem;
  background: rgba(234, 223, 200, 0.45);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.proof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
}

.proof-grid article,
.reason-grid article,
.service-grid article,
.service-card,
.resource-grid article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(199, 170, 120, 0.2);
  border-radius: 0.5rem;
}

.proof-grid article {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
}

.proof-grid strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 1.18rem;
}

.proof-grid span,
.service-grid p,
.service-card p,
.reason-grid p,
.value-copy p,
.closing p,
.contact-card p,
.site-footer p {
  color: rgba(67, 62, 59, 0.72);
}

.intro-band {
  position: relative;
  overflow: hidden;
  margin: 0 clamp(1.15rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--ink);
  color: var(--white);
  border-radius: 1rem;
}

.intro-band::after {
  content: "";
  position: absolute;
  right: clamp(-4rem, -6vw, -2rem);
  bottom: clamp(-5rem, -8vw, -3rem);
  width: clamp(14rem, 30vw, 28rem);
  aspect-ratio: 1;
  background: url("assets/elevia-logo.png") center / contain no-repeat;
  opacity: 0.13;
  pointer-events: none;
}

.intro-band p {
  position: relative;
  z-index: 1;
  max-width: 62rem;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 4.7rem);
  line-height: 1;
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1.15rem, 5vw, 5rem);
}

.choose-section {
  background: #ffffff;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.reason-grid article,
.service-grid article,
.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.service-grid article::after,
.service-card::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--rose), transparent);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 220ms ease, transform 220ms ease;
}

.reason-grid span,
.service-grid span,
.service-card span {
  display: inline-flex;
  margin-bottom: 1.05rem;
  color: var(--gold);
  font-weight: 850;
}

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(246, 231, 225, 0.92), rgba(234, 223, 200, 0.72));
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--taupe-deep);
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 8px 18px rgba(67, 62, 59, 0.05);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.service-card {
  display: block;
  min-height: 13rem;
}

.service-grid article:hover,
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 46px rgba(67, 62, 59, 0.12);
}

.service-grid article:hover::after,
.service-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.service-grid article:hover .service-icon,
.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 12px 24px rgba(67, 62, 59, 0.1);
}

.service-grid article:hover .service-icon img,
.service-card:hover .service-icon img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: no-preference) {
  #preparacion .service-grid > * {
    animation: serviceRise 520ms ease both;
  }

  #preparacion .service-grid > *:nth-child(2) {
    animation-delay: 70ms;
  }

  #preparacion .service-grid > *:nth-child(3) {
    animation-delay: 140ms;
  }

  #preparacion .service-grid > *:nth-child(4) {
    animation-delay: 210ms;
  }

  #preparacion .service-grid > *:nth-child(5) {
    animation-delay: 280ms;
  }

  #preparacion .service-grid > *:nth-child(6) {
    animation-delay: 350ms;
  }
}

@keyframes serviceRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  margin-top: 1rem;
  padding: 0.2rem 0.85rem;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 850;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-card em::after {
  content: "↗";
  margin-left: 0.45rem;
  font-size: 0.8rem;
}

.service-card:hover em {
  background: var(--taupe-deep);
  border-color: var(--taupe-deep);
  transform: translateY(-1px);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(17rem, 0.58fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.about-photo {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  background: var(--soft);
  border: 1px solid var(--gold-line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(67, 62, 59, 0.56) 100%);
  pointer-events: none;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
  object-position: center 18%;
}

.about-photo div {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 1;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 0.75rem;
  backdrop-filter: blur(12px);
}

.about-photo span {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 850;
}

.about-photo p {
  margin: 0;
  color: rgba(67, 62, 59, 0.68);
}

.about-copy p {
  color: rgba(67, 62, 59, 0.74);
  font-size: 1.03rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.about-stats strong {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.2rem 0.85rem;
  background: rgba(234, 223, 200, 0.35);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: 0.9rem;
}

.muted {
  background: var(--soft);
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.section-heading p {
  max-width: 45rem;
  color: rgba(67, 62, 59, 0.72);
}

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

.service-grid article {
  min-height: 13rem;
}

.sample-body {
  background:
    radial-gradient(circle at top right, rgba(223, 173, 159, 0.22), transparent 32rem),
    var(--paper);
}

.thanks-body {
  min-height: 100svh;
  background:
    radial-gradient(circle at top left, rgba(223, 173, 159, 0.2), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(199, 170, 120, 0.14), transparent 26rem),
    var(--paper);
}

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

.thanks-card {
  width: min(42rem, 100%);
  padding: clamp(2rem, 6vw, 4rem);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--gold-line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card img {
  width: 10rem;
  margin: 0 auto 1.5rem;
}

.thanks-card h1 {
  max-width: 10ch;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.thanks-card p:not(.eyebrow) {
  max-width: 34rem;
  margin-right: auto;
  margin-bottom: 1.5rem;
  margin-left: auto;
  color: rgba(67, 62, 59, 0.72);
}

.sample-page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.sample-header {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--gold-line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.sample-header h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.sample-header p:not(.eyebrow) {
  max-width: 42rem;
  margin-bottom: 1.25rem;
  color: rgba(67, 62, 59, 0.72);
}

.sample-button {
  width: fit-content;
}

.sample-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.36fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.sample-index,
.sample-topic {
  background: #ffffff;
  border: 1px solid rgba(199, 170, 120, 0.24);
  border-radius: 0.75rem;
}

.sample-index {
  position: sticky;
  top: 1rem;
  padding: 1.25rem;
}

.sample-index h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.sample-index ol {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.15rem;
  color: rgba(67, 62, 59, 0.72);
}

.sample-topic {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.sample-label {
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.2rem 0.8rem;
  background: rgba(234, 223, 200, 0.35);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--taupe-deep);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.sample-topic h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
}

.sample-topic p,
.sample-topic li {
  color: rgba(67, 62, 59, 0.75);
  font-size: 1.02rem;
}

.study-highlight {
  display: grid;
  gap: 0.35rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--ink);
  border-radius: 0.75rem;
  color: #ffffff;
}

.study-highlight span {
  color: rgba(255, 255, 255, 0.78);
}

.sample-topic ul {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.15rem;
}

.pdf-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(234, 223, 200, 0.28);
  border: 1px solid var(--gold-line);
  border-radius: 0.75rem;
}

.pdf-callout strong,
.pdf-callout span {
  display: block;
}

.pdf-callout span {
  margin-top: 0.2rem;
  color: rgba(67, 62, 59, 0.7);
}

.scheme-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid rgba(199, 170, 120, 0.24);
  border-radius: 0.75rem;
}

.scheme-copy h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.6rem, 2.8vw, 2.7rem);
}

.scheme-copy p:not(.sample-label) {
  color: rgba(67, 62, 59, 0.72);
}

.scheme-image {
  display: block;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  border-radius: 0.65rem;
  box-shadow: 0 18px 36px rgba(67, 62, 59, 0.12);
}

.scheme-image img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

.scheme-image:hover img {
  transform: scale(1.02);
}

.process-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  background: #ffffff;
}

.process-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.4rem;
  background: var(--paper);
  border: 1px solid rgba(199, 170, 120, 0.24);
  border-radius: 0.75rem;
  counter-increment: process;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  color: var(--gold);
  font-weight: 850;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list span {
  margin-top: 0.2rem;
  color: rgba(67, 62, 59, 0.7);
}

.value {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.value-copy {
  max-width: 38rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.resource-grid article {
  display: flex;
  align-items: center;
  min-height: 5rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid rgba(199, 170, 120, 0.24);
  border-radius: 0.75rem;
  box-shadow: 0 10px 26px rgba(67, 62, 59, 0.06);
  font-weight: 750;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.62fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  background: linear-gradient(135deg, rgba(223, 173, 159, 0.18), rgba(234, 223, 200, 0.32));
}

.closing p {
  font-size: 1.08rem;
}

.faq-section {
  background: #ffffff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.faq-grid details {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(199, 170, 120, 0.24);
  border-radius: 0.75rem;
  transform: translateY(0);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-grid details:hover {
  transform: translateY(-3px);
  border-color: var(--gold-line);
  box-shadow: 0 14px 30px rgba(67, 62, 59, 0.07);
}

.faq-grid details[open] {
  border-color: var(--gold-line);
  box-shadow: 0 16px 36px rgba(67, 62, 59, 0.08);
}

.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
}

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

.faq-grid summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  background: rgba(234, 223, 200, 0.45);
  border-radius: 50%;
  color: var(--taupe-deep);
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-grid details[open] summary::after {
  content: "-";
  background: var(--ink);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-grid p {
  animation: faqReveal 220ms ease both;
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: rgba(67, 62, 59, 0.72);
}

.limited-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.74fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  margin: 0 clamp(1.15rem, 5vw, 5rem) clamp(4rem, 7vw, 6rem);
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(67, 62, 59, 0.96), rgba(67, 62, 59, 0.88)),
    radial-gradient(circle at 85% 30%, rgba(223, 173, 159, 0.26), transparent 22rem);
  border: 1px solid rgba(199, 170, 120, 0.3);
  border-radius: 1rem;
  color: var(--white);
}

.limited-section::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 45%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: rotate(18deg) translateX(-120%);
  pointer-events: none;
}

.limited-section > * {
  position: relative;
  z-index: 1;
}

.limited-section .eyebrow {
  color: var(--gold-soft);
}

.limited-section h2 {
  margin-bottom: 0;
}

.limited-section p {
  max-width: 35rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.limited-section .button {
  margin-top: 0.5rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.limited-section .button:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .limited-section::after {
    animation: limitedShine 4.8s ease-in-out infinite;
  }

  .limited-section .button {
    animation: softPulse 2.8s ease-in-out infinite;
  }
}

@keyframes limitedShine {
  0%,
  38% {
    transform: rotate(18deg) translateX(-120%);
  }

  72%,
  100% {
    transform: rotate(18deg) translateX(320%);
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  }

  50% {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
  }
}

@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.15rem, 5vw, 5rem);
  background: var(--ink);
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -8rem;
  width: 24rem;
  aspect-ratio: 1;
  background: url("assets/elevia-logo.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.contact-card {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--paper);
  border-radius: 1rem;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
}

.contact-intro {
  max-width: 54rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.contact-intro h2 {
  max-width: 12ch;
  margin-right: auto;
  margin-left: auto;
}

.contact-intro p {
  max-width: 44rem;
  margin-right: auto;
  margin-left: auto;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hidden-field {
  display: none;
}

.contact-form label,
.contact-form fieldset {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.75rem 0.9rem;
  background: #ffffff;
  border: 1px solid rgba(67, 62, 59, 0.18);
  border-radius: 0.55rem;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(199, 170, 120, 0.16);
  transform: translateY(-1px);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form fieldset {
  grid-column: 1 / -1;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(67, 62, 59, 0.14);
  border-radius: 0.65rem;
}

.contact-form fieldset label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650;
}

.contact-form input[type="radio"] {
  width: 1rem;
  min-height: 1rem;
  accent-color: var(--taupe-deep);
}

.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form button {
  position: relative;
  overflow: hidden;
  justify-self: center;
  cursor: pointer;
}

.contact-form button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%);
}

@media (prefers-reduced-motion: no-preference) {
  .contact-card {
    animation: contactRise 520ms ease both;
  }

  .contact-form label,
  .contact-form fieldset,
  .contact-form button {
    animation: contactField 480ms ease both;
  }

  .contact-form label:nth-child(2) {
    animation-delay: 60ms;
  }

  .contact-form label:nth-child(3) {
    animation-delay: 120ms;
  }

  .contact-form label:nth-child(4) {
    animation-delay: 180ms;
  }

  .contact-form fieldset {
    animation-delay: 240ms;
  }

  .contact-form .full {
    animation-delay: 300ms;
  }

  .contact-form button {
    animation-delay: 360ms;
  }

  .contact-form button:hover::after {
    animation: contactButtonShine 900ms ease;
  }
}

@keyframes contactRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contactField {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contactButtonShine {
  to {
    transform: translateX(120%);
  }
}

.contact-note {
  margin-top: 1.15rem;
  margin-bottom: 0;
  font-size: 0.88rem;
  text-align: center;
}

.form-status {
  min-height: 1.4rem;
  margin: 1rem 0 0;
  color: var(--taupe-deep);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.contact-note a {
  color: var(--gold);
  font-weight: 850;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(16rem, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.15rem, 5vw, 5rem);
  background: var(--paper);
  border-top: 1px solid rgba(199, 170, 120, 0.24);
}

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

.footer-brand img {
  flex: 0 0 auto;
  width: 6.5rem;
}

.footer-brand strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 1rem;
}

.footer-brand p,
.footer-contact small {
  margin: 0;
  color: rgba(67, 62, 59, 0.64);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  justify-content: center;
  color: rgba(67, 62, 59, 0.74);
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-nav a,
.footer-contact a {
  transition: color 180ms ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--taupe-deep);
}

.footer-contact {
  display: grid;
  gap: 0.25rem;
  justify-items: end;
  text-align: right;
}

.footer-contact span {
  color: var(--taupe-deep);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.footer-contact a {
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .about-section,
  .process-section,
  .value,
  .closing {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 0.95fr) minmax(17rem, 0.85fr);
    gap: 1.25rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 7vw, 5.4rem);
  }

  .hero-panel {
    min-height: 30rem;
  }

  .hero-panel > img {
    width: min(16rem, 72%);
    margin: 1.5rem auto 1.6rem;
  }

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

  .sample-layout,
  .sample-header {
    grid-template-columns: 1fr;
  }

  .sample-header img {
    width: 11rem;
  }

  .sample-index {
    position: static;
  }

  .pdf-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .scheme-preview {
    grid-template-columns: 1fr;
  }

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

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

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-contact {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: center;
    min-height: auto;
  }

  .brand img {
    width: 6rem;
  }

  .nav-cta {
    min-height: 2.45rem;
    padding: 0 0.85rem;
    font-size: 0.82rem;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 1rem;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(2.85rem, 12vw, 4.2rem);
  }

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

  .hero-panel {
    min-height: auto;
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    border-radius: 1rem;
  }

  .intro-band {
    border-radius: 0.75rem;
  }

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

  .reason-grid,
  .resource-grid,
  .faq-grid,
  .limited-section,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }

  .service-card {
    min-height: auto;
  }

  .about-photo,
  .about-photo img {
    min-height: 25rem;
  }

  .process-list li {
    padding-left: 1.2rem;
  }

  .process-list li::before {
    position: static;
    display: block;
    margin-bottom: 0.55rem;
  }

  .site-footer {
    align-items: start;
  }

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

  .footer-brand img {
    width: 6rem;
  }
}
