@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Raleway:wght@200;300;400;500;600;700;800&display=swap');

:root {
    --bg:           #080808;
    --text:         #ffffff;  /* ✅ Texto general ahora BLANCO */
    --muted:        #cccccc;  /* ✅ Antes gris oscuro, ahora gris claro */
    --border:       #333333;   /* ✅ Borde más visible */
    --accent:       #c8a96e;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Raleway', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Capa de grano */
body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* Contenedor base */
.container {
    width: 100%;
    max-width: 100%;
}

/* Secciones de imagen a ancho completo */
.full-width-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.full-width-section img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(90%) brightness(0.85);
    transition: filter 1s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
    will-change: transform, filter;
}

.full-width-section:hover img {
    filter: grayscale(40%) brightness(1);
    transform: scale(1.025);
}

/* Gradiente para contraste */
.full-width-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
    z-index: 1;
    pointer-events: none;
}

/* Texto superpuesto */
.overlay-text {
    position: relative;
    z-index: 2;
    padding: 2rem 2.5rem;
    max-width: 900px;
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.9s ease, opacity 0.9s ease;
}

.full-width-section.revealed .overlay-text {
    transform: translateY(0);
    opacity: 1;
}

.overlay-text .section-label {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1vw, 0.88rem);
    font-weight: 700;
    letter-spacing: 0.55em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.overlay-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 7vw, 6rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
    max-width: 90%;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

.overlay-text p {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.4vw, 1.15rem);
    font-weight: 500;
    color: rgba(255,255,255,.92);
    max-width: min(700px, 90vw);
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 4px rgba(0,0,0,.25);
    margin-bottom: 0.6rem;
}

/* Botón base */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    margin-top: 1.4rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: background 0.35s ease, color 0.35s ease;
    background: transparent;
    cursor: pointer;
}
.btn:hover {
    background: var(--accent);
    color: var(--bg);
}

.btn-whatsapp { border-color: #25d366; color: #25d366; }
.btn-whatsapp:hover { background: #25d366; color: #080808; }

/* Separador */
.divider {
    width: 1px;
    height: 70px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
    margin: 3.5rem auto;
}

/* ✅ SECCIÓN FORMULARIO — TODO EN BLANCO */
.review-section { padding: 4rem 2rem; }
.review-form {
    max-width: 640px;
    margin: 0 auto;
    background: #141414; /* Fondo más oscuro para contraste */
    border: 1px solid var(--border);
    padding: 3rem 2.5rem;
}
.review-form h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    text-align: center;
    margin-bottom: 0.4rem;
    color: #ffffff; /* ✅ Blanco */
}
.review-form .section-sub {
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    display: block;
    margin-bottom: 2.5rem;
}

.form-group { margin-bottom: 2rem; }
.form-group label {
    display: block;
    font-size: 0.63rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ffffff; /* ✅ Etiquetas BLANCAS */
    margin-bottom: 0.6rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: #ffffff; /* ✅ Texto que escribe el usuario BLANCO */
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--accent); }
.form-group textarea { resize: none; line-height: 1.7; }

/* Calificación por estrellas */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    padding: 0.3rem 0;
}
.star-rating input[type="radio"] { display: none; }
.star-rating label {
    font-size: 2.6rem;
    color: #ffffff; /* ✅ Estrellas base BLANCAS */
    cursor: pointer;
    transition: color 0.12s, transform 0.12s;
    margin-bottom: 0;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1;
}
.star-rating:has(label[for="star1"]:hover) label[for="star1"],
.star-rating:has(label[for="star2"]:hover) label[for="star1"],
.star-rating:has(label[for="star2"]:hover) label[for="star2"],
.star-rating:has(label[for="star3"]:hover) label[for="star1"],
.star-rating:has(label[for="star3"]:hover) label[for="star2"],
.star-rating:has(label[for="star3"]:hover) label[for="star3"],
.star-rating:has(label[for="star4"]:hover) label[for="star1"],
.star-rating:has(label[for="star4"]:hover) label[for="star2"],
.star-rating:has(label[for="star4"]:hover) label[for="star3"],
.star-rating:has(label[for="star4"]:hover) label[for="star4"],
.star-rating:has(label[for="star5"]:hover) label[for="star1"],
.star-rating:has(label[for="star5"]:hover) label[for="star2"],
.star-rating:has(label[for="star5"]:hover) label[for="star3"],
.star-rating:has(label[for="star5"]:hover) label[for="star4"],
.star-rating:has(label[for="star5"]:hover) label[for="star5"] {
    color: var(--accent); transform: scale(1.1);
}
.star-rating:has(input[value="1"]:checked) label[for="star1"],
.star-rating:has(input[value="2"]:checked) label[for="star1"],
.star-rating:has(input[value="2"]:checked) label[for="star2"],
.star-rating:has(input[value="3"]:checked) label[for="star1"],
.star-rating:has(input[value="3"]:checked) label[for="star2"],
.star-rating:has(input[value="3"]:checked) label[for="star3"],
.star-rating:has(input[value="4"]:checked) label[for="star1"],
.star-rating:has(input[value="4"]:checked) label[for="star2"],
.star-rating:has(input[value="4"]:checked) label[for="star3"],
.star-rating:has(input[value="4"]:checked) label[for="star4"],
.star-rating:has(input[value="5"]:checked) label[for="star1"],
.star-rating:has(input[value="5"]:checked) label[for="star2"],
.star-rating:has(input[value="5"]:checked) label[for="star3"],
.star-rating:has(input[value="5"]:checked) label[for="star4"],
.star-rating:has(input[value="5"]:checked) label[for="star5"] {
    color: var(--accent);
}

/* Mensajes */
.msg-success { color: #7fba6e; font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 1.5rem; text-align: center; }
.msg-error   { color: #c0604e; font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 1.5rem; text-align: center; }

/* Lista de reseñas */
.reviews-list-section {
    padding: 4rem 2rem;
    max-width: 720px;
    margin: 0 auto;
}
.reviews-list-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    text-align: center;
    margin-bottom: 0.4rem;
    color: #ffffff; /* ✅ Blanco */
}
.reviews-list-section .section-sub {
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    display: block;
    margin-bottom: 3rem;
}
.review-item {
    border-bottom: 1px solid var(--border);
    padding: 1.8rem 0;
}
.review-item .stars {
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--accent);
    display: block;
    margin-bottom: 0.3rem;
}
.review-item .pseudonym {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #ffffff; /* ✅ Blanco */
    display: block;
    margin-bottom: 0.7rem;
}
.review-item .comment {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    font-weight: 300;
    color: #ffffff; /* ✅ Blanco */
    line-height: 1.7;
}

/* Pie de página */
footer {
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.social-links a {
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #cccccc; /* ✅ Gris claro en lugar de oscuro */
    text-decoration: none;
    transition: color 0.3s;
}
.social-links a:hover { color: var(--accent); }
.age-disclaimer {
    font-size: 0.65rem;
    color: #cccccc; /* ✅ Más claro y legible */
    margin-top: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
}

/* Animación al desplazarse */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsividad */
@media (max-width: 768px) {
    .full-width-section { min-height: 90vh; }
    .overlay-text { padding: 1.2rem 1.5rem; }
    .overlay-text .section-label { font-size: 0.65rem; letter-spacing: 0.25em; margin-bottom: 0.6rem; }
    .overlay-text h2 { font-size: clamp(1.8rem, 10vw, 3.5rem); line-height: 1.05; }
    .overlay-text p { font-size: 0.9rem; max-width: 95%; line-height: 1.5; }
    .review-form { padding: 2rem 1.2rem; }
    .btn { padding: 0.8rem 1.6rem; font-size: 0.7rem; letter-spacing: 0.2em; }
    .star-rating label { font-size: 2.2rem; }
}