/* =========================================================
   Psicoestudio Miriam Noyola
   Sitio estático, responsivo y listo para Cloudflare Pages
   ========================================================= */

:root {
  --ink: #211d27;
  --muted: #6e6674;
  --paper: #fffdf9;
  --paper-warm: #f8f2ea;
  --surface: #ffffff;
  --purple: #642b73;
  --purple-deep: #35163f;
  --magenta: #c1287a;
  --teal: #078f91;
  --cyan: #18b6c1;
  --orange: #ed6b2d;
  --gold: #e7a62b;
  --line: rgba(53, 22, 63, 0.12);
  --shadow-sm: 0 12px 30px rgba(53, 22, 63, 0.08);
  --shadow-lg: 0 30px 80px rgba(53, 22, 63, 0.16);
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 42px;
  --container: 1160px;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(193, 40, 122, 0.07), transparent 25rem),
    radial-gradient(circle at 88% 12%, rgba(7, 143, 145, 0.08), transparent 28rem),
    var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  color: #fff;
  background: var(--purple);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--purple-deep);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.76);
}

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

.section-heading.centered {
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2,
.therapy-content h2,
.change-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-heading > p:last-child {
  max-width: 580px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.06rem;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 14px 0;
  transition:
    padding 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 10px 34px rgba(53, 22, 63, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(53, 22, 63, 0.12);
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.1;
}

.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  color: #332c38;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--purple), var(--magenta), var(--orange));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 18px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(100, 43, 115, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.nav-cta:hover {
  box-shadow: 0 14px 32px rgba(100, 43, 115, 0.28);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--purple-deep);
  border-radius: 999px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 140px 0 94px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(53, 22, 63, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 22, 63, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.78fr);
  gap: 72px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 800px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.05em;
  line-height: 0.93;
}

.hero-copy h1 span {
  display: block;
  font-size: clamp(3.25rem, 7.4vw, 7.2rem);
  font-weight: 500;
}

.hero-copy h1 strong {
  display: block;
  max-width: 650px;
  margin-top: 22px;
  color: var(--purple);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-statement {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
}

.hero-statement span {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-statement span::before {
  position: absolute;
  top: 0.57em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  border-radius: 50%;
}

.hero-invitation {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--magenta) 55%, var(--orange));
  box-shadow: 0 16px 34px rgba(100, 43, 115, 0.22);
}

.button-primary:hover {
  box-shadow: 0 20px 42px rgba(100, 43, 115, 0.3);
}

.button-secondary {
  color: var(--purple-deep);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(100, 43, 115, 0.16);
  box-shadow: 0 10px 30px rgba(53, 22, 63, 0.06);
  backdrop-filter: blur(10px);
}

.button-icon {
  margin-right: 9px;
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 570px;
}

.logo-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(92%, 460px);
  aspect-ratio: 1;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(24, 182, 193, 0.65), rgba(193, 40, 122, 0.65), rgba(237, 107, 45, 0.65)) border-box;
  border: 1px solid transparent;
  border-radius: 46% 54% 56% 44% / 42% 43% 57% 58%;
  box-shadow: var(--shadow-lg);
  animation: morph 12s ease-in-out infinite alternate;
}

.logo-stage::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(100, 43, 115, 0.1);
  border-radius: inherit;
}

.logo-stage img {
  position: relative;
  z-index: 2;
  width: 64%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(53, 22, 63, 0.12));
}

.logo-halo {
  position: absolute;
  inset: 13%;
  background: conic-gradient(
    from 180deg,
    rgba(24, 182, 193, 0.22),
    rgba(193, 40, 122, 0.2),
    rgba(237, 107, 45, 0.22),
    rgba(231, 166, 43, 0.16),
    rgba(24, 182, 193, 0.22)
  );
  border-radius: 50%;
  filter: blur(32px);
}

.identity-card {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 30px;
  min-width: 245px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(100, 43, 115, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.identity-card p,
.identity-card h2,
.identity-card span {
  margin: 0;
}

.identity-card p {
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.identity-card h2 {
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.identity-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb,
.line {
  position: absolute;
  display: block;
}

.orb {
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.48;
}

.orb-one {
  top: 17%;
  right: 7%;
  width: 24px;
  height: 24px;
  background: var(--orange);
}

.orb-two {
  right: 42%;
  bottom: 15%;
  width: 14px;
  height: 14px;
  background: var(--teal);
}

.orb-three {
  top: 24%;
  left: 5%;
  width: 11px;
  height: 11px;
  background: var(--magenta);
}

.line {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(100, 43, 115, 0.12);
  border-radius: 45% 55% 42% 58%;
  transform: rotate(28deg);
}

.line-one {
  top: 12%;
  right: -110px;
}

.line-two {
  bottom: -180px;
  left: 22%;
  width: 360px;
  height: 360px;
  border-color: rgba(7, 143, 145, 0.1);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1px solid rgba(53, 22, 63, 0.22);
  border-radius: 999px;
}

.scroll-cue i::after {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--purple);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* Intro band */
.intro-band {
  position: relative;
  padding: 86px 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(24, 182, 193, 0.35), transparent 23rem),
    radial-gradient(circle at 85% 30%, rgba(237, 107, 45, 0.3), transparent 24rem),
    linear-gradient(135deg, var(--purple-deep), var(--purple) 58%, #7d285a);
}

.intro-band::after {
  position: absolute;
  right: -80px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 45% 55% 64% 36%;
  transform: rotate(28deg);
}

.intro-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 70px;
  align-items: end;
}

.intro-band .section-heading h2 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
}

.intro-message {
  padding: 28px 0 8px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.intro-message p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro-message strong {
  display: block;
  max-width: 420px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.25;
}

/* Services */
.services {
  position: relative;
}

.services::before {
  position: absolute;
  top: 80px;
  left: -150px;
  width: 330px;
  height: 330px;
  content: "";
  background: radial-gradient(circle, rgba(24, 182, 193, 0.1), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--purple), var(--magenta), var(--orange));
  opacity: 0;
  transform: scaleX(0.25);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.service-card:hover {
  border-color: rgba(100, 43, 115, 0.2);
  box-shadow: 0 25px 60px rgba(53, 22, 63, 0.14);
  transform: translateY(-10px);
}

.service-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-number {
  align-self: flex-end;
  color: rgba(53, 22, 63, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.service-card h3 {
  position: relative;
  z-index: 2;
  margin: auto 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
}

.service-mark {
  position: relative;
  display: block;
  width: 160px;
  height: 150px;
  margin: 24px auto 14px;
}

.service-mark span {
  position: absolute;
  display: block;
}

.mark-integral span {
  border-radius: 50%;
}

.mark-integral span:nth-child(1) {
  inset: 20px 20px 30px 30px;
  border: 2px solid var(--purple);
}

.mark-integral span:nth-child(2) {
  top: 10px;
  right: 4px;
  width: 72px;
  height: 72px;
  background: rgba(24, 182, 193, 0.24);
}

.mark-integral span:nth-child(3) {
  bottom: 4px;
  left: 4px;
  width: 62px;
  height: 62px;
  background: rgba(237, 107, 45, 0.26);
}

.mark-dance span:nth-child(1) {
  top: 0;
  left: 38px;
  width: 64px;
  height: 142px;
  border: 3px solid var(--magenta);
  border-right: 0;
  border-radius: 100% 0 0 100%;
  transform: rotate(22deg);
}

.mark-dance span:nth-child(2) {
  top: 18px;
  right: 20px;
  width: 70px;
  height: 116px;
  border: 3px solid var(--teal);
  border-left: 0;
  border-radius: 0 100% 100% 0;
  transform: rotate(-22deg);
}

.mark-art span:nth-child(1) {
  inset: 14px 24px 28px;
  background: linear-gradient(135deg, rgba(24, 182, 193, 0.9), rgba(100, 43, 115, 0.9), rgba(237, 107, 45, 0.9));
  border-radius: 47% 53% 41% 59% / 44% 35% 65% 56%;
  transform: rotate(9deg);
}

.mark-art span:nth-child(2),
.mark-art span:nth-child(3) {
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
}

.mark-art span:nth-child(2) {
  top: 12px;
  right: 8px;
}

.mark-art span:nth-child(3) {
  bottom: 8px;
  left: 8px;
  background: var(--magenta);
}

.mark-drama span {
  top: 20px;
  width: 78px;
  height: 105px;
  border: 2px solid;
}

.mark-drama span:nth-child(1) {
  left: 10px;
  border-color: var(--purple);
  border-radius: 48% 52% 55% 45%;
  transform: rotate(-11deg);
}

.mark-drama span:nth-child(2) {
  right: 10px;
  border-color: var(--orange);
  border-radius: 52% 48% 45% 55%;
  transform: rotate(11deg);
}

.mark-drama span::before,
.mark-drama span::after {
  position: absolute;
  width: 9px;
  height: 9px;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

.mark-drama span::before {
  top: 34px;
  left: 18px;
}

.mark-drama span::after {
  top: 34px;
  right: 18px;
}

/* Therapy map */
.therapy-map {
  overflow: hidden;
  background: var(--paper-warm);
}

.therapy-map-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1.1fr;
  gap: 90px;
  align-items: center;
}

.therapy-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 510px;
}

.art-core {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 230px;
  height: 230px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
}

.art-core img {
  width: 72%;
}

.art-ring {
  position: absolute;
  display: block;
  border: 1px solid rgba(100, 43, 115, 0.2);
  border-radius: 50%;
}

.ring-one {
  width: 360px;
  height: 360px;
}

.ring-two {
  width: 485px;
  height: 485px;
  border-color: rgba(7, 143, 145, 0.18);
}

.art-dot {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 50%;
}

.dot-one {
  top: 58px;
  left: 17%;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.dot-two {
  right: 12%;
  bottom: 72px;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--magenta), var(--orange));
}

.dot-three {
  top: 25%;
  right: 12%;
  width: 24px;
  height: 24px;
  background: var(--gold);
}

.therapy-content h2 {
  max-width: 660px;
}

.therapy-list {
  display: grid;
  gap: 0;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(53, 22, 63, 0.12);
}

.therapy-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  border-bottom: 1px solid rgba(53, 22, 63, 0.12);
  transition:
    color 180ms ease,
    padding-left 180ms ease;
}

.therapy-list li:hover {
  padding-left: 8px;
  color: var(--purple);
}

.therapy-list span {
  color: var(--magenta);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

/* Change section */
.change-section {
  padding-top: 120px;
  padding-bottom: 70px;
}

.change-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 60px;
  align-items: center;
  padding: 72px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 9% 15%, rgba(24, 182, 193, 0.55), transparent 20rem),
    radial-gradient(circle at 93% 80%, rgba(237, 107, 45, 0.5), transparent 22rem),
    linear-gradient(135deg, #32113d 0%, #642b73 52%, #8d285e 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.change-card::before,
.change-card::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.change-card::before {
  top: -130px;
  right: -100px;
  width: 360px;
  height: 360px;
}

.change-card::after {
  bottom: -170px;
  left: 26%;
  width: 430px;
  height: 430px;
}

.change-copy,
.change-contact {
  position: relative;
  z-index: 2;
}

.change-copy h2 {
  max-width: 680px;
  color: #fff;
}

.change-copy > p:last-child {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.change-contact {
  padding: 34px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  backdrop-filter: blur(14px);
}

.change-contact > span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.change-contact > a {
  display: inline-block;
  margin-top: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.change-contact > p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.button-white {
  color: var(--purple-deep);
  background: #fff;
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

/* Social */
.social-section {
  padding-top: 50px;
  padding-bottom: 80px;
}

.social-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 860px;
  padding: 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.social-symbol {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 182, 193, 0.95), rgba(100, 43, 115, 0.95) 50%, rgba(193, 40, 122, 0.95));
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  box-shadow: 0 20px 40px rgba(100, 43, 115, 0.2);
}

.social-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
}

.social-copy strong {
  display: block;
  margin-top: 14px;
  color: var(--purple);
  font-size: 1.1rem;
}

.social-copy > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Contact */
.contact-section {
  background:
    radial-gradient(circle at 84% 26%, rgba(193, 40, 122, 0.08), transparent 25rem),
    radial-gradient(circle at 12% 76%, rgba(24, 182, 193, 0.08), transparent 26rem),
    #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 90px;
  align-items: center;
}

.contact-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.contact-details > * {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
  padding: 22px;
  background: var(--paper-warm);
  border: 1px solid rgba(53, 22, 63, 0.08);
  border-radius: 18px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.contact-details > *:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.contact-details > *:last-child {
  grid-column: 1 / -1;
}

.contact-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details strong {
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px;
  text-align: center;
  background: var(--paper-warm);
  border: 1px solid rgba(53, 22, 63, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-panel img {
  width: 160px;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
}

.contact-panel h3 {
  margin: 25px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.contact-panel p {
  margin: 2px 0 18px;
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel > span {
  color: var(--muted);
  font-size: 0.94rem;
}

.button-full {
  width: 100%;
  margin-top: 28px;
}

/* Footer */
.site-footer {
  padding: 60px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 10% 0%, rgba(24, 182, 193, 0.15), transparent 22rem),
    radial-gradient(circle at 90% 100%, rgba(237, 107, 45, 0.14), transparent 24rem),
    #1f1323;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.6fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border-radius: 15px;
}

.footer-brand span {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.56);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact a {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.44);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

/* Floating actions */
.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 18px;
  color: #fff;
  background: #178e55;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(23, 142, 85, 0.28);
  font-size: 0.86rem;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.whatsapp-float:hover {
  box-shadow: 0 22px 46px rgba(23, 142, 85, 0.36);
  transform: translateY(-3px);
}

.whatsapp-float span:first-child {
  font-size: 1.18rem;
}

.back-to-top {
  position: fixed;
  z-index: 89;
  right: 30px;
  bottom: 88px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--purple-deep);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* El contenido siempre permanece visible.
   JavaScript solo mejora la navegación y no controla la visibilidad. */
.reveal {
  opacity: 1;
  transform: none;
}

/* Motion */
@keyframes morph {
  0% {
    border-radius: 46% 54% 56% 44% / 42% 43% 57% 58%;
  }
  100% {
    border-radius: 56% 44% 43% 57% / 52% 58% 42% 48%;
  }
}

@keyframes scrollDot {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 12px);
  }
}

/* Responsive */
@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr 0.78fr;
    gap: 42px;
  }

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

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

  .change-card {
    padding: 58px;
  }
}

@media (max-width: 880px) {
  .site-header {
    padding: 8px 0;
    background: rgba(255, 253, 249, 0.9);
    box-shadow: 0 8px 28px rgba(53, 22, 63, 0.08);
    backdrop-filter: blur(18px);
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 10px;
    visibility: hidden;
    background: rgba(255, 253, 249, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav > a {
    padding: 14px 15px;
  }

  .main-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 100px;
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1 strong,
  .hero-invitation {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-statement,
  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 490px;
  }

  .logo-stage {
    width: min(82vw, 430px);
  }

  .identity-card {
    right: 8%;
  }

  .intro-grid,
  .therapy-map-grid,
  .change-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 38px;
  }

  .intro-message {
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .therapy-map-grid {
    gap: 45px;
  }

  .therapy-art {
    min-height: 460px;
  }

  .change-card {
    gap: 42px;
  }

  .contact-grid {
    gap: 60px;
  }

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

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 82px 0;
  }

  .brand-text small {
    display: none;
  }

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

  .hero {
    padding-top: 112px;
  }

  .hero-copy h1 span {
    font-size: clamp(2.95rem, 15vw, 4.6rem);
  }

  .hero-copy h1 strong {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-statement {
    display: grid;
    justify-content: center;
    text-align: left;
  }

  .hero-actions,
  .change-actions {
    display: grid;
    width: 100%;
  }

  .hero-actions .button,
  .change-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 400px;
  }

  .logo-stage {
    width: min(84vw, 360px);
  }

  .identity-card {
    right: 0;
    bottom: 0;
    min-width: 210px;
    padding: 18px 20px;
  }

  .scroll-cue {
    display: none;
  }

  .intro-band {
    padding: 72px 0;
  }

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

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

  .therapy-art {
    min-height: 360px;
  }

  .art-core {
    width: 180px;
    height: 180px;
  }

  .ring-one {
    width: 280px;
    height: 280px;
  }

  .ring-two {
    width: 350px;
    height: 350px;
  }

  .dot-one {
    top: 44px;
    left: 9%;
    width: 42px;
    height: 42px;
  }

  .dot-two {
    right: 4%;
    bottom: 54px;
    width: 56px;
    height: 56px;
  }

  .therapy-list li {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .change-section {
    padding-top: 82px;
  }

  .change-card {
    width: min(calc(100% - 20px), var(--container));
    padding: 46px 24px;
    border-radius: 30px;
  }

  .change-contact {
    padding: 26px 20px;
  }

  .social-card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px;
    text-align: center;
  }

  .social-symbol {
    width: 110px;
    height: 110px;
    margin: 0 auto;
    font-size: 3rem;
  }

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

  .contact-details > *:last-child {
    grid-column: auto;
  }

  .contact-panel {
    padding: 34px 24px;
  }

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

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }

  .whatsapp-label {
    display: none;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    min-height: 54px;
    padding: 0;
    justify-content: center;
  }

  .back-to-top {
    right: 22px;
    bottom: 82px;
  }
}

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

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