/* ==========================================================================
   Dra. Stephanie — Landing dental
   Prefijo de clases: ds-
   Tipografías: Fraunces (serif suave, títulos) + Nunito (sans redondeada, texto)
   Dirección: pastel rosa y lila sobre base clara, superficies planas y suaves
   ========================================================================== */

:root {
  --ds-base: #fdf8fb;
  --ds-blush: #fbe9f0;
  --ds-blush-2: #f6d6e3;
  --ds-lilac: #efe7f7;
  --ds-lilac-2: #e1d4f0;

  --ds-aubergine: #4a2a5e;
  --ds-text: #5e4b6e;
  --ds-mauve: #7c4a93;
  --ds-mauve-deep: #653a7a;
  --ds-rose: #a8476f;
  --ds-rose-soft: #e3a3bc;
  --ds-gold: #e7b04a;

  --ds-line: rgba(124, 74, 147, 0.18);
  --ds-shadow: 0 30px 60px -36px rgba(94, 56, 120, 0.45);

  --ds-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --ds-sans: "Nunito", system-ui, sans-serif;
}

/* ---------- Base ---------- */
html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ds-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ds-text);
  background: var(--ds-base);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
.ds-step-num,
.ds-quote blockquote p,
.ds-faq .accordion-button {
  font-family: var(--ds-serif);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-optical-sizing: auto;
}

h1,
h2,
h3 {
  color: var(--ds-aubergine);
  font-weight: 450;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  margin: 0 0 1.5rem;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ds-mauve);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Imágenes de fondo (con velo pastel por sección) ---------- */
.ds-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

/* ---------- Botones ---------- */
.ds-btn {
  display: inline-block;
  font-family: var(--ds-sans);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  padding: 1rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ds-btn i {
  font-size: 1.15rem;
  margin-right: 0.6rem;
  vertical-align: -0.08em;
}

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

.ds-btn--primary {
  background: var(--ds-mauve);
  color: #fff;
  box-shadow: 0 16px 28px -16px rgba(101, 58, 122, 0.8);
}

.ds-btn--primary:hover {
  background: var(--ds-mauve-deep);
  color: #fff;
}

.ds-btn--white {
  background: #fff;
  color: var(--ds-mauve-deep);
  box-shadow: 0 16px 28px -18px rgba(0, 0, 0, 0.45);
}

.ds-btn--white:hover {
  color: var(--ds-aubergine);
}

.ds-btn--soft {
  background: #fff;
  color: var(--ds-mauve-deep);
  border-color: var(--ds-lilac-2);
}

.ds-btn--soft:hover {
  background: var(--ds-lilac);
  color: var(--ds-aubergine);
}

/* ---------- Etiquetas y encabezados de sección ---------- */
.ds-eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.3rem 1.05rem;
  border-radius: 999px;
  background: var(--ds-blush);
  color: var(--ds-rose);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
}

.ds-head {
  max-width: 38rem;
  margin: 0 auto 3.5rem;
}

.ds-head h2 {
  margin: 0;
}

/* ---------- Encabezado ---------- */
.ds-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1.5rem 0;
}

.ds-logo {
  display: inline-block;
  line-height: 0;
}

.ds-logo img {
  border-radius: 12px;
}

.ds-phone {
  display: inline-block;
  font-weight: 800;
  color: var(--ds-aubergine);
  text-decoration: none;
}

.ds-phone-ico {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.65rem;
  border-radius: 50%;
  background: #fff;
  color: var(--ds-mauve);
  font-size: 1rem;
  line-height: 2.5rem;
  text-align: center;
  box-shadow: 0 8px 18px -10px rgba(94, 56, 120, 0.5);
}

/* ---------- Hero ---------- */
.ds-hero {
  position: relative;
  isolation: isolate;
  padding: 8.5rem 0 6rem;

}

.ds-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(253, 248, 251, 0.7) 0%, rgba(253, 248, 251, 0.5) 46%, rgba(248, 220, 232, 0.4) 100%);
}

.ds-lead {
  max-width: 36rem;
  margin-bottom: 2rem;
  font-size: 1.15rem;
}

.ds-note {
  margin: 1rem 0 0;
  font-size: 1rem;
}

/* Composición de la foto: planos pastel detrás, sin bordes */
.ds-visual {
  position: relative;
  max-width: 100%
  margin: 0 auto;
  padding: 1.5rem 1.75rem 2.5rem 2rem;
}

.ds-visual-block {
  position: absolute;
  border-radius: 32px;
}

.ds-visual-block--rose {
  top: 0;
  right: 0;
  width: 72%;
  height: 70%;
  background: var(--ds-blush-2);
}

.ds-visual-block--lilac {
  left: 0;
  bottom: 0;
  width: 60%;
  height: 52%;
  background: var(--ds-lilac-2);
}

.ds-photo {
  position: relative;
  margin: 0;
  border-radius: 28px;

}

.ds-photo img {
  display: block;
  width: 100%;
  border-radius: 28px;
}

.ds-rating {
  position: absolute;
  left: -0.5rem;
  bottom: 3.75rem;
  padding: 0.8rem 1.15rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 40px -22px rgba(74, 42, 94, 0.55);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--ds-aubergine);
}

.ds-stars {
  display: inline-block;
  margin-right: 0.45rem;
  color: var(--ds-gold);
  white-space: nowrap;
}

.ds-stars i {
  font-size: 1rem;
}

/* Entrada única del hero */
.ds-rise {
  animation: ds-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.ds-rise--late {
  animation-delay: 0.2s;
}

@keyframes ds-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Marquee ---------- */
.ds-marquee-band {
  border-top: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
  background: var(--ds-lilac);
}

.ds-marquee .swiper-wrapper {
  transition-timing-function: linear !important;
}

.ds-marquee .swiper-slide {
  width: auto;
  padding: 1.1rem 0;
  white-space: nowrap;
  font-family: var(--ds-serif);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--ds-aubergine);
}

.ds-marquee .swiper-slide::after {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 2.25rem;
  border-radius: 50%;
  background: var(--ds-rose-soft);
  vertical-align: middle;
}

/* ---------- Beneficios ---------- */
.ds-benefits {
  padding: 6rem 0 5rem;
}

.ds-benefit {
  height: 100%;
  padding: 2rem 1.9rem 2.1rem;
  border-radius: 36px 36px 36px 12px;
}

.ds-benefit--blush {
  background: var(--ds-blush);
}

.ds-benefit--lilac {
  background: var(--ds-lilac);
  border-radius: 36px 36px 12px 36px;
}

.ds-benefit h3 {
  font-size: 1.4rem;
}

.ds-benefit p {
  margin: 0;
}

.ds-benefit-ico {
  display: block;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  background: #fff;
  color: var(--ds-mauve);
  font-size: 1.25rem;
  line-height: 3.4rem;
  text-align: center;
}

@media (min-width: 768px) {
  .ds-benefit-col:nth-child(even) {
    margin-top: calc(var(--bs-gutter-y) + 2.25rem);
  }
}

/* ---------- Imagen a ancho de contenedor ---------- */
.ds-banner {
  padding: 0 0 6rem;
}

.ds-banner-fig {
  margin: 0;
  border-radius: 40px;
  box-shadow: var(--ds-shadow);
}

.ds-banner-fig img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 40px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .ds-banner-fig img {
    aspect-ratio: 21 / 9;
  }
}
/* ---------- Servicios (carta de tratamientos) ---------- */
.ds-services {
  padding: 6rem 0;
}

.ds-menu {
  padding: 0.75rem 3rem;
  border-radius: 40px;
  background: #fff;
  box-shadow: var(--ds-shadow);
}

.ds-menu-row {
  padding: 1.75rem 0;
  border-top: 1px solid var(--ds-line);
}

/* Sin línea superior en la primera fila */
.ds-menu-col:first-child .ds-menu-row {
  border-top: 0;
}

@media (min-width: 992px) {
  .ds-menu-col:nth-child(2) .ds-menu-row {
    border-top: 0;
  }
}

.ds-menu h3 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}

.ds-menu-thumb {
  position: relative;
  margin: 0;
  border-radius: 20px;
  box-shadow: 0 18px 30px -22px rgba(94, 56, 120, 0.6);
}

.ds-menu-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 20px;
  object-fit: cover;
}

/* Botón de WhatsApp sobre la imagen (abajo a la izquierda) */
.ds-menu-wa {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: inline-block;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--ds-mauve);
  box-shadow: 0 12px 22px -10px rgba(101, 58, 122, 0.8);
  color: #fff;
  font-size: 1.5rem;
  line-height: 2.9rem;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ds-menu-wa:hover {
  background: var(--ds-mauve-deep);
  color: #fff;
  transform: translateY(-2px);
}

.ds-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds-menu li {
  position: relative;
  margin-bottom: 0.35rem;
  padding-left: 1.5rem;
}

.ds-menu li:last-child {
  margin-bottom: 0;
}

.ds-menu li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ds-rose-soft);
}
/* ---------- Pasos ---------- */
.ds-steps {
  margin: 0 1rem 6rem;
  padding: 5.5rem 0 6rem;
  border-radius: 48px;
  background: var(--ds-lilac);
}

.ds-step {
  position: relative;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(124, 74, 147, 0.3);
}

.ds-step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ds-mauve);
}

.ds-step-num {
  display: block;
  margin-bottom: 0.9rem;
  font-weight: 350;
  font-size: 4.5rem;
  line-height: 1;
  color: #b4638c;
}

.ds-step h3 {
  font-size: 1.45rem;
}

.ds-step p {
  margin: 0;
}

.ds-link {
  color: var(--ds-rose);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.ds-link:hover {
  color: var(--ds-mauve-deep);
}

.ds-link i {
  margin-right: 0.4rem;
}

/* ---------- Testimonios ---------- */
.ds-testi {
  position: relative;
  isolation: isolate;
  padding: 5.5rem 0 6rem;
  background: var(--ds-blush);
}

.ds-testi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: rgba(251, 233, 240, 0.72);
}

.ds-testi h2 {
  margin: 0;
}

.ds-testi .ds-eyebrow {
  background: #fff;
}

.ds-arrow {
  width: 3.1rem;
  height: 3.1rem;
  margin-left: 0.5rem;
  padding: 0;
  border: 1px solid rgba(124, 74, 147, 0.3);
  border-radius: 50%;
  background: #fff;
  color: var(--ds-mauve);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ds-arrow:hover {
  background: var(--ds-mauve);
  color: #fff;
}

.ds-arrow.swiper-button-lock {
  display: none;
}

.ds-arrow.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}

.ds-testi-swiper {
  margin-top: 2rem;
  padding: 0.5rem 0.5rem 2.5rem;
}

.ds-testi-swiper .swiper-slide {
  height: auto;
}

.ds-quote {
  height: 100%;
  margin: 0;
  padding: 2.1rem 1.9rem 1.9rem;
  border-radius: 32px 32px 32px 12px;
  background: #fff;
  box-shadow: 0 24px 40px -30px rgba(94, 56, 120, 0.45);
}

.ds-quote .ds-stars {
  margin: 0;
}

.ds-quote blockquote {
  margin: 1rem 0 1.5rem;
}

.ds-quote blockquote p {
  margin: 0;
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ds-aubergine);
}

.ds-quote figcaption {
  font-size: 1rem;
  color: var(--ds-text);
}

.ds-quote figcaption strong {
  color: var(--ds-aubergine);
}

.ds-quote figcaption span {
  color: var(--ds-rose);
  font-weight: 700;
}

.ds-testi-pag {
  margin-top: 0.5rem;
  text-align: center;
}

.ds-testi-pag.swiper-pagination-lock {
  display: none;
}

.ds-testi-pag .swiper-pagination-bullet {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin: 0 0.3rem;
  border-radius: 999px;
  background: var(--ds-mauve);
  opacity: 0.25;
  cursor: pointer;
  transition: width 0.25s ease, opacity 0.25s ease;
}

.ds-testi-pag .swiper-pagination-bullet-active {
  width: 1.8rem;
  opacity: 1;
}

/* ---------- Preguntas frecuentes ---------- */
.ds-faq {
  padding: 6rem 0 5rem;
}

.ds-faq-visual {
  position: relative;
  max-width: 100%; 
  margin: 0 auto;
  padding: 0 0 1.75rem 1.75rem;
}

.ds-faq-visual::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 65%;
  border-radius: 32px;
  background: var(--ds-lilac-2);
}

.ds-faq-photo {
  position: relative;
  margin: 0;
  
}

.ds-faq-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 32px;
  object-fit: cover;
}

@media (min-width: 992px) {
  .ds-faq-photo img {
    aspect-ratio: 4 / 5;
  }
}

.ds-faq .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-color: var(--ds-text);
  --bs-accordion-border-width: 0;
  --bs-accordion-btn-focus-box-shadow: none;
}

.ds-faq .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--ds-line);
  border-radius: 0;
  background: transparent;
}

.ds-faq .accordion-item:first-child {
  border-top: 1px solid var(--ds-line);
}

.ds-faq .accordion-button {
  gap: 1rem;
  padding: 1.5rem 0.25rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 450;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ds-aubergine);
}

.ds-faq .accordion-button:not(.collapsed) {
  background: transparent;
  box-shadow: none;
  color: var(--ds-mauve-deep);
}

.ds-faq .accordion-button::after,
.ds-faq .accordion-button:not(.collapsed)::after {
  content: "\f067";
  width: 2.4rem;
  height: 2.4rem;
  margin-left: auto;
  border-radius: 50%;
  background-color: var(--ds-lilac);
  background-image: none;
  color: var(--ds-mauve);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
  line-height: 2.4rem;
  text-align: center;
  transform: none;
}

.ds-faq .accordion-button:not(.collapsed)::after {
  content: "\f068";
  background-color: var(--ds-mauve);
  color: #fff;
}

.ds-faq .accordion-body {
  padding: 0 3.5rem 1.6rem 0.25rem;
  font-size: 1.05rem;
}

/* ---------- Llamado final ---------- */
.ds-cta-wrap {
  padding: 2rem 0 6rem;
}

.ds-cta {
  position: relative;
  isolation: isolate;
  padding: 9rem 2rem;
  border-radius: 48px;
  background: var(--ds-mauve);
  color: #fff;
}

.ds-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(101, 58, 122, 0.88) 0%, rgba(165, 90, 143, 0.8) 100%);
}

.ds-cta h2 {
  margin: 0 0 1rem;
  color: #fff;
}

.ds-cta p {
  max-width: 32rem;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  font-weight: 600;
}

/* ---------- Pie de página ---------- */
.ds-footer {
  padding: 5rem 0 2.5rem;
  border-radius: 48px 48px 0 0;
  background: #f5e4ee;
  color: var(--ds-text);
}

.ds-sede h3 {
  margin-bottom: 1rem;
  font-size: 1.7rem;
}

.ds-sede address {
  margin: 0 0 1.75rem;
}

.ds-sede address a {
  color: var(--ds-aubergine);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ds-sede address i {
  margin-right: 0.6rem;
  color: var(--ds-mauve);
}

.ds-sede .ds-btn {
  margin: 0 0.75rem 1rem 0;
}

@media (min-width: 768px) {
  .ds-sede--second {
    padding-left: 3rem;
    border-left: 1px solid rgba(124, 74, 147, 0.25);
  }
}

.ds-foot-line {
  margin: 3rem 0 1.75rem;
  border: 0;
  border-top: 1px solid rgba(124, 74, 147, 0.22);
  opacity: 1;
}

.ds-foot-logo {
  display: inline-block;
  border-radius: 12px;
}

.ds-copy {
  margin: 0;
  font-size: 1rem;
}

.ds-copy a {
  color: var(--ds-rose);
  font-weight: 800;
}

/* ---------- Botón flotante ---------- */
.ds-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--ds-mauve);
  box-shadow: 0 18px 32px -14px rgba(101, 58, 122, 0.75);
  color: #fff;
  font-size: 1.8rem;
  line-height: 3.6rem;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ds-fab:hover {
  background: var(--ds-mauve-deep);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .ds-hero {
    padding-top: 7.5rem;
  }

  .ds-hero::before {
    background: rgba(253, 248, 251, 0.9);
  }

  .ds-steps {
    margin: 0 0.5rem 5rem;
    border-radius: 36px;
  }

  .ds-cta {
    padding: 6rem 1.5rem;
    border-radius: 36px;
  }

  .ds-footer {
    border-radius: 36px 36px 0 0;
  }
}

@media (max-width: 575.98px) {
  .ds-menu {
    padding: 0.5rem 1.5rem;
    border-radius: 32px;
  }

  .ds-banner-fig,
  .ds-banner-fig img {
    border-radius: 28px;
  }

  .ds-step-num {
    font-size: 4rem;
  }

  .ds-faq .accordion-button {
    font-size: 1.2rem;
  }

  .ds-faq .accordion-body {
    padding-right: 0.25rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
