/* =========================
   HEADER BASE
========================= */

.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #f3f3f3;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 8px;

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

/* =========================
   LOGO (IZQUIERDA)
========================= */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 70px; /* CLAVE: evita que se salga del header */
  width: auto;
  display: block;
}

.logo span {
  font-size: 12px;
  letter-spacing: 1px;
  color: #d96b63; /* tono del mockup */
  text-transform: uppercase;
}

/* =========================
   NAV (CENTRO)
========================= */

.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  color: #444;
  transition: 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: #d96b63;
}

.nav a.active,
.nav a:focus {
  color: #d96b63;
}

/* línea activa sutil como en mockup */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0;
  height: 1px;

  background: #d96b63;

  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* =========================
   ACCIONES (DERECHA)
========================= */

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* iconos */
.icon-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #444;
}

.icon-btn i {
  font-size: 18px;
  display: block;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  background: #d16b78;
  color: #fff;

  padding: 8px 14px;

  border-radius: 4px;

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

  text-decoration: none;
  letter-spacing: 0.5px;

  transition: all 0.2s ease;
}

.cta-btn:hover {
  background: #bf5c69;
}

.cta-btn i {
  font-size: 14px;
}

/* =========================
   MOBILE TOGGLE
========================= */

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;

  color: #d16b78;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

  .nav {
    display: none; /* se activa con JS */
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* estado activo del menú móvil */
.nav.active {
  display: flex;
}

/* =========================
   FOOTER GLOBAL (STYLE FIX - PINK BRAND)
========================= */

.footer {
  background: #ffffff;
  padding: 10px 0 10px 0; /* 👈 reduce espacio superior */
  font-family: Arial, sans-serif;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: rgba(196, 107, 107, 0.18);
}

/* CONTENEDOR PRINCIPAL */
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr 1.25fr;
  gap: 15px;      
  padding: 0 10px;
  align-items: start;
}

/* =========================
   SEPARADORES ENTRE COLUMNAS
========================= */

.footer-block {
  position: relative;
  padding-right: 14px;
}

.footer-block:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 8px;
  width: 1px;
  height: calc(100% - 20px);
  background: rgba(196, 107, 107, 0.18);
}

/* LOGO */
.footer-logo {
  width: 100%;
  max-width: 170px;
  height: auto;
  display: block;
}

.footer-tagline {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

/* TITULOS */
.footer-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  color: #c46b6b;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.newsletter h4 {
  margin-bottom: 10px;
}

/* LISTAS */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 9px;
  font-size: 11px;
  color: #666;
}

.footer-col ul li a {
  text-decoration: none;
  color: #666;
}

.footer-col ul li a:hover {
  color: #c46b6b;
}

/* NEWSLETTER */
.newsletter p {
  font-size: 11px;
  color: #666;
  line-height: 1.3;
  margin: 0 0 6px 0;
}

.newsletter input {
  width: 100%;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #ddd;
  margin-bottom: 4px;
  font-size: 11px;
  box-sizing: border-box;
}

.newsletter button {
  width: 100%;
  height: 30px;
  padding: 0;
  background: #c46b6b;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  box-sizing: border-box;
}

/* COPYRIGHT (UNA SOLA LÍNEA) */
.footer-bottom {
  text-align: center;
  margin-top: 4px;
  font-size: 11px;
  color: #888;
  padding-top: 2px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom span {
  margin: 0 6px;
  color: #c46b6b;
}

/* ICONOS FOOTER */
.footer-col i {
  color: #c46b6b;
  font-size: 16px;
  margin-right: 6px;
  vertical-align: middle;
}

/* =========================
   RESPONSIVE FOOTER
========================= */

@media (max-width: 900px) {

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

  /* Oculta separadores */
  .footer-block::after {
    display: none;
  }

  /* Logo */
  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Newsletter */
  .newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {

  .footer {
    padding-top: 10px;
  }

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

  /* Ocultar logo en móvil */
  .footer-brand {
    display: none;
  }

  .footer-col,
  .newsletter {
    grid-column: auto;
  }

  .newsletter input,
  .newsletter button {
    width: 100%;
  }

  .footer-bottom {
    line-height: 1.6;
  }
}

/* ========================================
   PLACEHOLDER GLOBAL
   PÁGINAS TEMPORALES
======================================== */

.placeholder-wrapper {
  min-height: 65vh;

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

  padding: 60px 20px;

  text-align: center;
  background: #ffffff;
}

.placeholder-box {
  max-width: 650px;
  width: 100%;
}

.placeholder-badge {
  display: inline-block;

  padding: 8px 18px;
  margin-bottom: 22px;

  border: 1px solid rgba(209, 107, 120, 0.25);
  border-radius: 50px;

  background: rgba(209, 107, 120, 0.05);

  color: #d16b78;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.placeholder-title {
  margin: 0 0 20px;

  color: #444;

  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
}

.placeholder-text {
  max-width: 540px;
  margin: 0 auto;

  color: #666;

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

/* ========================================
   BANNERS PLACEHOLDER
======================================== */

.placeholder-banner {
  width: 100%;
  margin: 0;
  padding: 0;
}

.banner-desktop,
.banner-mobile {
  display: block;
  width: 100%;
  height: auto;
}

.banner-mobile {
  display: none;
}

/* =========================
   RESPONSIVE BANNER
========================= */

@media (max-width: 768px) {

  .banner-desktop {
    display: none;
  }

  .banner-mobile {
    display: block;
  }

}

/* =========================
   RESPONSIVE PLACEHOLDER
========================= */

@media (max-width: 768px) {

  .placeholder-wrapper {
    min-height: 55vh;
    padding: 40px 20px;
  }

  .placeholder-title {
    font-size: 1.35rem;
  }

  .placeholder-text {
    font-size: 14px;
  }

  .banner-desktop {
    display: none;
  }

  .banner-mobile {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
  }

}

/* ========================================
   INNER PAGES (GLOBAL)
   NOSOTROS - CONTACTO - LEGALES
======================================== */

.inner-page {
  width: 100%;
  background: #fff;
}

/* CONTENEDOR GENERAL */

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ESPACIADO ENTRE SECCIONES */

.page-section {
  padding: 30px 0;
}

/* TITULOS DE SECCIÓN */

.page-label {
  display: block;

  margin-bottom: 8px;

  color: #E35F72;

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

  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-title {
  margin: 0 0 10px;
  color: #222;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.15;
}

.page-subtitle {
  max-width: 700px;

  margin: 0 auto 30px;

  color: #666;

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

/* ========================================
   PAGE BANNERS GLOBAL
   BANNERS INTERNOS DESKTOP / MOBILE
======================================== */

.page-banner {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}

.page-banner picture {
  display: block;
  width: 100%;
}

.page-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   HERO BANNER CON TEXTO
======================================== */

.page-hero {
  position: relative;
}

.page-hero-content {
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  max-width: 430px;
  line-height: normal;
}

.page-hero-content h1 {
  margin: 0 0 16px;
  color: #222;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
}

.page-hero-content h1 span {
  color: #E35F72;
}

.page-hero-content h2 {
  margin: 0 0 16px;
  color: #222;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
}

.page-hero-content h2 span {
  color: #d16b78;
}

.page-hero-content .page-divider {
  margin: 0 0 24px;
}

.page-hero-content .page-divider::after {
  background: transparent;
}

.page-hero-content p {
  max-width: 390px;
  margin-bottom: 10px;
  color: #444;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
}

/* ========================================
   BLOQUE IMAGEN + TEXTO
======================================== */

.page-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.page-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 8px;
}

.page-content p {
  max-width: 520px;
  margin-bottom: 11px;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

/* ========================================
   BLOQUES CENTRADOS
======================================== */

.page-center {
  text-align: center;
}

.page-divider {
    width: 90px;
    height: 1px;

    background: #ecd8db;

    margin: 8px auto 20px;

    position: relative;
}

.page-divider::after {
    content: "✦";

    position: absolute;
    left: 50%;
    top: -10px;

    transform: translateX(-50%);

    background: #fff;

    padding: 0 10px;

    color: #d16b78;
    font-size: 12px;
}

/* ========================================
   TARJETAS / SECCIÓN PILARES
======================================== */

.pilares-section {
  padding-top: 20px;
}

.page-cards {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: center;
  column-gap: 40px;
  row-gap: 25px;
}

.page-card {
  padding: 24px 16px;

  background: #F6F1ED;

  border: 1px solid #E8C8CC;
  border-radius: 8px;

  text-align: center;

  transition: .3s ease;
}

.page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(215,163,166,.12);
}

.page-card-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 14px;

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

    border-radius: 50%;

    background: #FDF2F4;
    color: #E35F72;

    font-size: 24px;

    border: 1px solid #F3D9DD;
}

.page-card h3 {
  margin-bottom: 10px;

  color: #4A4A4A;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.page-card p {
  max-width: 230px;
  margin: 0 auto;
  color: #555;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}

/* Encabezado específico de la sección */

.pilares-section .page-label {
  color: #E35F72;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.pilares-section .page-title {
  color: #555;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 4px;
}

.pilares-section > p {
  max-width: 500px;
  margin: 0 auto 22px;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

/* ========================================
   GRID BENEFICIOS
======================================== */

.page-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;

  max-width: 1120px;
  margin: 28px auto 0;

  /* superior | laterales | inferior */
  padding: 32px 38px 22px;

  border: 1px solid #f1d9dd;
  border-radius: 14px;
  background: radial-gradient(circle at center, #fff 0%, #fff8f9 100%);
  box-shadow: 0 12px 34px rgba(209, 107, 120, 0.06);

}

.page-feature {
  position: relative;
  padding: 0 24px;
}

.page-feature:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  width: 1px;
  height: 150px;
  background: #efd0d5;
}

.page-feature-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;

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

  border-radius: 50%;
  background: #fdecef;
  color: #e35f72;
  font-size: 30px;
}

.page-feature h4 {
  margin: 0 0 12px;

  color: #4A4A4A;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.page-feature p{
  max-width:215px;
  margin:0 auto;

  color:#555;
  font-size:13px;
  line-height:1.7;
  font-weight:500;
}

.page-divider {
  width: 70px;
  height: 1px;
  margin: 0 auto 24px;
  position: relative;
  background: #f1d9dd;
}

.page-divider::after {
  content: "✦";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  padding: 0 10px;
  background: #fff;
  color: #e35f72;
  font-size: 11px;
}

.page-center .page-label {
  margin-bottom: 6px;
}

.page-center h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.page-features > .page-label,
.page-features > h2,
.page-features > .page-divider {
  grid-column: 1 / -1;
}

.page-features > .page-label {
  margin-bottom: 4px;

  color: #E35F72;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.page-features > h2 {
  margin: 0 0 10px;

  color: #555;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.page-features > .page-divider {
  margin: 0 auto 18px;
}

/* ========================================
   CTA FINAL
======================================== */

.page-cta {
  position: relative;
}

.page-cta picture {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.page-cta img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 100%;
  border-radius: 14px;
}

.page-cta-content {
  position: absolute;
  top: 50%;
  right: 11%;
  transform: translateY(-50%);
  max-width: 340px;
}

.page-cta-content h2 {
  margin-bottom: 12px;
  color: #2f2f2f;
  font-size: 30px;
  line-height: 1.15;
  max-width: 340px;
}

.page-cta-content p {
  margin-bottom: 18px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.page-cta .cta-btn {
  min-width: 220px;
  justify-content: center;
  padding: 12px 24px;
}

/* ========================================
   FAQ
======================================== */

.faq-list{
    max-width:980px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.faq-item{
    border:1px solid #F0D9DC;
    border-radius:10px;
    overflow:hidden;
}

.faq-question{
    width:100%;
    border:none;
    background:#fff;
    padding:6px 16px 3px;
    display:flex;
    align-items:center;
    gap:14px;
    cursor:pointer;
    text-align:left;
}

.faq-question span{
    flex:1;
    font-size:12px;
    font-weight:500;
    line-height:1.15;
    margin-top:-4px;
}

.faq-icon{
    width:44px;
    height:44px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#FDF5F6;
    color:#E35F72;
    font-size:20px;
}

.faq-icon i{
    color:#E35F72;
}

.faq-arrow{
    font-size:21px;
    color:#777;
    transition:.3s;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    padding:0 16px 0 82px;
    transition:max-height .35s ease, padding .35s ease;
}

.faq-answer p{
    margin:0;
    font-size:13px;
    line-height:1.5;
    color:#555;
}

.faq-item.active .faq-answer{
    max-height:120px;
    padding:0 16px 6px 82px;
    margin-top:-8px;
}

.faq-item.active .faq-arrow{
    transform:rotate(180deg);
}

.faq-section .page-title{
    font-size:34px;
    max-width:650px;
    margin:0 auto 10px;
}

/* Corrección definitiva FAQ */
.faq-section .faq-answer{
    text-align:left !important;
    padding-left:82px !important;
}

.faq-section .faq-answer p{
    text-align:left !important;
    max-width:none !important;
    margin:0 !important;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

  .page-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-cards {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 600px) {

  .page-container {
    padding: 60px 20px;
  }

  .page-title {
    font-size: 2rem;
  }

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

}

/* ========================================
   TARJETAS / DOCUMENTOS LEGALES
======================================== */

.legal-docs{
  padding-top:40px;
  text-align:center;
}

.legal-docs-label{
  display:block;
  margin-bottom:8px;
  color:#E35F72;
  font-size:17px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
}

.legal-docs-title{
  max-width:520px;
  margin:0 auto 10px;
  color:#555;
  font-size:13px;
  font-weight:500;
  line-height:1.5;
}

.legal-cards{
  display:grid;
  grid-template-columns:repeat(4,220px);
  justify-content:center;
  column-gap:16px;
  row-gap:25px;
}

.legal-card{
  min-height:300px;
  padding:26px 18px 22px;
  background:#F6F1ED;
  border:1px solid #E8C8CC;
  border-radius:8px;
  text-align:center;
  transition:.3s ease;
}

.legal-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(215,163,166,.12);
}

.legal-card-icon{
  width:58px;
  height:58px;
  margin:0 auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#FDF2F4;
  color:#E35F72;
  font-size:26px;
  border:1px solid #F3D9DD;
}

.legal-card h3{
  margin-bottom:16px;
  color:#4A4A4A;
  font-size:16px;
  font-weight:600;
  line-height:1.3;
}

.legal-card p{
  max-width:180px;
  min-height:110px;
  margin:0 auto 22px;
  color:#555;
  font-size:13px;
  line-height:1.7;
  font-weight:500;
}

.legal-card-line{
  width:100%;
  height:1px;
  margin:0 0 28px;
  background:#E8C8CC;
  opacity:.7;
}

.legal-card-link{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#E35F72;
  font-size:13px;
  font-weight:700;
  line-height:1;
  text-decoration:none;
}