:root {
  --bg: #f8f1ee;
  --bg-soft: #fcf8f6;
  --surface: #ffffff;
  --primary: #b86168;
  --primary-dark: #8d4e54;
  --rose: #e4b7b6;
  --rose-soft: #f2dcda;
  --text: #43383a;
  --muted: #76686a;
  --line: rgba(142, 83, 88, 0.16);
  --shadow: 0 24px 70px rgba(104, 67, 70, 0.09);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.section {
  padding: 110px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
}

h3 {
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.54);
  color: var(--text);
}

.btn-secondary:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
}

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

.btn-full {
  width: 100%;
}

/* HEADER */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(248, 241, 238, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: 0.25s ease;
}

.header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(81, 54, 57, 0.05);
}

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

.brand img {
  width: 280px;
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
}

/* =========================================================
   REDES SOCIALES - HEADER
========================================================= */

.brand-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-social-link {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #b86168;

    border: 1px solid rgba(184, 97, 104, 0.25);
    border-radius: 50%;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.header-social-link svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-social-link:hover {
    background: #b86168;
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links > a:not(.nav-cta) {
  position: relative;
}

.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-links > a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  width: 22px;
  height: 1px;
  display: block;
  margin: 7px auto;
  background: var(--text);
  transition: 0.25s ease;
}

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 145px 0 70px;
  background:
    radial-gradient(circle at 82% 25%, rgba(228, 183, 182, 0.24), transparent 27%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 90px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 790px;
}

.hero-copy h1 span {
  color: var(--primary);
}

.hero-text {
  max-width: 650px;
  margin-top: 28px;
  font-size: 1.1rem;
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(184, 97, 104, 0.1);
}

.hero-card {
  position: relative;
  padding: 38px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(184, 97, 104, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card-decoration {
  position: absolute;
  right: -26px;
  top: -26px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(184, 97, 104, 0.2);
}

.hero-card-kicker {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-topics span {
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--primary-dark);
  font-size: 0.88rem;
}

.hero-card-message {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-card-message p {
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: 1.42rem;
  line-height: 1.45;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 260px;
  height: 260px;
  left: -150px;
  top: 30%;
  border: 1px solid rgba(184, 97, 104, 0.14);
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  right: -330px;
  bottom: -220px;
  border: 1px solid rgba(184, 97, 104, 0.12);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 28px;
  height: 46px;
  border: 1px solid rgba(67, 56, 58, 0.25);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

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

/* SECTION HEADING */
.section-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  max-width: 680px;
  margin: 22px auto 0;
  font-size: 1.04rem;
}

/* TOPICS */
.intro {
  background: #fff;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.topic-card {
  min-height: 255px;
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: 0.3s ease;
  overflow: hidden;
}

.topic-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -65px;
  bottom: -65px;
  border-radius: 50%;
  background: var(--rose-soft);
  transition: 0.3s ease;
}

.topic-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 97, 104, 0.32);
  box-shadow: 0 18px 40px rgba(86, 58, 61, 0.07);
}

.topic-card:hover::after {
  transform: scale(1.25);
}

.topic-number {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.topic-card h3 {
  margin: 28px 0 12px;
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.topic-card p {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
}

/* SERVICES */
.services-section {
  background: var(--bg);
}

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

.service-card {
  min-height: 415px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.56);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card-featured {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.service-card-featured p,
.service-card-featured .service-tag {
  color: rgba(255, 255, 255, 0.78);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
}

.service-tag {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 12px 0;
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.service-card a {
  width: fit-content;
  margin-top: 30px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 0.92rem;
  font-weight: 600;
}

/* METHOD */
.method-section {
  background: #fff;
}

.method-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.method-copy {
  position: sticky;
  top: 130px;
}

.method-copy p {
  margin-top: 22px;
}

.method-list {
  border-top: 1px solid var(--line);
}

.method-item {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.method-item > span {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
}

.method-item h3 {
  margin-bottom: 5px;
  font-size: 1.12rem;
}

/* TEST */
.test-section {
  background: var(--bg);
}

.test-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.test-intro {
  position: sticky;
  top: 130px;
}

.test-intro p {
  margin-top: 22px;
}

.test-card {
  min-height: 470px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.test-progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.78rem;
}

.test-progress {
  height: 6px;
  background: var(--rose-soft);
  border-radius: 999px;
  overflow: hidden;
}

.test-progress span {
  width: 17%;
  height: 100%;
  display: block;
  background: var(--primary);
  border-radius: inherit;
  transition: width 0.35s ease;
}

.quiz-question {
  margin-top: 45px;
}

.quiz-question h3 {
  max-width: 620px;
  margin-bottom: 26px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  text-align: left;
  transition: 0.2s ease;
}

.quiz-option:hover {
  border-color: var(--primary);
  background: var(--bg);
  transform: translateX(4px);
}

.quiz-option span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--primary-dark);
  font-size: 0.72rem;
}

.test-result {
  padding-top: 40px;
}

.test-result-label {
  color: var(--primary);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.test-result h3 {
  margin: 12px 0;
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 500;
}

.test-result p {
  margin-bottom: 18px;
}

.test-result-note {
  padding: 16px;
  background: var(--bg);
  border-radius: 14px;
  font-size: 0.88rem;
}

.test-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* CORPORATE */
.corporate-section {
  background: #fff;
}

.corporate-card {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 70px;
  padding: 65px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: #fff;
}

.corporate-card .eyebrow,
.corporate-card p {
  color: rgba(255, 255, 255, 0.8);
}

.corporate-card p {
  margin-bottom: 28px;
}

/* CONTACT */
.contact-section {
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.contact-copy p {
  max-width: 600px;
  margin-top: 22px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 34px;
}

.contact-details div {
  display: grid;
  gap: 4px;
}

.contact-details span {
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-details strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 500;
}

.contact-card p {
  margin: 8px 0 25px;
}

.contact-card small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

/* =========================================================
   FORMULARIO DE CONTACTO
========================================================= */

.contact-form-card {
    max-width: 700px;
    margin-left: auto;

    padding: 25px;

    border: 1px solid var(--line);
    border-radius: var(--radius-lg);

    background: #ffffff;

    box-shadow: var(--shadow);
}


/* ENCABEZADO */

.contact-form-label {
    display: block;

    margin-bottom: 10px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.contact-form-card h3 {
    margin-bottom: 8px;

    color: var(--text);

    font-family: "Playfair Display", serif;

    font-size: 30px;
    font-weight: 500;

    line-height: 1.2;
}


.contact-form-intro {
    margin-bottom: 28px;

    font-size: 15px;
    line-height: 1.6;
}


/* CAMPOS DEL FORMULARIO */

.form-group {
    margin-bottom: 18px;
}


.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--text);

    font-size: 14px;
    font-weight: 600;
}


.form-group input,
.form-group textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid rgba(142, 83, 88, 0.20);
    border-radius: 12px;

    background: #fcf8f6;

    color: var(--text);

    font-family: "DM Sans", sans-serif;
    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.form-group textarea {
    min-height: 125px;
    resize: vertical;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a69799;
}


/* CUANDO EL USUARIO SELECCIONA UN CAMPO */

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(184, 97, 104, 0.08);
}


/* AUTORIZACIÓN */

.form-consent {
    display: grid;

    grid-template-columns: 18px 1fr;

    gap: 10px;

    align-items: start;

    margin: 4px 0 24px;
}


.form-consent input {
    width: 16px;
    height: 16px;

    margin-top: 3px;

    accent-color: var(--primary);
}


.form-consent label {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}


/* BOTÓN */

#contactSubmitButton {
    min-height: 56px;
    margin-top: 4px;

    font-size: 15px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}


#contactSubmitButton:hover {
    transform: translateY(-2px);
}


#contactSubmitButton:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.contact-form-divider {
    display: flex;
    align-items: center;
    gap: 15px;

    margin: 22px 0;
}


.contact-form-divider::before,
.contact-form-divider::after {
    content: "";

    height: 1px;
    flex: 1;

    background: var(--line);
}


.contact-form-divider span {
    color: var(--muted);

    font-size: 12px;
}


.contact-whatsapp-button {
    width: 100%;
    min-height: 52px;

    padding: 0 20px;

    border: 1px solid rgba(184, 97, 104, 0.30);
    border-radius: 999px;

    background: transparent;

    color: var(--primary-dark);

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;

    transition: 0.2s ease;
}


.contact-whatsapp-button:hover {
    border-color: var(--primary);

    background: var(--rose-soft);

    transform: translateY(-2px);
}


/* MENSAJE DESPUÉS DEL ENVÍO */

.form-status {
    display: none;

    margin-top: 16px;

    padding: 13px 15px;

    border-radius: 10px;

    font-size: 13px;
    line-height: 1.5;
}


.form-status.success {
    display: block;

    background: #edf7ef;

    color: #35653e;
}


.form-status.error {
    display: block;

    background: #fbeeee;

    color: #8d4e54;
}


/* TEXTO INFERIOR */

.contact-form-note {
    display: block;

    margin-top: 18px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.5;
}

/* FOOTER */
.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-brand img {
  width: 180px;
}

.footer-content p {
  font-size: 0.85rem;
  text-align: center;
}

.footer-content > span {
  justify-self: end;
  color: var(--muted);
  font-size: 0.8rem;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Ocultar accesos exclusivos del menú móvil en escritorio */

.mobile-nav-extra {
    display: none;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .section {
    padding: 85px 0;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 60;
  }

  .menu-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100dvh;
    min-height: 100vh;

    z-index: 55;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 28px;

    padding: 90px 30px 40px;

    background-color: #f8f1ee !important;

    font-size: 1.15rem;
    font-weight: 600;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
  }

  .nav-links a {
    color: #43383a;
  }
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hero-grid,
  .method-grid,
  .test-container,
  .contact-grid,
  .corporate-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero {
    min-height: auto;
    padding-top: 145px;
  }

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

  .topic-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-grid,
  .test-container {
    gap: 50px;
  }

  .method-copy,
  .test-intro {
    position: static;
  }

  .corporate-card {
    gap: 30px;
    padding: 48px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-content > span {
    justify-self: center;
  }

  .header {
      background: #f8f1ee !important;
  }

  .nav-links a {
      color: #43383a;
  }

  .nav-links .nav-cta {
      background: #b86168 !important;
      color: #ffffff !important;

      padding: 14px 28px;

      border-radius: 999px;
  }

  .mobile-nav-extra {
      display: block;
  }
}

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

  .section {
    padding: 72px 0;
  }

  .nav {
    min-height: 72px;
  }

  .brand img {
    width: 185px;
  }

  .brand-area {
    gap: 10px;
}

.header-socials {
    gap: 6px;
}

.header-social-link {
    width: 30px;
    height: 30px;
}

.header-social-link svg {
    width: 15px;
    height: 15px;
}

  h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .hero {
    padding-top: 120px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-card {
    padding: 26px;
  }

  .hero-card-message p {
    font-size: 1.2rem;
  }

  .scroll-indicator {
    display: none;
  }

  .topic-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 220px;
  }

  .service-card {
    min-height: 355px;
    padding: 28px;
  }

  .service-icon {
    margin-bottom: 32px;
  }

  .test-card {
    min-height: 0;
    padding: 24px 18px;
  }

  .quiz-question {
    margin-top: 32px;
  }

  .corporate-card {
    padding: 34px 26px;
  }

  .contact-details {
    flex-direction: column;
    gap: 18px;
  }

  .contact-card {
    padding: 28px 22px;
  }

  /* =========================================================
      ACOMPAÑAMIENTO - CELULAR
    ========================================================= */

    #acompanamiento .eyebrow {
      font-size: 12px;
      letter-spacing: 2.5px;
  }

  #acompaniamiento .section-heading h2,
  #acompanamiento .section-heading h2 {
      font-size: 34px;
      line-height: 1.10;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
  }

  #acompaniamiento .section-heading p,
  #acompanamiento .section-heading p {
      font-size: 16px;
      line-height: 1.60;
      max-width: 520px;
      margin-left: auto;
      margin-right: auto;
  }

 /* =========================================================
    TARJETAS DE ACOMPAÑAMIENTO - CELULAR
  ========================================================= */

  #acompanamiento .topic-card {
      padding: 30px 28px;
      min-height: 0;
  }

  #acompanamiento .topic-card h3 {
      margin-top: 28px;
      margin-bottom: 14px;
      font-size: 30px;
  }

  #acompanamiento .topic-card p {
      font-size: 16px;
      line-height: 1.55;
  }

  #acompanamiento .topic-more {
      margin-top: 24px;
  }

  /* =========================================================
    SERVICIOS - CELULAR
  ========================================================= */

  #servicios {
      padding-top: 55px;
      padding-bottom: 55px;
  }

  #servicios .section-heading h2 {
      font-size: 34px;
      line-height: 1.10;
  }

  /* =========================================================
    TARJETAS DE SERVICIOS - CELULAR
  ========================================================= */

  #servicios .service-card {
      min-height: 0;
      padding: 28px 26px;
  }

  #servicios .service-number {
      width: 58px;
      height: 58px;
      font-size: 14px;
  }

  #servicios .service-card .eyebrow {
      font-size: 12px;
      letter-spacing: 2px;
  }

  #servicios .service-card h3 {
      font-size: 28px;
      line-height: 1.15;
  }

  #servicios .service-card p {
      font-size: 15px;
      line-height: 1.55;
  }

  #servicios .service-card .text-link {
      font-size: 15px;
  }

  /* =========================================================
      TEST DE ANSIEDAD - CELULAR
    ========================================================= */

    #test {
        padding-top: 20px;
    }

    #test h2 {
        font-size: 29px;
        line-height: 1.05;
    }

    #test p {
        font-size: 14px;
        line-height: 1.60;
    }

    /* =========================================================
      BIENESTAR ORGANIZACIONAL - CELULAR
    ========================================================= */

    .corporate-section h2 {
        font-size: 34px;
        line-height: 1.10;
    }

    .corporate-section p {
        font-size: 16px;
        line-height: 1.60;
    }

    /* =========================================================
      PREGUNTAS FRECUENTES - CELULAR
    ========================================================= */

    .faq-section .section-heading h2 {
        font-size: 32px;
        line-height: 1.10;
        margin-top: 18px;
    }

    .faq-section .section-heading p {
        font-size: 15px;
        line-height: 1.55;
        margin-top: 20px;
    }

    /* =========================================================
      CONTACTO - CELULAR
    ========================================================= */

    #contacto {
        padding-top: 20px;
    }

    /* =========================================================
      CONTACTO - TEXTOS CELULAR
    ========================================================= */

    /* Título principal */
    #contacto h2 {
        font-size: 34px;
        line-height: 1.08;
    }

    /* Texto introductorio */
    #contacto .contact-intro {
        font-size: 16px;
        line-height: 1.60;
    }

    /* Modalidad / Atención */
    #contacto .contact-detail span {
        font-size: 14px;
    }

    /* 100% virtual / Individual · Pareja · Empresas */
    #contacto .contact-detail strong {
        font-size: 17px;
        line-height: 1.45;
    }

}

/* =========================================================
   NUEVA PORTADA SERENDIA
========================================================= */

.hero-cover {
    position: relative;

    width: 100%;

    height: 58vh;
    min-height: 480px;
    max-height: 620px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("terapia-portada.jpg");
    background-size: cover;
    background-position: center 65%;

    overflow: hidden;
}


/* Capa sobre la fotografía para mejorar la lectura */

.hero-cover-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(55, 43, 45, 0.30),
        rgba(184, 97, 104, 0.10)
    );
}


/* Contenido de la portada */

.hero-cover-content {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 1150px;

    text-align: center;

    color: white;

    transform: translateY(30px);
}


/* Texto superior */

.hero-cover-small {
    margin-bottom: 20px;

    color: #964d54;

    font-size: clamp(18px, 2vw, 26px);
    font-weight: 500;

    line-height: 1.3;
}


/* Título principal */

.hero-cover h1 {
    margin: 0;

    color: white;

    font-family: "DM Sans", sans-serif;
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 700;

    line-height: 1.05;

    text-transform: uppercase;
}


/* Descripción */

.hero-cover-description {
    max-width: 720px;

    margin: 25px auto 36px;

    color: rgba(255, 255, 255, 0.94);

    font-size: 18px;
    line-height: 1.7;
}


/* Botón */

.hero-cover-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    padding: 17px 34px;

    background: #d98989;

    border: none;
    border-radius: 18px;

    color: white;

    font-size: 21px;
    font-weight: 500;

    cursor: pointer;

    transition: 0.25s ease;
}


/* Círculo de la flecha */

.hero-cover-button span {
    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: white;

    color: #b86168;
}


/* Efecto del botón */

.hero-cover-button:hover {
    background: #b86168;

    transform: translateY(-3px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   PORTADA - CELULAR
========================================================= */

@media (max-width: 700px) {

      .hero-cover {
        height: 55vh;
        min-height: 430px;
        max-height: 540px;

        background-position: 55% center;
    }

      .hero-cover-content {
        width: calc(100% - 32px);
    }


      .hero-cover-small {
        margin-bottom: 12px;
    }


    .hero-cover h1 {
        font-size: 34px;
        line-height: 1.08;
    }


    .hero-cover-description {
        margin: 20px auto 30px;

        font-size: 16px;
        line-height: 1.6;
    }


    .hero-cover-button {
        padding: 15px 26px;

        font-size: 18px;
    }

    .header {
        background: #f8f1ee;
    }

    }

/* =========================================================
   PÁGINA SOBRE MÍ - ANGIE ROMERO
========================================================= */


/* =========================================================
   PRESENTACIÓN PRINCIPAL
========================================================= */

.psychologist-hero {
    padding: 165px 0 110px;

    background:
        linear-gradient(
            180deg,
            #f8f1ee 0%,
            #fcf8f6 100%
        );
}


.psychologist-grid {
    display: grid;

    grid-template-columns: 0.82fr 1.18fr;

    gap: 90px;

    align-items: center;
}



/* =========================================================
   FOTO
========================================================= */

.psychologist-photo {
    position: relative;

    max-width: 380px;
}


.psychologist-photo-frame {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    border-radius: 30px;

    background: #f2dcda;
}


.psychologist-photo-frame img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}


.psychologist-photo-detail {
    position: absolute;

    right: -35px;
    bottom: 35px;

    width: 190px;

    padding: 22px;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 20px 50px rgba(80, 52, 55, 0.12);
}


.psychologist-photo-detail span {
    display: block;

    margin-bottom: 5px;

    color: #b86168;

    font-family: "Playfair Display", serif;

    font-size: 30px;
}


.psychologist-photo-detail p {
    font-size: 13px;
    line-height: 1.5;
}



/* =========================================================
   PRESENTACIÓN
========================================================= */

.psychologist-intro h1 {
    margin-bottom: 25px;

    color: #43383a;

    font-family: "Playfair Display", serif;

    font-size: clamp(44px, 4vw, 60px);

    font-weight: 500;

    line-height: 1.05;
}


.psychologist-lead {
    margin-bottom: 25px;

    color: #5b484b;

    font-family: "Playfair Display", serif;

    font-size: 23px;

    line-height: 1.5;
}


.psychologist-intro > p:not(.psychologist-lead) {
    max-width: 690px;

    margin-bottom: 18px;

    font-size: 16px;
    line-height: 1.8;
}


.psychologist-intro .btn {
    margin-top: 18px;
}



/* =========================================================
   FILOSOFÍA
========================================================= */

.psychologist-philosophy {
    background: #ffffff;
}


.psychologist-values {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


.psychologist-value {
    min-height: 285px;

    padding: 35px;

    border: 1px solid rgba(142, 83, 88, 0.16);

    border-radius: 22px;

    background: #ffffff;

    transition: 0.3s ease;
}


.psychologist-value:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(80, 52, 55, 0.08);
}


.psychologist-value-number {
    color: #b86168;

    font-size: 13px;
    font-weight: 700;
}


.psychologist-value h3 {
    margin: 40px 0 13px;

    font-family: "Playfair Display", serif;

    font-size: 25px;

    font-weight: 500;
}



/* =========================================================
   MÉTODO
========================================================= */

.psychologist-method {
    background: #f8f1ee;
}


.psychologist-method-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 100px;
}


.psychologist-method-title {
    position: sticky;

    top: 130px;

    align-self: start;
}


.psychologist-method-content > p {
    margin-bottom: 20px;

    font-size: 17px;
    line-height: 1.8;
}


.psychologist-method-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 35px;
}


.psychologist-method-tags span {
    padding: 10px 16px;

    border-radius: 999px;

    background: #ffffff;

    border: 1px solid rgba(184, 97, 104, 0.18);

    color: #8d4e54;

    font-size: 14px;
}



/* =========================================================
   ÁREAS DE ACOMPAÑAMIENTO
========================================================= */

.psychologist-specialties {
    background: #ffffff;
}


.specialty-list {
    max-width: 950px;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

    margin: 0 auto;
}


.specialty-list span {
    padding: 14px 21px;

    border-radius: 999px;

    background: #f2dcda;

    color: #8d4e54;

    font-size: 15px;

    transition: 0.25s ease;
}


.specialty-list span:hover {
    transform: translateY(-3px);

    background: #e4b7b6;
}



/* =========================================================
   FRASE / MENSAJE
========================================================= */

.psychologist-message {
    background: #fcf8f6;
}


.psychologist-quote {
    max-width: 950px;

    margin: 0 auto;

    text-align: center;
}


.psychologist-quote > span {
    color: #b86168;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.psychologist-quote blockquote {
    margin: 25px auto;

    color: #43383a;

    font-family: "Playfair Display", serif;

    font-size: clamp(28px, 3vw, 40px);

    line-height: 1.35;
}


.psychologist-quote p {
    color: #8d4e54;

    font-size: 14px;
}



/* =========================================================
   CONTACTO
========================================================= */

.psychologist-contact {
    background: #ffffff;
}


.psychologist-contact-box {
    display: grid;

    grid-template-columns: 1fr auto;

    gap: 60px;

    align-items: center;

    padding: 60px;

    border-radius: 30px;

    background: #b86168;

    color: #ffffff;
}


.psychologist-contact-box .eyebrow {
    color: rgba(255, 255, 255, 0.75);
}


.psychologist-contact-box h2 {
    max-width: 750px;

    color: #ffffff;
}


.psychologist-contact-box p {
    max-width: 700px;

    margin-top: 20px;

    color: rgba(255, 255, 255, 0.82);
}



/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 980px) {

    .psychologist-hero {
        padding: 135px 0 85px;
    }


    .psychologist-grid {
        grid-template-columns: 1fr;

        gap: 65px;
    }


    .psychologist-photo {
        width: min(100%, 500px);

        margin: 0 auto;
    }


    .psychologist-intro {
        max-width: 750px;

        margin: 0 auto;

        text-align: center;
    }


    .psychologist-intro > p:not(.psychologist-lead) {
        margin-left: auto;
        margin-right: auto;
    }


    .psychologist-values {
        grid-template-columns: 1fr;
    }


    .psychologist-value {
        min-height: auto;
    }


    .psychologist-method-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .psychologist-method-title {
        position: static;
    }


    .psychologist-contact-box {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}



/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 640px) {

    .psychologist-hero {
        padding: 115px 0 70px;
    }


    .psychologist-grid {
        gap: 55px;
    }


    /* FOTO ANGIE - CELULAR */

    .psychologist-photo {
        width: 82%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }


    .psychologist-photo-frame {
        border-radius: 22px;
    }

    /* =========================================================
      SOBRE MÍ - FORMA DE ENTENDER LA TERAPIA - CELULAR
    ========================================================= */

    .psychologist-method-title h2 {
        font-size: 32px;
        line-height: 1.08;
    }

    .psychologist-method-content > p {
        font-size: 14px;
        line-height: 1.60;
    }


    .psychologist-photo-detail {
        right: -12px;
        bottom: 20px;

        width: 160px;

        padding: 17px;
    }

    /* ÁREAS DE ACOMPAÑAMIENTO - TÍTULO - CELULAR */

    .psychologist-specialties .section-heading h2 {
        font-size: 32px;
        line-height: 1.08;
    }


    .psychologist-photo-detail span {
        font-size: 25px;
    }


    .psychologist-photo-detail p {
        font-size: 12px;
    }


    .psychologist-intro h1 {
      font-size: 34px;
      line-height: 1.05;
  }


    .psychologist-lead {
        font-size: 20px;
    }


    .psychologist-intro > p:not(.psychologist-lead) {
        font-size: 15px;
    }


    .psychologist-value {
        min-height: 0;
        padding: 22px 24px;
    }


    .psychologist-value h3 {
        margin-top: 18px;
        margin-bottom: 8px;
        font-size: 22px;
        line-height: 1.15;
    }

    .psychologist-value p {
        font-size: 14px;
        line-height: 1.55;
    }

    .psychologist-value-number {
        font-size: 12px;
    }

    .psychologist-method-title h2 {
      font-size: 32px;
      line-height: 1.08;
  }

    .psychologist-method-content > p {
        font-size: 14px;
        line-height: 1.60;
    }


    .psychologist-method-tags {
        justify-content: center;
    }


    .specialty-list span {
        padding: 11px 15px;

        font-size: 13px;
    }


    .psychologist-quote blockquote {
        font-size: 25px;
        line-height: 1.35;
    }

    .psychologist-quote p {
        font-size: 13px;
    }


    .psychologist-contact-box {
        padding: 35px 25px;

        text-align: center;
    }

    .psychologist-contact-box h2 {
        font-size: 32px;
        line-height: 1.08;
    }


    .psychologist-contact-action .btn {
        width: 100%;
    }

    /* BIENESTAR EMPRESARIAL - TÍTULO - CELULAR */

    .business-hero-copy h1 {
        font-size: 35px;
        line-height: 1.08;
    }

  }  

/* =========================================================
   BIENESTAR EMPRESARIAL
========================================================= */


/* PORTADA */

.business-hero {
    padding: 160px 0 100px;
    background: #f8f1ee;
}


.business-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 80px;
    align-items: center;
}


.business-hero-copy h1 {
    max-width: 720px;
    margin-bottom: 25px;

    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 3.4vw, 50px);
    font-weight: 500;
    line-height: 1.08;
}


.business-hero-copy p {
    max-width: 610px;
    margin-bottom: 32px;

    font-size: 18px;
    line-height: 1.7;
}


.business-hero-image {
    overflow: hidden;
    border-radius: 30px;
}


.business-hero-image img {
    width: 100%;
    height: 560px;

    object-fit: cover;
    object-position: center;
}



/* INTRO */

.business-intro {
    background: #ffffff;
    padding-bottom: 45px;
}



/* PROGRAMAS */

.business-programs {
    background: #fcf8f6;
}


.business-program {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;

    padding: 70px 0;

    border-bottom: 1px solid rgba(142, 83, 88, 0.16);
}


.business-program:first-child {
    padding-top: 0;
}


.business-program:last-child {
    padding-bottom: 0;
    border-bottom: none;
}


.business-program-reverse .business-program-image {
    order: 2;
}


.business-program-reverse .business-program-content {
    order: 1;
}


.business-program-image {
    width: 80%;
    max-width: 400px;
    justify-self: center;

    overflow: hidden;
    border-radius: 25px;
}


.business-program-image img {
    width: 100%;
    height: 390px;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.business-program:hover .business-program-image img {
    transform: scale(1.03);
}


.business-program-content {
    max-width: 520px;
}


.business-program-content > span {
    display: block;

    margin-bottom: 20px;

    color: #b86168;

    font-size: 13px;
    font-weight: 700;
}


.business-program-content h2 {
    margin-bottom: 18px;

    font-size: clamp(30px, 3vw, 42px);
}


.business-program-content p {
    font-size: 17px;
    line-height: 1.8;
}



/* BENEFICIOS */

.business-benefits {
    background: #ffffff;
}


.business-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


.business-benefit {
    padding: 35px;

    border: 1px solid rgba(142, 83, 88, 0.16);
    border-radius: 22px;

    background: #ffffff;
}


.business-benefit > span {
    color: #b86168;

    font-size: 13px;
    font-weight: 700;
}


.business-benefit h3 {
    margin: 35px 0 12px;

    font-family: "Playfair Display", serif;

    font-size: 25px;
    font-weight: 500;
}


.business-benefit p {
    font-size: 15px;
}



/* CTA */

.business-contact {
    background: #fcf8f6;
}


.business-contact-box {
    display: grid;
    grid-template-columns: 1fr auto;

    gap: 60px;

    align-items: center;

    padding: 60px;

    border-radius: 30px;

    background: #b86168;

    color: #ffffff;
}


.business-contact-box h2 {
    max-width: 750px;

    color: #ffffff;
}


.business-contact-box .eyebrow {
    color: rgba(255, 255, 255, 0.75);
}


.business-contact-box p {
    max-width: 650px;

    margin-top: 20px;

    color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   BOTÓN VOLVER ARRIBA
========================================================= */

.scroll-top-button {
    position: fixed;
    right: 26px;
    bottom: 95px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99;

    border: 1px solid rgba(184, 97, 104, 0.20);
    border-radius: 50%;

    background: #ffffff;
    color: #b86168;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 8px 25px rgba(67, 56, 58, 0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}


/* Cuando aparece */

.scroll-top-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Hover */

.scroll-top-button:hover {
    background: #b86168;
    color: #ffffff;
    transform: translateY(-3px);
}



/* =========================================================
   BIENESTAR EMPRESARIAL - TABLET
========================================================= */

@media (max-width: 980px) {

    .business-hero {
        padding: 135px 0 80px;
    }


    .business-hero-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


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


    .business-hero-copy h1,
    .business-hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }


    .business-hero-image {
        max-width: 650px;

        margin: 0 auto;
    }


    .business-hero-image img {
        height: 450px;
    }


    .business-program {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 55px 0;
    }


    .business-program-reverse .business-program-image,
    .business-program-reverse .business-program-content {
        order: initial;
    }


    .business-program-content {
        max-width: none;
    }


    .business-benefits-grid {
        grid-template-columns: 1fr;
    }


    .business-contact-box {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}



/* =========================================================
   BIENESTAR EMPRESARIAL - CELULAR
========================================================= */

@media (max-width: 640px) {

    .business-hero {
        padding: 115px 0 65px;
    }


    .business-hero-copy h1 {
        font-size: 32px;
        line-height: 1.08;
    }


    .business-hero-copy p {
        font-size: 16px;
    }


    .business-hero-image {
        border-radius: 20px;
    }


    .business-hero-image img {
        height: 350px;
    }


    .business-program {
        padding: 45px 0;
    }


    .business-program-image {
        border-radius: 20px;
    }


    .business-program-image img {
        height: 280px;
    }


    .business-program-content h2 {
        font-size: 36px;
    }


    .business-program-content p {
        font-size: 15px;
    }


    .business-benefit {
        padding: 28px;
    }


    .business-contact-box {
        padding: 35px 25px;

        text-align: center;
    }


    .business-contact-box .btn {
        width: 100%;
    }

    .business-contact-box h2 {
        font-size: 28px;
        line-height: 1.08;
    }

    .business-benefits .section-heading h2 {
        font-size: 35px;
        line-height: 1.10;
    }

    /* =========================================================
      FORMULARIO DE CONTACTO - CELULAR
    ========================================================= */

  @media (max-width: 640px) {

      .contact-form-card {
          padding: 28px 20px;

          border-radius: 22px;
      }


      .contact-form-card h3 {
          font-size: 27px;
      }


      .form-group input,
      .form-group textarea {
          font-size: 16px;
      }


      .form-group textarea {
          min-height: 115px;
      }
      

      /* CAMPOS DEL FORMULARIO */

      .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .form-group {
        margin-bottom: 18px;
    }

  }   

}

/* =========================================================
   TARJETAS DE NECESIDADES - INTERACTIVAS
========================================================= */

.topic-card-clickable {
    position: relative;
    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.topic-card-clickable:hover {
    transform: translateY(-5px);

    border-color: rgba(184, 97, 104, 0.25);

    box-shadow:
        0 16px 35px rgba(81, 54, 57, 0.08);
}


.topic-card-clickable:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}


.topic-more {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 20px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 600;
}


.topic-more strong {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 23px;
    height: 23px;

    border-radius: 50%;

    background: var(--rose-soft);

    font-size: 16px;
    font-weight: 500;
}

/* =========================================================
   MODAL NECESIDADES PSICOLÓGICAS
========================================================= */

body.modal-open {
    overflow: hidden;
}


.topic-modal {
    position: fixed;
    inset: 0;

    z-index: 200;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.topic-modal.active {
    opacity: 1;
    visibility: visible;
}


.topic-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(55, 43, 45, 0.52);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


.topic-modal-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 680px;

    max-height: calc(100vh - 60px);

    overflow-y: auto;

    padding: 44px;

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 30px 80px rgba(55, 43, 45, 0.20);

    transform: translateY(15px);

    transition:
        transform 0.25s ease;
}


.topic-modal.active .topic-modal-content {
    transform: translateY(0);
}


.topic-modal-close {
    position: absolute;

    top: 18px;
    right: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: #f8f1ee;

    color: var(--text);

    font-family: "DM Sans", sans-serif;
    font-size: 25px;
    font-weight: 300;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.topic-modal-close:hover {
    background: var(--rose-soft);

    transform: rotate(5deg);
}


.topic-modal-content h2 {
    margin: 10px 45px 16px 0;

    font-family: "Playfair Display", serif;

    font-size: 38px;
    font-weight: 500;

    line-height: 1.15;
}


.topic-modal-intro {
    margin-bottom: 28px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.7;
}


.topic-modal-block {
    margin-bottom: 27px;
}


.topic-modal-block h3 {
    margin-bottom: 13px;

    color: var(--text);

    font-size: 16px;
    font-weight: 600;
}


.topic-modal-block p {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}


.topic-modal-block ul {
    display: grid;

    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.topic-modal-block li {
    position: relative;

    padding-left: 22px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.55;
}


.topic-modal-block li::before {
    content: "";

    position: absolute;

    top: 8px;
    left: 0;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--primary);
}

@media (max-width: 640px) {

    .topic-modal {
        align-items: flex-end;

        padding: 12px;
    }


    .topic-modal-content {
        max-height: 88vh;

        padding: 35px 22px 28px;

        border-radius: 24px;
    }


    .topic-modal-content h2 {
        margin-right: 40px;

        font-size: 31px;
    }


    .topic-modal-close {
        top: 14px;
        right: 14px;
    }


    .topic-modal-intro {
        font-size: 14px;
    }

}

/* =========================================================
   PREGUNTAS FRECUENTES
========================================================= */

.faq-section {
    background: #fcf8f6;
}


.faq-container {
    max-width: 900px;
}


.faq-section .section-heading {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}


.faq-list {
    margin-top: 48px;
    border-top: 1px solid var(--line);
}


.faq-item {
    border-bottom: 1px solid var(--line);
}


.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 23px 4px;

    border: none;
    background: transparent;

    color: var(--text);

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;

    text-align: left;

    cursor: pointer;
}


.faq-question strong {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: var(--rose-soft);

    color: var(--primary-dark);

    font-size: 19px;
    font-weight: 400;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}


.faq-question:hover {
    color: var(--primary);
}


.faq-item.active .faq-question strong {
    transform: rotate(45deg);

    background: var(--primary);

    color: #ffffff;
}


/* RESPUESTA CERRADA */

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition: grid-template-rows 0.3s ease;
}


.faq-answer > div {
    overflow: hidden;
}


/* RESPUESTA ABIERTA */

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}


.faq-answer p {
    max-width: 760px;

    margin: 0;

    padding:
        0
        55px
        24px
        4px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   PREGUNTAS FRECUENTES - CELULAR
========================================================= */

@media (max-width: 640px) {

    .faq-list {
        margin-top: 35px;
    }


    .faq-question {
        padding: 20px 0;

        font-size: 15px;
        line-height: 1.45;
    }


    .faq-answer p {
        padding:
            0
            42px
            22px
            0;

        font-size: 13px;
    }

}

/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.floating-whatsapp {
    position: fixed;

    right: 26px;
    bottom: 26px;

    z-index: 100;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 8px 9px 8px 18px;

    border: none;
    border-radius: 999px;

    background: #25D366;

    color: #ffffff;

    font-family: "DM Sans", sans-serif;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.floating-whatsapp:hover {
    transform: translateY(-3px);

    background: #20bd5a;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22);
}


.floating-whatsapp-text {
    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
}


.floating-whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.16);
}


.floating-whatsapp-icon svg {
    width: 27px;
    height: 27px;
}

/* =========================================================
   WHATSAPP FLOTANTE - CELULAR
========================================================= */

@media (max-width: 640px) {

    .floating-whatsapp {
        right: 16px;
        bottom: 18px;

        width: 50px;
        height: 50px;

        padding: 0;

        justify-content: center;

        border-radius: 50%;
    }


    .floating-whatsapp-text {
        display: none;
    }


    .floating-whatsapp-icon {
        width: auto;
        height: auto;

        background: transparent;
    }


    .floating-whatsapp-icon svg {
        width: 27px;
        height: 27px;
    }

    @media (max-width: 640px) {

      .scroll-top-button {
          right: 17px;
          bottom: 82px;

          width: 42px;
          height: 42px;

          font-size: 22px;
      }

  }

}
