:root {
    --negro:  #0a0a0a;
    --oscuro: #111111;
    --gris:   #1c1c1c;
    --dorado: #c9a84c;
    --dorado2:#e8c97a;
    --blanco: #f5f0e8;
    --texto:  #a89880;
}

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

body {
    background: var(--negro);
    color: var(--blanco);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.5rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent);
    transition: background 0.3s;
}
nav.scrolled { background: rgba(10,10,10,0.97); }

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dorado);
    letter-spacing: 0.05em;
    text-decoration: none;
}

.nav-cta {
    background: transparent;
    border: 1px solid var(--dorado);
    color: var(--dorado);
    padding: 0.5rem 1.4rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}
.nav-cta:hover { background: var(--dorado); color: var(--negro); }

/* ── HERO ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute; inset: 0;
    background:
        linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.6) 60%, rgba(10,10,10,1) 100%),
        url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1600') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.0); }
}

.hero-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
    animation: fadeUp 1s 0.3s both;
    padding: 0 1.5rem;
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--dorado);
    font-weight: 400;
}

.hero-direccion-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(201, 168, 76, 0.35);
    background: rgba(10, 10, 10, 0.28);
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero-direccion-link::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 1px solid var(--dorado);
    border-bottom: 1px solid var(--dorado);
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.25s ease;
}

.hero-direccion-link:hover,
.hero-direccion-link:focus-visible {
    border-color: var(--dorado);
    background: rgba(10, 10, 10, 0.4);
    transform: translateY(-2px);
}

.hero-direccion-link:hover::after,
.hero-direccion-link:focus-visible::after {
    transform: rotate(45deg) translate(2px, 1px);
}

.hero-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 1;
    color: var(--blanco);
}

.hero-titulo span {
    color: var(--dorado);
    font-style: italic;
}

.hero-subtitulo {
    font-size: 1rem;
    color: var(--texto);
    max-width: 400px;
    line-height: 1.7;
}

.btn-hero {
    margin-top: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--dorado);
    color: var(--negro);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: var(--dorado2);
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.btn-hero:hover::after { transform: translateX(0); }
.btn-hero span { position: relative; z-index: 1; }

/* ── SECCIONES ── */
section { padding: 6rem 2rem; }

.seccion-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--blanco);
}

.seccion-linea {
    width: 50px; height: 1px;
    background: var(--dorado);
    margin: 0 auto 3rem;
}

/* ── CARRUSEL ── */
.carrusel-section { background: var(--oscuro); padding: 5rem 0; }

.carrusel-header {
    text-align: center;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.carrusel-wrapper { position: relative; overflow: hidden; }

.carrusel-track {
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carrusel-slide {
    flex: 0 0 calc(33.333% - 0.667rem);
    aspect-ratio: 3/4;
    overflow: hidden;
    /* Fuerza que el contenedor no se estire */
    min-width: 0;
}

@media (max-width: 768px) {
    .carrusel-slide { flex: 0 0 calc(80% - 0.5rem); }
}

.carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* recorta para llenar sin deformar */
    object-position: center top; /* prioriza la parte superior (caras/cabezas) */
    display: block;
    transition: transform 0.6s ease;
    filter: grayscale(20%);
}

.carrusel-slide:hover img { transform: scale(1.05); filter: grayscale(0%); }

.carrusel-controles {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0 2rem;
}

.carrusel-btn {
    width: 44px; height: 44px;
    border: 1px solid var(--dorado);
    background: transparent;
    color: var(--dorado);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
}

.carrusel-btn:hover { background: var(--dorado); color: var(--negro); }

.carrusel-dots {
    display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem;
}

.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gris);
    transition: all 0.3s;
    cursor: pointer;
}

.dot.activo { background: var(--dorado); width: 20px; border-radius: 3px; }

/* ── SERVICIOS ── */
.servicios-section { background: var(--negro); }

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio-card {
    background: var(--gris);
    overflow: hidden;
    transition: transform 0.3s;
}

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

.servicio-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: grayscale(30%);
    transition: filter 0.4s;
}

.servicio-card:hover .servicio-img { filter: grayscale(0%); }

.servicio-info {
    padding: 1.2rem 1.4rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.servicio-nombre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--blanco);
    margin-bottom: 0.2rem;
}

.servicio-duracion {
    font-size: 0.75rem;
    color: var(--texto);
}

.servicio-precio {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--dorado);
    white-space: nowrap;
}

/* ── ANUNCIOS ── */
.anuncios-section { background: var(--oscuro); }

.anuncios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.anuncio-card {
    background: var(--gris);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.anuncio-card:hover { transform: translateY(-4px); }

.anuncio-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: grayscale(30%);
    transition: filter 0.4s;
}

.anuncio-card:hover .anuncio-img { filter: grayscale(0%); }

.anuncio-info {
    padding: 1.2rem 1.4rem 1.4rem;
}

.anuncio-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--blanco);
    margin-bottom: 0.4rem;
}

.anuncio-preview {
    font-size: 0.85rem;
    color: var(--texto);
    line-height: 1.7;
    margin-bottom: 0.9rem;
}

.anuncio-ver-mas {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dorado);
}

/* Modal anuncios */
.anuncio-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.anuncio-modal-overlay.activo { display: flex; }

.anuncio-modal {
    background: var(--gris);
    border: 1px solid #2a2a2a;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalEntrada 0.25s ease;
}

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

.anuncio-modal-img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.anuncio-modal-body { padding: 1.75rem 2rem 2rem; }

.anuncio-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.anuncio-modal-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 300;
    color: var(--blanco);
    margin: 0;
}

.anuncio-modal-cerrar {
    background: none;
    border: 1px solid #333;
    color: var(--texto);
    font-size: 1.25rem;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.anuncio-modal-cerrar:hover {
    border-color: var(--dorado);
    color: var(--dorado);
}

.anuncio-modal-desc {
    font-size: 0.9rem;
    color: var(--texto);
    line-height: 1.8;
    margin: 0;
}


/* ── CONTACTO / UBICACIÓN ── */
.contacto-section { background: var(--negro); }

.contacto-contenedor {
    max-width: 800px;      
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contacto-direccion-texto {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--blanco);
    text-align: center;
}

.contacto-link-mapa {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.1rem;
    border: 1px solid var(--dorado);
    color: var(--dorado);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.68rem;
    transition: all 0.25s;
}

.contacto-link-mapa:hover {
    background: var(--dorado);
    color: var(--negro);
}

.contacto-pin-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.contacto-mapa-wrap {
    width: 100%;
    aspect-ratio: 16/9;     
    height: auto;           
    border: 1px solid #262626;
    overflow: hidden;
}

.contacto-mapa {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.2) contrast(1.05);
}

/* ── WHATSAPP ── */
.wa-btn {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 950;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    animation: waPulso 3.2s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.62);
}

.wa-btn svg {
    width: 29px;
    height: 29px;
    fill: #fff;
}

.wa-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 17, 17, 0.95);
    color: var(--blanco);
    border: 1px solid rgba(201, 168, 76, 0.5);
    border-radius: 7px;
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.wa-btn:hover .wa-tooltip { opacity: 1; }

@keyframes waPulso {
    0%, 100% { box-shadow: 0 4px 22px rgba(37, 211, 102, 0.45); }
    50%       { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.72), 0 0 0 7px rgba(37, 211, 102, 0.09); }
}

/* ── FOOTER ── */
footer {
    background: var(--oscuro);
    border-top: 1px solid #1e1e1e;
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-marca {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dorado);
    margin-bottom: 0.5rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--texto);
    line-height: 1.7;
}

.footer-titulo {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dorado);
    margin-bottom: 1rem;
}

.footer-dato {
    font-size: 0.85rem;
    color: var(--texto);
    line-height: 2;
}

.footer-powered {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #1e1e1e;
    font-size: 0.75rem;
    color: #444;
}

.footer-powered a {
    color: var(--dorado);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-powered a:hover { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    nav { padding: 1rem 1.5rem; }
    .contacto-grid { grid-template-columns: 1fr; }
    .contacto-mapa-wrap { min-height: 280px; }
    .wa-tooltip { display: none; }
}