:root {
  color-scheme: light;
  --bg: #ede9e2;
  --bg-soft: rgba(255, 252, 246, 0.72);
  --card: rgba(255, 255, 255, 0.6);
  --card-strong: rgba(255, 255, 255, 0.82);
  --text: #171717;
  --muted: #5e5b55;
  --line: rgba(23, 23, 23, 0.08);
  --shadow: 0 24px 80px rgba(90, 78, 58, 0.12);
  --olive: #7a7a58;
  --olive-dark: #646446;
  --olive-soft: rgba(122, 122, 88, 0.14);
  --radius-xl: 40px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 999px;
  --container: 1360px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.92), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(255, 248, 236, 0.8), transparent 25%),
    linear-gradient(180deg, #f5f0ea 0%, #ebe6de 100%);
  overflow-x: hidden;
}

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

button,
summary {
  font: inherit;
}

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

.page {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 32px;
  position: relative;
}

.ambient {
  position: fixed;
  inset: auto;
  z-index: -1;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}

.ambient-one {
  width: 360px;
  height: 360px;
  top: -70px;
  left: -120px;
  background: rgba(255, 255, 255, 0.8);
}

.ambient-two {
  width: 420px;
  height: 420px;
  top: 180px;
  right: -160px;
  background: rgba(179, 164, 134, 0.18);
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-xl);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: fit-content;
}

.brand-name {
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.brand-subtitle {
  color: #847f74;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 1rem;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 0 10px;
  color: #4d4a44;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  transition: color 180ms ease, transform 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.chevron {
  width: 7px;
  height: 7px;
  margin-top: -2px;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.8;
}

.mobile-menu {
  display: none;
  justify-self: end;
  position: relative;
}

.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--text);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  display: grid;
  min-width: 220px;
  padding: 12px;
  gap: 6px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 12px 14px;
  border-radius: 16px;
  color: #47443d;
}

.mobile-menu nav a:last-child {
  background: var(--olive);
  color: #fff;
}

.mobile-menu[open] summary {
  background: rgba(255, 255, 255, 0.82);
}

.section {
  margin-top: 28px;
}

.panel,
.hero {
  border-radius: var(--radius-xl);
}

.hero {
  padding: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 0;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 20px 8px;
  max-width: 620px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--olive-dark);
}

.eyebrow-muted {
  color: var(--olive);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 4.35vw, 5.45rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  max-width: 15ch;
}

.lead,
.section-lead,
.about-copy p,
.therapy-card p,
.contact-card a,
.feature p {
  line-height: 1.8;
  color: var(--muted);
}

.lead {
  max-width: 38ch;
  font-size: 1.12rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
}

.cta-dark {
  background: linear-gradient(180deg, #7d7c58 0%, #696846 100%);
  color: #fff;
  box-shadow: 0 18px 38px rgba(105, 104, 70, 0.24);
}

.cta-light {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--line);
  color: var(--text);
}

.cta-icon {
  font-size: 1.1em;
}

.hero-visual {
  position: relative;
  z-index: 1;
  height: clamp(500px, 48vw, 660px);
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 34px 34px 0;
  background: transparent;
  box-shadow: none;
  margin-left: -72px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 78%;
  display: block;
  filter: saturate(0.9) contrast(0.96) brightness(1.05);

  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 8%,
    black 28%,
    black 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 8%,
    black 28%,
    black 100%
  );
}


.hero-features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding: 22px 20px 4px;
  border-top: 1px solid rgba(23, 23, 23, 0.07);
}

.feature {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 10px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: var(--olive-dark);
  border: 1px solid rgba(23, 23, 23, 0.06);
  flex: none;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.6;
}

.feature h2 {
  margin-bottom: 3px;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.feature p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.panel {
  padding: 38px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 30px;
}

.section-head.centered {
  text-align: center;
}

.section-head h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.7vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.section-lead {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 1.03rem;
  text-align: justify;
}

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

.therapy-card {
  padding: 20px 20px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 23, 23, 0.06);
  box-shadow: 0 16px 40px rgba(87, 73, 56, 0.06);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.therapy-card:hover,
.therapy-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(87, 73, 56, 0.1);
  border-color: rgba(122, 122, 88, 0.18);
}

.therapy-icon {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(122, 122, 88, 0.1);
  color: var(--olive-dark);
}

.therapy-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.6;
}

.therapy-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.therapy-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--olive-dark);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.about-copy {
  max-width: 720px;
}

.about-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.about-copy p {
  font-size: 1.03rem;
  margin-bottom: 16px;
}

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

.credentials span {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(122, 122, 88, 0.08);
  border: 1px solid rgba(122, 122, 88, 0.12);
  color: #514f46;
  font-size: 0.9rem;
  font-weight: 700;
}

.about-visual {
  min-height: 340px;
  display: grid;
  place-items: center;
}


.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.contact-card {
  padding: 22px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 23, 23, 0.06);
}

.contact-label {
  display: block;
  margin-bottom: 8px;
  color: #817c70;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.7rem;
  font-weight: 800;
}

.contact-card a {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-actions {
  justify-content: center;
}

.reveal {
  animation: rise 0.8s ease both;
}

.hero-copy {
  animation-delay: 0.06s;
}

.hero-visual {
  animation: rise 0.9s ease 0.1s both;
}

.hero-features .feature:nth-child(1) {
  animation: rise 0.8s ease 0.18s both;
}

.hero-features .feature:nth-child(2) {
  animation: rise 0.8s ease 0.26s both;
}

.hero-features .feature:nth-child(3) {
  animation: rise 0.8s ease 0.34s both;
}

.whatsapp-float,
.social-float {
  position: fixed;
  right: 22px;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.whatsapp-float {
  bottom: 22px;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.32);
}

.social-float-instagram {
  bottom: 88px;
  background: linear-gradient(145deg, #f9ce34, #ee2a7b 52%, #6228d7);
  box-shadow: 0 12px 28px rgba(125, 40, 180, 0.24);
}

.social-float-linkedin {
  bottom: 154px;
  background: #0a66c2;
  box-shadow: 0 12px 28px rgba(10, 102, 194, 0.25);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible,
.social-float:hover,
.social-float:focus-visible {
  transform: translateY(-4px) scale(1.06);
}

.whatsapp-float svg,
.social-float svg {
  width: 27px;
  height: 27px;
}

.whatsapp-float svg {
  fill: currentColor;
}

.social-float svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.social-float-linkedin svg {
  fill: currentColor;
  stroke: none;
}

.site-footer {
  margin-top: 28px;
  padding: 38px;
  border-radius: var(--radius-xl);
}

.instagram-block {
  max-width: 520px;
}

.instagram-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}

.instagram-box:hover,
.instagram-box:focus-visible {
  transform: translateY(-3px);
  background: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--olive-dark);
  border: 1px solid rgba(23, 23, 23, 0.08);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-3px);
  background: #fff;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.social-links svg path {
  fill: currentColor;
  stroke: none;
}

.social-dot {
  fill: currentColor;
  stroke: none;
}

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

.social-highlight-grid .instagram-block {
  max-width: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-8px) translateX(2px);
  }
}

@media (max-width: 720px) {
  .page {
    padding-top: 2px;
  }

  .site-header {
    top: 4px;
    padding: 9px 13px;
    min-height: 64px;
    border-radius: 22px;
  }

  .brand {
    gap: 1px;
  }

  .brand-name {
    font-size: 1.5rem;
    letter-spacing: -0.06rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
  }

  .mobile-menu summary {
    padding: 8px 13px;
    font-size: 0.9rem;
  }

  .site-header + main .hero {
    margin-top: 6px;
  }
  
  .hero {
    padding: 18px 18px 16px;
    overflow: hidden;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  /* Eyebrow */

  .hero-copy .eyebrow {
    order: 1;
    display: block;
    margin: 0 !important;
    padding: 0;
    font-size: 0.68rem;
    line-height: 1.2;
    letter-spacing: 0.28em;
  }

  /* Título */

  .hero-copy h1 {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin: -10px 0 0px !important;
    padding: 0;
    font-size: clamp(2.45rem, 10.8vw, 3.25rem);
    line-height: 0.94;
    letter-spacing: -0.07em;
  }

  /* Imagen */

  .hero-grid > .hero-visual {
    order: 3;
    width: 100%;
    height: 220px;
    min-height: 220px;
    margin: 0 0 0px !important;
    border-radius: 22px;
    overflow: hidden;
  }

  .hero-grid > .hero-visual .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* Textos */

  .hero-copy .lead {
    width: 100%;
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.28;
    letter-spacing: 0;
    word-spacing: 0.02em;
    text-align: left;
  }

  .hero-copy .lead-intro {
    order: 4;
    margin: 0 0 0px !important;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  .hero-copy .lead-message {
    order: 5;
    margin: 0 0 0px !important;
    justify-content: baseline;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  /* Botones */

  .hero-actions {
    order: 6;
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 70%;
    margin: 0 !important;
  }

  .hero-actions .cta {
    width: 100%;
    min-height: 45px;
    padding: 0 16px;
    font-size: 0.78rem;
  }

  /* Bloque de características, después del hero */

  .hero-features {
    order: 7;
    grid-template-columns: 1fr;
    margin-top: 20px;
    padding: 18px 0 0;
  }

  /* Sobre mí */

  .about {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  .about-copy {
    width: 100%;
    max-width: none;
  }

  .about-visual {
    width: 100%;
    min-height: 0;
    margin: -20px -10px 0 0px;
    margin-bottom: 10px;
    padding: 0;
    display: flex;
    justify-content: center;
    overflow: visible;
  }

  .about-visual .hero-visual {
    width: 100%;
    height: 280px;
    min-height: 280px;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    transform: none;
  }

  .about-visual .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    margin: 0 auto;
  }

  .about-details {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 10px;
  }

  .about-expanded {
    display: block;
    width: 100%;
  }

  .contact-grid {
    width: 100%;
    margin-left: -10px;
    margin-right: 0;
    padding: 0;
    grid-template-columns: 1fr;
  }

  .contact-card {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .social-highlight-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 24px 18px;
    border-radius: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 38px;
  }

  /* Redes flotantes */

  .whatsapp-float,
  .social-float {
    right: 16px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float {
    bottom: 16px;
  }

  .social-float-instagram {
    bottom: 78px;
  }

  .social-float-linkedin {
    bottom: 140px;
  }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-visual {
    height: clamp(460px, 62vw, 610px);
    min-height: 0;
    margin-left: 0;
    border-radius: 28px;
  }

  .hero-image {
    object-position: 62% 58%;

    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.2) 8%,
      black 24%,
      black 100%
    );
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.2) 8%,
      black 24%,
      black 100%
    );
  }
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .site-header > .cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

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

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

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

  .about-expanded {
    grid-template-columns: 1fr;
  }
}


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

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

.about-details {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  cursor: pointer;
  color: var(--olive-dark);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  list-style: none;
  user-select: none;
}

.more-link::-webkit-details-marker {
  display: none;
}

.more-link::marker {
  content: "";
}

.more-link:hover,
.more-link:focus-visible {
  color: var(--text);
}

.more-arrow {
  display: inline-block;
  font-size: 1.25rem;
  line-height: 0.7;
  transition: transform 240ms ease;
}

.more-label-close {
  display: none;
}

.about-details[open] .more-label-open {
  display: none;
}

.about-details[open] .more-label-close {
  display: inline;
}

.about-details[open] .more-arrow {
  transform: rotate(-90deg);
}


.about-expanded {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  width: 100%;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  animation: about-open 360ms ease both;
}

.training-list,
.about-story {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.about-story {
  font-style: italic;
}

.training-list p,
.about-story p {
  margin-bottom: 13px;
}

.training-list p:last-child,
.about-story p:last-child {
  margin-bottom: 0;
}

.training-list strong {
  color: var(--text);
  font-weight: 700;
}

@keyframes about-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

@keyframes slide-in-from-left {
  0% {
    opacity: 0;
    transform: translateX(-260px);
  }

  72% {
    opacity: 1;
    transform: translateX(14px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Tarjetas de terapias */

.therapy-card {
  opacity: 0;
  animation-name: slide-in-from-left;
  animation-duration: 1.2s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 40% cover 55%;
}

.therapy-card:nth-child(1) {
  animation-delay: 0ms;
}

.therapy-card:nth-child(2) {
  animation-delay: 180ms;
}

.therapy-card:nth-child(3) {
  animation-delay: 360ms;
}

/* Imagen image1.png */

.about-visual {
  opacity: 0;
  animation-name: slide-in-from-left;
  animation-duration: 1.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 25% cover 50%;
}

/* Quitamos la animación antigua del elemento interno */

.about-visual .hero-visual {
  animation: none;
}

/* Tarjetas de contacto */

.contact-card {
  opacity: 0;
  animation-name: slide-in-from-left;
  animation-duration: 1.2s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 15% cover 25%;
}

.contact-card:nth-child(1) {
  animation-delay: 0ms;
}

.contact-card:nth-child(2) {
  animation-delay: 180ms;
}
