:root {
  --white: #ffffff;
  --cream: #fbf8f2;
  --paper: #fffdf9;
  --green-pale: #e8ede3;
  --green-light: #cdd6c6;
  --sage: #969f8f;
  --sage-deep: #4f5946;
  --terracotta: #b66c45;
  --ink: #253025;
  --muted: #687061;
  --line: #e2dbd0;
  --shadow: 0 14px 36px rgba(79, 89, 70, 0.1);
  --soft-shadow: 0 8px 22px rgba(79, 89, 70, 0.07);
  --radius: 18px;
  --max: 1160px;
  --focus: #b66c45;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body.menu-open {
  overflow: hidden;
}

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

button,
select {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.55rem, 5.4vw, 4.8rem);
  font-weight: 800;
}

h2 {
  max-width: 820px;
  font-size: clamp(1.85rem, 3.3vw, 3.05rem);
  font-weight: 800;
}

h3 {
  margin: 0;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.28;
  font-weight: 800;
}

p {
  margin: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--sage-deep);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), 1240px);
  min-height: 72px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(226, 219, 208, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(79, 89, 70, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(79, 89, 70, 0.11);
}

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

.brand-logo {
  flex: 0 0 auto;
  width: 62px;
  height: 50px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.96rem;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.nav a:hover {
  color: var(--sage-deep);
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--sage-deep);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--green-pale);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--sage-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 430px);
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
  width: min(100%, var(--max));
  min-height: 100svh;
  margin: 0 auto;
  padding: 126px clamp(18px, 5vw, 34px) 72px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.professional-line {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(79, 89, 70, 0.14);
  border-radius: 999px;
  color: var(--sage-deep);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.trust-line {
  margin-top: 16px;
  color: var(--sage-deep);
  font-weight: 800;
}

.hero-actions,
.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.wa-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.55em;
  height: 1.55em;
  border-radius: 50%;
  background: var(--white);
  line-height: 0;
}

.wa-icon svg {
  width: 1.15em;
  height: 1.15em;
  fill: #25d366;
}

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

.button.primary {
  color: var(--white);
  background: var(--sage-deep);
  box-shadow: 0 16px 34px rgba(79, 89, 70, 0.22);
}

.button.ghost {
  color: var(--sage-deep);
  border-color: rgba(79, 89, 70, 0.18);
  background: rgba(255, 255, 255, 0.68);
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-info span {
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.hero-info span:last-child {
  border-right: 0;
}

.hero-photo,
.about-photo,
.play-image {
  margin: 0;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: calc(var(--radius) + 10px);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-photo {
  aspect-ratio: 4 / 5;
}

.about-photo {
  aspect-ratio: 4 / 5;
}

.play-image {
  aspect-ratio: 4 / 3;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 28%;
}

.section {
  padding: clamp(68px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section > * {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading.center {
  text-align: center;
}

.section-heading > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.support,
.signs,
.emotional-safety,
.process,
.faq {
  background: var(--paper);
}

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

.audience-card,
.service-card,
.neuro-grid article,
.mini-grid article,
.safety-grid article,
.timeline article {
  border: 1px solid rgba(79, 89, 70, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.audience-card,
.service-card,
.safety-grid article {
  padding: clamp(20px, 2.4vw, 26px);
}

.audience-card.featured,
.service-card.featured {
  background: var(--green-pale);
}

.soft-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--white);
  background: var(--terracotta);
  font-size: 1.4rem;
  line-height: 1;
}

.audience-card ul,
.authority-list,
.appointment-info {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.audience-card li,
.authority-list li,
.appointment-info li {
  position: relative;
  padding-left: 16px;
}

.audience-card li::before,
.authority-list li::before,
.appointment-info li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
}

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

.timeline article {
  position: relative;
  padding: clamp(20px, 2.2vw, 24px);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--sage-deep);
  font-weight: 800;
}

.timeline p,
.service-card p,
.mini-grid p,
.neuro-grid p,
.safety-grid p,
.about-copy p {
  margin-top: 10px;
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  color: var(--sage-deep);
  font-weight: 800;
}

.service-card > a {
  margin-top: 18px;
}

.card-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.card-actions a {
  margin-top: 0;
}

.card-actions a + a {
  color: var(--terracotta);
  font-size: 0.94rem;
}

.play-care,
.about,
.schedule-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 5.4vw, 68px);
  align-items: center;
}

.play-care {
  background: linear-gradient(180deg, var(--cream), var(--paper));
}

.play-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.play-copy > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
}

.mini-grid,
.neuro-grid {
  display: grid;
  gap: 14px;
}

.mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.mini-grid article,
.neuro-grid article {
  padding: clamp(18px, 2.1vw, 22px);
}

.neuro {
  background: var(--green-pale);
}

.infinity-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 30px;
  margin-bottom: 8px;
  color: var(--terracotta);
  font-size: 2rem;
  font-weight: 800;
}

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

.about {
  background: var(--cream);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 48% 30%;
}

.about-lead {
  color: var(--sage-deep) !important;
  font-weight: 800;
}

.schedule-section {
  background: linear-gradient(180deg, var(--green-pale), var(--paper));
}

.schedule-copy > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.appointment-info {
  margin-top: 24px;
}

.schedule-board {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(79, 89, 70, 0.13);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.schedule-board-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.mini-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.schedule-hint,
.schedule-empty {
  color: var(--muted);
  font-size: 0.94rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}

.schedule-day {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(79, 89, 70, 0.12);
  border-radius: 18px;
  background: var(--cream);
}

.schedule-day-title {
  grid-column: 1 / -1;
  color: var(--sage-deep);
  font-size: 0.95rem;
  font-weight: 800;
}

.schedule-select-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.schedule-select {
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid rgba(79, 89, 70, 0.14);
  border-radius: 13px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
}

.slot-button,
.slot-unavailable {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(79, 89, 70, 0.14);
  border-radius: 13px;
  font-size: 0.86rem;
  font-weight: 800;
}

.slot-button {
  color: var(--sage-deep);
  background: var(--green-pale);
}

.slot-unavailable {
  grid-column: 1 / -1;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  overflow: hidden;
}

.faq-question {
  position: relative;
  width: 100%;
  padding: 21px 58px 21px 24px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  color: var(--sage-deep);
  font-size: 1.35rem;
  transform: translateY(-50%);
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--muted);
}

.faq-answer[hidden] {
  display: none;
}

.final-cta {
  background: linear-gradient(180deg, var(--paper), var(--green-pale));
}

.final-cta-inner {
  max-width: 880px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(79, 89, 70, 0.14);
  border-radius: calc(var(--radius) + 10px);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  text-align: center;
}

.final-cta-inner p:not(.eyebrow) {
  max-width: 660px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.final-cta-inner .button {
  margin-top: 28px;
}

.final-cta-inner .button + .button {
  margin-left: 10px;
}

.floating-whatsapp {
  position: fixed;
  z-index: 50;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 20px;
  border-radius: 999px;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.32);
  font-weight: 800;
}

.floating-whatsapp .wa-icon {
  font-size: 1rem;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1.2fr);
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--cream);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer strong {
  color: var(--ink);
}

.admin-page {
  background: linear-gradient(180deg, var(--green-pale), var(--cream));
}

.admin-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px 18px;
}

.admin-panel {
  width: min(100%, 980px);
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid rgba(79, 89, 70, 0.14);
  border-radius: calc(var(--radius) + 10px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.admin-panel > img {
  width: 170px;
  height: auto;
  margin-bottom: 22px;
}

.admin-panel h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-panel p {
  max-width: 680px;
  margin-top: 12px;
  color: var(--muted);
}

.admin-panel label:not(.admin-slot) {
  display: grid;
  gap: 8px;
  max-width: 360px;
  margin: 24px 0 14px;
  color: var(--ink);
  font-weight: 800;
}

.admin-panel input[type="password"] {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.admin-day {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
}

.admin-day strong {
  color: var(--sage-deep);
  text-align: center;
}

.admin-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(79, 89, 70, 0.12);
  border-radius: 12px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-slot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-slot:has(input:checked) {
  color: var(--white);
  background: var(--sage-deep);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.admin-error,
.admin-saved {
  color: var(--terracotta) !important;
  font-weight: 800;
}

.admin-back {
  display: inline-flex;
  margin-top: 20px;
  color: var(--sage-deep);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .brand-copy small {
    display: none;
  }

  .nav {
    gap: 12px;
    font-size: 0.78rem;
  }

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

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  }
}

@media (max-width: 980px) {
  .site-header {
    top: 12px;
    width: min(calc(100% - 24px), 760px);
    min-height: 66px;
    padding: 10px 10px 10px 14px;
    border-radius: 28px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 84px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    font-size: 0.98rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .hero,
  .play-care,
  .about,
  .schedule-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 114px;
    padding-bottom: 58px;
  }

  .audience-grid,
  .service-grid,
  .mini-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-photo {
    width: min(100%, 390px);
    justify-self: center;
  }
}

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

  body {
    padding-bottom: 76px;
  }

  .brand-logo {
    width: 46px;
    height: 38px;
  }

  .brand-copy strong {
    max-width: 172px;
    white-space: normal;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.06rem, 10.4vw, 2.58rem);
    line-height: 1.09;
  }

  h2 {
    font-size: clamp(1.72rem, 7.2vw, 2rem);
    line-height: 1.12;
  }

  .hero {
    padding: 108px 16px 52px;
    gap: 26px;
  }

  .section {
    padding: 58px 16px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.74rem;
  }

  .professional-line {
    border-radius: 16px;
    font-size: 0.8rem;
  }

  .hero-subtitle,
  .section-heading > p:not(.eyebrow),
  .schedule-copy > p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-actions,
  .schedule-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .button,
  .floating-whatsapp {
    width: 100%;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    min-height: 50px;
    padding: 12px 16px;
  }

  .timeline,
  .neuro-grid,
  .schedule-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-bottom: 92px;
  }

  .audience-card,
  .service-card,
  .safety-grid article,
  .timeline article,
  .mini-grid article,
  .neuro-grid article,
  .schedule-board {
    padding: 20px;
  }

  .final-cta-inner {
    padding: 26px 20px;
    text-align: left;
  }

  .final-cta-inner .button + .button {
    margin-left: 0;
  }

  .hero-info {
    display: grid;
    gap: 7px;
    font-size: 0.9rem;
  }

  .hero-info span {
    padding-right: 0;
    border-right: 0;
  }

  .hero-photo,
  .about-photo,
  .play-image {
    border-width: 6px;
    border-radius: 22px;
  }

  .play-care,
  .about,
  .schedule-section {
    gap: 24px;
  }

  .schedule-board-header {
    display: block;
  }

  .schedule-day {
    grid-template-columns: 1fr;
  }

  .slot-button,
  .slot-unavailable {
    width: 100%;
  }

  .footer {
    gap: 18px;
    font-size: 0.88rem;
  }

}

@media (max-width: 380px) {
  .brand-copy strong {
    max-width: 142px;
    font-size: 0.84rem;
  }

  .site-header {
    width: calc(100% - 18px);
    padding-left: 10px;
  }

  .button {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
