/* ============================================================
   Carlos Valdivia — Consultor de Vida Plena y Bienestar Financiero
   Paleta: azul marino, dorado, crema, neutros claros
   ============================================================ */

:root {
    --navy:        #1e3a5f;
    --navy-dark:   #152a44;
    --navy-deep:   #0f2036;
    --gold:        #b8923f;
    --gold-light:  #d4b568;
    --cream:       #f6f1e6;
    --cream-soft:  #fbf8f1;
    --white:       #ffffff;
    --gray-text:   #5c6470;
    --gray-line:   #e4ddcd;
    --font-serif:  "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans:   "Inter", "Segoe UI", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--gray-text);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

/* ============================================================
   HEADER / HERO
   ============================================================ */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: clamp(480px, 62vh, 640px);
    background: linear-gradient(100deg, var(--cream) 0%, var(--cream-soft) 55%, #efe7d5 100%);
    overflow: hidden;
}

/* ---- Columna de texto ---- */
.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 5rem);
}

.hero__eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
}

.hero__brand {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.hero__logo {
    width: clamp(3.2rem, 5.5vw, 4.6rem);
    height: auto;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.hero__title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(2.4rem, 4.6vw, 4.1rem);
    line-height: 1.08;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--navy);
}

.hero__subtitle {
    margin-top: 0.85rem;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 400;
    color: #3d4756;
}

.hero__tagline {
    position: relative;
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2vw, 1.7rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
}

.hero__tagline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.hero__tagline span {
    color: var(--gold);
}

/* ---- Pilares (iconos) ---- */
.hero__pillars {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 3.5vw, 3.2rem);
    margin-top: clamp(2rem, 4vh, 3.2rem);
}

.pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
}

.pillar__icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    color: var(--navy);
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f4ecdb 70%, #eadfc6 100%);
    border: 2px solid var(--gold-light);
    box-shadow: 0 6px 14px rgba(30, 58, 95, 0.14);
}

.pillar__icon svg {
    width: 44px;
    height: 44px;
}

.pillar__label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-transform: uppercase;
    color: var(--navy);
}

/* ---- Columna de imagen ---- */
.hero__media {
    position: relative;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;   /* mantiene al consultor visible al recortar */
}

/* Difumina el borde izquierdo de la foto para fundirla con el panel crema */
.hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, var(--cream-soft) 0%, rgba(251, 248, 241, 0) 24%);
    pointer-events: none;
}

/* ============================================================
   SECCIÓN DE PRODUCTOS
   ============================================================ */

.products {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background-color: var(--cream-soft);
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    text-align: center;
    color: var(--navy);
}

.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.section-lead {
    margin-top: 1.1rem;
    text-align: center;
    font-size: 1rem;
    color: var(--gray-text);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.2rem, 2.5vw, 2rem);
    margin-top: clamp(2.5rem, 5vw, 3.8rem);
}

/* Tarjeta vacía: contenedor listo para rellenar */
.card {
    min-height: 280px;
    padding: 1.8rem;
    background-color: var(--white);
    border: 1px solid var(--gray-line);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-light);
    box-shadow: 0 12px 28px rgba(30, 58, 95, 0.12);
}

/* ---- Contenido de tarjeta ---- */
.card__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1.1rem;
    border-radius: 50%;
    color: var(--navy);
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f4ecdb 70%, #eadfc6 100%);
    border: 2px solid var(--gold-light);
}

.card__icon svg {
    width: 32px;
    height: 32px;
}

.card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
    overflow-wrap: break-word;
}

.card__lead {
    font-size: 0.93rem;
    font-weight: 500;
    color: #3d4756;
    margin-bottom: 1rem;
}

.card__list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.86rem;
    color: var(--gray-text);
}

.card__subtitle {
    margin-top: 1.3rem;
    margin-bottom: 0.35rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.card__detail p:not(.card__lead):not(.card__subtitle) {
    font-size: 0.93rem;
    color: var(--gray-text);
}

.card__list li {
    position: relative;
    padding-left: 1.15rem;
}

.card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}

.card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding: 0;
    border: none;
    background: none;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    cursor: pointer;
    transition: color 0.2s ease, gap 0.2s ease;
}

.card__more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.card__more:hover {
    color: var(--navy);
}

.card__more:hover svg {
    transform: translateX(3px);
}

/* La tarjeta con contenido apila y empuja "Ver más" / precio abajo */
.card:has(.card__icon) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ---- Bloque de precio ---- */
.card__price {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 0.9rem;
    margin-bottom: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--gray-line);
    width: 100%;
}

.modal__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, gap 0.2s ease;
}

.modal__cta svg {
    width: 16px;
    height: 16px;
}

.modal__cta:hover {
    background: var(--gold);
    gap: 0.75rem;
}

/* En el modal el precio no necesita empujarse al fondo */
.modal__content .card__price {
    margin-top: 1.6rem;
    margin-bottom: 0;
}

/* Banner de imagen dentro del modal de producto */
.detail__banner {
    margin: 1rem 0 1.3rem;
    border-radius: 10px;
    overflow: hidden;
}

.detail__banner img {
    width: 100%;
    height: clamp(170px, 32vw, 230px);
    object-fit: cover;
    object-position: center 22%;
}

/* Variante A: afiche como fondo difuminado detrás de todo el texto */
.modal__content.variant-bg {
    position: relative;
    margin: calc(clamp(1.8rem, 4vw, 2.6rem) * -1);
    padding: clamp(1.8rem, 4vw, 2.6rem);
    border-radius: 10px;
    overflow: hidden;
}

.modal__content.variant-bg::before {
    content: "";
    position: absolute;
    inset: -12px;
    background-image: url("../assets/deceso-afiche.png");
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(1.06);
}

.modal__content.variant-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.72) 50%,
        rgba(255, 255, 255, 0.88) 100%);
}

.modal__content.variant-bg > * {
    position: relative;
    z-index: 1;
}

.modal__content.variant-bg .detail__banner {
    display: none;
}

/* Variante B: afiche completo sin recorte */
.modal__content.variant-full .detail__banner img {
    height: auto;
    object-fit: contain;
    object-position: center;
}

.modal__content.variant-full .detail__banner {
    margin-top: 0.6rem;
}

/* Variante C: modal a dos columnas — texto izquierda, imagen derecha a sangre */
.modal__panel.variant-split {
    padding-right: 0;
}

.modal__panel.variant-split .modal__close {
    background: rgba(255, 255, 255, 0.85);
}

.detail__split {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 1.6rem;
    align-items: stretch;
}

.detail__text {
    min-width: 0;
}

.detail__media {
    margin: 0;
    border-radius: 0 10px 10px 0;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.detail__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    cursor: zoom-in;
}

/* Visor de imagen a pantalla completa */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(15, 32, 54, 0.88);
    backdrop-filter: blur(6px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    cursor: zoom-out;
}

.lightbox.is-open {
    visibility: visible;
    opacity: 1;
}

.lightbox img {
    max-width: 92%;
    max-height: 92vh;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
    .detail__split {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

    /* Imagen arriba, dentro del contenido */
    .detail__media {
        order: -1;
        margin: 0;
        border-radius: 10px;
        min-height: 0;
        display: block;
    }

    .detail__media img {
        width: 100%;
        height: auto;
    }
}

.card__price-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.card__price-value {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
}

.card__price-note {
    font-size: 0.82rem;
    color: var(--gray-text);
}

/* ============================================================
   SECCIÓN DE CONTACTO
   ============================================================ */

.contact {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background-color: var(--white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.contact__title {
    text-align: left;
}

.contact__title::after {
    margin-left: 0;
}

.contact__lead {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: var(--gray-text);
    max-width: 42ch;
}

.contact__channels {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 2rem;
}

.contact__channels a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.contact__channels a:hover {
    color: var(--gold);
}

.contact__channels svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

/* ---- Formulario ---- */
.contact__form {
    padding: clamp(1.6rem, 4vw, 2.4rem);
    background: var(--cream-soft);
    border: 1px solid var(--gray-line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.07);
}

.contact__honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.field {
    margin-bottom: 1.1rem;
}

.field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
}

.field label span {
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--gray-text);
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #2b2b2b;
    background: var(--white);
    border: 1px solid var(--gray-line);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 146, 63, 0.18);
}

.contact__submit {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.contact__submit:hover {
    background: var(--gold);
    transform: translateY(-1px);
}

.contact__success {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: #e8f5ec;
    border: 1px solid #b7dfc4;
    color: #1d6b3a;
    font-size: 0.9rem;
    text-align: center;
}

/* ============================================================
   MODAL DE PRODUCTO
   ============================================================ */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 32, 54, 0.55);
    backdrop-filter: blur(4px);
}

.modal__panel {
    position: relative;
    width: min(560px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    padding: clamp(1.8rem, 4vw, 2.6rem);
    background: var(--white);
    border-radius: 14px;
    border-top: 4px solid var(--gold);
    box-shadow: 0 24px 60px rgba(15, 32, 54, 0.3);
    transform: translateY(12px);
    transition: transform 0.25s ease;
}

.modal.is-open .modal__panel {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 0.7rem;
    right: 0.9rem;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: none;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--gray-text);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.modal__close:hover {
    color: var(--navy);
    background: var(--cream);
}

.modal__content .card__title {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    padding-right: 2rem;
}

.modal__content .card__list {
    margin-top: 1.2rem;
    font-size: 0.95rem;
    gap: 0.75rem;
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */

.whatsapp-float {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: wa-pulse 2.6s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
    animation: none;
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50%      { box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #cfd8e4;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.footer__badge {
    height: 84px;
    width: auto;
    border-radius: 6px;
}

.footer__name {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}

.footer__role {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--gold-light);
    line-height: 1.5;
}

.footer__heading {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(212, 181, 104, 0.35);
}

.footer__list li {
    margin-bottom: 0.6rem;
    font-size: 0.93rem;
}

.footer__nav a,
.footer__list a {
    transition: color 0.2s ease;
}

.footer__nav a:hover,
.footer__list a:hover {
    color: var(--gold-light);
}

/* ---- Iconos sociales ---- */
.footer__social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.3rem;
}

.footer__social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(212, 181, 104, 0.4);
    color: var(--gold-light);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer__social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
    transform: translateY(-2px);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.3rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: #93a1b5;
}

/* ============================================================
   PÁGINA DE AVISO LEGAL
   ============================================================ */

.legal__header {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 1.1rem 0;
}

.legal__header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.legal__brand {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}

.legal__back {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold-light);
    transition: color 0.2s ease;
}

.legal__back:hover {
    color: var(--white);
}

.legal {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
    background: var(--cream-soft);
}

.legal__content {
    max-width: 760px;
}

.legal__content h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
}

.legal__updated {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.legal__content h2 {
    margin-top: 2.2rem;
    margin-bottom: 0.7rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.legal__content p {
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    color: var(--gray-text);
}

.legal__content ul {
    margin: 0.6rem 0 1rem 1.3rem;
    list-style: disc;
}

.legal__content li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--gray-text);
}

.legal__content a {
    color: var(--navy);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--gold-light);
    text-underline-offset: 3px;
}

.legal__content a:hover {
    color: var(--gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablets */
@media (max-width: 1024px) {
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets pequeñas / móviles grandes */
@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero__content {
        align-items: center;
        text-align: center;
        padding: 3rem 1.5rem 2.5rem;
    }

    .hero__tagline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero__pillars {
        justify-content: center;
    }

    .hero__media {
        height: clamp(260px, 45vw, 380px);
    }

    .hero__media::before {
        background: linear-gradient(180deg, var(--cream-soft) 0%, rgba(251, 248, 241, 0) 30%);
    }
}

/* Móviles */
@media (max-width: 860px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }
}

/* Móviles */
@media (max-width: 600px) {
    .products__grid {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 220px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__heading {
        border-bottom: none;
    }

    .hero__pillars {
        gap: 1.4rem;
    }

    .pillar__icon {
        width: 64px;
        height: 64px;
    }

    .pillar__icon svg {
        width: 36px;
        height: 36px;
    }
}
