/* =========================
   Fuentes Montserrat
   ========================= */

@font-face {
    font-family: 'MontserratCustom';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MontserratCustom';
    src: url('../fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* SF Pro Display */
@font-face {
    font-family: "SFProDisplay";
    src: url("../fonts/SF-Pro-Display-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SFProDisplay";
    src: url("../fonts/SF-Pro-Display-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SFProDisplay";
    src: url("../fonts/SF-Pro-Display-Semibold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* NOHEMI – ajusta los nombres de archivo a los tuyos reales */
@font-face {
    font-family: "Nohemi";
    src: url("../fonts/Nohemi-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nohemi";
    src: url("../fonts/Nohemi-SemiBold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nohemi";
    src: url("../fonts/Nohemi-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================
   Padding del container principal
   ========================= */

.main-header .container {
    max-width: 90%;
    align-items: center;
}

/* =========================
   Colores del proyecto
   ========================= */

:root {
    --vino-oscuro: #350906;
    --vino: #56070c;
    --vino-claro: #8e3d39;
    --amarillo: #eeb810;
    --amarillo-claro: #f8db5b;
    --header-height: 105px; /* ajusta si tu header mide un poco más */
}

/* =========================
   Estilos globales
   ========================= */

body {
    margin: 0;
    font-family: 'MontserratCustom', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #ffffff;
    color: var(--vino-oscuro);
}

.logo {
    height: 100px;   /* luego afinamos */
}

.main-header {
    padding: 15px 0;
}

/* =========================
   Menú header
   ========================= */

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu-pill {
    border: 1px solid var(--vino);
    border-radius: 999px;
    padding: 0px;
    display: inline-flex;
    align-items: center;
    gap: 0px;
    font-family: 'MontserratCustom', sans-serif;
}

.menu-item {
    padding: 7px 22px;   /* más compacto horizontalmente */
    border-radius: 999px;
    font-size: 14px;
    color: var(--vino);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
}

.menu-item:hover {
    text-decoration: none;
    background-color: rgba(86, 7, 12, 0.05); /* vinotinto muy suave */
}

.menu-item.active {
    background-color: var(--vino);
    color: #ffffff;
    padding-left: 36px;
    padding-right: 36px;
}

/* =========================
   Botones Iniciar sesión y Registrarse
   ========================= */

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 28px;
}

.btn-outline {
    padding: 6px 18px;
    border: 1px solid var(--vino);
    border-radius: 999px;
    color: var(--vino);
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 500;
}

.btn-outline:hover {
    background-color: var(--vino);
    color: #ffffff;
}

.btn-solid {
    padding: 6px 18px;
    border-radius: 999px;
    background-color: var(--vino);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 500;
}

.btn-solid:hover {
    background-color: var(--vino-oscuro);
}

/* =========================
   Header mobile
   ========================= */

.btn-hamburger {
    border: none;
    background: transparent;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-hamburger span {
    display: block;
    width: 30px;
    height: 3.5px;
    background-color: var(--vino);
    border-radius: 999px;
}

.mobile-menu {
    position: relative;
    background-color: transparent;  /* importante */
}

.mobile-menu-inner {
    width: 70%;
    max-width: 320px;
    background-color: #ffffff;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: auto;

    /* 👇 bordes SOLO del menú */
    border-top: 1px solid var(--vino-claro);
    border-bottom: 1px solid var(--vino-claro);
    border-left: 1px solid var(--vino-claro);
}

.mobile-link {
    display: block;           /* 👉 ocupa toda la línea */
    padding: 10px 4px 10px 12px; /* padding-left añadido */
    font-size: 14px;
    color: var(--vino);
    text-decoration: none;
}

.mobile-link:hover {
    background-color: rgba(86, 7, 12, 0.06);
    border-radius: 6px;
    text-decoration: none;
}

.mobile-link-primary {
    font-weight: 600;
    color: #ffffff;
    background-color: var(--vino);
    border-radius: 999px;
    text-align: center;
    margin: 10px 12px 0;
}

.mobile-menu::before {
    content: "";
    position: fixed;
    top: var(--header-height); /* 👈 empieza debajo del header */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(2px);
    z-index: -1;
}

/* =========================
   HERO SHIDUJIM (SVG)
   ========================= */

.hero-shidujim {
    position: relative;
    width: 100%;
    background-color: #ffffff;   /* mismo fondo del diseño */
    overflow: hidden;            /* por si algo se sale del svg */
    margin-top: 10px;
}

/* El SVG ocupa TODO el ancho de la sección */
.hero-shidujim-img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================
   Adaptaciones responsive
   ========================= */

@media (max-width: 991px) {
    .logo {
        height: 90px;   /* antes 100px, ajusta 75–80 según lo veas */
    }
}

/* =========================
   MENÚ MÓVIL COMO OVERLAY
   ========================= */
@media (max-width: 991.98px) {

    .mobile-menu.collapsing {
        height: auto !important;
        transition: none !important;
        display: block !important;
    }

    .mobile-menu.collapse {
        display: none;
    }

    .mobile-menu.collapse.show {
        display: block;
    }

    /* Contenedor del menú móvil */
    .mobile-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        z-index: 1000;
        background: transparent;
    }

    /* Blur full de fondo */
    .mobile-menu::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1;
    }

    /* PANEL del menú: altura auto, no hasta abajo */
    .mobile-menu-inner {
        position: absolute;
        top: 0;
        right: 0;
        width: 72%;
        max-width: 360px;
        background: #ffffff;
        padding: 28px 26px 40px;   /* aquí controlas el padding-bottom */
        z-index: 2;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        overflow-y: visible;       /* ya no hace falta scroll interno */
    }

    .mobile-menu.show .mobile-menu-inner {
        transform: translateX(0);
    }
}

/* =========================
   SECCIÓN MENSAJE PRINCIPAL
   ========================= */

.section-message {
    padding: 200px 0 150px;
    background-color: #ffffff;
}

.section-message-inner {
    width: 90%;              /* ✅ container al 90% */
    max-width: 90%;          /* ✅ evita límite artificial */
    margin: 0 auto;
    text-align: center;
}

/* Título principal */
.section-message-title {
    margin: 0 0 8px;
    font-family: "Nohemi", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    font-size: clamp(2.6rem, 3.6vw, 3.4rem);
    line-height: 1.28;
    letter-spacing: 0;
    color: #000000;
}

.section-message-title .accent {
    color: #56070c;                            /* vino */
}

/* Subtítulo */
.section-message-subtitle {
    margin: 0 0 28px;
    font-family: "MontserratCustom", system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.97rem;
    line-height: 1.55;
    color: #1a1919;
}

/* Botones */
.section-message-actions {
    display: flex;
    justify-content: center;
    gap: 45px;
}

/* Base para ambos botones */
.section-message-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 11px 32px;
    border-radius: 18px;
    font-family: "MontserratCustom", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition:
        background-color 0.18s ease-out,
        color 0.18s ease-out,
        box-shadow 0.18s ease-out,
        transform 0.18s ease-out;
}

/* Botón claro (outline) */
.btn-outline-light {
    border: 1px solid #000000;
    color: #000000;
    background-color: #ffffff;
}

/* Botón vino sólido */
.btn-dark-main {
    border: 1px solid #56070c;
    color: #ffffff;
    background-color: #56070c;
}

/* Hover/Focus: animación sutil */
.section-message-actions a:hover,
.section-message-actions a:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* Hover específico de cada uno */
.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background-color: #f7f7f7;
}

.btn-dark-main:hover,
.btn-dark-main:focus-visible {
    background-color: #430509;
}

/* ------- Mobile mensaje principal ------- */
@media (max-width: 767.98px) {

    /* Espaciado vertical más cómodo */
    .section-message {
        padding: 100px 0 110px;
    }

    /* Título más pequeño */
    .section-message-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    /* Subtítulo más pequeño */
    .section-message-subtitle {
        font-size: 0.75rem;
        line-height: 1.45;
        margin-bottom: 28px;
    }

    /* Botones en fila */
    .section-message-actions {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }

    .section-message-actions a {
        width: auto;
        min-width: 140px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* =========================
   SECCIÓN ¿CÓMO FUNCIONA?
   ========================= */

.section-how {
    padding: 5px 0 30px;
    background-color: #ffffff;
}

.section-how-inner {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
}

/* Eyebrow / overline */
.section-how-eyebrow {
    display: block;
    margin-bottom: 5px;
    font-family: "MontserratCustom", system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #000000;
}

/* Título principal */
.section-how-title {
    margin: 0;
    font-family: "Nohemi", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: clamp(1.9rem, 2.6vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: 0;
    color: #000000;
}

.section-how-title .accent {
    color: var(--vino);
}

@media (max-width: 767.98px) {

    .section-how {
        padding: 5px 0 40px;
    }

    .section-how-eyebrow {
        font-size: 0.82rem;
        margin-bottom: 10px;
    }

    .section-how-title {
        font-size: 1.1rem;
        line-height: 1.32;
    }
}

/* =========================
   SECCIÓN PERFIL / ESENCIA
   ========================= */

.section-profile {
    padding: 40px 0 70px;
    background-color: #ffffff;
}

.section-profile + .section-profile {
    padding-top: 20px;   /* menos hueco entre card 1 y card 2 */
}

.section-profile-inner {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
}

/* Card principal */
.profile-card {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    border: 1px solid var(--vino-claro);
    border-radius: 68px;
    background-color: #ffffff;
}

/* Columna izquierda: foto (card normal) */
.profile-card-media {
    position: relative;
    width: 80%;
    overflow: hidden;                 /* recorta dentro de la curva */
    border-radius: 68px 0 0 68px;     /* curva solo a la izquierda */
}

/* Variante para la tercera card: imagen más ancha y con 4 esquinas redondeadas */
.profile-card-media--wide {
    width: 88%;
    border-radius: 68px;   /* redondeo completo, como en el mockup */
}

.profile-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;                 /* sin radios extra */
}

/* Logo encima de la foto */
.profile-card-logo {
    position: absolute;
    top: 35px;
    left: 25px;
    width: 60px;
    height: 60px;
}

.profile-card-logo img {
    width: 100%;
    height: auto;
}

/* Columna derecha: texto */
.profile-card-content {
    padding: 52px 70px 52px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-card-title {
    margin: 0 0 38px;
    font-family: "MontserratCustom", system-ui, sans-serif;
    font-weight: 550;
    font-size: 3.5rem;
    line-height: 1.25;
    color: #000000;
    text-align: center;
}

.profile-card-text {
    margin: 0;
    font-family: "MontserratCustom", system-ui, sans-serif;
    font-weight: 500;
    font-size: 1.7rem;
    line-height: 1.2;
    color: #333333;
    text-align: center;
    padding: 0px 50px 0px 50px;
}

/* ------- Mobile perfil / esencia ------- */
@media (max-width: 767.98px) {

    .profile-card {
        grid-template-columns: 1fr;
        border-radius: 28px;
    }

    .profile-photo {
        border-radius: 0;
    }

    .profile-card-media {
        max-height: 280px;
        overflow: hidden;
        width: 100%;
        border-radius: 28px 28px 0 0;
    }

    .profile-card-content {
        padding: 26px 22px 30px;
        text-align: left;
    }

    .profile-card-title {
        font-size: 1.8rem;
        margin: 0 0 20px;
    }

    .profile-card-text {
        font-size: 0.9rem;
        padding: 0px 30px 0px 30px;
    }

    .profile-card-logo {
        top: 14px;
        left: 14px;
        width: 40px;
        height: 40px;
    }

    /* menos espacio entre las cards en mobile */
    .section-profile {
        padding: 0 0 50px;
    }
}

/* =========================
   Ajustes SOLO para "Conexiones con propósito"
   (card invertida con imagen a la derecha)
   ========================= */

.profile-card--reverse {
    /* misma card base, pero texto a la izquierda e imagen a la derecha */
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
}

/* Columna de la imagen (derecha) */
.profile-card--reverse .profile-card-media {
    position: relative;
    width: 80%;            /* mismo ancho visual que la card anterior */
    justify-self: end;     /* la empuja hacia el borde derecho */
    overflow: hidden;
    border-radius: 0 68px 68px 0;  /* esquina curva a la derecha */
}

/* Imagen dentro */
.profile-card--reverse .profile-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;      /* la curva la da el contenedor */
}

/* Texto de la card invertida: padding espejo */
.profile-card--reverse .profile-card-content {
    padding: 52px 0 52px 70px;      /* padding fuerte a la izquierda */
}

/* ------- Mobile "Conexiones con propósito" ------- */
@media (max-width: 767.98px) {

    .profile-card--reverse {
        grid-template-columns: 1fr;
    }

    /* La imagen pasa arriba */
    .profile-card--reverse .profile-card-media {
        order: -1;                 /* foto antes del texto */
        max-height: 280px;
        overflow: hidden;
        width: 100%;
        border-radius: 28px 28px 0 0;
    }

    .profile-card--reverse .profile-photo {
        border-radius: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Texto igual que la primera card en mobile */
    .profile-card--reverse .profile-card-content {
        padding: 26px 22px 30px;
        text-align: center;
    }

    .profile-card--reverse .profile-card-title {
        font-size: 1.8rem;
        margin: 0 0 20px;
    }

    .profile-card--reverse .profile-card-text {
        font-size: 0.9rem;
        padding: 0 30px 0 30px;
    }
}

/* =========================
   SECCIÓN ¿QUÉ ES LO QUE CREEMOS?
   ========================= */

.section-beliefs {
    padding: 80px 0 90px;
    background-color: #ffffff;
}

.section-beliefs-inner {
    position: relative;
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;

    /* altura para que los anillos respiren */
    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Título central */
.section-beliefs-title {
    margin: 0;
    font-family: "Nohemi", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: clamp(2.8rem, 4.2vw, 4rem);
    line-height: 1.25;
    color: #000000;
}

.section-beliefs-title .accent {
    color: var(--vino);
}

/* Anillos decorativos */
.beliefs-ring {
    position: absolute;
    width: 75px;
    height: 75px;
    pointer-events: none;
}

/* —— Distribución 3 – 2 – 3 en desktop (afinada) —— */

/* —— LADO IZQUIERDO —— */
.beliefs-ring--1 { top: 6%;  left: 16%; }    /* anillo superior: SUBE */
.beliefs-ring--2 { top: 30%; left: 1%; }     /* anillo medio: SE QUEDA */
.beliefs-ring--3 { bottom: 10%; left: 5%; }  /* anillo inferior: BAJA */

/* 2 anillos centro – un poco más lejos del texto y el de arriba corrido a la derecha */
.beliefs-ring--4 { top: 12%; left: 54%; transform: translateX(-50%); }  /* sube y se va un poco a la derecha */
.beliefs-ring--5 { bottom: 6%; left: 50%; transform: translateX(-50%); }

/* —— LADO DERECHO —— */
.beliefs-ring--6 { top: 1%;  right: 18%; }
.beliefs-ring--7 { top: 30%; right: 4%; }
.beliefs-ring--8 { bottom: 15%; right: 12%; }

/* ------- Responsive ------- */
@media (max-width: 767.98px) {

    .section-beliefs {
        padding: 60px 0 60px;
    }

    .section-beliefs-inner {
        min-height: 220px;
    }

    .section-beliefs-title {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .beliefs-ring {
        width: 30px;
        height: 30px;
        opacity: 0.85;
    }

    /* Mantengo el patrón 3–2–3 pero más cerca del texto */
    .beliefs-ring--1 { top: 8%;  left: 12%; }
    .beliefs-ring--2 { top: 32%; left: 1%; }
    .beliefs-ring--3 { bottom: 15%; left: 7%; }

    .beliefs-ring--4 { top: 16%;  left: 55%; transform: translateX(-50%); }
    .beliefs-ring--5 { bottom: 15%; left: 50%; transform: translateX(-50%); }

    .beliefs-ring--6 { top: 8%;  right: 12%; }
    .beliefs-ring--7 { top: 38%; right: 1%; }
    .beliefs-ring--8 { bottom: 15%; right: 15%; }
}

/* =========================
   SECCIÓN MISIÓN / VISIÓN
   ========================= */

.section-mission {
    padding: 80px 0 90px;
    background-color: #ffffff;
}

.section-mission-inner {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
}

/* GRID principal */
.mission-layout {
    display: grid;
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    align-items: stretch; /* 🔑 imagen y cards misma altura */
    gap: 24px;
}

/* =========================
   IMAGEN IZQUIERDA
   ========================= */

.mission-photo-wrapper {
    position: relative;
    border-radius: 68px;
    overflow: hidden;
    height: 100%;               /* 🔑 ocupa toda la columna */
}

.mission-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* 🔑 comportamiento mockup */
    object-position: center;
    display: block;
}

/* Logo sobre la imagen */
.mission-photo-logo {
    position: absolute;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    z-index: 2;
}

.mission-photo-logo img {
    width: 100%;
    height: auto;
}

/* =========================
   COLUMNA DERECHA (CARDS)
   ========================= */

.mission-cards {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 🔑 misión arriba / visión abajo */
    height: 100%;                   /* 🔑 iguala altura con la imagen */
    gap: 22px;
}

/* Card base */
.mission-card {
    position: relative;
    border-radius: 40px;
    padding: 80px 30px 30px;
    color: #ffffff;
    background-color: #000000;
    overflow: hidden;
}

/* Card misión */
.mission-card--primary {
    background-color: var(--vino);
}

/* Card visión */
.mission-card--secondary {
    background-color: #000000;
}

/* =========================
   FLOR DECORATIVA
   ========================= */

.mission-card-icon {
    position: absolute;
    top: -120px;
    right: -155px;
    width: 300px;
    pointer-events: none;
}

.mission-card-icon img {
    width: 100%;
    height: auto;
}

/* =========================
   TEXTO
   ========================= */

.mission-card-title {
    margin: 0 0 28px;
    font-family: "Nohemi", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.mission-card-text {
    font-family: "MontserratCustom", system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 767.98px) {

    .section-mission {
        padding: 60px 0 70px;
    }

    .mission-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .mission-photo-wrapper {
        border-radius: 32px;
        height: auto;
    }

    .mission-photo {
        height: 280px;
    }

    .mission-photo-logo {
        bottom: 16px;
        left: 16px;
        width: 46px;
        height: 46px;
    }

    .mission-cards {
        height: auto;
        justify-content: flex-start;
        gap: 20px;
    }

    .mission-card {
        border-radius: 28px;
        padding: 60px 25px 25px;
    }

    .mission-card-title {
        font-size: 1.5rem;
        margin-bottom: 22px;
    }

    .mission-card-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .mission-card-icon {
        width: 190px;
        top: -70px;
        right: -90px;
    }
}

/* =========================
   SECCIÓN NUESTROS SHIDUJIM
   ========================= */

.section-testimonials {
    padding: 80px 0 40px;
    background-color: #ffffff;
}

.section-testimonials-inner {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

/* Título */
.section-testimonials-title {
    margin: 0 0 12px;
    font-family: "Nohemi", system-ui, sans-serif;
    font-weight: 400;
    font-size: clamp(3rem, 4vw, 3.8rem);
    color: #000000;
}

.section-testimonials-title .accent {
    color: var(--vino);
}

/* Subtítulo */
.section-testimonials-subtitle {
    margin: 0 0 65px;
    font-family: "MontserratCustom", system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #1a1919;
}

/* Slider */
.testimonials-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flechas */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 3;
}

.testimonial-arrow--left {
    left: 20px;
}

.testimonial-arrow--right {
    right: 20px;
}

.testimonial-arrow img {
    width: 40px;
    height: auto;
}

/* =========================
   FIX CARRUSEL TESTIMONIOS
   ========================= */

.testimonials-track {
  position: relative;
  width: 100%;
}

/* Slides ocultos */
.testimonial-slide {
  display: none;
}

/* Slide visible */
.testimonial-slide.active {
  display: block;
}



/* Card */
.testimonial-card {
    display: grid;
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    border: 1px solid var(--vino-claro);
    border-radius: 68px;
    overflow: hidden;
    background-color: #ffffff;
}

/* Imagen */
.testimonial-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 68px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* Logo blanco sobre la imagen */
.testimonial-image-logo {
    position: absolute;
    top: 22px;
    left: 22px;
    width: 56px;
    height: 56px;
    z-index: 2;
    pointer-events: none;
}

.testimonial-image-logo img {
    width: 100%;
    height: auto;
}

/* Contenido */
.testimonial-content {
    padding: 56px 64px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Nombre */
.testimonial-name {
    margin: 0 0 26px;
    font-family: "Nohemi", system-ui, sans-serif;
    font-weight: 400;
    font-size: 1.7rem;
}

.testimonial-name .name-main {
    color: var(--vino);
}

.testimonial-name .name-age {
    color: #333333;
    font-weight: 500;
}

/* Texto */
.testimonial-text {
    margin: 0 auto;
    max-width: 520px;
    font-family: "MontserratCustom", system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
}

/* ------- Mobile ------- */
@media (max-width: 767.98px) {

    .section-testimonials {
        padding: 35px 0 35px;
    }

    .section-testimonials-title {
        font-size: 1.6rem;
    }

    .section-testimonials-subtitle {
        font-size: 0.8rem;
        margin-bottom: 36px;
    }

    .testimonial-card {
        grid-template-columns: 1fr;
        border-radius: 32px;
    }

    .testimonial-image {
        border-radius: 32px;
    }

    .testimonial-image-logo {
        top: 14px;
        left: 14px;
        width: 42px;
        height: 42px;
    }

    .testimonial-content {
        padding: 26px 22px 30px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-arrow {
        top: 38%;
    }

    .testimonial-arrow--left {
        left: 12px;
    }

    .testimonial-arrow--right {
        right: 12px;
    }

    .testimonial-name {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }
}

/* =========================
   CONTACTO
   ========================= */

.contact-section {
    padding: 120px 0;
    background-color: #ffffff;
}

.contact-title {
    font-family: 'Nohemi', sans-serif;
    font-size: 56px;
    line-height: 1.1;
    color: #000;
    margin-bottom: 0;
}

.contact-title .accent {
    color: var(--vino);
}

/* =========================
   FORMULARIO
   ========================= */

.contact-form {
    max-width: 620px;
    padding: 40px 36px;
    border: 1.5px solid var(--vino-claro);
    border-radius: 24px;
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form label {
    display: block;
    font-family: 'MontserratCustom', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--vino);
    margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    font-family: 'MontserratCustom', sans-serif;
    font-size: 15px;
    color: #000;
    padding: 14px 18px;
    border: 1px solid var(--vino-claro);
    border-radius: 14px;
    background-color: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form textarea {
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--vino);
}

/* =========================
   CHECKBOX
   ========================= */

.contact-form .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form .form-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--vino);
    cursor: pointer;
}

.contact-form .form-check label {
    font-size: 14px;
    margin: 0;
    cursor: pointer;
}

.contact-form .terms-link {
    color: var(--vino);
    text-decoration: underline;
    cursor: pointer;
}

/* =========================
   reCAPTCHA + BOTÓN
   ========================= */

.contact-form .form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between; /* CLAVE */
    gap: 20px;
    margin-top: 24px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'MontserratCustom', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 36px;
    border-radius: 12px;
    white-space: nowrap;
    background-color: var(--vino);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease;
}

.btn-submit:hover {
    background-color: var(--vino-oscuro);
    transform: translateY(-1px);
}

/* =========================
   MENSAJE DE ESTADO
   ========================= */

.form-message {
    margin-top: 20px;
    font-family: 'MontserratCustom', sans-serif;
    font-size: 14px;
    color: var(--vino);
}

/* =========================
   IMAGEN DERECHA
   ========================= */

.contact-image {
    max-width: 420px;
    height: auto;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 991px) {

    .contact-section {
        padding: 80px 0;
    }

    .contact-title {
        font-size: 40px;
    }

    .contact-form {
        max-width: 100%;
    }

    .contact-image {
        margin-top: 40px;
        max-width: 320px;
    }

    .contact-form .form-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {

    .contact-title {
        font-size: 34px;
        line-height: 1.2;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    .btn-submit {
        width: 100%;
    }
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    background-color: var(--vino);
    padding: 48px 0 32px;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
}

/* =========================
   LAYOUT
   ========================= */

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
    gap: 20px;
    align-items: start;
}

/* =========================
   BRAND
   ========================= */

.footer-logo {
    max-width: 150px;
    height: auto;
    display: block;
}

/* =========================
   NAVS (AQUÍ ESTÁ LA CLAVE)
   ========================= */

.footer-nav ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-legal li {
    margin: 0;              /* 🔥 eliminar separación */
    padding: 0;
}

.footer-nav a,
.footer-legal a {
    display: inline-block;  /* 🔥 clave */
    font-family: 'MontserratCustom', sans-serif;
    font-size: 14px;
    line-height: 1;         /* 🔥 valor real estable */
    padding: 1px 0;         /* 🔥 controla el espacio */
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
}

.footer-nav a:hover,
.footer-legal a:hover {
    opacity: 1;
}

/* =========================
   COPYRIGHT
   ========================= */

.footer-copy {
    font-family: 'MontserratCustom', sans-serif;
    font-size: 13px;
    line-height: 1.3;
    color: #ffffff;
    opacity: 0.85;
}

/* =========================
   FOOTER CREDIT
   ========================= */

.footer-credit {
    margin-top: 20px;
    text-align: center;
    font-family: 'MontserratCustom', sans-serif;
    font-size: 12.5px;
    color: #ffffff;
    opacity: 0.55;
}

.footer-credit a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.8;
}

.footer-credit a:hover {
    opacity: 1;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 991px) {

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-brand {
        grid-column: span 2;
        justify-content: center;
    }

    .footer-copy {
        grid-column: span 2;
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 575px) {

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* LOGO CENTRADO */
    .footer-brand {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 18px;
    }

    .footer-logo {
        max-width: 140px;
        margin: 0 auto;
    }

    .footer-nav,
    .footer-legal {
        margin-top: 12px;
    }

    .footer-copy {
        margin-top: 14px;
        font-size: 12.5px;
        line-height: 1.35;
    }

    .footer-credit {
        margin-top: 16px;
    }
}

/* =========================
   SCROLL TO TOP
   ========================= */

#scrollTopBtn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 14px;

    background-color: rgba(255, 255, 255, 0.95);
    color: var(--vino);

    border: 1.5px solid var(--vino-claro);

    font-size: 20px;
    font-weight: 700;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    opacity: 0;
    pointer-events: none;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(142, 61, 57, 0.08);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    z-index: 999;
}

#scrollTopBtn:hover {
    transform: translateY(-4px);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(142, 61, 57, 0.15);
}

/* Visible */
#scrollTopBtn.show {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile */
@media (max-width: 575px) {
    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }
}
