/* ===================================================
   VALENTINA ARIAS – MAQUILLADORA PROFESIONAL
   styles.css  –  Paleta: beige, rosa suave, blanco, negro
   =================================================== */

/* ── Variables de diseño ── */
:root {
    /* Paleta */
    --color-blanco: #ffffff;
    --color-crema: #fdf8f4;
    --color-beige: #f5ebe0;
    --color-beige-mid: #e8d5c4;
    --color-beige-drk: #c9a98a;
    --color-rosa: #f2c4ce;
    --color-rosa-mid: #e8a0b0;
    --color-rosa-drk: #c97d90;
    --color-negro: #1a1a1a;
    --color-gris: #5a5a5a;
    --color-gris-lt: #888888;

    /* UI */
    --color-bg: var(--color-crema);
    --color-surface: var(--color-blanco);
    --color-primary: var(--color-rosa-drk);
    --color-primary-h: var(--color-rosa-mid);
    --color-accent: var(--color-beige-drk);
    --color-text: var(--color-negro);
    --color-text-mid: var(--color-gris);
    --color-text-lt: var(--color-gris-lt);

    /* Tipografía */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', system-ui, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.75rem;
    --font-size-4xl: 3.75rem;
    --font-size-5xl: 5rem;

    /* Espacios */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Bordes */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.13);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* ── Container ── */
.container {
    width: min(90%, 1100px);
    margin-inline: auto;
}

/* ─────────────────────────
   BOTONES
───────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-blanco);
    border-color: var(--color-primary);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: var(--color-primary-h);
    border-color: var(--color-primary-h);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 125, 144, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background: var(--color-primary);
    color: var(--color-blanco);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ─────────────────────────
   SECTION LABELS
───────────────────────── */
.section__eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-3xl));
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section__subtitle {
    font-size: var(--font-size-md);
    color: var(--color-text-mid);
    max-width: 55ch;
    margin-inline: auto;
}

/* ─────────────────────────
   NAVBAR
───────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 5%;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: transparent;
    transition: all var(--transition);
}

.navbar.scrolled::before {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    background: transparent;
    /* delegamos el color al ::before */
}

.navbar__brand {
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-blanco);
    letter-spacing: 0.04em;
    transition: color var(--transition);
}

.navbar.scrolled .navbar__brand {
    color: var(--color-negro);
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.navbar__link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.05em;
    transition: color var(--transition);
    position: relative;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--transition);
}

.navbar__link:hover::after {
    width: 100%;
}

.navbar.scrolled .navbar__link {
    color: var(--color-gris);
}

.navbar__link:hover {
    color: var(--color-primary);
}

.navbar__cta {
    padding: 0.5rem 1.4rem;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: var(--color-blanco) !important;
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all var(--transition);
}

.navbar__cta:hover {
    background: var(--color-primary-h);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 125, 144, 0.4);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-blanco);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar.scrolled .navbar__toggle span {
    background: var(--color-negro);
}

/* ─────────────────────────
   HERO
───────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #2d1a25 0%, #4a2535 40%, #6b3a4f 100%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(20, 10, 16, 0.6) 0%,
            rgba(20, 10, 16, 0.15) 40%,
            rgba(20, 10, 16, 0.7) 100%);
    pointer-events: none;
}

/* ── Fotos laterales ── */
.hero__portrait {
    position: relative;
    align-self: flex-end;
    height: 88vh;
    max-height: 780px;
    overflow: hidden;
    z-index: 2;
    animation: portraitRise 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}

.hero__portrait--left {
    animation-delay: 0.2s;
}

.hero__portrait--right {
    animation-delay: 0.4s;
}

.hero__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

/* Fade multidireccional que funde la foto con el fondo */
.hero__portrait-fade {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__portrait--left .hero__portrait-fade {
    background:
        linear-gradient(to right, rgba(45, 26, 37, 0.9) 0%, transparent 60%),
        linear-gradient(to bottom, rgba(45, 26, 37, 0.7) 0%, transparent 30%),
        linear-gradient(to top, rgba(45, 26, 37, 0.96) 0%, transparent 45%);
}

.hero__portrait--right .hero__portrait-fade {
    background:
        linear-gradient(to left, rgba(45, 26, 37, 0.9) 0%, transparent 60%),
        linear-gradient(to bottom, rgba(45, 26, 37, 0.7) 0%, transparent 30%),
        linear-gradient(to top, rgba(45, 26, 37, 0.96) 0%, transparent 45%);
}

@keyframes portraitRise {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Contenido central ── */
.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    padding-bottom: var(--space-2xl);
    min-width: 300px;
    max-width: 520px;
    animation: fadeInUp 1.2s ease 0.1s forwards;
    opacity: 0;
}

.hero__eyebrow {
    font-size: var(--font-size-xs);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-rosa);
    margin-bottom: var(--space-sm);
}

.hero__name {
    font-family: var(--font-serif);
    font-size: clamp(var(--font-size-2xl), 5vw, var(--font-size-4xl));
    font-weight: 300;
    color: var(--color-blanco);
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.hero__subtitle {
    font-size: clamp(var(--font-size-xs), 1.5vw, var(--font-size-sm));
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-rosa);
    margin-bottom: var(--space-md);
}

.hero__divider {
    width: 50px;
    height: 1px;
    background: var(--color-rosa-mid);
    margin: var(--space-md) auto;
}

.hero__tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(var(--font-size-sm), 1.8vw, var(--font-size-lg));
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
}

.hero__cta {
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─────────────────────────
   ABOUT
───────────────────────── */
.about {
    padding: var(--space-2xl) 0;
    background: var(--color-surface);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about__image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-beige), var(--color-rosa));
}

.about__image-wrap--placeholder::after {
    content: 'Tu foto aquí';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    color: var(--color-gris);
    font-style: italic;
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about__image-wrap:hover .about__img {
    transform: scale(1.03);
}

.about__image-badge {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    background: var(--color-blanco);
    color: var(--color-text);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.about__text {
    padding: var(--space-md) 0;
}

.about__bio {
    color: var(--color-text-mid);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-md);
    line-height: 1.8;
}

.about__bio strong {
    color: var(--color-text);
    font-weight: 600;
}

.about__bio em {
    color: var(--color-primary);
    font-style: italic;
}

.about__quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    border-left: 3px solid var(--color-rosa-mid);
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-md) 0 var(--space-lg);
    background: linear-gradient(135deg, rgba(242, 196, 206, 0.12), rgba(232, 160, 176, 0.06));
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    line-height: 1.6;
}

/* ─────────────────────────
   SERVICES
───────────────────────── */
.services {
    padding: var(--space-2xl) 0;
    background: var(--color-beige);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: start;
}

.service-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 125, 144, 0.12);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card--featured {
    background: linear-gradient(145deg, #fff, #fdf0f3);
    border-color: rgba(201, 125, 144, 0.3);
}

.service-card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-rosa-mid), var(--color-primary));
}

.service-card__badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--color-primary);
    color: var(--color-blanco);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
}

.service-card__name {
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
}

.service-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-mid);
    line-height: 1.75;
    flex: 1;
}

.service-card__price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    padding: var(--space-sm);
    background: var(--color-beige);
    border-radius: var(--radius-md);
}

.price__label {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--color-text-lt);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price__value {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

/* ─────────────────────────
   GALLERY
───────────────────────── */
.gallery {
    padding: var(--space-2xl) 0;
    background: var(--color-surface);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    grid-auto-rows: 300px;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-beige), var(--color-rosa));
    cursor: pointer;
}

.gallery__item--tall {
    grid-row: span 2;
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    display: block;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

/* Overlay de hover */
.gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 26, 37, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__overlay-icon {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform var(--transition);
}

.gallery__overlay-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.gallery__item:hover .gallery__overlay-icon {
    transform: scale(1);
}

.gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xs) var(--space-sm);
    background: linear-gradient(to top, rgba(20, 10, 16, 0.7), transparent);
    color: var(--color-blanco);
    font-size: var(--font-size-xs);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.gallery__item:hover .gallery__caption {
    transform: translateY(0);
}

/* ─────────────────────────
   LIGHTBOX
───────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.lightbox[hidden] {
    display: none;
}

.lightbox.is-open {
    display: flex;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 5, 8, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox__panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 360px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    background: var(--color-blanco);
    border-radius: var(--radius-lg);
    overflow: hidden;
    animation: panelIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lightbox__media {
    background: #1a0e14;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 480px;
}

.lightbox__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 88vh;
    display: block;
}

.lightbox__info {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    background: var(--color-blanco);
    overflow-y: auto;
    position: relative;
    min-height: 0;
}

.lightbox__close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.lightbox__close:hover {
    background: var(--color-rosa);
    transform: rotate(90deg);
}

.lightbox__close svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-negro);
}

.lightbox__badge {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(201, 125, 144, 0.12);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    align-self: flex-start;
    margin-top: var(--space-lg);
}

.lightbox__title {
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.3;
}

.lightbox__divider {
    width: 40px;
    height: 1px;
    background: var(--color-rosa-mid);
}

.lightbox__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-mid);
    line-height: 1.8;
    flex: 0 0 auto;
    padding-bottom: var(--space-md);
}

.lightbox__cta {
    margin-top: auto;
    font-size: var(--font-size-xs);
}

/* Lightbox móvil */
@media (max-width: 700px) {
    .lightbox__panel {
        grid-template-columns: 1fr;
        grid-template-rows: 45vh 1fr;
        max-height: 95vh;
        height: 95vh;
    }

    .lightbox__info {
        padding: var(--space-md);
    }

    .lightbox__badge {
        margin-top: var(--space-xs);
    }

    .lightbox__media {
        min-height: unset;
        height: 100%;
    }

    .lightbox__img {
        max-height: 100%;
    }
}


/* ─────────────────────────
   CONTACT
───────────────────────── */
.contact {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, #fdf0f3, var(--color-beige));
}

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-md);
    min-width: 260px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-btn__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-btn span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-btn strong {
    font-size: var(--font-size-lg);
}

.contact-btn small {
    font-size: var(--font-size-xs);
    font-weight: 400;
    opacity: 0.8;
}

.contact-btn--whatsapp {
    background: #25d366;
    color: var(--color-blanco);
}

.contact-btn--whatsapp:hover {
    background: #1dba57;
}

.contact-btn--instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: var(--color-blanco);
}

.contact-btn--instagram:hover {
    opacity: 0.92;
}

/* ─────────────────────────
   FOOTER
───────────────────────── */
.footer {
    background: var(--color-negro);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer__name {
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: var(--color-blanco);
    margin-bottom: var(--space-xs);
}

.footer__tagline {
    font-style: italic;
    font-size: var(--font-size-sm);
    color: var(--color-rosa);
}

.footer__links {
    display: flex;
    gap: var(--space-md);
}

.footer__social {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer__social svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer__social:hover {
    color: var(--color-rosa);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.35);
}

/* ─────────────────────────
   FAB WHATSAPP
───────────────────────── */
.fab-whatsapp {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: var(--color-blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: all var(--transition);
    opacity: 0;
    transform: scale(0.8);
}

.fab-whatsapp.visible {
    opacity: 1;
    transform: scale(1);
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

.fab-whatsapp svg {
    width: 30px;
    height: 30px;
}

/* Pulso animado */
.fab-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    animation: pulse 2.5s ease-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ─────────────────────────
   RESPONSIVE – TABLET
───────────────────────── */
@media (max-width: 900px) {

    /* Hero tablet: reduce height de las fotos */
    .hero__portrait {
        height: 72vh;
        max-height: 600px;
    }

    .hero__content {
        min-width: 260px;
        padding: var(--space-lg);
        padding-bottom: var(--space-xl);
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about__image-wrap {
        max-width: 420px;
        margin-inline: auto;
    }

    .services__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-inline: auto;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__item--tall {
        grid-row: span 1;
    }

    .gallery__item--wide {
        grid-column: span 2;
    }
}

/* ─────────────────────────
   RESPONSIVE – MÓVIL
───────────────────────── */
@media (max-width: 600px) {
    :root {
        --space-2xl: 4rem;
        --space-xl: 2.5rem;
        --space-lg: 1.75rem;
    }

    /* Hero móvil: una sola foto de fondo */
    .hero {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero__portrait--right {
        display: none;
    }

    .hero__portrait--left {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        z-index: 0;
    }

    .hero__portrait--left .hero__portrait-fade {
        background: rgba(45, 26, 37, 0.65);
    }

    .hero__content {
        padding: var(--space-xl) var(--space-md);
        padding-bottom: var(--space-xl);
        max-width: 100%;
        min-width: unset;
    }

    .hero__name {
        font-size: clamp(var(--font-size-2xl), 11vw, var(--font-size-3xl));
    }

    /* Navbar */
    .navbar__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        transform: translateY(-100%);
        transition: transform var(--transition);
        z-index: 999;
    }

    .navbar__menu.open {
        transform: translateY(0);
    }

    .navbar__link {
        font-size: var(--font-size-lg);
        color: var(--color-gris) !important;
    }

    .navbar__link:hover {
        color: var(--color-primary) !important;
    }

    .navbar__cta {
        font-size: var(--font-size-md) !important;
    }

    .navbar__toggle {
        display: flex;
        z-index: 1000;
    }

    .navbar__toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar__toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .navbar__toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .navbar.scrolled .navbar__toggle span,
    .navbar__toggle span {
        background: var(--color-negro);
    }

    .navbar__toggle.open span {
        background: var(--color-negro);
    }

    /* Gallery */
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
    }

    .gallery__item--wide {
        grid-column: span 1;
    }

    /* Contact */
    .contact-btn {
        min-width: 100%;
    }

    /* Footer */
    .footer__grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__links {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ─────────────────────────
   SCROLL REVEAL
───────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}