/* =========================================================
   Yaniny Beauty Lounge — Estilos principales
   Paleta: negro, dorado y crema
   ========================================================= */

:root {
    --black: #0a0a0a;
    --black-soft: #111111;
    --ink: #171410;
    --gold: #c9a86a;
    --gold-light: #e3c998;
    --gold-dark: #8a6a35;
    --cream: #f8f3ea;
    --cream-dark: #efe7d8;
    --text-light: #f4efe7;
    --muted: #b9b0a3;
    --whatsapp: #25d366;

    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Jost", "Segoe UI", Tahoma, sans-serif;

    --header-height: 148px;
}

/* ---------- Base ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
    margin: 0;
    background-color: var(--black);
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 12px 20px;
    background: var(--gold);
    color: var(--black);
    font-weight: 500;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

/* ---------- Utilidades ---------- */

.eyebrow {
    margin: 0 0 0.9rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: var(--gold-light);
}

.eyebrow-dark {
    color: var(--gold-dark);
}

.section-title {
    margin: 0 0 1.4rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--ink);
    text-wrap: balance;
}

.section-title-light {
    color: var(--gold-light);
}

.section-subtitle {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.9;
}

/* ---------- Botones ---------- */

.btn {
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.9rem 2rem;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.btn:focus-visible {
    box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.35);
}

.btn-gold {
    background-color: var(--gold);
    border: 1px solid var(--gold);
    color: var(--black);
    box-shadow: 0 0 22px rgba(201, 168, 106, 0.25);
}

.btn-gold:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--black);
    box-shadow: 0 0 34px rgba(201, 168, 106, 0.5);
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    border: 1px solid rgba(244, 239, 231, 0.55);
    color: var(--text-light);
}

.btn-ghost:hover {
    background-color: rgba(244, 239, 231, 0.1);
    border-color: var(--text-light);
    color: #fff;
}

.btn-outline-dark-gold {
    background-color: transparent;
    border: 1px solid var(--gold-dark);
    color: var(--ink);
}

.btn-outline-dark-gold:hover {
    background-color: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(7, 7, 7, 0.9);
    border-bottom: 1px solid rgba(201, 168, 106, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    background-color: rgba(5, 5, 5, 0.98);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

.header-top {
    padding: 0.85rem 0 0.4rem;
}

.brand {
    display: inline-block;
    line-height: 0;
}

.logo-img {
    width: auto;
    height: 90px;
    transition: height 0.3s ease, filter 0.3s ease;
}

.brand:hover .logo-img {
    filter: drop-shadow(0 0 14px rgba(201, 168, 106, 0.55));
}

.site-header.is-scrolled .logo-img {
    height: 70px;
}

.social-links {
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--gold);
    color: var(--black);
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px) scale(1.06);
    background-color: var(--gold-light);
    color: var(--black);
    box-shadow: 0 0 20px rgba(201, 168, 106, 0.55);
}

.btn-reservar {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background-color: var(--gold);
    color: var(--black);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 0 18px rgba(201, 168, 106, 0.35);
    transition: all 0.3s ease;
}

.btn-reservar:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--black);
    box-shadow: 0 0 30px rgba(201, 168, 106, 0.7);
    transform: translateY(-2px);
}

/* Navegación */

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0;
    margin: 0;
    padding: 0.55rem 0 0.95rem;
    list-style: none;
}

.main-nav li {
    display: flex;
    align-items: center;
}

.main-nav li:not(:last-child)::after {
    content: "|";
    margin: 0 1.1rem;
    color: rgba(201, 168, 106, 0.45);
    font-size: 0.75rem;
}

.main-nav a {
    position: relative;
    color: #d8cbb4;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background-color: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-nav a:hover {
    color: var(--gold-light);
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(88vh, 820px);
    padding: 5.5rem 1rem 6rem;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/img/hero-nails.jpg");
    background-repeat: no-repeat;
    background-position: center 38%;
    background-size: cover;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.68) 0%, rgba(8, 8, 8, 0.42) 40%, rgba(8, 8, 8, 0.9) 100%),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    margin: 0 0 1.6rem;
    color: var(--gold-light);
    font-size: clamp(3.2rem, 8vw, 6.2rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 0.95;
    text-transform: uppercase;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.hero-title span {
    display: block;
    margin-top: 0.22em;
    font-size: 0.48em;
    letter-spacing: 0.26em;
}

.hero-location {
    margin: 0 auto 1.1rem;
    color: #f7f2e9;
    font-size: clamp(1.05rem, 2.1vw, 1.35rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.hero-slogan {
    max-width: 700px;
    margin: 0 auto 2.1rem;
    color: #f0e5d2;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.45;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}

.hero-scroll {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(201, 168, 106, 0.5);
    border-radius: 50%;
    color: var(--gold-light);
    text-decoration: none;
    transform: translateX(-50%);
    animation: floatDown 2.4s ease-in-out infinite;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero-scroll:hover {
    background-color: rgba(201, 168, 106, 0.15);
    border-color: var(--gold-light);
    color: var(--gold-light);
}

@keyframes floatDown {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 7px); }
}

/* ---------- Intro ---------- */

.intro-section > .container,
.site-footer > .container {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.intro-section {
    padding: 6.5rem 0;
    background-color: var(--cream);
    background-image:
        radial-gradient(circle at 8% 18%, rgba(201, 168, 106, 0.16), transparent 32%),
        radial-gradient(circle at 92% 88%, rgba(201, 168, 106, 0.1), transparent 30%);
    color: var(--ink);
}

.intro-text {
    margin-bottom: 1.15rem;
    color: #514a40;
    font-size: 1.02rem;
    line-height: 1.9;
}

.intro-section .btn {
    margin-top: 1rem;
}

.intro-figure {
    position: relative;
    margin: 0;
    padding: 14px;
}

.intro-figure::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold);
    pointer-events: none;
}

.intro-figure img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
}

.intro-figure figcaption {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.82));
    color: var(--cream);
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

.intro-figure figcaption span {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.03em;
}

/* ---------- Servicios ---------- */

.services-section {
    padding: 6.5rem 0;
    background-color: var(--black);
    background-image:
        radial-gradient(circle at 50% 0%, rgba(201, 168, 106, 0.13), transparent 40%),
        linear-gradient(180deg, #0a0a0a, #0d0c0a);
    border-top: 1px solid rgba(201, 168, 106, 0.12);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 3.4rem;
}

.services-section .section-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
}

.service-card {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 106, 0.28);
    background-color: var(--black-soft);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201, 168, 106, 0.18);
    pointer-events: none;
    transition: border-color 0.35s ease;
}

.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.06);
    filter: brightness(0.9);
}

.service-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.2rem 1.8rem;
    background: linear-gradient(180deg, rgba(6, 6, 6, 0) 30%, rgba(6, 6, 6, 0.9) 100%);
}

.service-overlay h3 {
    margin: 0 0 0.5rem;
    color: var(--gold-light);
    font-size: 2rem;
    letter-spacing: 0.03em;
}

.service-overlay p {
    margin: 0 0 1.1rem;
    color: #e8e0d4;
    font-size: 0.92rem;
    line-height: 1.7;
}

.service-link {
    align-self: flex-start;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s ease;
}

.service-link i {
    margin-left: 0.4rem;
    transition: transform 0.25s ease;
}

.service-link:hover {
    color: var(--gold-light);
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-card:hover {
    border-color: rgba(201, 168, 106, 0.7);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.service-card:hover::after {
    border-color: rgba(201, 168, 106, 0.4);
}

/* ---------- CTA / Promociones ---------- */

.cta-band {
    padding: 6rem 0;
    background:
        linear-gradient(120deg, rgba(10, 10, 10, 0.97), rgba(28, 21, 10, 0.92), rgba(10, 10, 10, 0.97)),
        url("../assets/img/hero-nails.jpg") center 45% / cover no-repeat;
    border-top: 1px solid rgba(201, 168, 106, 0.22);
    border-bottom: 1px solid rgba(201, 168, 106, 0.22);
}

.cta-band .section-subtitle {
    margin-bottom: 2rem;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 4.5rem 0 1.5rem;
    background-color: #060606;
    border-top: 1px solid rgba(201, 168, 106, 0.25);
}

.footer-logo {
    width: auto;
    height: 70px;
    margin-bottom: 1.2rem;
}

.footer-text {
    max-width: 320px;
    margin-bottom: 1.4rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.footer-heading {
    margin: 0 0 1.3rem;
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-list li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-list i {
    width: 18px;
    margin-top: 0.25rem;
    color: var(--gold);
    text-align: center;
}

.footer-list a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-list a:hover {
    color: var(--gold-light);
}

.footer-list small {
    color: #8f877a;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.4rem 1rem;
    margin-top: 3rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(201, 168, 106, 0.14);
    color: #8f877a;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
}

.footer-bottom p {
    margin: 0;
}

/* ---------- WhatsApp flotante ---------- */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: #fff;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.6);
    animation: whatsappPulse 2.6s infinite;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1fbe5a;
    color: #fff;
    transform: scale(1.07);
}

.whatsapp-label {
    position: absolute;
    right: 70px;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    background-color: #fff;
    color: #222;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.whatsapp-float:hover .whatsapp-label,
.whatsapp-float:focus-visible .whatsapp-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Animaciones de entrada ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
    :root {
        --header-height: 138px;
    }

    .logo-img {
        height: 76px;
    }

    .site-header.is-scrolled .logo-img {
        height: 62px;
    }

    .hero {
        min-height: 80vh;
    }

    .intro-section,
    .services-section {
        padding: 5rem 0;
    }

    .intro-figure {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    :root {
        --header-height: 126px;
    }

    .header-top {
        padding-top: 0.7rem;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .logo-img {
        height: 62px;
    }

    .site-header.is-scrolled .logo-img {
        height: 54px;
    }

    .btn-reservar {
        padding: 0.7rem 1rem;
        font-size: 0.64rem;
        letter-spacing: 0.1em;
    }

    .main-nav ul {
        gap: 0.3rem 0;
        padding-bottom: 0.75rem;
    }

    .main-nav li:not(:last-child)::after {
        margin: 0 0.55rem;
    }

    .main-nav a {
        font-size: 0.62rem;
        letter-spacing: 0.14em;
    }

    .hero {
        min-height: 76vh;
        padding: 4.5rem 1rem 5.5rem;
    }

    .hero-title {
        letter-spacing: 0.03em;
    }

    .hero-title span {
        font-size: 0.44em;
        letter-spacing: 0.18em;
    }

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

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .intro-figure img {
        aspect-ratio: 4 / 4.6;
    }

    .service-card {
        min-height: 420px;
    }

    .cta-band {
        padding: 4.5rem 0;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .header-top {
        padding-top: 0.6rem;
    }

    .social-links {
        gap: 0.35rem !important;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 0.78rem;
    }

    .logo-img {
        height: 50px;
    }

    .site-header.is-scrolled .logo-img {
        height: 46px;
    }

    .btn-reservar {
        padding: 0.62rem 0.75rem;
        font-size: 0.58rem;
        letter-spacing: 0.06em;
    }

    .main-nav li:not(:last-child)::after {
        margin: 0 0.38rem;
    }

    .main-nav a {
        font-size: 0.58rem;
        letter-spacing: 0.1em;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    .whatsapp-label {
        display: none;
    }
}

@media (max-width: 359.98px) {
    :root {
        --header-height: 104px;
    }

    .social-links {
        gap: 0.2rem !important;
    }

    .social-icon {
        width: 25px;
        height: 25px;
        font-size: 0.68rem;
    }

    .logo-img {
        height: 42px;
    }

    .site-header.is-scrolled .logo-img {
        height: 40px;
    }

    .btn-reservar {
        padding: 0.52rem 0.5rem;
        font-size: 0.5rem;
        letter-spacing: 0.02em;
    }

    .main-nav ul {
        gap: 0.15rem 0.7rem;
    }

    .main-nav li:not(:last-child)::after {
        content: none;
    }

    .main-nav a {
        font-size: 0.52rem;
        letter-spacing: 0.08em;
    }
}

/* ---------- Accesibilidad: movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
