/*
  Estilos principales para el sitio de la Dra. Areli García.
  La paleta de colores se define como variables CSS para que puedas
  ajustarla fácilmente a los tonos exactos que desees.
*/

:root {
  /* Colores base tomados de los logotipos de la Dra. Areli. */
  --primary-color: #c8677d;       /* Rosa principal del logo */
  --highlight-color: #687539;     /* Verde olivo del logotipo */
  --secondary-color: #f7ebef;     /* Fondo suave para secciones claras */
  --background-color: #fff8f9;    /* Fondo general del sitio */
  --text-color: #333333;          /* Color principal para textos */
}

/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: 'Lora', serif;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

ul {
  list-style: none;
  padding: 0;
}

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

/* Utilidades */
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

section[id],
.specialty-card[id] {
  scroll-margin-top: 8rem;
}

/* Botones */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--highlight-color);
  border-color: var(--highlight-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Navegación */
header {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav ul li a {
  font-weight: 600;
  color: var(--text-color);
}

.main-nav ul li a:hover {
  color: var(--primary-color);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--text-color);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: var(--primary-color);
  outline: none;
}

.nav-dropdown-toggle i {
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 50%;
  width: 360px;
  padding: 0.55rem 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(200, 103, 125, 0.14);
  box-shadow: 0 28px 48px rgba(73, 57, 51, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.nav-submenu a {
  display: block;
  padding: 1rem 1.2rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-submenu a + a {
  border-top: 1px solid rgba(104, 117, 57, 0.08);
}

.nav-submenu a:hover {
  background: rgba(247, 235, 239, 0.72);
}

.nav-submenu strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #24333a;
  font-size: 1rem;
}

.nav-submenu span {
  display: block;
  color: #6e6663;
  font-size: 0.83rem;
  line-height: 1.45;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown:focus-within .nav-dropdown-toggle i,
.nav-dropdown.is-open .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-cta {
  margin-left: 2rem;
}

/* Hero */
.hero {
  padding-top: 7rem; /* espacio para el header fijo */
  padding-bottom: 4rem;
  background:
    radial-gradient(circle at top left, rgba(200, 103, 125, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(104, 117, 57, 0.12), transparent 26%),
    linear-gradient(180deg, #fffaf8 0%, var(--secondary-color) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hero-text {
  max-width: 600px;
  text-align: center;
}

.hero-eyebrow,
.section-eyebrow {
  margin-bottom: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--highlight-color);
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.04;
  color: #1f1d1c;
}

.hero-text p {
  max-width: 34rem;
  font-size: 1.08rem;
  margin-bottom: 2rem;
  color: #4e4644;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(200, 103, 125, 0.12);
  box-shadow: 0 14px 30px rgba(109, 89, 81, 0.08);
  text-align: left;
}

.hero-trust-item i {
  color: var(--primary-color);
  margin-top: 0.15rem;
}

.hero-trust-item span {
  color: #4b4442;
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 32px;
  box-shadow: 0 30px 56px rgba(95, 76, 69, 0.16);
}

/* About */
.about {
  background-color: #ffffff;
  padding: 5rem 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.about-text {
  max-width: 600px;
}

.about-text ul.credentials {
  margin-top: 1rem;
  margin-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
}

.about-text ul.credentials li {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 2.4rem;
  margin-bottom: 0;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(200, 103, 125, 0.12);
  box-shadow: 0 12px 24px rgba(111, 89, 81, 0.08);
}

.about-text ul.credentials li::before {
  content: '\f00c'; /* FontAwesome check icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
}

/* Training */
.training {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top left, rgba(104, 117, 57, 0.08), transparent 22%),
    radial-gradient(circle at bottom right, rgba(200, 103, 125, 0.1), transparent 24%),
    #ffffff;
}

.training-heading {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.training-eyebrow {
  margin-bottom: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--highlight-color);
}

.training-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}

.training-layout-compact {
  align-items: stretch;
}

.training-profile-card {
  position: sticky;
  top: 7.5rem;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6c2cc 0%, #f9d8df 100%);
  box-shadow: 0 24px 44px rgba(111, 85, 78, 0.12);
}

.training-profile-card img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  display: block;
}

.training-profile-copy {
  padding: 1.35rem 1.35rem 1.5rem;
}

.training-profile-copy h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: #243239;
}

.training-profile-copy p {
  margin-bottom: 0.5rem;
  color: #2d373c;
}

.training-summary {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

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

.training-highlight-card {
  padding: 1.5rem;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(200, 103, 125, 0.12);
  box-shadow: 0 18px 36px rgba(115, 90, 83, 0.08);
}

.training-highlight-label {
  margin-bottom: 0.65rem;
  color: var(--highlight-color);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.training-highlight-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
  color: #243239;
}

.training-highlight-card p:last-child {
  margin-bottom: 0;
  color: #4f4845;
}

.training-detail-group {
  display: grid;
  gap: 1rem;
}

.training-detail {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(200, 103, 125, 0.12);
  box-shadow: 0 16px 30px rgba(115, 90, 83, 0.07);
  overflow: hidden;
}

.training-detail summary {
  position: relative;
  padding: 1.2rem 3.4rem 1.2rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #273239;
}

.training-detail summary::-webkit-details-marker {
  display: none;
}

.training-detail summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.4rem;
  line-height: 1;
}

.training-detail[open] summary::after {
  content: "−";
}

.training-detail-list {
  padding: 0 1.25rem 1.25rem;
}

.training-detail-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.7rem;
  color: #4f4845;
}

.training-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--primary-color);
}

.training-columns {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}

.training-column {
  padding: 1.7rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(200, 103, 125, 0.12);
  box-shadow: 0 20px 40px rgba(115, 90, 83, 0.08);
}

.training-column h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.training-item + .training-item {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(104, 117, 57, 0.12);
}

.training-item h4 {
  margin-bottom: 0.4rem;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--primary-color);
}

.training-item h4 span {
  color: #6f6661;
  font-weight: 600;
}

.training-item p:last-child {
  margin-bottom: 0;
}

.training-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.85rem;
  color: #4d4644;
}

.training-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary-color);
}

/* Primera consulta */
.consultation-journey {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top right, rgba(200, 103, 125, 0.1), transparent 22%),
    radial-gradient(circle at bottom left, rgba(104, 117, 57, 0.1), transparent 24%),
    #fffaf8;
}

.consultation-heading,
.care-approach-heading,
.faq-heading {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.consultation-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 0.95fr;
  gap: 1.4rem;
  align-items: start;
}

.consultation-step,
.consultation-aside,
.care-card,
.faq-item {
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(200, 103, 125, 0.14);
  box-shadow: 0 20px 40px rgba(111, 88, 81, 0.1);
}

.consultation-step {
  padding: 1.65rem;
  min-height: 100%;
}

.consultation-step-number {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 103, 125, 0.16), rgba(104, 117, 57, 0.16));
  color: var(--primary-color);
  font-weight: 700;
}

.consultation-step h3,
.consultation-aside h3 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.consultation-aside {
  padding: 1.7rem;
  background: linear-gradient(180deg, #ffffff 0%, #fff4f1 100%);
}

.consultation-aside-tag {
  margin-bottom: 0.65rem;
  color: var(--highlight-color);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.consultation-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.7rem;
  color: #4b4543;
}

.consultation-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--primary-color);
}

.consultation-aside-note {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(247, 235, 239, 0.9);
}

/* Services */
.services {
  background-color: var(--secondary-color);
  padding: 5rem 0;
  text-align: center;
}

.services-intro {
  max-width: 760px;
  margin: 0 auto;
}

.services-visuals {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.service-visual {
  position: relative;
  min-height: 260px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 44px rgba(116, 94, 83, 0.15);
}

.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(25, 28, 29, 0.06) 10%,
    rgba(27, 29, 29, 0.62) 100%
  );
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-visual figcaption {
  position: absolute;
  inset: auto 1.25rem 1.25rem;
  z-index: 1;
  text-align: left;
  color: #ffffff;
}

.service-visual figcaption h3,
.service-visual figcaption p {
  color: #ffffff;
  margin: 0;
}

.service-visual figcaption h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  max-width: 18rem;
}

.service-visual figcaption p {
  max-width: 15rem;
  line-height: 1.5;
}

.service-visual-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.7rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.service-visual-featured {
  min-height: 320px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid rgba(200, 103, 125, 0.12);
  border-radius: 22px;
  padding: 0;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(104, 117, 57, 0.12);
  border-color: rgba(104, 117, 57, 0.2);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #c8677d, #d9aab5, #687539);
}

.service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(24, 23, 24, 0.04) 0%,
    rgba(24, 23, 24, 0.28) 100%
  );
}

.service-card .icon {
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 1.35rem;
  bottom: -2rem;
  z-index: 1;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(200, 103, 125, 0.16),
    rgba(104, 117, 57, 0.12)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 1.65rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.service-card-body {
  padding: 3rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card:nth-child(2) .icon,
.service-card:nth-child(5) .icon {
  color: var(--highlight-color);
}

.service-card:nth-child(3) .icon,
.service-card:nth-child(6) .icon {
  background: linear-gradient(
    135deg,
    rgba(104, 117, 57, 0.14),
    rgba(200, 103, 125, 0.12)
  );
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.service-card p {
  color: #4d4d4d;
  line-height: 1.55;
}

.service-card p:last-child {
  margin-bottom: 0;
}

/* Tabla de servicios */
.services-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.95rem;
}
.services-table th,
.services-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eaeaea;
}
.services-table th {
  background-color: var(--highlight-color);
  color: #ffffff;
  text-align: left;
  font-weight: 600;
}
.services-table td {
  background-color: #ffffff;
  color: var(--text-color);
}
.services-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--primary-color);
}

/* Paquetes */
.packages {
  margin-top: 3rem;
  text-align: left;
}
.packages h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}
/* Contenedor de tarjetas de paquete */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Tarjeta individual de paquete */
.package-card {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.package-card h4 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.package-card .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--highlight-color);
  margin-bottom: 1rem;
}

.package-details {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 1rem;
}
.package-details li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.package-details li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
}

.package-card a.btn-primary {
  align-self: flex-start;
  margin-top: auto;
}

/* Specialties */
.specialties {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top right, rgba(200, 103, 125, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(104, 117, 57, 0.08), transparent 26%),
    #ffffff;
}

.specialties-heading {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.specialties-eyebrow {
  margin-bottom: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--highlight-color);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.specialty-card {
  min-height: 100%;
  padding: 1.8rem;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(200, 103, 125, 0.14);
  box-shadow: 0 18px 36px rgba(102, 86, 80, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(102, 86, 80, 0.12);
  border-color: rgba(104, 117, 57, 0.22);
}

.specialty-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.specialty-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(200, 103, 125, 0.16),
    rgba(104, 117, 57, 0.14)
  );
  color: var(--primary-color);
  font-size: 1.25rem;
}

.specialty-tag {
  margin: 0;
  color: #8a7c76;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.specialty-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.55rem;
  line-height: 1.2;
}

.specialty-card h3 span {
  display: block;
  margin-top: 0.18rem;
  font-size: 1.05rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #746965;
}

.specialty-card p:last-child {
  margin-bottom: 0;
  color: #4c4643;
}

.specialty-focus {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(247, 235, 239, 0.78);
  color: #4c4643;
  font-size: 0.95rem;
}

.specialty-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--primary-color);
}

.specialty-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.specialty-link:hover::after {
  transform: translateX(3px);
}

.specialties-cta {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(247, 235, 239, 0.92),
    rgba(255, 255, 255, 0.98)
  );
  border: 1px solid rgba(200, 103, 125, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.specialties-cta p {
  margin: 0;
}

/* Enfoque terapéutico */
.care-approach {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top left, rgba(104, 117, 57, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(200, 103, 125, 0.1), transparent 26%),
    #fffdfc;
}

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

.care-card {
  padding: 1.65rem;
}

.care-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(200, 103, 125, 0.16), rgba(104, 117, 57, 0.14));
  color: var(--primary-color);
  font-size: 1.25rem;
}

.care-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.care-card p {
  margin-bottom: 0;
  color: #4b4543;
}

.care-approach-note {
  max-width: 860px;
  margin: 1.5rem auto 0;
  padding: 1.2rem 1.3rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(200, 103, 125, 0.14);
  box-shadow: 0 16px 30px rgba(111, 88, 81, 0.08);
  text-align: center;
}

/* FAQ */
.faq-section {
  padding: 5rem 0;
  background: #ffffff;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 1.25rem 3.4rem 1.25rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #2e373c;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.45rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: #4d4744;
}

/* Specialty pages */
.condition-hero {
  padding: 9rem 0 4rem;
  background:
    radial-gradient(circle at 12% 24%, rgba(246, 230, 221, 0.9), transparent 22%),
    radial-gradient(circle at 82% 22%, rgba(247, 235, 239, 0.92), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fff8f6 100%);
}

.condition-hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.2rem;
  align-items: center;
}

.condition-eyebrow {
  margin-bottom: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--highlight-color);
}

.condition-hero-copy h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.04;
  color: #191818;
}

.condition-lead {
  max-width: 45rem;
  font-size: 1.18rem;
  color: #443f3d;
}

.condition-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.condition-hero-media img {
  width: 100%;
  border-radius: 34px;
  display: block;
  object-fit: cover;
  box-shadow: 0 28px 48px rgba(110, 89, 81, 0.14);
}

.condition-content {
  padding: 0 0 5rem;
  background: #ffffff;
}

.condition-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: -1rem;
}

.condition-panel,
.condition-step {
  padding: 1.65rem;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(200, 103, 125, 0.14);
  box-shadow: 0 20px 40px rgba(109, 86, 79, 0.09);
}

.condition-panel h2,
.condition-step h3 {
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
}

.condition-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  color: #4a4542;
}

.condition-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--primary-color);
}

.condition-pathway {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.condition-step p:last-child,
.condition-panel p:last-child {
  margin-bottom: 0;
}

.condition-note {
  margin-top: 2rem;
  padding: 1.3rem 1.45rem;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(247, 235, 239, 0.95),
    rgba(255, 255, 255, 0.98)
  );
  border: 1px solid rgba(200, 103, 125, 0.14);
}

.condition-cta-band {
  padding: 3.5rem 0 5rem;
  background: linear-gradient(180deg, #ffffff 0%, #fff4f0 100%);
}

.condition-cta-box {
  padding: 2rem;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(200, 103, 125, 0.14);
  box-shadow: 0 24px 42px rgba(109, 87, 80, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.condition-cta-copy h2 {
  margin-bottom: 0.45rem;
}

.condition-cta-copy p {
  margin: 0;
  max-width: 42rem;
}

/* Story gallery */
.story-gallery {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top left, rgba(200, 103, 125, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(104, 117, 57, 0.12), transparent 26%),
    #ffffff;
}

.story-gallery-copy {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.story-gallery-eyebrow {
  margin-bottom: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--highlight-color);
}

.story-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.4rem;
}

.story-card {
  position: relative;
  min-height: 260px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 46px rgba(118, 94, 88, 0.14);
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(31, 28, 29, 0.04) 20%,
    rgba(31, 28, 29, 0.7) 100%
  );
}

.story-card figcaption {
  position: absolute;
  inset: auto 1.25rem 1.25rem;
  z-index: 1;
  text-align: left;
  color: #ffffff;
}

.story-card figcaption span {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-card figcaption strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.35;
}

.story-card-tall {
  grid-row: span 2;
  min-height: 540px;
}

/* Sección de agenda */
.appointment {
  background-color: #ffffff;
  padding: 5rem 0;
  text-align: center;
}
.appointment h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.appointment p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color);
}

/* Botón del widget de agenda en la sección de cita */
.appointment .btn-primary {
  margin-top: 1rem;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(180deg, #fffaf7 0%, #fff4f1 46%, #ffffff 100%);
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}

.testimonial-header {
  max-width: 760px;
  margin: 0 auto;
}

.testimonials-eyebrow {
  margin-bottom: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--highlight-color);
}

.testimonials-intro {
  max-width: 620px;
  margin: 0.75rem auto 0;
}

.testimonial-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.testimonial-pill,
.testimonial-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(200, 103, 125, 0.16);
  box-shadow: 0 10px 28px rgba(125, 94, 82, 0.08);
}

.testimonial-pill strong {
  font-size: 1.1rem;
  color: var(--primary-color);
}

.testimonial-pill span {
  color: #695f5b;
}

.testimonial-link {
  color: var(--primary-color);
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.testimonial-link:hover {
  transform: translateY(-2px);
  border-color: rgba(104, 117, 57, 0.28);
  box-shadow: 0 16px 30px rgba(104, 117, 57, 0.12);
}

.testimonials-carousel {
  overflow: hidden;
  padding-top: 1rem;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.testimonial-track {
  --testimonial-loop-distance: 0px;
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: testimonials-marquee 260s linear infinite;
  will-change: transform;
}

.testimonials-carousel:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  position: relative;
  flex: 0 0 360px;
  min-height: 340px;
  padding: 1.5rem 1.5rem 4.75rem;
  text-align: left;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(200, 103, 125, 0.15);
  box-shadow: 0 20px 44px rgba(133, 100, 88, 0.12);
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #d48069, #f0c7bd);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #16343d, #34535b);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.testimonial-name {
  margin: 0 0 0.2rem;
  color: #27353b;
  font-family: "Montserrat", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.testimonial-service {
  margin: 0;
  font-size: 0.84rem;
  color: #877b76;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #d68068;
  font-size: 1.35rem;
}

.testimonial-stars i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #d68068 !important;
  font-style: normal;
  font-size: inherit;
  line-height: 1;
  text-shadow: 0 8px 14px rgba(214, 128, 104, 0.18);
}

.testimonial-stars i::before {
  content: "★" !important;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif !important;
  font-weight: 700;
}

.testimonial-card .quote {
  margin-bottom: 0;
  color: #433e3b;
  font-style: normal;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-meta {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #7c726e;
}

.testimonial-source {
  font-weight: 700;
  color: var(--highlight-color);
}

.testimonial-quote-mark {
  position: absolute;
  right: 1.35rem;
  bottom: 0.9rem;
  font-size: 4.3rem;
  line-height: 1;
  color: rgba(200, 103, 125, 0.18);
  pointer-events: none;
}

@keyframes testimonials-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--testimonial-loop-distance)));
  }
}

/* Contact */
.contact {
  background-color: var(--secondary-color);
  padding: 5rem 0;
  text-align: center;
}

.contact-content p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 2rem;
}

.contact-card,
.contact-map-card {
  padding: 1.7rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(200, 103, 125, 0.14);
  box-shadow: 0 24px 42px rgba(112, 88, 82, 0.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-color);
  font-size: 1rem;
}

.contact-item i {
  color: var(--primary-color);
  margin-top: 0.18rem;
}

.contact-buttons a {
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

.contact-map-card {
  text-align: left;
}

.contact-map-copy p {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.contact-map-eyebrow {
  margin-bottom: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--highlight-color);
}

.contact-map-frame {
  overflow: hidden;
  border-radius: 24px;
  margin: 1rem 0 1.2rem;
  border: 1px solid rgba(200, 103, 125, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.contact-map-link {
  margin-bottom: 0;
}

.mobile-cta-bar {
  display: none;
}

.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  font-weight: 700;
}

.mobile-cta-whatsapp {
  background: #ffffff;
  color: #1e9a4e;
}

.mobile-cta-book {
  background: var(--primary-color);
  color: #ffffff;
}

.floating-whatsapp {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(20, 120, 54, 0.28);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp i {
  font-size: 1.35rem;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 38px rgba(20, 120, 54, 0.34);
}

/* Footer */
footer {
  background-color: #ffffff;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #eaeaea;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  max-width: 44rem;
}

.footer-title {
  margin-bottom: 0.35rem;
  font-family: "Lora", serif;
  font-size: 1.35rem;
  color: var(--primary-color);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--primary-color);
  font-weight: 700;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--highlight-color);
}

.footer-legal {
  max-width: 56rem;
}

.footer-legal p {
  margin-bottom: 0.4rem;
  color: #6a615d;
  font-size: 0.92rem;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 5.9rem;
  }

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

  .contact-card,
  .contact-map-card {
    padding: 1.3rem;
    border-radius: 24px;
  }

  .contact-map-frame iframe {
    height: 300px;
  }

  .floating-whatsapp {
    display: none;
  }

  .training-layout,
  .training-columns,
  .training-highlight-grid,
  .consultation-layout,
  .care-approach-grid,
  .condition-hero-layout,
  .condition-overview,
  .condition-pathway {
    grid-template-columns: 1fr;
  }

  .training-profile-card {
    position: static;
  }

  .condition-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .specialties-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-visuals,
  .story-gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-visual-featured,
  .story-card-tall {
    min-height: 320px;
  }

  .service-card-media {
    height: 200px;
  }

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

  .testimonial-stats {
    justify-content: flex-start;
  }

  .testimonials-carousel {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .testimonial-card {
    flex-basis: 285px;
    min-height: 360px;
    padding: 1.35rem 1.25rem 4.5rem;
  }

  .testimonial-track {
    animation-duration: 200s;
  }

  .testimonial-quote-mark {
    font-size: 3.8rem;
    right: 1rem;
  }

  .mobile-cta-bar {
    position: fixed;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    z-index: 1090;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.7rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(200, 103, 125, 0.16);
    box-shadow: 0 22px 42px rgba(86, 67, 62, 0.18);
    backdrop-filter: blur(14px);
  }
}

@media (max-width: 960px) {
  section[id],
  .specialty-card[id] {
    scroll-margin-top: 12rem;
  }

  .nav-container {
    flex-wrap: wrap;
    row-gap: 1rem;
  }

  .main-nav {
    order: 3;
    width: 100%;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-submenu {
    width: min(92vw, 360px);
  }

  .hero {
    padding-top: 11.5rem;
  }

  .condition-hero {
    padding-top: 12.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
  }

  .testimonials-carousel {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Media queries */
@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .hero-text {
    text-align: left;
  }
  .hero-buttons {
    justify-content: flex-start;
  }
  .about-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .about-image,
  .about-text {
    flex: 1;
  }
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-text p {
    font-size: 1.25rem;
  }
}
