/* =============================================
   CARAT LIFESTYLE SERVICES — STYLESHEET
   ============================================= */

/* ---------------------------------------------
   1. CSS VARIABLES — PALETA Y TIPOGRAFÍA
   --------------------------------------------- */
:root {
    /* Colores base */
    --bg-primary: #002D37;
    --bg-secondary: #001820;
    --bg-services: #0D1A18;
    --bg-cream: #F5F0E8;
    --accent-green: #186663;
    --gold: #D2AF94;
    --brown: #8C7361;
    --text-secondary: #A6B5B4;
    --text-primary: #FFFFFF;
    --text-dark: #0D1F1C;

    /* Tipografía */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Espaciado */
    --spacing-section: 100px;
    --spacing-section-mobile: 80px;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;

    /* Transiciones */
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------------------
   2. RESET CSS
   --------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

h1, h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

input,
textarea,
select {
    font: inherit;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
}

::selection {
    background: var(--accent-green);
    color: var(--text-primary);
}

/* ---------------------------------------------
   3. UTILIDADES Y COMPONENTES BASE
   --------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 1px;
    background-color: var(--accent-green);
    margin-right: 12px;
    position: relative;
    top: -1px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.005em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    font-weight: 300;
}

.section-title--center {
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 15px;
    color: #A6B5B4;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-header .eyebrow {
    display: block;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn--primary {
    background-color: var(--accent-green);
    color: var(--text-primary);
}

.btn--primary:hover {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.btn--ghost {
    background: transparent;
    border: 1px solid #D2AF94;
    color: #D2AF94;
    padding: 14px 36px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.btn--ghost:hover {
    background-color: #D2AF94;
    border-color: #D2AF94;
    color: #002D37;
    transform: translateY(-2px);
}

.btn--ghost svg {
    transition: color 300ms ease;
}

.btn--ghost:hover svg {
    color: #002D37;
}

.btn--whatsapp {
    background-color: var(--accent-green);
    color: var(--text-primary);
    width: 100%;
    justify-content: center;
    padding: 1.25rem 2rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn--whatsapp:hover {
    background-color: var(--gold);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Fade-in animation — entrada controlada */
.fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--stagger-delay, 0ms);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cascada solo en tarjetas (calculada por JS via --stagger-delay) */
.destino-card.fade-in,
.servicio-card.fade-in {
    transform: translateY(16px);
}

/* Desktop: GSAP gestiona las animaciones, neutralizar CSS fade-in */
@media (min-width: 768px) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile: garantizar visibilidad sin depender de JS */
@media (max-width: 767px) {
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero {
        overflow: hidden;
    }
    .hero__video {
        transform-origin: center center;
    }
    .stat:last-child .stat__num {
        font-size: 2rem;
        line-height: 1;
    }
}

/* ---------------------------------------------
   4. NAVBAR
   --------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: background-color 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background: rgba(0, 24, 32, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(210, 175, 148, 0.08);
}

.navbar__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar__logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    transition: color var(--transition-base);
}

.navbar__logo-name {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.navbar__logo-tagline {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
}

.navbar__logo:hover .navbar__logo-name {
    color: var(--gold);
}

.navbar__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar__list {
    display: flex;
    gap: 2.5rem;
}

.navbar__link {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-base);
}

.navbar__link:hover {
    color: var(--gold);
}

.navbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.navbar__cta:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-1px);
}

.navbar__cta-icon {
    width: 16px;
    height: 16px;
    color: var(--gold);
    transition: color var(--transition-base);
}

.navbar__cta:hover .navbar__cta-icon {
    color: var(--text-primary);
}

/* Selector de idioma */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 24px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 0;
    transition: color 300ms ease;
}

.lang-btn.active {
    color: #D2AF94;
}

.lang-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

.navbar.scrolled .lang-btn {
    color: rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .lang-btn.active {
    color: #D2AF94;
}

.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.navbar__hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.navbar__hamburger.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .navbar__cta-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar__hamburger {
        display: flex;
    }

    .navbar__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid rgba(210, 175, 148, 0.1);
    }

    .navbar__nav.active {
        right: 0;
    }

    .navbar__list {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .navbar__link {
        font-size: 1.25rem;
        font-family: var(--font-serif);
        font-style: italic;
        letter-spacing: 0.02em;
    }

    .navbar__cta {
        display: none;
    }
    .navbar__container {
        height: 64px;
    }
    .navbar__logo {
        order: 1;
    }
    .lang-selector {
        order: 2;
        flex: 1;
        justify-content: center;
        margin: 0;
    }
    .navbar__hamburger {
        order: 3;
    }
}

/* ---------------------------------------------
   5. HERO — Composición editorial
   --------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 150px;
    z-index: 3;
    background: linear-gradient(to bottom, transparent 0%, rgba(245, 240, 232, 0.5) 50%, #F5F0E8 100%);
    pointer-events: none;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transform-origin: center center;
    will-change: transform;
    animation: heroFade 1.5s ease-in forwards;
}

@keyframes heroFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
        rgba(0, 45, 55, 0.7) 0%,
        rgba(0, 45, 55, 0.45) 35%,
        rgba(0, 45, 55, 0.2) 70%,
        rgba(0, 45, 55, 0) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding-left: 80px;
    padding-right: 1.5rem;
    max-width: 760px;
    width: 100%;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    margin-bottom: 1.75rem;
}

.hero__subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.7;
}

.hero__cta {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .hero__cta {
        margin-top: 2.5rem;
    }
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.hero__scroll-text {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.hero__scroll-line {
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--gold));
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--text-primary));
    animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -50px; }
    100% { top: 100%; }
}

@media (max-width: 1024px) {
    .hero__content {
        padding-left: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
    .hero__content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        text-align: center;
        margin: 0 auto;
    }
    .hero__overlay {
        background: linear-gradient(180deg,
            rgba(0, 24, 32, 0.6) 0%,
            rgba(0, 45, 55, 0.75) 50%,
            rgba(0, 24, 32, 0.9) 100%);
    }
    .hero__title {
        font-size: 2rem;
        line-height: 1.15;
        text-align: center;
    }
    .hero__subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: center;
        max-width: 280px;
        margin: 0 auto;
    }
    .hero .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ---------------------------------------------
   6. SOBRE — Sección crema
   --------------------------------------------- */
.sobre {
    background: var(--bg-cream);
    padding: 60px 0 60px;
    color: var(--text-dark);
}

.sobre__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sobre__content {
    text-align: center;
}

.sobre__content .eyebrow {
    display: block;
    color: var(--accent-green);
}

.sobre__content .section-title {
    color: var(--text-dark);
}

.sobre__text {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    color: var(--text-dark);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    opacity: 0.85;
}

.sobre__text--quote {
    border-left: 2px solid #D2AF94;
    padding-left: 24px;
    opacity: 1;
    font-style: italic;
    color: #002D37;
}

.sobre__text strong {
    color: #186663;
    font-weight: 600;
    opacity: 1;
    text-decoration: none;
    border-bottom: none;
    background: none;
}

/* Stats — diseño editorial sin fondo */
.sobre__stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 3rem;
    flex-wrap: nowrap;
}

.stat {
    flex: 1;
    position: relative;
    text-align: left;
    padding: 0 1.5rem;
}

.stat:first-child {
    padding-left: 0;
}

.stat:last-child {
    padding-right: 0;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background-color: #D2AF94;
    opacity: 0.5;
}

.stat__num {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    color: #002D37;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.stat__label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8C7361;
    font-weight: 500;
}


.sobre__image {
    position: relative;
    border-radius: 2px;
}

.sobre__image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sobre__image:hover img {
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .sobre__grid {
        gap: 3rem;
    }
    .sobre__image img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .sobre {
        padding: 60px 0 40px;
    }
    .sobre__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .sobre__content {
        text-align: center;
    }
    .sobre__image img {
        height: 400px;
    }
    .stat {
        padding: 0 1rem;
    }
    .stat__num {
        font-size: 2.5rem;
    }
    .stat__label {
        font-size: 0.625rem;
    }
}

/* Separador decorativo entre secciones crema consecutivas */
.section-divider {
    display: block;
    background: var(--bg-cream);
    text-align: center;
    line-height: 0;
    padding: 0;
}

.section-divider::before {
    content: '';
    display: inline-block;
    width: 80px;
    height: 1px;
    background-color: #D2AF94;
    opacity: 0.4;
    vertical-align: middle;
}

/* ---------------------------------------------
   7. DESTINOS — Sección crema
   --------------------------------------------- */
.destinos {
    background: var(--bg-cream);
    padding: 60px 0 var(--spacing-section);
    color: var(--text-dark);
}

.destinos .eyebrow {
    color: var(--accent-green);
}

.destinos .section-title {
    color: var(--text-dark);
}

.destinos .section-subtitle {
    color: var(--text-dark);
    opacity: 0.7;
}

.destinos__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.destinos__coda {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1.5rem;
    letter-spacing: 0.05em;
    font-style: italic;
}

.destino-card {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.destino-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.destino-card:hover img {
    transform: scale(1.04);
}

.destino-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0, 29, 32, 0.85) 0%,
        rgba(0, 29, 32, 0.4) 30%,
        transparent 60%);
    pointer-events: none;
}

.destino-card__content {
    position: absolute;
    bottom: 1.75rem;
    left: 1.75rem;
    right: 1.75rem;
    z-index: 2;
}

.destino-card__title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 300;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.destino-card__title::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background-color: #D2AF94;
    margin-top: 0.625rem;
    transition: width 300ms ease;
}

.destino-card:hover .destino-card__title::after {
    width: 30px;
}

.destino-card__sub {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

@media (max-width: 1024px) {
    .destinos__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .destinos {
        padding: 40px 0 var(--spacing-section-mobile);
    }
    .destinos__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .destino-card__content {
        bottom: 1.25rem;
        left: 1.25rem;
        right: 1.25rem;
    }
    .destino-card__title {
        font-size: 1.1rem;
        letter-spacing: 0.08em;
    }
}

/* ---------------------------------------------
   7B. MEDITERRÁNEO — Interludio fullscreen
   --------------------------------------------- */
.mediterraneo {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mediterraneo::before,
.mediterraneo::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 150px;
    z-index: 2;
    pointer-events: none;
}

.mediterraneo::before {
    top: 0;
    background: linear-gradient(to bottom, #F5F0E8 0%, rgba(245, 240, 232, 0.5) 50%, rgba(245, 240, 232, 0) 100%);
}

.mediterraneo::after {
    bottom: 0;
    height: 200px;
    background: linear-gradient(to top, #F5F0E8 0%, rgba(245, 240, 232, 0.5) 50%, rgba(245, 240, 232, 0) 100%);
}

.med__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.med__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.med__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 40px;
}

.med__eyebrow {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: #D2AF94;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.med__title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.med__title em {
    font-style: italic;
    font-weight: 400;
}

.med__subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .mediterraneo {
        height: 60vh;
        min-height: 420px;
    }
    .med__title {
        font-size: 2rem;
    }
    .med__content {
        padding: 0 24px;
    }
}

/* ---------------------------------------------
   8. SERVICIOS — Header crema, tarjetas oscuras
   --------------------------------------------- */
.servicios {
    background: var(--bg-cream);
    padding: var(--spacing-section) 0;
    color: var(--text-dark);
}

.servicios .eyebrow {
    color: var(--accent-green);
}

.servicios .section-title {
    color: var(--text-dark);
}

.servicios .section-subtitle {
    color: var(--text-dark);
    opacity: 0.7;
}

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

.servicio-card {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
}

.servicio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.servicio-card:hover img {
    transform: scale(1.06);
}

.servicio-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    transition: background var(--transition-slow);
}

.servicio-card:hover .servicio-card__overlay {
    background: rgba(0, 0, 0, 0.35);
}

/* Variant: tarjeta Force Security en grid de servicios */
.servicio-card--force img {
    filter: grayscale(30%) contrast(1.1);
}

.servicio-card--force .servicio-card__overlay {
    background: linear-gradient(135deg,
        rgba(0, 24, 32, 0.7) 0%,
        rgba(24, 102, 99, 0.4) 100%);
}

.servicio-card--force:hover .servicio-card__overlay {
    background: linear-gradient(135deg,
        rgba(0, 24, 32, 0.55) 0%,
        rgba(24, 102, 99, 0.3) 100%);
}

.servicio-card--force .servicio-card__sub {
    color: var(--gold);
    letter-spacing: 0.2em;
    font-size: 0.6875rem;
    text-transform: uppercase;
    font-weight: 500;
}

/* VIP card: reforzar overlay para contraste sobre imagen clara */
.servicio-card--vip .servicio-card__overlay {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.2) 100%);
}

.servicio-card--vip:hover .servicio-card__overlay {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.25) 60%,
        rgba(0, 0, 0, 0.1) 100%);
}

.servicio-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}

.servicio-card:hover::after {
    width: 100%;
}

.servicio-card__content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 2;
    text-align: left;
    transition: transform var(--transition-slow);
}

.servicio-card:hover .servicio-card__content {
    transform: translateY(-5px);
}

.servicio-card__title {
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    line-height: 1.2;
}

.servicio-card__sub {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
    .servicios__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .servicios {
        padding: 60px 0 var(--spacing-section-mobile);
    }
    .servicios .section-title {
        font-size: 1.6rem;
    }
    .servicios__grid {
        grid-template-columns: 1fr;
        gap: 3px;
    }
    .servicio-card {
        height: 320px;
    }
    .servicio-card__title {
        font-size: 1.3rem;
    }
    .servicio-card__sub {
        font-size: 0.8rem;
    }
    .servicio-card--force .servicio-card__sub {
        font-size: 0.55rem;
        letter-spacing: 0.15em;
    }
}

/* ---------------------------------------------
   9. FORCE SECURITY
   --------------------------------------------- */
.force {
    background: var(--bg-secondary);
    padding: calc(var(--spacing-section) + 40px) 0 var(--spacing-section);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    margin-top: -40px;
}

.force::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(24, 102, 99, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(140, 115, 97, 0.08), transparent 50%);
    pointer-events: none;
}

.force__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.force__content .eyebrow {
    display: block;
}

.force__eyebrow-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.force__deco {
    display: inline-block;
    width: 1px;
    height: 40px;
    background-color: var(--accent-green);
    flex-shrink: 0;
}

.force__eyebrow {
    margin-bottom: 0;
    color: var(--brown);
    font-size: 13px;
    letter-spacing: 0.35em;
}

/* La línea vertical .force__deco ya cumple el rol decorativo — evitamos doble línea */
.force__eyebrow::before {
    display: none;
}

.force__content .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 1.5rem;
}

.force__text {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 48px;
    border-left: 2px solid #D2AF94;
    padding-left: 24px;
}

.force__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
    margin-bottom: 2.5rem;
}

.force__item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(210, 175, 148, 0.2);
}

.force__num {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-green);
    flex-shrink: 0;
    margin-top: 4px;
    line-height: 1;
}

.force__item-body {
    flex: 1;
}

.force__item h4 {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    letter-spacing: 0.01em;
}

.force__item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.force__footer {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

/* Stat editorial — reemplaza el badge--inline en Force */
.force__stat {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.force__stat-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.force__stat-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 500;
}

.force__image {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.force__image img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    object-position: center top;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.92) saturate(0.88);
}

.force__image:hover img {
    transform: scale(1.04);
    filter: brightness(1) saturate(1);
}

@media (max-width: 1024px) {
    .force__grid {
        gap: 3rem;
    }
    .force__image img {
        height: 540px;
    }
    .force__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .force {
        clip-path: none;
        margin-top: 0;
        padding: var(--spacing-section-mobile) 0;
    }
    .force__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .force__content {
        display: contents;
    }
    .force__eyebrow-row {
        order: -2;
        justify-content: center;
        margin-bottom: 0;
    }
    .force__eyebrow {
        font-size: 0.6rem;
        letter-spacing: 0.2em;
        text-align: center;
    }
    .force__content .section-title {
        font-size: 1.6rem;
        text-align: center;
    }
    .force__text {
        text-align: center;
        border-left: none;
        padding-left: 0;
    }
    .force__list {
        text-align: center;
    }
    .force__item {
        justify-content: center;
        text-align: center;
    }
    .force__image {
        order: -1;
    }
    .force__image img {
        height: 380px;
    }
    .force__footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    .force__stat {
        text-align: center;
    }
    .force__stat-num {
        display: block;
        text-align: center;
    }
    .force__stat-label {
        display: block;
        text-align: center;
    }
}

/* ---------------------------------------------
   10. CONTACTO — Sección crema
   --------------------------------------------- */
.contacto {
    background: var(--bg-cream);
    padding: var(--spacing-section) 0;
    color: var(--text-dark);
    position: relative;
}

.contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, #001820 0%, rgba(0, 24, 32, 0.5) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.contacto > * {
    position: relative;
    z-index: 2;
}

.contacto .eyebrow {
    color: var(--accent-green);
}

.contacto .section-title {
    color: var(--text-dark);
}

.contacto .section-subtitle {
    color: var(--text-dark);
    opacity: 0.7;
}

.contacto__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* Form */
.contacto__form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 0.625rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #FFFFFF;
    border: none;
    border-bottom: 1px solid var(--accent-green);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    resize: vertical;
    border-radius: 2px 2px 0 0;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(0, 45, 55, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--brown);
    opacity: 0.5;
}

.form-group.error input,
.form-group.error textarea {
    border-bottom-color: #c46a5e;
}

.form-submit {
    align-self: flex-start;
    margin-top: 1rem;
}

.form-success {
    display: none;
    background: transparent;
    border-top: 1px solid #D2AF94;
    border-radius: 0;
    padding: 32px 0 0 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: #002D37;
    text-align: left;
    margin-top: 1.5rem;
}

.form-success.visible {
    display: block;
    animation: formFadeUp 0.6s ease forwards;
}

@keyframes formFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Info */
.contacto__info {
    background: transparent;
    padding: 2.5rem 0;
}

.contacto__info .btn--ghost {
    margin-top: 2rem;
}

.contacto__info-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(24, 102, 99, 0.15);
}

.contacto__item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(13, 31, 28, 0.08);
    transition: padding-left var(--transition-base);
    color: var(--text-dark);
}

.contacto__item:hover {
    padding-left: 0.5rem;
}

.contacto__item svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

.contacto__item-label {
    display: block;
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 0.125rem;
}

.contacto__item-value {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .contacto__grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contacto {
        padding: 80px 0 var(--spacing-section-mobile);
    }
    .contacto .section-title {
        font-size: 1.8rem;
    }
    .contacto__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contacto__info {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    .contacto__item {
        justify-content: center;
    }
    .form-submit {
        display: block;
        width: 100%;
        text-align: center;
        justify-content: center;
        margin: 0 auto;
    }
}

/* ---------------------------------------------
   11. FOOTER
   --------------------------------------------- */
.footer {
    background: var(--bg-secondary);
    padding: var(--spacing-section) 0 2rem;
    border-top: 1px solid rgba(210, 175, 148, 0.2);
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(210, 175, 148, 0.15);
}

.footer__brand {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 28px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    margin-bottom: 0.375rem;
    line-height: 1;
}

.footer__tagline {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer__columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__col h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer__col a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #FFFFFF;
    transition: color var(--transition-base);
}

.footer__col a:hover {
    color: var(--gold);
}

.footer__bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer__bottom p {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: #FFFFFF;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .footer__top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-section-mobile) 0 2rem;
        text-align: center;
    }
    .footer__brand {
        align-items: center;
    }
    .footer__columns {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1.5rem;
        justify-items: center;
    }
    .footer__col ul {
        align-items: center;
    }
}

/* ---------------------------------------------
   11A. SEO TEXT
   --------------------------------------------- */
.seo-text {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: rgba(210, 175, 148, 0.5);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 1.5rem var(--container-padding);
    line-height: 1.6;
    background: var(--bg-primary);
}

.seo-text p {
    margin: 0;
}

/* ---------------------------------------------
   11B. WHATSAPP FLOAT
   --------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #002D37;
    border: 1px solid rgba(210, 175, 148, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D2AF94;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 400ms ease, transform 400ms ease, background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.whatsapp-float.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(210, 175, 148, 0.5);
    animation: pulse-ring 3s ease-out infinite;
    pointer-events: none;
}

.whatsapp-float:hover {
    background-color: #D2AF94;
    border-color: #D2AF94;
    color: #002D37;
    transform: translateY(-2px);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(210, 175, 148, 0.5);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(210, 175, 148, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(210, 175, 148, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
    }
}

/* ---------------------------------------------
   12. UTILIDADES FINALES
   --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
