/* HEADER PRINCIPAL */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #F0E7DA;
    /* crema */
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo {
    width: 180px;
    padding: 10px 20px;
}

.nav-container {
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    padding: 15px 20px;
    text-decoration: none;
    color: #6a2831;
    font-size: 18px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    background-color: #6a2831;
    color: #F0E7DA;
}


body {
    padding-top: 140px;
    /* ajusta según la altura del header */
}



/* Sebas tenia esto*/
/*logo*/
/*img{
    position: relative;
    top: 200px;
    display: block;
    margin: 0 auto;
    padding: 30px;
    width: 200px;
}*/

/*Barra de navegación*/
nav ul {
    display: flex;
    justify-content: flex-end;
    /* IZQUIERDA */
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}


nav li {
    float: left;
}

nav li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #6a2831;
    background-color: #F0E7DA;
    text-align: center;
    font-size: 20px;

}

nav li a:hover {
    color: #F0E7DA;
    background-color: #6a2831;
}

/*tipografía Kiona*/
@font-face {
    font-family: "Kiona";
    src: url("./fonts/Kiona-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* Para usar la fuente */
h1,
h2,
h3,
h4,
h5,
header {
    font-family: "Kiona", sans-serif;
}

/* Tipografía Heebo */
@font-face {
    font-family: "Heebo";
    src: url("./fonts/Heebo-VariableFont_wght.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* Clase para usar la fuente */
p {
    font-family: "Heebo", sans-serif;
}


/*aside y video del proceso*/
.video-aside {
    position: fixed;
    right: 0;
    top: 80px;
    /* Altura del nav */
    width: 25vw;
    /* 25% del ancho */
    height: 60vh;
    /* 60% del alto */
    padding: 12px;
    background-color: #F0E7DA;
}

.video-aside {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* VIDEO */
.video-proceso {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #6a2831;
}

h1,
p {
    margin-left: 40px;
    max-width: 65%;
}



/*cards*/
.img-card {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .img-card {
    transform: scale(1.05);
}

.card {
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 1.6rem;
    text-align: center;
}

.card-title {
    font-family: "Kiona", sans-serif;
    font-size: 1rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: #1a1a1a;
}

.card-text {
    font-family: "Heebo", sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Hace que toda la card sea clickeable sin afectar diseño */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-link:focus-visible .card {
    outline: 2px solid rgba(191, 167, 106, 0.6);
    outline-offset: 4px;
}


/*footer*/
.footer-praessia {
  background-color: #1a1a1a;
  color: #d4af37;
  padding: 36px 0 20px; /* más bajo, más fino */
  font-family: "Heebo", sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 0 40px;
}

.footer-col h6 {
  font-size: 13px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px; /* más lujo */
}

.footer-col p {
  font-size: 13px;
  margin: 3px 0;
  color: #cfcfcf;
}


.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;      /* 👈 deja de centrar */
  text-align: left;
  padding-left: 22px;           /* 👈 corre el slogan hacia la izquierda */
}

/* SLOGAN – versión premium */
.footer-slogan {
  font-family: 'Kiona', serif;  /* 👈 eleva estatus */
  font-size: 13px;              /* más visible pero elegante */
  color: #bfa76a;
  letter-spacing: 0.12em;       /* aire de lujo */
  text-transform: uppercase;    /* manifiesto */
  line-height: 1.6;
  margin: 0;
  max-width: 400px;             /* evita que se vea largo y plano */
}


.instagram-icon img {
    width: 28px;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.instagram-icon img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Parte inferior */
.footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);

  display: flex;
  flex-direction: column;
  align-items: center;   /* 👈 clave */
  gap: 10px;             /* espacio elegante entre texto y links */
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  color: #aaaaaa;
  letter-spacing: 0.3px;
  margin: 0;             /* 👈 elimina empujes raros */
  max-width: 700px;      /* opcional pero muy pro */
}


.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.footer-links a {
    color: #bfa76a;
    text-decoration: none;
    margin: 0 6px;
}

.footer-links span {
    color: #555;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.contact-item a {
    color: #cccccc;
    text-decoration: none;
}

.contact-item i {
    font-size: 18px;
    color: #bfa76a;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-item i:hover {
    color: #d4af37;
    transform: scale(1.1);
}

.footer-links a {
  color: #bfa76a;
  text-decoration: none;
  margin: 0 6px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d4af37;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* BOTONES SOCIALES UNIFICADOS */

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #bfa76a;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;

  padding: 6px 14px;
  border: 1px solid rgba(191, 167, 106, 0.35);
  border-radius: 999px;

  transition: all 0.3s ease;
}

.social-btn i {
  font-size: 16px;
}

.social-btn:hover {
  color: #d4af37;
  border-color: #d4af37;
  transform: translateY(-1px);
}


/*responsive footer*/
@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-logo {
        width: 70px;
        margin: auto;
    }

    .instagram-icon img {
        margin-top: 5px;
    }

    .instagram-icon i {
        font-size: 28px;
        color: #bfa76a;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .instagram-icon i:hover {
        color: #d4af37;
        transform: scale(1.1);
    }


    .footer-bottom {
        padding: 20px 15px 0;
    }

    .footer-bottom p {
        font-size: 11px;
        line-height: 1.5;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .footer-links span {
        display: none;
    }

    .footer-praessia * {
        transition: all 0.3s ease;
    }
}


/*impresion de envase*/
.marcado-envase {
    display: flex;
    flex-direction: column;
    align-items: center;     /* centra logo y texto */
    justify-content: center;
    text-align: center;

    width: 100%;             /* 👈 CLAVE */
    max-width: 300px;        /* controla el bloque */
    margin: 0 auto;          /* centra el bloque completo */

    gap: 28px;
}

.marcado-envase img {
    width: 110px;             /* 👈 logo más pequeño */
    height: auto;
}

.marcado-envase p {
    font-size: 13px;
    letter-spacing: 1.4px;
    line-height: 1.6;
    margin: 0;               /* evita desalineaciones */
}


/*A continuación se diseñará la pagina "tips" para el cuidado del producto*/

/*video educativo*/

.tips-hero {
  width: 100%;
  height: 40vh;
  overflow: hidden;
  margin-top: 90px;
  position: relative;
}

@media (max-width: 768px) {
  .tips-hero {
    height: 28vh;
    margin-top: 70px;
  }
}

.tips-hero img,
.tips-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ============================
   SECCIÓN DE TIPS
   ============================ */
.tips-header {
  text-align: center;
  margin-bottom: 70px;
}

.tips-header h2,
.tips-header .tips-subtitle {
  display: inline-block;
  width: 520px;          /* mismo ancho para ambos */
  max-width: 100%;
}

.tips-header h2 {
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.tips-header .tips-subtitle {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.7;
  margin: 0;
}

.tips-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.tips-section {
  max-width: 1100px;
  margin: 120px auto;
  padding: 0 40px;
  text-align: center;
}

.tips-section h2 {
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}



/* ============================
   GRID DE CARDS
   ============================ */

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

/* ============================
   CARD INDIVIDUAL
   ============================ */

.tip-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 45px 35px;
  border-radius: 14px;
  background-color: #faf9f7;
  min-height: 260px;
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.18);
}

/* ============================
   ICONO
   ============================ */

.tip-card .icon {
  display: block;
  font-size: 26px;
  margin: 0 auto 18px;
  color: #6a2831; /* tono marca */
}

/* ============================
   TÍTULO
   ============================ */

.tip-card h3 {
  font-size: 15px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}

/* ============================
   TEXTO (EDITORIAL PREMIUM)
   ============================ */

.tip-card p {
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;

  max-width: 240px;
  margin: 0 auto;

  opacity: 0.8;
}

/*A continuación viene la sección de familias olfativas*/

.olfactory-section {
  max-width: 1200px;
  margin: 140px auto;
  padding: 0 40px;
}

.olfactory-header {
  max-width: 520px;
  margin: 0 auto 80px;
  text-align: center;
}

.olfactory-header p {
  max-width: 420px;
  margin: 0 auto;
}

.olfactory-header h2 {
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.olfactory-header p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.7;
}

.olfactory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}


.olfactory-card {
  background-color: #faf9f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 48px 38px;
  text-align: center;

  transition: all 0.35s ease;
  cursor: default;
}

.olfactory-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.15);
}

.olfactory-icon {
  font-size: 30px;
  margin-bottom: 22px;
  display: block;
}

.olfactory-card h3 {
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.olfactory-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;

  max-width: 220px;
  margin: 0 auto;
}

.citrica .olfactory-icon { color: #e6b65c; }
.floral .olfactory-icon { color: #d8a6b2; }
.amaderada .olfactory-icon { color: #8b6a4f; }
.oriental .olfactory-icon { color: #9c6b4e; }
.fougere .olfactory-icon { color: #6f8f7a; }
.chipre .olfactory-icon { color: #4f5d5b; }
.cuero .olfactory-icon { color: #3a2f2b; }
.gourmand .olfactory-icon { color: #b88a6a; }

@media (max-width: 768px) {
  .olfactory-section {
    margin: 100px auto;
    padding: 0 24px;
  }

  .olfactory-card {
    padding: 40px 30px;
  }
}


/*diseño para la sección de familias olfativas detallada*/

.family-hero {
  width: 100%;
  margin: 140px 0 80px;
}

.family-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
}

.family-text {
  max-width: 760px;
  margin: 0 auto 90px;
  text-align: center;
}

.family-text h2 {
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.family-text p {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 20px;
}

.family-notes {
  max-width: 760px;
  margin: 0 auto 140px;
  text-align: center;
}

.family-notes h3 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
  opacity: 0.6;
}

.notes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.family-editorial .notes-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0.75rem 1.25rem;

}

.family-editorial .notes-grid span {
  white-space: nowrap;
  flex-shrink: 0;
}

.notes-grid span {
  border: 1px solid rgba(0,0,0,0.12);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  opacity: 0.8;
}

.family-editorial h2 {
  font-size: 2.1rem;
}


.olfactory-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.olfactory-card {
  border: 1px solid rgba(0,0,0,0.08);
  padding: 40px 30px;
  border-radius: 14px;
  background-color: #faf9f7;
  transition: all 0.35s ease;
  cursor: pointer;
}

.olfactory-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}


html {
  scroll-behavior: smooth;
}

/* ===============================
   DETALLE FAMILIA OLFATIVA
   =============================== */

.family-detail {
  max-width: 1100px;
  margin: 160px auto 80px;
  padding: 0 40px;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* TEXTO */
.family-content h2 {
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.family-content p {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 20px;
}

/* IMAGEN */
.family-image img {
  width: 100%;
  max-width: 420px;
  margin-left: auto;

  border-radius: 18px;
  object-fit: cover;

  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* NOTAS */
.family-notes {
  max-width: 760px;
  margin: 40px auto 160px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .family-detail {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .family-image img {
    margin: 0 auto;
  }
}

/* ===============================
   FAMILIA OLFATIVA EDITORIAL
   =============================== */

.family-editorial {
  position: relative;
  min-height: 480px;
  margin: 160px 0 60px;

  display: flex;
  align-items: center;

  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

/* DIFUMINADO */
.family-editorial::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    #f4efe6 0%,
    #f4efe6 45%,
    rgba(244, 239, 230, 0.85) 60%,
    rgba(244, 239, 230, 0.4) 75%,
    rgba(244, 239, 230, 0) 100%
  );

  z-index: 1;
}

/* CONTENIDO */
.family-editorial-content {
  position: relative;
  z-index: 2;

  max-width: 640px;
  padding: 0 40px 0 80px;
}

/* TEXTO */
.family-editorial-content h2 {
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.family-editorial-content .family-intro {
  font-size: 15px;
  font-style: italic;
  opacity: 0.7;
  margin-bottom: 18px;
}

.family-editorial-content p {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 16px;
}

/* ===============================
   BACKGROUND POR FAMILIA
   =============================== */

.citrica-bg {
  background-image: url("img/citrica.png");
}

@media (max-width: 900px) {
  .family-editorial {
    background-position: center;
  }

  .family-editorial::before {
    background: rgba(244, 239, 230, 0.92);
  }

  .family-editorial-content {
    padding: 60px 30px;
    max-width: 100%;
    text-align: center;
  }
}

.floral-bg { background-image: url("img/floral.png"); }

/* ===============================
   NOTAS DENTRO DEL BLOQUE
   =============================== */

.family-notes-inline {
  margin-top: 42px;
}

.family-notes-inline h3 {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.6;
}

.family-notes-inline .notes-grid {
  justify-content: flex-start;
  gap: 12px;
}

@media (max-width: 900px) {
  .family-notes-inline .notes-grid {
    justify-content: center;
  }
}

.family-editorial-content p {
  color: #3f3f3f; /* apenas más contraste */
}

.family-editorial-content p {
  margin-bottom: 22px;
}

.family-intro::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: rgba(0,0,0,0.15);
  margin: 18px 0 28px;
}

.notes-grid span {
  background-color: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .family-editorial-content {
    padding: 0 24px;
  }
}

@media (max-width: 1024px) {
  .olfactory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .olfactory-grid {
    grid-template-columns: 1fr;
  }
}

.olfactory-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}




.family-editorial {
  background-size: cover;
  background-repeat: no-repeat;
  padding: 6rem 0;
}

/* ================================
   CÍTRICA – luminosa, fresca
================================ */
.citrica-bg {
  background-image:
    linear-gradient(to right,
      rgba(250,249,247,0.96) 0%,
      rgba(250,249,247,0.88) 42%,
      rgba(250,249,247,0.35) 68%,
      rgba(250,249,247,0) 100%
    ),
    url("img/citrica.webp");
}

/* ================================
   FLORAL – suave, elegante
================================ */
.floral-bg {
  background-image:
    linear-gradient(to right,
      rgba(250,249,247,0.94) 0%,
      rgba(250,249,247,0.86) 42%,
      rgba(250,249,247,0.32) 68%,
      rgba(250,249,247,0) 100%
    ),
    url("img/floral.webp");
}

/* ================================
   AMADERADA – profunda, estructural
================================ */
.amaderada-bg {
  background-image:
    linear-gradient(to right,
      rgba(245,244,242,0.96) 0%,
      rgba(245,244,242,0.9) 45%,
      rgba(245,244,242,0.45) 70%,
      rgba(245,244,242,0) 100%
    ),
    url("img/amaderada.webp");
}

/* ================================
   ORIENTAL / ÁMBAR – intensa
================================ */
.oriental-bg {
  background-image:
    linear-gradient(to right,
      rgba(238,235,230,0.97) 0%,
      rgba(238,235,230,0.92) 48%,
      rgba(238,235,230,0.5) 72%,
      rgba(238,235,230,0) 100%
    ),
    url("img/oriental.webp");
}

/* ================================
   FOUGÈRE – verde, aromática
================================ */
.fougere-bg {
  background-image:
    linear-gradient(to right,
      rgba(246,247,245,0.95) 0%,
      rgba(246,247,245,0.88) 45%,
      rgba(246,247,245,0.4) 70%,
      rgba(246,247,245,0) 100%
    ),
    url("img/fougere.webp");
}

/* ================================
   CHIPRE – sofisticada, oscura
================================ */
.chipre-bg {
  background-image:
    linear-gradient(to right,
      rgba(240,238,235,0.97) 0%,
      rgba(240,238,235,0.92) 50%,
      rgba(240,238,235,0.55) 75%,
      rgba(240,238,235,0) 100%
    ),
    url("img/chipre.webp");
}

/* ================================
   CUERO – dramática, potente
================================ */
.cuero-bg {
  background-image:
    linear-gradient(to right,
      rgba(232,230,226,0.98) 0%,
      rgba(232,230,226,0.94) 52%,
      rgba(232,230,226,0.6) 78%,
      rgba(232,230,226,0) 100%
    ),
    url("img/cuero.webp");
}

/* ================================
   GOURMAND – cálida, envolvente
================================ */
.gourmand-bg {
  background-image:
    linear-gradient(to right,
      rgba(248,244,238,0.96) 0%,
      rgba(248,244,238,0.9) 46%,
      rgba(248,244,238,0.48) 72%,
      rgba(248,244,238,0) 100%
    ),
    url("img/gourmand.webp");
}


.family-editorial {
  padding: 4.5rem 0;
}

.family-editorial {
  scroll-margin-top: 120px;
}

/* SECCION DEDICADA A LAS PREGUNTAS FECUENTES +*/
.faq-section {
  background-color: #faf9f7;
  padding: 140px 24px;
  font-family: 'Heebo', sans-serif;
  color: #3a3a3a;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 80px;
}

.faq-header h2 {
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.faq-intro {
  font-size: 15px;
  opacity: 0.75;
  line-height: 1.7;
}

.faq-group {
  margin-bottom: 70px;
}

.faq-group-title {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 30px;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 14px;
}

.faq-legal {
  font-size: 13px;
  opacity: 0.65;
}

.faq-cta {
  text-align: center;
  margin-top: 100px;
}

.faq-cta p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 10px;
}

.faq-cta a {
  font-size: 14px;
  text-decoration: underline;
  color: inherit;
}

.faq-intro {
  max-width: 560px;
  margin: 0 auto;
}


/*SECCION DE PQRS*/

/* ==========================
   PQRS – PRAESSIA
   ========================== */

.pqrs-section {
  background-color: #faf9f7;
  padding: 140px 24px;
  font-family: 'Heebo', sans-serif;
}

.pqrs-container {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.pqrs-header h2 {
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.pqrs-intro {
  font-size: 15px;
  opacity: 0.75;
  line-height: 1.7;
  margin-bottom: 70px;
}

.pqrs-intro {
  max-width: 420px;
  margin: 0 auto 70px;
}


/* FORM */

.pqrs-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pqrs-form select,
.pqrs-form textarea,
.pqrs-form input {
  width: 100%;
  padding: 16px 18px;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,0.18);
  background: transparent;
  outline: none;
}

.pqrs-form textarea {
  min-height: 160px;
  resize: vertical;
}

.pqrs-form select:focus,
.pqrs-form textarea:focus,
.pqrs-form input:focus {
  border-color: #2f2f2f;
}

/* BOTÓN */

.pqrs-form button {
  margin-top: 30px;
  padding: 14px 0;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid #2f2f2f;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pqrs-form button:hover {
  background-color: #2f2f2f;
  color: #fff;
}

/* ESTADOS */

.pqrs-form.sending button {
  opacity: 0.4;
  pointer-events: none;
}

.pqrs-status {
  font-size: 13px;
  margin-top: 20px;
  opacity: 0.75;
}

.pqrs-form.success .pqrs-status {
  color: #2f2f2f;
}

.pqrs-form.error .pqrs-status {
  color: #8a2e2e;
}

/* NOTA FINAL */

.pqrs-note {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 60px;
}

.pqrs-note {
  max-width: 420px;
  margin: 60px auto 0;
}

/* QUINES SOMOS*/


.about-section {
  background-color: #faf9f7;
  padding: 160px 24px;
  font-family: 'Heebo', sans-serif;
  color: #3a3a3a;
}

.about-hero {
  max-width: 720px;
  margin: 0 auto 90px;
  text-align: center;
}

.about-hero h2 {
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.about-manifesto {
  font-size: 18px;
  font-style: italic;
  opacity: 0.75;
}

/* BLOQUES */

.about-block {
  max-width: 720px;
  margin: 0 auto 80px;
}

.about-block h3 {
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
  opacity: 0.7;
}

.about-block p {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.85;
  margin-bottom: 22px;
}

.about-highlight {
  border-left: 2px solid rgba(0,0,0,0.1);
  padding-left: 28px;
}

/* VALORES */

.about-values {
  max-width: 920px;
  margin: 0 auto 120px;
  text-align: center;
}

.about-values h3 {
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 50px;
  opacity: 0.7;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-card {
  background-color: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 32px 24px;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
}

.value-card h4 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  opacity: 0.75;
}

/* CIERRE */

.about-closing {
  text-align: center;
}

.about-signature {
  font-style: italic;
  opacity: 0.75;
  margin-top: 40px;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-highlight {
    border-left: none;
    padding-left: 0;
  }
}

.about-section {
  text-align: center; /* estructura */
}

.about-block,
.about-highlight,
.about-closing {
  text-align: left;   /* lectura */
}

.about-image-layer {
  position: absolute;
  inset: 0;
  background-image: url("img/quienes_somos.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: blur(4px);
  z-index: 0;
}

.about-section {
  position: relative;
  overflow: hidden;
}

.about-section > * {
  position: relative;
  z-index: 1;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.value-detail {
  max-height: auto;
  opacity: 0;
  transition: all 0.4s ease;
}

.value-card:hover .value-detail {
  max-height: 120px;
  opacity: 0.8;
  margin-top: 14px;
}

.about-block p:last-child {
  margin-bottom: 0;
}

.about-block p,
.value-card p {
  max-width: 640px;
}

.about-image-layer {
  pointer-events: none;
}

.value-card {
  text-align: center;   /* centra título + texto */
}

.value-card h4 {
  margin-bottom: 14px;
}

.value-card p {
  margin-left: auto;
  margin-right: auto;
}

.about-image-layer {
  background-image: url("img/quienes_somos.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: blur(4px);
  pointer-events: none;
}


.about-image-layer {
  position: absolute;
  inset: 0;
  background-image: url("img/quienes_somos.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.08;          /* ⬅️ súbela */
  filter: blur(2px);     /* ⬅️ menos blur */
  z-index: 0;
  pointer-events: none;
}

.about-image-layer {
  filter: blur(2px) grayscale(10%);
}

.about-image-layer {
  opacity: 0.28;
  filter: blur(2px) contrast(1.05) saturate(0.9);
}

.about-overlay {
  background: rgba(250, 249, 247, 0.78);
}

.value-card {
  background-color: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* QUIZ */

/* ===========================
   QUIZ PRAESSIA – ESTILO BASE
   =========================== */

/* =========================
   VARIABLES DE MARCA
========================= */
:root {
  --praessia-bg: #f6f3ee;
  --praessia-white: #ffffff;
  --praessia-text: #2b2b2b;
  --praessia-muted: #7a7a7a;
  --praessia-accent: #b89b6d;
  --praessia-border: #e2ddd4;
  --praessia-hover: #a88a5c;
  --radius-soft: 14px;
  --transition-soft: all 0.25s ease;
}

/* =========================
   TIPOGRAFÍA BASE
========================= */
body {
  font-family: 'Heebo', sans-serif;
  background-color: var(--praessia-bg);
  color: var(--praessia-text);
  line-height: 1.6;
}

/* =========================
   CONTENEDOR ENCUESTA
========================= */
#praessia-quiz {
  max-width: 820px;
  margin: 120px auto 80px;
  padding: 48px 56px;
  background-color: var(--praessia-white);
  border-radius: var(--radius-soft);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

/* =========================
   TÍTULO
========================= */
#praessia-quiz h2 {
  font-family: 'Kiona', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 48px;
  color: var(--praessia-text);
}

/* =========================
   FIELDSET / PREGUNTAS
========================= */
fieldset {
  border: none;
  padding: 0;
  margin-bottom: 42px;
}

legend {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--praessia-text);
}

/* =========================
   OPCIONES
========================= */
label {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  margin-bottom: 10px;
  border: 1px solid var(--praessia-border);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-soft);
  font-size: 0.95rem;
  color: var(--praessia-text);
  background-color: #faf9f7;
}

label:hover {
  border-color: var(--praessia-accent);
  background-color: #fdfbf7;
}

/* =========================
   RADIO PERSONALIZADO
========================= */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--praessia-muted);
  border-radius: 50%;
  margin-right: 14px;
  position: relative;
  cursor: pointer;
  transition: var(--transition-soft);
}

input[type="radio"]:checked {
  border-color: var(--praessia-accent);
}

input[type="radio"]:checked::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: var(--praessia-accent);
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
}

/* =========================
   SECCIÓN GÉNERO (DESTACADA)
========================= */
fieldset:last-of-type {
  padding-top: 32px;
  border-top: 1px solid var(--praessia-border);
}


/* =========================
   RESULTADO
========================= */
#quiz-result {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 32px;
  text-align: center;
  font-size: 1.1rem;
  background-color: var(--praessia-white);
  border-radius: var(--radius-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  #praessia-quiz {
    padding: 36px 26px;
    margin-top: 100px;
  }

  #praessia-quiz h2 {
    font-size: 1.5rem;
  }
}


/* =========================
   SISTEMA ÚNICO DE BOTONES PRAESSIA – QUIZ
   ========================= */

.praessia-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 38px;
  margin: 0 auto;

  font-family: 'Heebo', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;

  color: #F0E7DA;
  background-color: #232324;

  border: 1px solid #232324;
  border-radius: 999px;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

/* CTA PRINCIPAL */
.praessia-btn.primary {
  font-weight: 500;
  opacity: 1;
}

/* CTA SECUNDARIO (opción alternativa) */
.praessia-btn.secondary-cta {
  margin-top: 14px;
  opacity: 0.65;
}

/* CTA REPETIR QUIZ */
.praessia-btn.secondary {
  margin-top: 32px;
  opacity: 0.55;
}

/* HOVER */
.praessia-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

/* FOCUS */
.praessia-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(35, 35, 36, 0.35);
}


/* =========================
   BOTÓN "VER MI RESULTADO" – INTEGRADO AL SISTEMA PRAESSIA
========================= */

#praessia-quiz > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 38px;
  margin: 50px auto 0;

  font-family: 'Heebo', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #F0E7DA;
  background-color: #232324;

  border: 1px solid #232324;
  border-radius: 999px;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

/* Hover coherente con el resto */
#praessia-quiz > button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

/* Focus accesible */
#praessia-quiz > button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(35, 35, 36, 0.35);
}


/* =========================
   RESULT CARD – CENTRADO TOTAL
========================= */

#quiz-result {
  text-align: center;
}

#quiz-result .result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Imagen del perfume */
#quiz-result .result-card img {
  display: block;
  margin: 18px auto;
}

/* Nombre del perfume */
#quiz-result .result-card h3,
#quiz-result .result-card h4,
#quiz-result .perfume-name {
  text-align: center;
  margin: 12px 0 6px;
  width: 100%;
}


#quiz-result .result-card h3,
#quiz-result .perfume-name {
  font-family: 'Kiona', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================
   RESULTADO – ESTRUCTURA Y ESPACIADO
========================= */

#quiz-result {
  padding: 42px 36px;
}

/* Card interna */
#quiz-result .result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   BLOQUE PRINCIPAL
========================= */

#quiz-result .result-card.primary {
  padding-bottom: 42px;
}

#quiz-result .result-card.primary img {
  margin: 24px auto 16px;
}

#quiz-result .result-card.primary h3 {
  margin-bottom: 18px;
}

/* =========================
   DIVISOR VISUAL
========================= */

#quiz-result .result-divider {
  width: 60%;
  height: 1px;
  background-color: var(--praessia-border);
  margin: 42px auto;
  opacity: 0.8;
}

/* =====================*


/* ===== PÁGINAS LEGALES PRAESSIA ===== */

.legal-page {
  padding: 80px 0;
}

.legal-card {
  max-width: 900px;          /* MISMO ancho de card */
  margin: auto;
  background: #ffffff;

  padding: 70px 48px;        /* 🔥 CLAVE: menos padding lateral */

  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}


.legal-title {
  font-family: 'Kiona', serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 10px;
}

.legal-brand {
  text-align: center;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 60px;
}

.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 20px;
}

.legal-list {
  padding-left: 18px;
}

.legal-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 60px 0;
}

.legal-footer {
  text-align: center;
  padding: 40px 0;
  font-size: 0.8rem;
  color: #777;
}

.legal-title,
.legal-brand {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ===== OVERRIDE ANCHO TEXTO LEGAL ===== */

.legal-card section,
.legal-card p,
.legal-card ul,
.legal-card li,
.legal-card h2 {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.legal-section p {
  text-align: justify;
}


.legal-section {
  max-width: 720px;
}

.legal-section {
  margin-left: auto;
  margin-right: auto;
}

.legal-section h2 {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-section p {
  margin-bottom: 28px;
}


/* ==============================
   RESPONSIVE – PÁGINAS LEGALES
   PRAESSIA
============================== */

/* Tablets grandes y laptops pequeñas */
@media (max-width: 992px) {
  .legal-card {
    max-width: 90%;
    padding: 60px 50px;
  }

  .legal-title {
    font-size: 2rem;
  }
}

/* Tablets y móviles grandes */
@media (max-width: 768px) {
  .legal-page {
    padding: 60px 20px;
  }

  .legal-card {
    padding: 50px 30px;
    border-radius: 22px;
  }

  .legal-title {
    font-size: 1.8rem;
  }

  .legal-section h2 {
    font-size: 1.15rem;
  }

  .legal-section p,
  .legal-list li {
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .legal-divider {
    margin: 45px 0;
  }
}

/* Móviles */
@media (max-width: 576px) {
  .legal-page {
    padding: 40px 16px;
  }

  .legal-card {
    padding: 40px 22px;
    border-radius: 18px;
  }

  .legal-title {
    font-size: 1.55rem;
    line-height: 1.3;
  }

  .legal-brand {
    font-size: 0.75rem;
    margin-bottom: 40px;
  }

  .legal-section h2 {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .legal-section p,
  .legal-list li {
    font-size: 0.9rem;
  }

  .legal-list {
    padding-left: 14px;
  }

  .legal-divider {
    margin: 35px 0;
  }
}


/* =========================
   HERO INTRO QUIZ – CENTRADO PRIORITARIO
========================= */

.quiz-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiz-hero {
  width: 100%;
  max-width: 820px;
  margin: 120px auto 48px;
  padding: 0 20px;
  text-align: center !important;
}

.quiz-hero .quiz-title {
  font-family: 'Kiona', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--praessia-text);
  margin: 0 auto 24px;
  text-align: center !important;
}

.quiz-hero .quiz-intro {
  max-width: 760px;
  margin: 0 auto;
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--praessia-muted);
  text-align: center !important;
}

/* Ajuste para que el formulario no se pegue arriba */
#praessia-quiz {
  margin-top: 0;
}

/* =========================
   RESPONSIVE HERO
========================= */

@media (max-width: 768px) {
  .quiz-hero {
    margin: 90px auto 36px;
    padding: 0 16px;
  }

  .quiz-hero .quiz-title {
    font-size: 1.6rem;
  }

  .quiz-hero .quiz-intro {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}

@media (max-width: 576px) {
  .quiz-hero .quiz-title {
    font-size: 1.4rem;
  }

  .quiz-hero .quiz-intro {
    font-size: 0.92rem;
  }
}



/* ================================================
   PÁGINA BIENVENIDA QR – bienvenida_qr.html
   Pegar al final de style.css
   ================================================ */

.qr-page {
  padding-top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f6f3ee;
}

.qr-hero {
  background-color: #1a1a1a;
  padding: 52px 24px 44px;
  text-align: center;
}

.qr-hero .qr-logo {
  width: 110px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.qr-hero .qr-welcome {
  font-family: 'Heebo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #bfa76a;
  margin-bottom: 10px;
}

.qr-hero h1 {
  font-family: 'Kiona', sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  color: #F0E7DA;
  letter-spacing: 0.04em;
  margin: 0;
}

.qr-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 80px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.qr-intro {
  text-align: center;
  margin-bottom: 52px;
}

.qr-intro p {
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #5a5a5a;
  max-width: 380px;
  margin: 0 auto;
}

.qr-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 52px;
  width: 100%;
  max-width: 300px;
}

.qr-divider::before,
.qr-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.12);
}

.qr-divider span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bfa76a;
  font-family: 'Heebo', sans-serif;
  white-space: nowrap;
}

.qr-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.qr-option-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 30px;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.qr-btn-primary {
  background-color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.qr-btn-primary .btn-label {
  color: #F0E7DA;
}

.qr-btn-primary .btn-copy {
  color: rgba(240, 231, 218, 0.6);
}

.qr-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.qr-btn-secondary {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.qr-btn-secondary .btn-label {
  color: #1a1a1a;
}

.qr-btn-secondary .btn-copy {
  color: rgba(0, 0, 0, 0.45);
}

.qr-btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.18);
}

.qr-option-btn .btn-label {
  font-family: 'Kiona', sans-serif;
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.3;
}

.qr-option-btn .btn-copy {
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.qr-option-btn .btn-arrow {
  align-self: flex-end;
  font-size: 18px;
  margin-top: 14px;
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.qr-option-btn:hover .btn-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.qr-btn-primary .btn-arrow {
  color: #bfa76a;
}

.qr-btn-secondary .btn-arrow {
  color: #6a2831;
}

.qr-footer-note {
  margin-top: 52px;
  text-align: center;
}

.qr-footer-note p {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.35);
  letter-spacing: 0.08em;
  font-family: 'Heebo', sans-serif;
}

@media (max-width: 480px) {
  .qr-hero {
    padding: 40px 20px 36px;
  }

  .qr-body {
    padding: 48px 20px 60px;
  }

  .qr-option-btn {
    padding: 22px 22px;
  }
}


/* ================================================
   PÁGINA EXPLORATION – exploration.html
   ================================================ */

.exp-page {
  padding-top: 0;
  background-color: #f6f3ee;
}

.exp-hero {
  background-color: #1a1a1a;
  padding: 52px 24px 48px;
  text-align: center;
}

.exp-hero .exp-logo {
  width: 100px;
  height: auto;
  margin-bottom: 22px;
  filter: brightness(0) invert(1);
}

.exp-hero .exp-eyebrow {
  font-family: 'Heebo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #bfa76a;
  margin-bottom: 12px;
}

.exp-hero h1 {
  font-family: 'Kiona', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: #F0E7DA;
  letter-spacing: 0.04em;
  margin: 0;
}

.exp-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 100px;
}

.exp-intro {
  text-align: center;
  margin-bottom: 72px;
}

.exp-intro p {
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: #5a5a5a;
  max-width: 460px;
  margin: 0 auto;
}

.exp-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 72px;
  max-width: 320px;
}

.exp-divider::before,
.exp-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

.exp-divider span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bfa76a;
  font-family: 'Heebo', sans-serif;
  white-space: nowrap;
}

.perfume-block {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 48px 40px;
  margin-bottom: 40px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.perfume-block img {
  width: 140px;
  height: auto;
  margin: 0 auto 28px;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.perfume-block h2 {
  font-family: 'Kiona', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.perfume-block .perfume-subtitle {
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bfa76a;
  margin-bottom: 24px;
}

.perfume-block .perfume-desc {
  font-family: 'Heebo', sans-serif;
  font-size: 14.5px;
  line-height: 1.85;
  color: #555;
  max-width: 460px;
  margin: 0 auto;
}

.notes-section {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.notes-section h3 {
  font-family: 'Kiona', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: #999;
  margin-bottom: 32px;
}

.notes-pyramid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.note-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.note-row .note-label {
  font-family: 'Kiona', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bfa76a;
  min-width: 64px;
  padding-top: 2px;
}

.note-row .note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.note-tag {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  color: #444;
  background-color: #faf9f7;
}

.usage-section {
  background-color: #1a1a1a;
  border-radius: 20px;
  padding: 44px 40px;
  margin-bottom: 40px;
}

.usage-section h3 {
  font-family: 'Kiona', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #bfa76a;
  text-align: center;
  margin-bottom: 32px;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.usage-item {
  text-align: center;
  padding: 20px 16px;
  border: 1px solid rgba(191, 167, 106, 0.15);
  border-radius: 14px;
}

.usage-item i {
  font-size: 22px;
  color: #bfa76a;
  display: block;
  margin-bottom: 12px;
}

.usage-item p {
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  color: rgba(240, 231, 218, 0.7);
  line-height: 1.6;
  margin: 0;
  max-width: 100%;
}

.exp-cta {
  text-align: center;
  margin-top: 60px;
}

.exp-cta p {
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.exp-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

@media (max-width: 600px) {
  .perfume-block,
  .notes-section,
  .usage-section {
    padding: 32px 22px;
  }

  .exp-container {
    padding: 52px 18px 80px;
  }

  .usage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .note-row {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .usage-grid {
    grid-template-columns: 1fr;
  }
}

.qr-hero h1,
.qr-hero p {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

/* ================================================
   ANIMACIÓN DE ENTRADA – bienvenida_qr
   Pegar al final de style.css
   ================================================ */

/* Estado inicial: invisible y ligeramente desplazado hacia abajo */
.qr-hidden {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Estado final: visible en su posición natural */
.qr-visible {
  opacity: 1;
  transform: translateY(0);
}



/* ============================================================
   PRAESSIA — RESULTADO DEL TEST
   Reemplaza los estilos de #quiz-result que ya tienes
   (líneas ~1814 y ~1955 en style.css) con este bloque.
   Mantén todo lo demás intacto.
   ============================================================ */


/* ── Variables internas de resultado (no rompen el resto) ── */
:root {
  --r-cream:      #F0E7DA;
  --r-cream-deep: #E8DDD0;
  --r-dark:       #1a1a1a;
  --r-wine:       #6a2831;
  --r-wine-light: #8a3840;
  --r-gold:       #bfa76a;
  --r-gold-bright:#d4af37;
  --r-muted:      #7a6a5a;
  --r-border:     rgba(191,167,106,0.22);
  --r-text:       #2a201a;
}

/* ═══════════════════════════════════════════════════════════
   CONTENEDOR RESULTADO — reemplaza el #quiz-result existente
   ═══════════════════════════════════════════════════════════ */
#quiz-result {
  margin: 0;
  padding: 0;
  max-width: 100%;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  text-align: left;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN 1 — REVELACIÓN (fondo oscuro)
   ═══════════════════════════════════════════════════════════ */
.revelation-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
}

.revelation-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 35%, rgba(191,167,106,0.1) 0%, transparent 65%),
    linear-gradient(180deg, #1a1a1a 0%, #1f1812 60%, #161210 100%);
  z-index: 0;
}

.revelation-section > * { position: relative; z-index: 1; }

.revelation-eyebrow {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--r-gold);
  margin-bottom: 44px;
  opacity: 0;
  animation: rFadeUp 0.7s ease 0.3s forwards;
}

.revelation-presence-name {
  font-family: 'Kiona', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 7.5vw, 68px);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--r-cream);
  margin-bottom: 22px;
  opacity: 0;
  animation: rFadeUp 0.8s ease 0.5s forwards;
}

.revelation-presence-name em {
  font-style: italic;
  color: var(--r-gold);
  font-family: 'Kiona', sans-serif;
}

.revelation-tagline {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 2.2vw, 18px);
  color: rgba(240,231,218,0.6);
  max-width: 440px;
  line-height: 1.7;
  margin: 0 auto 60px;
  opacity: 0;
  animation: rFadeUp 0.8s ease 0.7s forwards;
}

.revelation-divider {
  width: 36px;
  height: 1px;
  background: var(--r-gold);
  margin: 0 auto 56px;
  opacity: 0;
  animation: rFadeIn 0.6s ease 0.9s forwards;
}

/* ── Barras de afinidad ── */
.affinity-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  opacity: 0;
  animation: rFadeUp 0.8s ease 1.1s forwards;
}

.affinity-label-top {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--r-gold);
  margin-bottom: 28px;
}

.affinity-bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}

.affinity-bar-label {
  font-family: 'Heebo', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,231,218,0.45);
  width: 148px;
  text-align: right;
  flex-shrink: 0;
}

.affinity-bar-row.is-primary .affinity-bar-label {
  color: var(--r-gold);
  font-weight: 400;
}

.affinity-bar-track {
  flex: 1;
  height: 2px;
  background: rgba(240,231,218,0.08);
  border-radius: 1px;
  position: relative;
}

.affinity-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(191,167,106,0.35), var(--r-gold));
  border-radius: 1px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.affinity-bar-row.is-primary .affinity-bar-fill {
  background: linear-gradient(90deg, var(--r-gold), var(--r-gold-bright));
  box-shadow: 0 0 10px rgba(212,175,55,0.35);
}

.affinity-bar-fill::after {
  content: '';
  position: absolute;
  right: -1px; top: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--r-gold);
  opacity: 0;
  transition: opacity 0.3s 0.9s;
}

.affinity-bar-row.is-primary .affinity-bar-fill::after { opacity: 1; }

.affinity-bar-pct {
  font-family: 'Heebo', sans-serif;
  font-size: 10px;
  font-weight: 300;
  color: rgba(240,231,218,0.3);
  width: 32px;
  flex-shrink: 0;
}

.affinity-bar-row.is-primary .affinity-bar-pct { color: var(--r-gold); }

/* ═══════════════════════════════════════════════════════════
   SECCIÓN 2 — INTERPRETACIÓN (crema)
   ═══════════════════════════════════════════════════════════ */
.interpretation-section {
  background: var(--r-cream);
  padding: 100px 24px;
}

.result-section-inner {
  max-width: 660px;
  margin: 0 auto;
}

.section-eyebrow {
  display: block;
  font-family: 'Heebo', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--r-wine);
  margin-bottom: 32px;
}

.interpretation-heading {
  font-family: 'Kiona', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 3.8vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--r-dark);
  margin-bottom: 40px;
}

.interpretation-heading em {
  font-style: italic;
  color: var(--r-wine);
}

/* Bloque de texto IA */
.interpretation-text-block {
  min-height: 100px;
  margin-bottom: 48px;
}

.interpretation-text {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
  color: var(--r-text);
}

/* Estado cargando IA */
.interpretation-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--r-muted);
  font-family: 'Heebo', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.interpretation-loading .loading-dots span {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--r-wine);
  margin: 0 2px;
  animation: dotPulse 1.4s ease-in-out infinite;
}
.interpretation-loading .loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.interpretation-loading .loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
  40%           { transform: scale(1);   opacity: 1; }
}

/* Grid de contextos de presencia */
.presence-contexts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--r-border);
  border: 1px solid var(--r-border);
}

.presence-context-item {
  background: var(--r-cream);
  padding: 26px 22px;
}

.presence-context-label {
  display: block;
  font-family: 'Heebo', sans-serif;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--r-wine);
  margin-bottom: 10px;
}

.presence-context-text {
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--r-text);
}

@media (max-width: 540px) {
  .presence-contexts { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN 3 — RECOMENDACIÓN (crema profundo)
   ═══════════════════════════════════════════════════════════ */
.recommendation-section {
  background: var(--r-cream-deep);
  padding: 100px 24px;
  border-top: 1px solid var(--r-border);
  border-bottom: 1px solid var(--r-border);
}

.rec-intro-text {
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--r-muted);
  max-width: 480px;
  margin-bottom: 60px;
}

/* Card de perfume */
.perfume-rec-card { margin-bottom: 52px; }

.perfume-rec-card + .perfume-rec-card {
  padding-top: 52px;
  border-top: 1px solid var(--r-border);
}

.perfume-rec-card.secondary { opacity: 0.82; }

.perfume-card-badge {
  display: inline-block;
  font-family: 'Heebo', sans-serif;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--r-wine);
  border: 1px solid rgba(106,40,49,0.3);
  padding: 4px 12px;
  margin-bottom: 28px;
}

.perfume-rec-card.secondary .perfume-card-badge {
  color: var(--r-muted);
  border-color: rgba(122,106,90,0.3);
}

.perfume-card-layout {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 36px;
  align-items: start;
}

.perfume-image-area {
  aspect-ratio: 2/3;
  background: linear-gradient(145deg, var(--r-cream) 0%, rgba(191,167,106,0.07) 100%);
  border: 1px solid var(--r-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.perfume-image-area img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.perfume-image-placeholder {
  text-align: center;
  color: var(--r-muted);
}

.perfume-image-placeholder svg { opacity: 0.2; margin-bottom: 8px; }

.perfume-image-placeholder span {
  display: block;
  font-family: 'Heebo', sans-serif;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.perfume-card-info { padding-top: 4px; }

.perfume-card-name {
  font-family: 'Kiona', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 3vw, 26px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--r-dark);
  margin-bottom: 6px;
}

.perfume-card-family {
  font-family: 'Heebo', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--r-muted);
  margin-bottom: 20px;
}

.perfume-card-rationale {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--r-text);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 2px solid var(--r-wine);
}

.perfume-notes-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.perfume-note-tag {
  font-family: 'Heebo', sans-serif;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--r-muted);
  border: 1px solid var(--r-border);
  padding: 4px 10px;
}

/* Botón detalle perfume */
.btn-perfume-detail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Heebo', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--r-wine);
  background: transparent;
  border: 1px solid rgba(106,40,49,0.4);
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  text-decoration: none;
  border-radius: 0;
}

.btn-perfume-detail:hover {
  background: var(--r-wine);
  color: var(--r-cream);
  border-color: var(--r-wine);
}

@media (max-width: 580px) {
  .perfume-card-layout {
    grid-template-columns: 1fr;
  }
  .perfume-image-area {
    aspect-ratio: 4/3;
    max-width: 180px;
  }
}

/* ═══════════════════════════════════════════════════════════
   MODAL — CARD DE PERFUME
   ═══════════════════════════════════════════════════════════ */
.perfume-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.78);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.perfume-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.perfume-modal {
  background: var(--r-cream);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(18px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.perfume-modal-overlay.open .perfume-modal {
  transform: translateY(0);
}

.perfume-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 30px; height: 30px;
  background: transparent;
  border: 1px solid var(--r-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--r-muted);
  transition: border-color 0.2s, color 0.2s;
  z-index: 2;
}

.perfume-modal-close:hover {
  border-color: var(--r-wine);
  color: var(--r-wine);
}

.perfume-modal-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--r-cream-deep), rgba(191,167,106,0.1));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perfume-modal-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.perfume-modal-body {
  padding: 36px 36px 48px;
}

.perfume-modal-family {
  font-family: 'Heebo', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--r-wine);
  margin-bottom: 10px;
}

.perfume-modal-name {
  font-family: 'Kiona', sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--r-dark);
  margin-bottom: 22px;
}

.perfume-modal-divider {
  width: 28px; height: 1px;
  background: var(--r-wine);
  margin-bottom: 22px;
}

.perfume-modal-description {
  font-family: 'Heebo', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  color: var(--r-text);
  margin-bottom: 30px;
}

.perfume-modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--r-border);
  border: 1px solid var(--r-border);
  margin-bottom: 30px;
}

.perfume-modal-spec {
  background: var(--r-cream);
  padding: 14px 16px;
}

.perfume-modal-spec-label {
  display: block;
  font-family: 'Heebo', sans-serif;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--r-muted);
  margin-bottom: 5px;
}

.perfume-modal-spec-value {
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--r-dark);
}

.perfume-modal-notes-section { margin-bottom: 30px; }

.perfume-modal-notes-label {
  display: block;
  font-family: 'Heebo', sans-serif;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--r-muted);
  margin-bottom: 14px;
}

.perfume-modal-notes-grid {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.perfume-modal-note-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.perfume-modal-note-tier {
  font-family: 'Heebo', sans-serif;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--r-muted);
  width: 55px;
  flex-shrink: 0;
  padding-top: 2px;
}

.perfume-modal-note-items {
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--r-text);
  line-height: 1.5;
}

.btn-modal-cta {
  display: block;
  width: 100%;
  text-align: center;
  font-family: 'Heebo', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--r-cream);
  background: var(--r-wine);
  border: none;
  padding: 16px 24px;
  cursor: pointer;
  transition: background 0.25s;
  text-decoration: none;
  border-radius: 0;
}

.btn-modal-cta:hover {
  background: var(--r-wine-light);
}

/* ═══════════════════════════════════════════════════════════
   SECCIÓN 4 — ELECCIÓN / CTA FINAL
   ═══════════════════════════════════════════════════════════ */
.election-section {
  background: var(--r-dark);
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.election-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(106,40,49,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.election-section > * { position: relative; z-index: 1; }

.election-eyebrow {
  display: block;
  font-family: 'Heebo', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--r-gold);
  margin-bottom: 48px;
}

.election-quote {
  font-family: 'Kiona', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 3.8vw, 36px);
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: var(--r-cream);
  max-width: 580px;
  margin: 0 auto 20px;
  text-transform: uppercase;
}

.election-quote strong {
  font-weight: 400;
  color: var(--r-gold);
}

.election-sub {
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(240,231,218,0.45);
  max-width: 360px;
  margin: 0 auto 60px;
}

.election-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Heebo', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--r-cream);
  background: var(--r-wine);
  border: 1px solid var(--r-wine);
  padding: 16px 36px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
  border-radius: 0;
}

.btn-cta-primary:hover {
  background: var(--r-wine-light);
  border-color: var(--r-wine-light);
  color: var(--r-cream);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Heebo', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,231,218,0.4);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
  padding: 6px 0;
}

.btn-cta-secondary:hover { color: var(--r-cream); }

.election-ritual-note {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(240,231,218,0.18);
  font-family: 'Heebo', sans-serif;
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.election-ritual-note::before,
.election-ritual-note::after {
  content: '';
  width: 24px; height: 1px;
  background: currentColor;
}

/* ═══════════════════════════════════════════════════════════
   FAB — DESCARGAR PDF
   ═══════════════════════════════════════════════════════════ */
.pdf-download-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 500;
  display: none;
  align-items: center;
  gap: 10px;
  font-family: 'Heebo', sans-serif;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--r-cream);
  background: var(--r-dark);
  border: 1px solid rgba(191,167,106,0.3);
  padding: 11px 18px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  box-shadow: 0 8px 28px rgba(0,0,0,0.38);
  border-radius: 0;
}

.pdf-download-fab.visible {
  display: inline-flex;
  animation: rFabIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pdf-download-fab:hover {
  border-color: var(--r-gold);
  background: #242018;
}

@keyframes rFabIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   ANIMACIONES Y REVEAL
   ═══════════════════════════════════════════════════════════ */
@keyframes rFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes rFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.r-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.r-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PRAESSIA — FIXES v3
   Pegar al final de style.css, DESPUÉS del bloque anterior
   ============================================================ */

/* ── FIX 1: Fondo oscuro en sección Revelación ───────────
   El problema: Bootstrap o el body sobreponía el fondo crema.
   Solución: background directo en el elemento + isolation.
   ────────────────────────────────────────────────────────── */
.revelation-section {
  background: #1a1a1a !important;
  isolation: isolate;
}

.revelation-bg {
  background:
    radial-gradient(ellipse 65% 55% at 50% 35%, rgba(191,167,106,0.12) 0%, transparent 65%),
    linear-gradient(180deg, #1a1a1a 0%, #1f1812 60%, #161210 100%) !important;
  z-index: 0 !important;
}

/* Asegurar que todo el texto de la sección sea visible */
.revelation-section .revelation-eyebrow,
.revelation-section .revelation-presence-name,
.revelation-section .revelation-tagline,
.revelation-section .revelation-divider,
.revelation-section .affinity-container {
  position: relative;
  z-index: 2;
}

/* ── FIX 2: Separación footer ────────────────────────────
   El footer no debe pegarse al bloque de elección.
   ────────────────────────────────────────────────────────── */
#praessia-result-full + footer,
#praessia-result-full ~ .footer-praessia {
  display: none;  /* oculta el footer mientras el resultado está visible */
}

/* ── FIX 3: Sección elección — no dejar espacio vacío abajo */
.election-section {
  padding-bottom: 80px;
}

/* ── FIX 4: Quitar margen extra del quiz-container al mostrar resultado */
#praessia-result-full {
  margin-top: 0 !important;
}

.affinity-label-top {
  text-align: center;
}

.election-ritual-note {
  justify-content: center;
}

.affinity-container {
  text-align: center;
}

.affinity-label-top {
  display: block;
  text-align: center;
  width: 100%;
}

.election-ritual-note {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.affinity-container {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


.election-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Asegura que todo el contenido de la sección se alinee al eje central */
    text-align: center;
}

.election-ritual-note {
    width: 100%;
    display: block;
    margin-top: 40px;
    text-align: center !important; /* El !important asegura que Bootstrap no lo sobreescriba */
}

/* Este diseño se impone sobre la etiqueta <p> */
.affinity-label-top {
    display: block !important;    /* Fuerza a que se comporte como un bloque completo */
    width: 100% !important;       /* Asegura que use todo el ancho de la sección */
    text-align: center !important; /* Orden directa de centrado de texto */
    margin-left: auto !important;  /* Margen automático a la izquierda */
    margin-right: auto !important; /* Margen automático a la derecha */
    
    /* Ajustes estéticos adicionales para que luzca profesional */
    margin-top: 20px; 
    margin-bottom: 15px;
    padding: 0;                   /* Limpia paddings que puedan venir por defecto */
}


/* =========================
   VALIDACIÓN DEL QUIZ
========================= */

fieldset.quiz-error {
  border-radius: 10px;
  animation: praessiaShake 0.4s ease;
  outline: 2px solid rgba(184, 155, 109, 0.4);
  outline-offset: 4px;
}

@keyframes praessiaShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

.praessia-toast-wrapper {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
}

.praessia-validation-toast {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--praessia-accent);
  border-left: 4px solid var(--praessia-accent);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  min-width: 300px;
  max-width: 480px;
  pointer-events: all;
  animation: toastSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.praessia-validation-toast.hiding {
  animation: toastFadeOut 0.25s ease forwards;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastFadeOut {
  to { opacity: 0; transform: translateY(8px) scale(0.97); }
}

.praessia-toast-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: #fdf6ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.praessia-toast-title {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--praessia-text);
  margin: 0 0 5px;
}

.praessia-toast-msg {
  font-size: 0.82rem;
  color: var(--praessia-muted);
  margin: 0 0 10px;
  line-height: 1.5;
}

.praessia-toast-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.praessia-toast-pill {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--praessia-accent);
  background: #fdf6ec;
  border: 1px solid #e8d8b8;
  border-radius: 999px;
  padding: 3px 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.praessia-toast-pill:hover {
  background: #f5ead7;
}