:root {
  --plum: #3a203d;
  --plum-2: #5a3153;
  --gold: #b18442;
  --sage: #65765b;
  --ink: #221926;
  --muted: #695f6d;
  --line: #e7ddd6;
  --paper: #fffaf6;
  --warm: #f4eae2;
  --soft: #fbf4ef;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(35, 25, 38, 0.16);
  --max: 1160px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--plum);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(58, 32, 61, 0.12);
  background: rgba(255, 250, 246, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 500;
}

.brand small {
  color: var(--gold);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: #514454;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 8px 0;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--plum);
}

.site-nav .nav-cta {
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(58, 32, 61, 0.18);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--white);
  background: var(--plum-2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(58, 32, 61, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--plum);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: clamp(500px, 68svh, 620px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 250, 246, 0.96) 0%, rgba(255, 250, 246, 0.82) 41%, rgba(255, 250, 246, 0.3) 72%, rgba(255, 250, 246, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 250, 246, 0.1), rgba(58, 32, 61, 0.18));
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--plum);
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  color: var(--plum);
  font-size: clamp(2rem, 4vw, 4.4rem);
}

h3 {
  color: var(--plum);
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-statement {
  max-width: 720px;
  margin-bottom: 16px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.7vw, 2.45rem);
  line-height: 1.08;
}

.hero-copy {
  max-width: 650px;
  color: #403542;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
}

.hero-actions,
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.credential {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(58, 32, 61, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--plum-2);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(58, 32, 61, 0.18);
  color: var(--plum);
}

.button-secondary {
  background: var(--sage);
  color: var(--white);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.section {
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro-grid,
.two-column,
.about-grid,
.video-grid,
.location-grid,
.faq-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro-grid h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3.2vw, 3.3rem);
}

.intro-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.service-card,
.feature-grid article,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 268px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  transition: transform 160ms ease, box-shadow 160ms ease, border 160ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(177, 132, 66, 0.55);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.service-card p,
.feature-grid p,
.step p {
  color: var(--muted);
}

.text-link {
  margin-top: auto;
  color: var(--plum);
  font-weight: 700;
}

.service-card-dark {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}

.service-card-dark h3,
.service-card-dark p,
.service-card-dark .text-link {
  color: var(--white);
}

.service-card-dark .service-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.process-band {
  background: linear-gradient(180deg, var(--soft), #f0e3da);
}

.sticky-heading {
  position: sticky;
  top: calc(var(--header) + 32px);
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  padding: 28px;
}

.step span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

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

.feature-grid article {
  padding: 24px;
}

.about-band {
  background: var(--white);
}

.about-grid {
  align-items: center;
}

.portrait-panel {
  min-height: 460px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, rgba(177, 132, 66, 0.2), transparent 30%),
    linear-gradient(135deg, #efe2d8, #fffaf6 52%, #d9e0d2);
  border: 1px solid var(--line);
}

.portrait-mark {
  width: min(54vw, 250px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--plum);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8rem);
  box-shadow: var(--shadow);
}

.portrait-panel p {
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage);
}

.video-band {
  background: var(--plum);
  color: var(--white);
}

.video-band h2,
.video-band .section-heading p {
  color: var(--white);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: #130d16;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.video-shell video,
.video-placeholder {
  width: 100%;
  height: 100%;
}

.video-shell video {
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(58, 32, 61, 0.28), rgba(58, 32, 61, 0.78)),
    url("assets/plena-clinica-hero.png") center / cover;
  text-align: center;
}

.video-placeholder.is-hidden {
  display: none;
}

.video-shell video[hidden] {
  display: none;
}

.video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 32, 61, 0.12), rgba(58, 32, 61, 0.58));
}

.play-mark {
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  position: relative;
}

.play-mark::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 29px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--plum);
}

.video-placeholder p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-weight: 700;
}

.location-band {
  background: linear-gradient(135deg, var(--sage), #33412f);
  color: var(--white);
}

.location-band h2,
.location-band .section-kicker,
.location-band dt {
  color: var(--white);
}

.info-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.info-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-list dt {
  margin-bottom: 4px;
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.map-frame {
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.2);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.faq-band {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 18px 22px;
  color: var(--plum);
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1.5rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.final-cta {
  padding: clamp(72px, 9vw, 130px) 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 246, 0.96), rgba(255, 250, 246, 0.72)),
    url("assets/plena-clinica-hero.png") center / cover;
}

.final-cta-inner {
  max-width: 760px;
}

.final-cta p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  background: #251528;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  padding: 52px 0;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.site-footer a {
  display: block;
  margin: 7px 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(20px, 4vw, 54px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: #1f7a4d;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(31, 122, 77, 0.32);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px 20px 26px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 14px;
    padding: 13px 20px;
    text-align: center;
  }

  .intro-grid,
  .two-column,
  .about-grid,
  .video-grid,
  .location-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .sticky-heading {
    position: static;
  }

  .map-frame {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  :root {
    --header: 68px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 250, 246, 0.98), rgba(255, 250, 246, 0.82) 64%, rgba(255, 250, 246, 0.46)),
      linear-gradient(180deg, rgba(58, 32, 61, 0.08), rgba(58, 32, 61, 0.2));
  }

  .hero-inner {
    width: min(100% - 32px, var(--max));
    padding: 30px 0 42px;
  }

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

  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 32px, var(--max));
  }

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

  .service-card {
    min-height: 230px;
  }

  .portrait-panel {
    min-height: 340px;
  }

  .video-shell {
    aspect-ratio: 4 / 5;
  }

  .map-frame {
    min-height: 320px;
  }

  .floating-whatsapp {
    display: none;
  }
}

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