/* Rancho Don Ramón · Landing Page styles */

:root {
    --agua-profundo: #0d6e68;
    --agua-medio: #1a9c93;
    --agua-claro: #dff1ef;
    --agua-suave: #bfe2df;
    --crema: #f6f1e6;
    --crema-oscuro: #efe7d4;
    --arena: #c9a87c;
    --terracota: #c87553;
    --terracota-oscuro: #a85d3d;
    --dorado: #b88747;
    --texto-oscuro: #1f2e2e;
    --texto-medio: #4a5e5d;
    --white: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.92);
    --nav-border: rgba(13, 110, 104, 0.14);
    --kicker-bg: rgba(200, 117, 83, 0.16);
    --decoracion-bg: rgba(26, 156, 147, 0.16);
    --hero-wave-fill: #f6f1e6;
    --sombra-suave: 0 8px 24px rgba(13, 60, 58, 0.10);
    --sombra-media: 0 14px 36px rgba(13, 60, 58, 0.14);
    --sombra-fuerte: 0 22px 50px rgba(13, 60, 58, 0.20);
    --borde-redondo: 22px;
    --borde-redondo-sm: 12px;
    --transicion: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-aqua: linear-gradient(135deg, #0c4a47 0%, #1a8a84 100%);
    --gradient-warm: linear-gradient(135deg, #d68a6a 0%, #e6b878 100%);
    color-scheme: light;
}

/* RESET & BASE */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', system-ui, -apple-system, sans-serif;
    color: var(--texto-oscuro);
    background-color: var(--crema);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--agua-profundo);
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: var(--agua-profundo);
    text-decoration: none;
    transition: var(--transicion);
}

a:hover {
    color: var(--terracota);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
}

/* SELECTION */
::selection {
    background: var(--agua-medio);
    color: var(--white);
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: #0d2b2a;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(20, 90, 88, 0.30) 0%, rgba(13, 43, 42, 0.6) 100%),
        linear-gradient(180deg, rgba(13, 43, 42, 0.35) 0%, rgba(13, 43, 42, 0.18) 50%, rgba(13, 43, 42, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 100px 24px 140px;
    width: min(92vw, 1100px);
    text-align: center;
}

.hero-logo {
    width: clamp(220px, 34vw, 360px);
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
    animation: floatLogo 4s ease-in-out infinite, heroEntrance 1s ease-out;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    color: #68C7C0;
    margin-bottom: 0.4rem;
    letter-spacing: 1.5px;
    animation: heroEntrance 1s ease-out;
}

.hero .eslogan {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.05rem, 2.6vw, 1.6rem);
    font-style: italic;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.95);
    animation: heroEntrance 1s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroEntrance 1s ease-out 0.4s both;
}

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

/* BUBBLES (decorative) */
.bubbles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.bubbles span {
    position: absolute;
    bottom: -60px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: bubbleRise linear infinite;
    backdrop-filter: blur(2px);
}

.bubbles span:nth-child(1)  { left: 8%;  width: 22px; height: 22px; animation-duration: 14s; animation-delay: 0s; }
.bubbles span:nth-child(2)  { left: 18%; width: 14px; height: 14px; animation-duration: 11s; animation-delay: 2s; }
.bubbles span:nth-child(3)  { left: 28%; width: 30px; height: 30px; animation-duration: 17s; animation-delay: 4s; }
.bubbles span:nth-child(4)  { left: 38%; width: 18px; height: 18px; animation-duration: 13s; animation-delay: 1s; }
.bubbles span:nth-child(5)  { left: 50%; width: 24px; height: 24px; animation-duration: 16s; animation-delay: 6s; }
.bubbles span:nth-child(6)  { left: 62%; width: 12px; height: 12px; animation-duration: 10s; animation-delay: 3s; }
.bubbles span:nth-child(7)  { left: 72%; width: 26px; height: 26px; animation-duration: 15s; animation-delay: 5s; }
.bubbles span:nth-child(8)  { left: 82%; width: 16px; height: 16px; animation-duration: 12s; animation-delay: 0.5s; }
.bubbles span:nth-child(9)  { left: 90%; width: 20px; height: 20px; animation-duration: 14s; animation-delay: 7s; }
.bubbles span:nth-child(10) { left: 45%; width: 10px; height: 10px; animation-duration: 9s;  animation-delay: 4s; }

@keyframes bubbleRise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% { opacity: 0.85; }
    90% { opacity: 0.6; }
    100% {
        transform: translateY(-110vh) translateX(30px) scale(0.6);
        opacity: 0;
    }
}

/* HERO WAVE */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 4;
    display: block;
}

.hero-wave path {
    fill: var(--hero-wave-fill);
}

/* SCROLL-DOWN INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: opacity 0.3s;
    background: none;
    border: none;
    padding: 8px;
}

.scroll-indicator:hover {
    opacity: 0.8;
}

.scroll-indicator span {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.scroll-indicator .chevron {
    width: 22px;
    height: 22px;
    border-right: 2.5px solid rgba(255, 255, 255, 0.85);
    border-bottom: 2.5px solid rgba(255, 255, 255, 0.85);
    transform: rotate(45deg);
    animation: bounceChevron 2s ease-in-out infinite;
}

.scroll-indicator .chevron:nth-child(3) { animation-delay: 0.15s; }
.scroll-indicator .chevron:nth-child(4) { animation-delay: 0.3s; }

@keyframes bounceChevron {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: rotate(45deg) translateY(7px);
        opacity: 1;
    }
}

/* BUTTONS */
.btn-primario {
    background: var(--gradient-warm);
    color: white !important;
    padding: 15px 38px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transicion);
    box-shadow: 0 10px 24px rgba(194, 122, 89, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primario::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-primario:hover::before {
    width: 320px;
    height: 320px;
}

.btn-primario:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(194, 122, 89, 0.55);
}

.btn-primario > * { position: relative; z-index: 1; }

.btn-secundario {
    background: rgba(255, 255, 255, 0.12);
    color: white !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: var(--transicion);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-secundario:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--agua-profundo) !important;
    border-color: white;
    transform: translateY(-3px);
}

.btn-card {
    background: var(--agua-profundo);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transicion);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    text-decoration: none;
}

.btn-card:hover {
    background: var(--agua-medio);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(7, 74, 74, 0.3);
}

/* STICKY NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(7, 74, 74, 0.08);
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

nav.visible {
    transform: translateY(0);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    gap: 16px;
}

.nav-links {
    margin-left: auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--agua-profundo);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    color: var(--terracota);
}

.logo-icon {
    color: var(--terracota);
    font-size: 1.4rem;
    transition: var(--transicion);
}

.logo:hover .logo-icon {
    transform: rotate(-15deg);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    font-weight: 600;
    font-size: 0.93rem;
}

.nav-links a {
    color: var(--texto-oscuro);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracota);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--terracota);
}

/* FLOATING CONTROLS (language) */
.floating-controls {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: rgba(12, 24, 24, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(106, 205, 198, 0.18);
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* When nav is visible (scrolled past hero), make controls match nav surface */
nav.visible ~ .floating-controls {
    background: var(--nav-bg);
    border-color: var(--nav-border);
}

.lang-toggle {
    width: auto;
    height: 38px;
    padding: 0 14px;
    min-width: 46px;
    border-radius: 20px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transicion);
    font-family: 'Lato', sans-serif;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

nav.visible ~ .floating-controls .lang-toggle {
    color: var(--agua-profundo);
}

nav.visible ~ .floating-controls .lang-toggle:hover {
    background: var(--decoracion-bg);
    color: var(--agua-medio);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
    border-radius: 8px;
    transition: var(--transicion);
    margin-left: 8px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--agua-profundo);
    border-radius: 3px;
    transition: var(--transicion);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* SECTIONS */
section[id] {
    scroll-margin-top: 72px;
}

.seccion {
    padding: 100px 0;
    position: relative;
}

.seccion-alt {
    background-color: var(--white);
    position: relative;
}

.seccion-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--crema), transparent);
    pointer-events: none;
}

.seccion-alt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--crema), transparent);
    pointer-events: none;
}

.titulo-seccion {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.kicker {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--terracota);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    padding: 6px 16px;
    background: var(--kicker-bg);
    border-radius: 50px;
}

.titulo-seccion h2 {
    font-size: clamp(2rem, 5vw, 2.9rem);
    display: inline-block;
    position: relative;
    padding-bottom: 18px;
}

.titulo-seccion h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: 4px;
}

.subtitulo {
    color: var(--texto-medio);
    font-size: 1.1rem;
    margin-top: 16px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* NOSOTROS */
.grid-nosotros {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.img-frame {
    position: relative;
    border-radius: var(--borde-redondo);
    overflow: visible;
}

.img-frame img {
    border-radius: var(--borde-redondo);
    box-shadow: var(--sombra-media);
    transition: var(--transicion);
    width: 100%;
    object-fit: cover;
    max-height: 540px;
    position: relative;
    z-index: 2;
}

.img-frame::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 18px;
    width: 100%;
    height: 100%;
    background: var(--gradient-aqua);
    border-radius: var(--borde-redondo);
    opacity: 0.15;
    z-index: 1;
    transition: var(--transicion);
}

.img-frame:hover img {
    transform: translate(-6px, -6px);
    box-shadow: var(--sombra-fuerte);
}

.img-frame:hover::before {
    transform: translate(6px, 6px);
    opacity: 0.25;
}

.grid-nosotros .texto p {
    margin-bottom: 1.5rem;
    font-size: 1.08rem;
    color: var(--texto-medio);
    line-height: 1.8;
}

.grid-nosotros .texto p strong {
    color: var(--agua-profundo);
}

.decoracion-pez {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--decoracion-bg);
    color: var(--agua-medio);
    font-size: 1rem;
    margin-right: 10px;
    vertical-align: middle;
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 80px;
    padding: 50px 30px;
    background: var(--gradient-aqua);
    border-radius: var(--borde-redondo);
    box-shadow: var(--sombra-media);
    position: relative;
    overflow: hidden;
}

.stats-grid--single {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    padding: 56px 40px;
}

.stats-grid--single .stat-number {
    font-size: clamp(3.6rem, 9vw, 5rem);
}

.stats-grid--single .stat-suffix {
    font-size: clamp(2.6rem, 6vw, 3.6rem);
}

.stats-grid--single .stat p {
    font-size: 1.05rem;
    margin-top: 12px;
}

.stats-grid::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217, 164, 92, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.stat {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 700;
    color: white;
    display: inline-block;
    line-height: 1;
}

.stat-suffix {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--dorado);
}

.stat p {
    margin-top: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
}

/* FEATURES (Por qué) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--crema);
    border-radius: var(--borde-redondo);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transicion);
    border: 1px solid rgba(7, 74, 74, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-media);
    background: white;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--gradient-aqua);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.9rem;
    box-shadow: 0 10px 24px rgba(7, 74, 74, 0.2);
    transition: var(--transicion);
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-5deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--texto-medio);
    font-size: 0.97rem;
    line-height: 1.6;
}

/* PRODUCTOS */
.cards-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
    gap: 36px;
    justify-content: center;
}

.card-producto {
    background: var(--white);
    border-radius: var(--borde-redondo);
    padding: 0 0 32px;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
    border: 1px solid rgba(7, 74, 74, 0.06);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card-producto:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-fuerte);
}

.card-img-wrap {
    overflow: hidden;
    position: relative;
}

.card-producto img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-producto:hover img {
    transform: scale(1.08);
}

.card-producto h3 {
    font-size: 1.6rem;
    margin: 28px 28px 10px;
}

.card-producto > p {
    color: var(--texto-medio);
    line-height: 1.6;
    padding: 0 28px;
    margin-bottom: 18px;
}

.card-producto.destacado {
    border: 2px solid var(--terracota);
}

.card-producto .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-warm);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 6px 14px rgba(194, 122, 89, 0.4);
}

.producto-features {
    list-style: none;
    padding: 0 28px;
    text-align: left;
    margin: 0 auto 8px;
    display: inline-block;
}

.producto-features li {
    color: var(--texto-medio);
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.producto-features i {
    color: var(--agua-medio);
    font-size: 0.85rem;
}

/* CÓMO COMPRAR */
.pasos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    counter-reset: paso;
    position: relative;
    z-index: 1;
}

.paso {
    flex: 1 1 220px;
    max-width: 300px;
    text-align: center;
    position: relative;
    padding: 50px 28px 32px;
    background: var(--crema);
    border-radius: var(--borde-redondo);
    box-shadow: var(--sombra-suave);
    counter-increment: paso;
    transition: var(--transicion);
}

.paso:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-media);
    background: white;
}

.paso::before {
    content: counter(paso);
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: var(--gradient-warm);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 6px 16px rgba(194, 122, 89, 0.5);
}

.paso i {
    font-size: 2.6rem;
    color: var(--agua-medio);
    margin-bottom: 16px;
    display: block;
}

.paso h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.paso p {
    color: var(--texto-medio);
    font-size: 0.95rem;
}

.cta-pedidos {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* CONTACTO */
.grid-contacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.info-box {
    background: var(--crema);
    border-radius: var(--borde-redondo);
    padding: 40px 34px;
    box-shadow: var(--sombra-suave);
    border: 1px solid rgba(7, 74, 74, 0.06);
}

.info-box h3 {
    margin-bottom: 26px;
    font-size: 1.45rem;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--arena);
}

.info-box p {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--texto-medio);
    line-height: 1.6;
}

.info-box i {
    color: var(--terracota);
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.horario-box {
    margin-top: 24px;
    padding: 18px;
    background: var(--white);
    border-left: 4px solid var(--agua-medio);
    border-radius: 8px;
}

.horario-box p {
    margin-bottom: 6px;
}

.horario-detail {
    padding-left: 42px;
    font-size: 0.95rem;
}

.mapa {
    border-radius: var(--borde-redondo);
    overflow: hidden;
    box-shadow: var(--sombra-media);
    min-height: 380px;
}

.mapa iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
    display: block;
}

/* WHATSAPP FLOATING */
.whatsapp-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: #25D366;
    color: white !important;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: var(--transicion);
    z-index: 999;
    animation: pulse 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
    animation: none;
    color: white !important;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    }
    50% {
        box-shadow: 0 8px 36px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.15);
    }
}

/* FOOTER */
footer {
    background: var(--gradient-aqua);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 60px 24px 36px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 50px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'><path fill='%23ffffff' d='M0,30 C360,0 720,50 1080,20 C1260,5 1380,15 1440,25 L1440,0 L0,0 Z'/></svg>") no-repeat;
    background-size: 100% 100%;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-brand i {
    color: var(--dorado);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 28px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--arena);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transicion);
}

.footer-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 22px;
    margin-top: 0;
}

/* SCROLL ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* RESPONSIVE */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
        padding: 40px 24px;
    }

    .grid-nosotros,
    .grid-contacto {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .img-frame::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(2rem, 9vw, 3rem);
        letter-spacing: 0.5px;
    }

    .hero-content {
        padding: 80px 24px 130px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-cta .btn-primario,
    .hero-cta .btn-secundario {
        width: 100%;
        justify-content: center;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .hamburger {
        display: flex;
    }

    /* Reserve space at the right for floating-controls so the nav hamburger doesn't sit underneath */
    nav .container {
        padding-right: 140px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .floating-controls {
        top: 14px;
        right: 14px;
        gap: 4px;
        padding: 4px;
    }

    .lang-toggle {
        width: auto;
        height: 34px;
        padding: 0 10px;
        min-width: 38px;
        font-size: 0.78rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 12px 0 20px;
        box-shadow: 0 8px 24px rgba(7, 74, 74, 0.1);
        border-top: 1px solid var(--nav-border);
        margin-left: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 13px 28px;
    }

    .nav-links a::after {
        display: none;
    }

    .seccion {
        padding: 70px 0;
    }

    .titulo-seccion {
        margin-bottom: 44px;
    }

    .cards-productos {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pasos {
        flex-direction: column;
        align-items: center;
    }

    .paso {
        max-width: 100%;
        width: 100%;
    }

    .btn-primario {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .info-box {
        padding: 28px 24px;
    }

    .mapa,
    .mapa iframe {
        min-height: 300px;
    }

    footer {
        padding: 50px 20px 30px;
    }

    .horario-detail {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .hero {
        min-height: 600px;
    }

    .stats-grid {
        margin-top: 50px;
        padding: 36px 20px;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 1.7rem;
    }

    .kicker {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
}

/* GALERÍA */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
}

.galeria-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--borde-redondo-sm);
    box-shadow: var(--sombra-suave);
    cursor: pointer;
    transition: var(--transicion);
}

.galeria-grid img:first-child {
    grid-column: span 2;
    grid-row: span 2;
    border-radius: var(--borde-redondo);
}

.galeria-grid img:nth-child(6) {
    grid-column: span 2;
}

.galeria-grid img:hover {
    transform: scale(1.04);
    box-shadow: var(--sombra-media);
    z-index: 1;
    position: relative;
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
        gap: 10px;
    }

    .galeria-grid img:first-child,
    .galeria-grid img:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
        border-radius: var(--borde-redondo-sm);
    }
}

@media (max-width: 480px) {
    .galeria-grid {
        grid-auto-rows: 130px;
        gap: 8px;
    }
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.93);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.25s ease-out;
}

.lightbox.active {
    display: flex;
}

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

.lightbox img {
    max-width: 88vw;
    max-height: 82vh;
    border-radius: var(--borde-redondo);
    box-shadow: var(--sombra-fuerte);
    transition: opacity 0.2s ease;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2.4rem;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 10px;
    transition: background 0.2s;
    z-index: 10001;
    line-height: 1;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lightbox-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    letter-spacing: 2px;
    user-select: none;
}

@media (max-width: 480px) {
    .lightbox-prev { left: 8px; padding: 8px 12px; font-size: 1.8rem; }
    .lightbox-next { right: 8px; padding: 8px 12px; font-size: 1.8rem; }
    .lightbox-close { top: 14px; right: 14px; font-size: 1.6rem; width: 40px; height: 40px; }
}

/* SURFACE OVERRIDES */
.horario-box {
    background: var(--crema-oscuro);
    border-left-color: var(--agua-medio);
}

.feature-card {
    background: var(--white);
    border-color: rgba(13, 110, 104, 0.08);
}

.feature-card:hover {
    background: #fffbf2;
}

.paso {
    background: var(--white);
}

.paso:hover {
    background: #fffbf2;
}

.info-box {
    background: var(--white);
    border-color: rgba(13, 110, 104, 0.08);
}

.card-producto {
    background: var(--white);
    border-color: rgba(13, 110, 104, 0.08);
}

.stats-grid {
    box-shadow: 0 18px 40px rgba(7, 74, 74, 0.22);
}

/* REDUCED MOTION */
@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;
    }

    .bubbles,
    .hero-logo {
        animation: none !important;
    }
}
