/* =========================================================
   KIARA ZAVALA BEAUTY STUDIO
   WEB PÚBLICA
========================================================= */

:root {
    --cream: #f7f2ea;
    --cream-soft: #fbf8f3;
    --beige: #e8dccd;
    --beige-dark: #d5c1a9;

    --brown: #39251b;
    --brown-dark: #25160f;
    --brown-soft: #654a39;

    --gold: #b58a4c;
    --gold-light: #d3b17b;

    --rose: #c77779;
    --rose-dark: #b86468;
    --rose-soft: #f6e9e7;

    --white: #ffffff;

    --text: #30251f;
    --text-soft: #796b62;

    --border: rgba(76, 53, 39, 0.13);

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --container: 1240px;

    --shadow:
        0 20px 60px rgba(48, 30, 20, 0.10);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--cream-soft);
    color: var(--text);
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================================
   GENERAL
========================================================= */

.section-container {
    width: min(calc(100% - 64px), var(--container));
    margin: 0 auto;
}

.section-label {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
}

.section-label.light {
    color: var(--gold-light);
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 500;
}

h2 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
}

h1 em,
h2 em {
    color: var(--gold);
    font-weight: 400;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.header.scrolled {
    background: rgba(251, 248, 243, 0.96);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    box-shadow: 0 1px 0 var(--border);
}

.header-container {
    width: min(calc(100% - 64px), 1360px);
    height: 94px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Marca */

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-logo {
    width: 52px;
    height: 52px;

    object-fit: cover;

    border-radius: 50%;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--serif);
    font-size: 16px;
    letter-spacing: 1.5px;
}

.brand-subtitle {
    margin-top: 3px;

    color: var(--text-soft);

    font-size: 8px;
    letter-spacing: 4px;
}


/* Navegación */

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;

    color: var(--brown-soft);

    font-size: 13px;
    font-weight: 500;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}


/* Acciones */

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-header {
    padding: 13px 22px;

    border: 1px solid var(--brown);

    background: var(--brown);
    color: white;

    font-size: 12px;
    font-weight: 500;

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.btn-header:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.menu-button {
    display: none;

    border: 0;

    background: transparent;
    color: var(--brown);

    font-size: 28px;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    padding: 150px 0 80px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(181, 138, 76, 0.08),
            transparent 35%
        ),
        var(--cream-soft);
}

.hero-container {
    width: min(calc(100% - 64px), var(--container));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        0.92fr
        1.08fr;

    align-items: center;

    gap: 80px;
}


/* =========================================================
   HERO - TEXTO
========================================================= */

.hero-eyebrow {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 28px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
}

.hero-eyebrow span {
    width: 35px;
    height: 1px;

    background: var(--gold);
}

.hero h1 {
    max-width: 620px;

    color: var(--brown);

    font-size: clamp(68px, 7vw, 108px);
    line-height: 0.93;
    letter-spacing: -5px;
}

.hero h1 em {
    display: block;
}

.hero-description {
    max-width: 520px;

    margin-top: 30px;

    color: var(--text-soft);

    font-size: 16px;
    line-height: 1.8;
}

.hero-buttons {
    margin-top: 38px;

    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 22px;

    padding: 17px 25px;

    background: var(--brown);
    color: white;

    font-size: 13px;
    font-weight: 500;

    transition: background 0.25s ease;
}

.btn-primary:hover {
    background: var(--gold);
}

.btn-secondary {
    padding-bottom: 5px;

    border-bottom: 1px solid var(--brown);

    font-size: 13px;
}

.hero-details {
    margin-top: 54px;
    padding-top: 28px;

    border-top: 1px solid var(--border);

    display: flex;
    gap: 42px;
}

.hero-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hero-detail > i {
    color: var(--gold);
    font-size: 19px;
}

.hero-detail div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-detail strong {
    font-size: 11px;
    font-weight: 600;
}

.hero-detail span {
    color: var(--text-soft);

    font-size: 10px;
}


/* =========================================================
   HERO - GALERÍA
========================================================= */

.hero-visual {
    position: relative;

    min-height: 660px;
}

.hero-gallery {
    position: relative;

    width: 100%;
    min-width: 0;
    height: 640px;
}

.hero-gallery-viewport {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #f4eee6;
}

.hero-gallery-track {
    display: flex;

    width: 100%;
    height: 100%;

    transition:
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
}

.hero-gallery-slide {
    position: relative;

    flex: 0 0 100%;

    width: 100%;
    min-width: 100%;
    height: 100%;

    overflow: hidden;
}

.hero-gallery-media {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f5efe8,
            #e8ddd1
        );
}

.hero-gallery-media > img,
.hero-gallery-media > video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.hero-gallery-media > img {
    transition:
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-gallery-slide:hover
.hero-gallery-media > img {
    transform: scale(1.025);
}

.hero-gallery-video {
    cursor: pointer;
}


/* Tipo de archivo */

.hero-gallery-type {
    position: absolute;

    top: 24px;
    right: 24px;

    z-index: 7;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 13px;

    background: rgba(255, 255, 255, 0.9);
    color: #432719;

    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* Overlay */

.hero-gallery-overlay {
    position: absolute;
    inset: 0;

    z-index: 3;

    display: flex;
    align-items: flex-end;

    padding: 50px 130px 48px 42px;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(43, 22, 14, 0.76) 0%,
            rgba(43, 22, 14, 0.28) 28%,
            rgba(43, 22, 14, 0) 58%
        );
}

.hero-gallery-info {
    position: relative;

    z-index: 4;

    max-width: 330px;
}

.hero-gallery-category {
    display: block;

    margin-bottom: 8px;

    color: #d9aa62;

    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.hero-gallery-title {
    display: block;

    color: white;

    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.15;
}


/* Marca */

.hero-gallery-brand {
    position: absolute;

    right: 0;
    bottom: 0;

    z-index: 10;

    min-width: 195px;

    padding: 22px 26px;

    background: #432719;
    color: white;
}

.hero-gallery-brand span {
    display: block;

    margin-bottom: 5px;

    color: #c89445;

    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.28em;
}

.hero-gallery-brand strong {
    display: block;

    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
}


/* KZ decorativo */

.hero-decoration {
    position: absolute;

    left: 8%;
    top: 5%;

    z-index: 0;

    color: rgba(181, 138, 76, 0.08);

    font-family: var(--serif);
    font-size: 100px;

    pointer-events: none;
}

.hero-gallery .hero-decoration {
    top: 80px;
    left: -78px;

    color: rgba(196, 145, 69, 0.08);

    font-size: 105px;
}


/* Flechas */

.hero-gallery-arrow {
    position: absolute;

    top: 50%;

    z-index: 12;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);
    color: #432719;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    cursor: pointer;

    box-shadow:
        0 8px 30px rgba(52, 28, 18, 0.12);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

.hero-gallery-arrow i {
    font-size: 18px;
}

.hero-gallery-arrow:hover {
    background: #432719;
    color: white;
}

.hero-gallery-prev {
    left: 22px;
}

.hero-gallery-next {
    right: 22px;
}

.hero-gallery-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}


/* Contador */

.hero-gallery-counter {
    position: absolute;

    left: 30px;
    bottom: 22px;

    z-index: 11;

    display: flex;
    align-items: center;
    gap: 9px;

    color: white;

    font-family: var(--sans);

    pointer-events: none;
}

.hero-gallery-counter strong {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.hero-gallery-counter span {
    display: block;

    width: 25px;
    height: 1px;

    background: rgba(255, 255, 255, 0.55);
}


/* Puntos */

.hero-gallery-dots {
    position: absolute;

    left: 50%;
    bottom: 24px;

    z-index: 12;

    display: flex;
    align-items: center;
    gap: 7px;

    transform: translateX(-50%);
}

.hero-gallery-dot {
    width: 6px;
    height: 6px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.5);

    cursor: pointer;

    transition:
        width 0.3s ease,
        border-radius 0.3s ease,
        background 0.3s ease;
}

.hero-gallery-dot.active {
    width: 24px;

    border-radius: 10px;

    background: white;
}


/* Galería vacía */

.hero-gallery-empty {
    width: 100%;
    height: 100%;

    padding: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #f5efe8 0%,
            #e8ddd1 100%
        );
}

.hero-gallery-empty span {
    display: block;

    margin-bottom: 12px;

    color: #c49145;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
}

.hero-gallery-empty strong {
    display: block;

    color: #432719;

    font-family: var(--serif);
    font-size: 38px;
    font-weight: 400;
}

.hero-gallery-empty p {
    margin-top: 12px;

    color: #89776d;

    font-size: 13px;
}


/* =========================================================
   INTRO
========================================================= */

.intro {
    padding: 130px 0;

    background: var(--cream);
}

.intro-container {
    width: min(calc(100% - 50px), 900px);

    margin: 0 auto;

    text-align: center;
}

.intro h2 {
    color: var(--brown);
}

.intro p {
    max-width: 640px;

    margin: 30px auto 0;

    color: var(--text-soft);

    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   SERVICIOS
========================================================= */

.services {
    position: relative;

    padding: 115px 0 105px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(199, 119, 121, 0.07),
            transparent 38%
        ),
        #fffdfb;
}


/* =========================================================
   SERVICIOS - ENCABEZADO
========================================================= */

.services .section-heading {
    max-width: 820px;

    margin: 0 auto 38px;

    display: block;

    text-align: center;
}

.services .section-heading > div {
    width: 100%;
}

.services .section-heading .section-label {
    margin-bottom: 18px;

    color: var(--rose);

    font-size: 10px;
    letter-spacing: 0.32em;
}

.services .section-heading h2 {
    color: var(--brown);

    font-size: clamp(44px, 5vw, 66px);
}

.services .section-heading h2 em {
    color: var(--rose);
}

.services .section-heading > p {
    max-width: 590px;

    margin: 24px auto 0;
    padding: 0;

    color: var(--text-soft);

    font-size: 14px;
    line-height: 1.8;
}


/* Decoración debajo del título */

.services-heading-decoration {
    width: 240px;

    margin: 20px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.services-heading-decoration::before,
.services-heading-decoration::after {
    content: "";

    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(199, 119, 121, 0.42)
        );
}

.services-heading-decoration::after {
    background:
        linear-gradient(
            to left,
            transparent,
            rgba(199, 119, 121, 0.42)
        );
}

.services-heading-decoration i {
    color: #d6a4a0;

    font-size: 18px;
}


/* =========================================================
   SERVICIOS - CATEGORÍAS
========================================================= */

.service-tabs {
    max-width: 1040px;

    margin: 0 auto 42px;

    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
}

.service-tab {
    min-height: 46px;

    padding: 12px 24px;

    border: 1px solid rgba(111, 82, 68, 0.13);
    border-radius: 999px;

    background: transparent;
    color: var(--text);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.service-tab:hover {
    border-color: rgba(199, 119, 121, 0.45);

    color: var(--rose-dark);

    transform: translateY(-1px);
}

.service-tab.active {
    border-color: var(--rose);

    background:
        linear-gradient(
            135deg,
            var(--rose),
            #bc686c
        );

    color: white;

    box-shadow:
        0 10px 24px rgba(185, 96, 101, 0.18);
}


/* =========================================================
   SERVICIOS - PANELES
========================================================= */

.service-panels {
    position: relative;

    width: 100%;
}

.service-panel {
    display: none;
}

.service-panel.active {
    display: block;

    animation: servicePanelFade 0.35s ease;
}

@keyframes servicePanelFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   SERVICIOS - CARRUSEL
========================================================= */

.service-carousel {
    position: relative;

    width: 100%;

    padding: 0 42px;
}

.service-carousel-viewport {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding: 8px 4px 16px;
}

.service-carousel-track {
    display: flex;
    align-items: stretch;

    gap: 18px;

    width: 100%;

    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
}


/* =========================================================
   TARJETA DE SERVICIO
========================================================= */

.service-card {
    position: relative;

    flex: 0 0 calc((100% - 54px) / 4);

    min-width: 0;
    min-height: 360px;

    padding: 30px 25px 26px;

    border: 1px solid rgba(94, 65, 50, 0.09);
    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffdfb 100%
        );

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    box-shadow:
        0 12px 32px rgba(64, 41, 30, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: rgba(199, 119, 121, 0.24);

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fffaf8 100%
        );

    box-shadow:
        0 20px 45px rgba(73, 44, 31, 0.12);
}


/* Icono */

.service-icon {
    flex-shrink: 0;

    width: 64px;
    height: 64px;

    margin-bottom: 22px;

    border: 0;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #fbefee,
            #f4dedc
        );

    color: var(--rose);

    font-size: 24px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-2px) scale(1.04);

    background:
        linear-gradient(
            135deg,
            #f9e5e3,
            #f2d5d3
        );
}


/* Nombre */

.service-card h3 {
    width: 100%;

    margin-bottom: 12px;

    color: var(--brown);

    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;
}


/* Descripción */

.service-card p {
    max-width: 260px;

    margin: 0 auto;

    color: var(--text-soft);

    font-size: 12px;
    line-height: 1.65;
}


/* Precio */

.service-price {
    margin-top: auto;
    padding-top: 19px;

    color: var(--rose-dark);

    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
}


/* Botón Reservar */

.service-book,
.service-card > a {
    position: static;

    width: 100%;
    max-width: 155px;

    margin-top: 17px;
    padding: 11px 16px;

    border: 1px solid rgba(199, 119, 121, 0.46);
    border-radius: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: var(--brown);

    background: transparent;

    font-size: 11px;
    font-weight: 500;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.service-book:hover,
.service-card > a:hover {
    border-color: var(--rose);

    background: var(--rose);

    color: white;

    transform: translateY(-1px);
}


/* =========================================================
   SERVICIOS - FLECHAS
========================================================= */

.service-carousel-arrow {
    position: absolute;

    top: 50%;

    z-index: 15;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(82, 58, 45, 0.11);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.96);
    color: var(--brown);

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(58, 37, 27, 0.10);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

.service-carousel-arrow i {
    font-size: 19px;
}

.service-carousel-arrow:hover {
    border-color: var(--rose);

    background: var(--rose);
    color: white;
}

.service-carousel-arrow:disabled {
    opacity: 0.28;
    cursor: default;
}

.service-carousel-prev {
    left: -6px;
}

.service-carousel-next {
    right: -6px;
}


/* =========================================================
   SERVICIOS - PUNTOS Y CONTADOR
========================================================= */

.service-carousel-footer {
    margin-top: 23px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.service-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
}

.service-carousel-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(94, 73, 63, 0.18);

    cursor: pointer;

    transition:
        width 0.25s ease,
        border-radius 0.25s ease,
        background 0.25s ease;
}

.service-carousel-dot.active {
    width: 25px;

    border-radius: 20px;

    background: var(--rose);
}


/* Sin servicios */

.services-empty {
    width: 100%;

    padding: 60px 30px;

    border: 1px solid var(--border);
    border-radius: 16px;

    text-align: center;

    color: var(--text-soft);
}

.services-empty i {
    display: block;

    margin-bottom: 15px;

    color: var(--rose);

    font-size: 28px;
}

.services-empty strong {
    display: block;

    margin-bottom: 8px;

    color: var(--brown);

    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
}

.services-empty p {
    font-size: 13px;
}


/* =========================================================
   PORTAFOLIO
========================================================= */

.portfolio {
    padding: 120px 0;

    background: var(--brown-dark);
}

.portfolio-heading {
    margin-bottom: 52px;

    text-align: center;
}

.portfolio-heading h2 {
    color: white;
}

.portfolio-heading p {
    margin-top: 20px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 14px;
}

.portfolio-action {
    margin-top: 45px;

    text-align: center;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--gold);

    color: white;

    font-size: 12px;
}


/* =========================================================
   CARRUSEL GENERAL DE TRABAJOS
========================================================= */

.work-carousel {
    position: relative;

    width: 100%;

    margin-top: 58px;
    padding: 0 34px;
}

.work-carousel-viewport {
    position: relative;

    width: 100%;

    overflow: hidden;
}

.work-carousel-track {
    display: flex;
    align-items: stretch;

    gap: 22px;

    width: 100%;

    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
}

.work-card {
    position: relative;

    flex: 0 0 calc((100% - 44px) / 3);

    min-width: 0;

    overflow: hidden;
}

.work-card-media {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    min-height: 0;

    overflow: hidden;

    background: #1f120d;
}

.work-card-media > img,
.work-card-media > video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-card-media > img,
.work-card:hover .work-card-media > video {
    transform: scale(1.035);
}

.work-card-type {
    position: absolute;

    top: 16px;
    right: 16px;

    z-index: 5;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 11px;

    background: rgba(32, 17, 11, 0.72);
    color: white;

    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.10em;
    text-transform: uppercase;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.work-card-overlay {
    position: absolute;
    inset: 0;

    z-index: 4;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 28px;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(24, 12, 8, 0.90) 0%,
            rgba(24, 12, 8, 0.42) 34%,
            rgba(24, 12, 8, 0) 68%
        );
}

.work-card-overlay span {
    display: block;

    margin-bottom: 7px;

    color: var(--gold-light);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.20em;
    text-transform: uppercase;
}

.work-card-overlay strong {
    display: block;

    color: white;

    font-family: var(--serif);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 400;
    line-height: 1.15;
}


/* Flechas */

.work-carousel-arrow {
    position: absolute;

    top: 50%;

    z-index: 20;

    width: 54px;
    height: 54px;

    border: 1px solid rgba(211, 177, 123, 0.48);
    border-radius: 50%;

    background: rgba(57, 37, 27, 0.94);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.work-carousel-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.work-carousel-arrow:disabled {
    opacity: 0.35;
}

.work-carousel-prev {
    left: 0;
}

.work-carousel-next {
    right: 0;
}


/* Footer carrusel */

.work-carousel-footer {
    width: calc(100% - 68px);

    margin: 30px auto 0;
    padding-top: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    border-top:
        1px solid rgba(211, 177, 123, 0.18);
}

.work-carousel-dots {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.work-carousel-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(211, 177, 123, 0.35);

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease,
        border-radius 0.25s ease;
}

.work-carousel-dot.active {
    width: 28px;

    border-radius: 20px;

    background: var(--gold-light);
}

.work-carousel-counter {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    gap: 10px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 10px;
    letter-spacing: 0.12em;
}

.work-carousel-counter strong {
    font-weight: 500;
}

.work-carousel-counter span {
    width: 28px;
    height: 1px;

    background: var(--gold);
}


/* Vacío */

.work-carousel-empty {
    margin-top: 50px;
    padding: 70px 30px;

    border:
        1px solid rgba(211, 177, 123, 0.20);

    text-align: center;

    color: rgba(255, 255, 255, 0.65);
}

.work-carousel-empty i {
    display: block;

    margin-bottom: 18px;

    color: var(--gold-light);

    font-size: 30px;
}

.work-carousel-empty strong {
    display: block;

    margin-bottom: 8px;

    color: white;

    font-family: var(--serif);
    font-size: 27px;
    font-weight: 400;
}

.work-carousel-empty p {
    font-size: 13px;
}


/* =========================================================
   ESTUDIO
========================================================= */

.studio {
    padding: 140px 0;

    background: var(--cream);
}

.studio-grid {
    display: grid;

    grid-template-columns:
        1fr
        0.85fr;

    gap: 100px;

    align-items: center;
}

.studio-images {
    position: relative;

    min-height: 630px;
}

.studio-image-main {
    width: 78%;
    height: 580px;

    overflow: hidden;
}

.studio-image-main img {
    height: 100%;

    object-fit: cover;
}

.studio-image-small {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 40%;
    height: 270px;

    border: 10px solid var(--cream);

    overflow: hidden;
}

.studio-image-small img {
    height: 100%;

    object-fit: cover;
}

.studio-content h2 {
    margin-bottom: 30px;

    color: var(--brown);
}

.studio-content > p {
    color: var(--text-soft);

    font-size: 14px;
    line-height: 1.9;
}

.studio-points {
    margin-top: 42px;

    display: flex;
    flex-direction: column;
    gap: 27px;
}

.studio-point {
    display: flex;
    gap: 18px;
}

.studio-point > span {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    border: 1px solid var(--gold);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--gold);
}

.studio-point strong {
    display: block;

    margin-bottom: 6px;

    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
}

.studio-point p {
    color: var(--text-soft);

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   BOOKING
========================================================= */

.booking {
    position: relative;

    padding: 130px 25px;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(46, 28, 18, 0.90),
            rgba(46, 28, 18, 0.90)
        ),
        url("../img/unas_05.jpg")
        center / cover;

    text-align: center;
}

.booking-container {
    position: relative;

    z-index: 2;

    max-width: 850px;

    margin: 0 auto;
}

.booking h2 {
    color: white;
}

.booking p {
    margin: 26px 0 35px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
}

.btn-booking {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    padding: 17px 28px;

    background: var(--gold);
    color: white;

    font-size: 13px;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.btn-booking:hover {
    background: white;
    color: var(--brown);
}

.booking-decoration {
    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    font-family: var(--serif);
    font-size: 300px;

    color: rgba(255, 255, 255, 0.025);

    pointer-events: none;
}


/* =========================================================
   CONTACTO
========================================================= */

.contact {
    padding: 90px 0;

    background: #1c100b;
    color: white;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        1.6fr
        0.7fr
        0.7fr
        1fr;

    gap: 70px;
}

.contact-brand img {
    width: 105px;
    height: 105px;

    object-fit: cover;

    margin-bottom: 22px;
}

.contact-brand p {
    max-width: 250px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;
    line-height: 1.8;
}

.contact-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.contact-title {
    margin-bottom: 10px;

    color: var(--gold-light);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3px;
}

.contact-column a,
.contact-column p {
    color: rgba(255, 255, 255, 0.62);

    font-size: 12px;
    line-height: 1.7;
}

.contact-column a {
    transition: color 0.2s ease;
}

.contact-column a:hover {
    color: white;
}

.contact-book {
    margin-top: 8px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--gold-light) !important;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 24px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    background: #150c08;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer p {
    color: rgba(255, 255, 255, 0.35);

    font-size: 10px;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-button {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 900;

    width: 54px;
    height: 54px;

    border-radius: 50%;

    background: var(--brown);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.whatsapp-button:hover {
    transform: translateY(-3px);

    background: var(--gold);
}


/* =========================================================
   PANTALLAS GRANDES
========================================================= */

@media (min-width: 1450px) {

    .section-container {
        width: min(calc(100% - 80px), 1380px);
    }

    .service-card {
        flex-basis: calc((100% - 72px) / 5);
    }

    .service-carousel-track {
        gap: 18px;
    }

    .work-card {
        flex-basis: calc((100% - 66px) / 4);
    }

}


/* =========================================================
   TABLET / LAPTOP
========================================================= */

@media (max-width: 1100px) {

    .nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 11px;
    }

    .hero-container {
        gap: 40px;
    }

    .hero-gallery {
        height: 560px;
    }

    .hero-gallery-overlay {
        padding: 40px 115px 42px 32px;
    }

    .hero-gallery-title {
        font-size: 26px;
    }

    .hero-gallery .hero-decoration {
        display: none;
    }


    /* Servicios */

    .service-tabs {
        overflow-x: auto;

        justify-content: flex-start;

        padding-bottom: 6px;

        scrollbar-width: none;
    }

    .service-tabs::-webkit-scrollbar {
        display: none;
    }

    .service-tab {
        flex-shrink: 0;
    }

    .service-card {
        flex-basis: calc((100% - 36px) / 3);
    }


    /* Trabajos */

    .work-carousel {
        padding: 0 28px;
    }

    .work-carousel-track {
        gap: 20px;
    }

    .work-card {
        flex-basis: calc((100% - 20px) / 2);
    }

    .work-carousel-footer {
        width: calc(100% - 56px);
    }


    /* Estudio */

    .studio-grid {
        gap: 55px;
    }

}


/* =========================================================
   TABLET PEQUEÑA / MOBILE
========================================================= */

@media (max-width: 850px) {

    .section-container {
        width: min(calc(100% - 36px), var(--container));
    }


    /* Header */

    .header {
        background: rgba(251, 248, 243, 0.97);
    }

    .header-container {
        width: calc(100% - 32px);
        height: 76px;
    }

    .brand-logo {
        width: 43px;
        height: 43px;
    }

    .brand-name {
        font-size: 13px;
    }

    .brand-subtitle {
        font-size: 6px;
    }

    .btn-header {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .nav {
        position: fixed;

        top: 76px;
        left: 0;

        width: 100%;

        padding: 30px;

        border-top: 1px solid var(--border);

        background: var(--cream-soft);

        flex-direction: column;
        align-items: flex-start;
        gap: 0;

        transform: translateY(-150%);

        opacity: 0;

        pointer-events: none;

        transition:
            transform 0.3s ease,
            opacity 0.3s ease;

        box-shadow:
            0 20px 30px rgba(0, 0, 0, 0.08);
    }

    .nav.open {
        transform: translateY(0);

        opacity: 1;

        pointer-events: auto;
    }

    .nav-link {
        width: 100%;

        padding: 16px 0;

        border-bottom: 1px solid var(--border);

        font-family: var(--serif);
        font-size: 20px;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding: 125px 0 80px;
    }

    .hero-container {
        width: calc(100% - 36px);

        grid-template-columns: 1fr;

        gap: 55px;
    }

    .hero h1 {
        font-size: clamp(58px, 17vw, 82px);
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-primary {
        width: 100%;

        justify-content: space-between;
    }

    .hero-details {
        gap: 20px;

        flex-direction: column;
    }

    .hero-visual {
        min-height: auto;
    }

    .hero-gallery {
        width: 100%;
        height: 600px;

        margin-top: 20px;
    }

    .hero-gallery-brand {
        min-width: 180px;

        padding: 20px 22px;
    }


    /* Títulos */

    h2 {
        font-size: 43px;
        letter-spacing: -1px;
    }


    /* Intro */

    .intro {
        padding: 90px 0;
    }


    /* Servicios */

    .services {
        padding: 85px 0 80px;
    }

    .services .section-heading {
        margin-bottom: 30px;
    }

    .services .section-heading h2 {
        font-size: 45px;
    }

    .service-tabs {
        margin-bottom: 32px;
    }

    .service-carousel {
        padding: 0 34px;
    }

    .service-card {
        flex-basis: calc((100% - 18px) / 2);

        min-height: 350px;
    }

    .service-carousel-prev {
        left: -3px;
    }

    .service-carousel-next {
        right: -3px;
    }


    /* Portfolio */

    .portfolio {
        padding: 90px 0;
    }


    /* Studio */

    .studio {
        padding: 90px 0;
    }

    .studio-grid {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .studio-images {
        min-height: 520px;
    }

    .studio-image-main {
        height: 490px;
    }

    .studio-image-small {
        height: 210px;
    }


    /* Booking */

    .booking {
        padding: 95px 20px;
    }


    /* Contacto */

    .contact-grid {
        grid-template-columns:
            1fr
            1fr;

        gap: 50px 30px;
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 700px) {

    /* Servicios */

    .services {
        padding: 75px 0;
    }

    .services .section-heading {
        margin-bottom: 28px;
    }

    .services .section-heading .section-label {
        font-size: 9px;
    }

    .services .section-heading h2 {
        font-size: 42px;
    }

    .services .section-heading > p {
        margin-top: 18px;

        font-size: 13px;
    }

    .services-heading-decoration {
        width: 180px;

        margin-top: 16px;
    }

    .service-tabs {
        width: calc(100% + 18px);

        margin-right: -18px;
        margin-bottom: 28px;
    }

    .service-tab {
        min-height: 42px;

        padding: 10px 19px;

        font-size: 10px;
    }

    .service-carousel {
        padding: 0;
    }

    .service-carousel-viewport {
        overflow: hidden;

        padding:
            7px
            2px
            14px;
    }

    .service-carousel-track {
        gap: 14px;
    }

    .service-card {
        flex: 0 0 100%;

        min-height: 350px;

        padding: 29px 24px 25px;
    }

    .service-icon {
        width: 66px;
        height: 66px;

        margin-bottom: 22px;
    }

    .service-card h3 {
        font-size: 24px;
    }

    .service-card p {
        max-width: 310px;

        font-size: 13px;
    }

    .service-price {
        font-size: 19px;
    }

    .service-carousel-arrow {
        width: 44px;
        height: 44px;

        background: rgba(255, 255, 255, 0.96);
    }

    .service-carousel-prev {
        left: 10px;
    }

    .service-carousel-next {
        right: 10px;
    }

    .service-carousel-footer {
        margin-top: 18px;
    }


    /* Hero */

    .hero-gallery {
        height: 500px;
    }

    .hero-gallery-overlay {
        padding: 30px 25px 80px;
    }

    .hero-gallery-title {
        font-size: 24px;
    }

    .hero-gallery-type {
        top: 16px;
        right: 16px;

        padding: 8px 10px;

        font-size: 8px;
    }

    .hero-gallery-arrow {
        width: 42px;
        height: 42px;
    }

    .hero-gallery-prev {
        left: 14px;
    }

    .hero-gallery-next {
        right: 14px;
    }

    .hero-gallery-brand {
        min-width: 155px;

        padding: 16px 18px;
    }

    .hero-gallery-brand span {
        font-size: 7px;
    }

    .hero-gallery-brand strong {
        font-size: 15px;
    }

    .hero-gallery-counter {
        left: 18px;
        bottom: 18px;
    }

    .hero-gallery-dots {
        bottom: 65px;
    }


    /* Trabajos */

    .work-carousel {
        margin-top: 40px;
        padding: 0;
    }

    .work-carousel-viewport {
        overflow: hidden;
    }

    .work-carousel-track {
        gap: 14px;
    }

    .work-card {
        flex: 0 0 100%;
    }

    .work-card-media {
        aspect-ratio: 4 / 5;
    }

    .work-card-overlay {
        padding: 22px;
    }

    .work-card-overlay strong {
        font-size: 23px;
    }

    .work-carousel-arrow {
        width: 44px;
        height: 44px;
    }

    .work-carousel-prev {
        left: 10px;
    }

    .work-carousel-next {
        right: 10px;
    }

    .work-carousel-footer {
        width: 100%;

        margin-top: 22px;
    }

}


/* =========================================================
   CELULAR PEQUEÑO
========================================================= */

@media (max-width: 520px) {

    .brand-text {
        display: none;
    }

    .hero-eyebrow {
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 62px;
    }


    /* Servicios */

    .services .section-heading h2 {
        font-size: 39px;
    }

    .service-card {
        min-height: 355px;
    }

    .service-card h3 {
        font-size: 23px;
    }


    /* Studio */

    .studio-images {
        min-height: 470px;
    }

    .studio-image-main {
        width: 88%;
        height: 440px;
    }

    .studio-image-small {
        width: 44%;
        height: 185px;
    }


    /* Contacto */

    .contact-grid {
        grid-template-columns: 1fr;
    }


    /* Footer */

    .footer-container {
        flex-direction: column;
        gap: 8px;
    }

}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
========================================================= */

@media (max-width: 420px) {

    .service-carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .service-carousel-prev {
        left: 7px;
    }

    .service-carousel-next {
        right: 7px;
    }

    .work-card-media {
        aspect-ratio: 3 / 4;
    }

    .work-carousel-dots {
        max-width: 72%;
    }

}