/* ==========================================================================
   Family Salón de Estética — Sistema de Diseño Premium & Alta Gama
   ========================================================================== */

:root {
    --paper: #fcfbf9;
    --cream: #f7f2ea;
    --sand: #e8ded2;
    --gold: #9a7138;
    --gold-light: #e5d2ad;
    --gold-dark: #7b5828;
    --gold-soft-bg: rgba(154, 113, 56, 0.08);
    --ink: #302a24;
    --muted: #6f675f;
    --line: #e8ded2;
    --white: #ffffff;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max: 1200px;
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-subtle: 0 2px 10px rgba(31, 27, 23, 0.03);
    --shadow-card: 0 8px 26px rgba(31, 27, 23, 0.05);
    --shadow-elevated: 0 16px 44px rgba(31, 27, 23, 0.09);
    --shadow-gold: 0 6px 22px rgba(154, 113, 56, 0.28);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.7 var(--sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.locked {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button, input, select, textarea {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

figure {
    margin: 0;
}

h1, h2, h3, h4, p {
    margin: 0;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--ink);
}

h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    letter-spacing: -0.025em;
}

h2 {
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.6rem;
    letter-spacing: -0.015em;
}

em {
    font-weight: 400;
    font-style: italic;
    color: var(--gold-dark);
}

p {
    color: var(--muted);
    line-height: 1.75;
}

p + p {
    margin-top: 18px;
}

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.container {
    width: min(var(--max), calc(100% - 64px));
    margin-inline: auto;
}

/* ==========================================================================
   Espaciados y Utilitarios de Sección
   ========================================================================== */

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.cream {
    background: var(--cream);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 16px;
}

.eyebrow.light {
    color: #dfcca8;
}

.lead {
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--muted);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.section-head p {
    max-width: 440px;
}

.section-head .eyebrow {
    margin-bottom: 12px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold-dark);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--ink);
    border-color: var(--ink);
    transform: translateX(3px);
}

.text-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.text-link:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   Botones Premium
   ========================================================================== */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    box-shadow: none;
    transition: var(--transition);
}

.btn:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn svg {
    width: 17px;
    height: 17px;
    flex: none;
    transition: transform 0.2s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}

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

.btn-white {
    background: #ffffff;
    color: var(--ink);
    border-color: var(--white);
    box-shadow: var(--shadow-card);
}

.btn-white:hover {
    background: var(--cream);
    color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.skip-link {
    position: fixed;
    left: 10px;
    top: -90px;
    padding: 10px 16px;
    background: #ffffff;
    z-index: 1000;
    border: 1px solid var(--gold);
}

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

/* ==========================================================================
   Topbar & Header con Glassmorphism
   ========================================================================== */

.topbar {
    background: #1e1915;
    color: #f3e9da;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar a {
    color: #dfcca8;
}

.topbar a:hover {
    color: #ffffff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-window {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #faf7f2;
    overflow: hidden;
    padding: 2px;
    box-shadow: 0 1px 4px rgba(48, 42, 36, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.logo-window img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.brand:hover .logo-window {
    border-color: var(--gold);
    transform: scale(1.02);
}

.brand-divider {
    height: 32px;
    width: 1px;
    background: var(--line);
}

.brand-location {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.nav > a:not(.btn) {
    font-size: 0.88rem;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    color: var(--ink);
    white-space: nowrap !important;
    flex-shrink: 0;
    text-decoration: none;
    transition: color 0.18s ease;
}

.nav > a:not(.btn):hover {
    color: var(--gold);
}

.nav > a[aria-current=page] {
    color: var(--gold-dark);
    font-weight: 600;
}

.nav > a[aria-current=page]:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.nav .btn, .btn-nav-cta {
    padding: 10px 20px;
    min-height: 42px;
    font-size: 0.84rem;
    white-space: nowrap !important;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    width: 44px;
    height: 44px;
    padding: 11px;
    border-radius: var(--radius-sm);
}

.menu-toggle span {
    display: block;
    height: 1.5px;
    background: var(--ink);
    margin: 5px 0;
    border-radius: 1px;
}

/* ==========================================================================
   Portada & Hero de Alta Gama
   ========================================================================== */

.home-hero {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 600px;
    align-items: stretch;
    background: var(--paper);
    position: relative;
}

.hero-copy {
    padding: 85px 60px 80px max(32px, calc((100vw - var(--max)) / 2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    border: 1px solid var(--sand);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 22px;
    width: fit-content;
}

.hero-badge .pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25);
}

.hero-copy h1 {
    max-width: 460px;
}

.hero-copy .lead {
    max-width: 430px;
    margin-top: 22px;
}

.hero-footnote {
    font-size: 0.8rem;
    margin-top: 36px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-visual {
    position: relative;
    min-height: 560px;
    overflow: hidden;
}

.hero-visual > img {
    height: 100%;
    object-fit: cover;
    object-position: 65% 50%;
    transition: transform 0.8s ease;
}

.hero-visual:hover > img {
    transform: scale(1.02);
}

.photo-label {
    position: absolute;
    right: 20px;
    bottom: 18px;
    font-size: 0.65rem;
    color: #ffffff;
    background: rgba(31, 27, 23, 0.75);
    backdrop-filter: blur(6px);
    padding: 4px 10px;
    letter-spacing: 0.05em;
    border-radius: var(--radius-xs);
}

.hero-caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 22px 26px;
    border-left: 3px solid var(--gold);
    max-width: 250px;
    border-radius: var(--radius-xs);
    box-shadow: var(--shadow-card);
}

.hero-caption .eyebrow {
    font-size: 0.65rem;
    margin-bottom: 6px;
}

.hero-caption p {
    font-family: var(--serif);
    font-size: 1.35rem;
    color: var(--ink);
    line-height: 1.25;
}

/* ==========================================================================
   Beneficios / Indicadores
   ========================================================================== */

.benefits {
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 0;
}

.benefit {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 0 32px;
    border-right: 1px solid var(--line);
}

.benefit:first-child {
    padding-left: 0;
}

.benefit:last-child {
    border: none;
}

.benefit .number {
    font: 2rem/1 var(--serif);
    color: var(--gold);
    font-weight: 600;
}

.benefit strong {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
    display: block;
    margin-bottom: 2px;
}

.benefit p {
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ==========================================================================
   Grillas de Contenido y Fotografías
   ========================================================================== */

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.feature-photo {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.feature-photo img {
    height: 520px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-photo:hover img {
    transform: scale(1.03);
}

.feature-photo .corner-note {
    position: absolute;
    right: -10px;
    bottom: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    padding: 18px 24px;
    font: 1rem var(--serif);
    color: var(--gold-dark);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-xs);
}

.line-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.line-list li {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.92rem;
}

.line-list b {
    font-weight: 600;
    color: var(--gold-dark);
    white-space: nowrap;
}

/* Tarjetas de Servicios */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: block;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-card);
}

.service-card .image-wrap {
    overflow: hidden;
    position: relative;
    height: 280px;
}

.service-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card .card-number {
    position: absolute;
    left: 18px;
    top: 18px;
    color: #ffffff;
    font: 0.85rem var(--serif);
    background: rgba(31, 27, 23, 0.75);
    backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: var(--radius-xs);
}

.service-card .card-body {
    padding: 24px;
}

.service-card h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 1.35rem;
}

.service-card h3 svg {
    width: 20px;
    height: 20px;
    color: var(--gold-dark);
    transition: transform 0.2s;
}

.service-card:hover h3 svg {
    transform: translateX(4px);
}

.service-card p {
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Banda Oscura de Cierre */
.dark-band {
    background: #1f1b17;
    color: var(--paper);
    padding: 80px 0;
    position: relative;
}

.dark-band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.dark-band h2 {
    color: #ffffff;
    max-width: 680px;
}

.dark-band p {
    color: #d6cac0;
    margin-top: 14px;
    max-width: 580px;
    font-size: 1.05rem;
}

/* ==========================================================================
   Galería Home & Interior
   ========================================================================== */

.home-gallery {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 26px;
    align-items: start;
}

.home-gallery figure {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.home-gallery img {
    height: 360px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.home-gallery figure:hover img {
    transform: scale(1.04);
}

.home-gallery figure:nth-child(2) {
    margin-top: 40px;
}

.home-gallery figure:nth-child(2) img {
    height: 400px;
}

.home-gallery figcaption {
    font-size: 0.8rem;
    margin-top: 12px;
    color: var(--muted);
    font-style: italic;
    text-align: center;
}

.quote-panel {
    text-align: center;
    padding: 64px 30px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 80px;
}

.quote-panel p {
    font: italic 2.1rem/1.35 var(--serif);
    color: var(--ink);
    max-width: 740px;
    margin: 0 auto;
}

.quote-panel span {
    display: block;
    color: var(--gold-dark);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 22px;
}

/* ==========================================================================
   Páginas Interiores: Título, Héroe, Precios
   ========================================================================== */

.page-title {
    padding: 65px 0 75px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.breadcrumb {
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.breadcrumb a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.breadcrumb a:hover {
    color: var(--gold-dark);
}

.page-title .intro {
    display: flex;
    justify-content: space-between;
    gap: 45px;
    align-items: flex-end;
}

.page-title h1 {
    max-width: 680px;
}

.page-title .lead {
    max-width: 420px;
}

.page-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 440px;
}

.page-hero img {
    height: 100%;
    max-height: 580px;
    object-fit: cover;
}

.page-hero-copy {
    padding: 70px max(40px, calc((100vw - var(--max)) / 2)) 70px 70px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/* Grilla de Precios */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.price-card {
    padding: 34px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-card);
}

.price-card .eyebrow {
    margin-bottom: 10px;
}

.price-card h3 {
    margin-bottom: 22px;
    font-size: 1.45rem;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-card li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-size: 0.88rem;
}

.price-card li:last-child {
    border: none;
}

.price-card b {
    white-space: nowrap;
    font-weight: 600;
    color: var(--gold-dark);
}

/* Pasos */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}

.step {
    border-top: 2px solid var(--gold);
    padding-top: 28px;
}

.step .step-number {
    font: 2.8rem/1 var(--serif);
    color: var(--gold);
    margin-bottom: 18px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.92rem;
}

/* FAQ */
.faq-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq details:first-child {
    border-top: 1px solid var(--line);
}

.faq summary {
    padding: 24px 30px 24px 0;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    list-style: none;
    font-size: 1rem;
    color: var(--ink);
    transition: color 0.2s;
}

.faq summary:hover {
    color: var(--gold-dark);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary:after {
    content: '+';
    font-size: 1.4rem;
    position: absolute;
    right: 5px;
    top: 18px;
    color: var(--gold-dark);
}

.faq details[open] summary:after {
    content: '−';
}

.faq details p {
    padding: 0 24px 24px 0;
    font-size: 0.92rem;
}

/* ==========================================================================
   Servicios en Detalle
   ========================================================================== */

.service-detail {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 75px;
    align-items: center;
    padding: 70px 0;
    border-bottom: 1px solid var(--line);
}

.service-detail:first-child {
    padding-top: 0;
}

.service-detail:last-child {
    border: none;
    padding-bottom: 0;
}

.service-detail:nth-child(even) {
    grid-template-columns: 1.15fr 0.85fr;
}

.service-detail:nth-child(even) .service-detail-image {
    order: 2;
}

.service-detail-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.service-detail-image img {
    height: 440px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-detail:hover .service-detail-image img {
    transform: scale(1.03);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tags span {
    font-size: 0.78rem;
    font-weight: 500;
    background: #ffffff;
    border: 1px solid var(--line);
    padding: 7px 14px;
    border-radius: 30px;
    color: var(--ink);
}

.jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-top: 30px;
}

.jump-links a {
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 6px;
    color: var(--gold-dark);
}

.jump-links a:hover {
    color: var(--ink);
}

/* Salón / Ubicación */
.salon-statement {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.salon-statement .big-f {
    font: 11rem/0.8 var(--serif);
    color: var(--gold);
    text-align: center;
    border: 1px solid var(--line);
    padding: 40px;
    background: #ffffff;
    border-radius: var(--radius-md);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.fact {
    border-top: 2px solid var(--gold);
    padding-top: 22px;
}

.fact h3 {
    font-size: 1.3rem;
}

.fact p {
    font-size: 0.88rem;
    margin-top: 12px;
}

/* ==========================================================================
   Galería Interactiva
   ========================================================================== */

.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 40px;
}

.filter {
    background: #ffffff;
    border: 1px solid var(--line);
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    border-radius: 30px;
    transition: var(--transition);
}

.filter:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.filter[aria-pressed=true] {
    background: var(--ink);
    color: #ffffff;
    border-color: var(--ink);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item[hidden] {
    display: none;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.gallery-item a {
    display: block;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    height: 380px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item a:hover img {
    transform: scale(1.04);
}

.gallery-item .expand {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    color: var(--ink);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    border-radius: var(--radius-xs);
    box-shadow: var(--shadow-subtle);
}

.gallery-item figcaption {
    padding: 14px 18px;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
}

.lightbox {
    width: min(1000px, 94vw);
    max-height: 94vh;
    padding: 45px 20px 20px;
    border: none;
    background: var(--paper);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox::backdrop {
    background: rgba(20, 16, 13, 0.88);
    backdrop-filter: blur(8px);
}

.lightbox img {
    max-height: 76vh;
    width: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    right: 14px;
    top: 10px;
    font-size: 2rem;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    color: var(--ink);
    cursor: pointer;
}

/* ==========================================================================
   Contacto & Mapa
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-list {
    margin-top: 32px;
}

.contact-row {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.contact-row svg {
    width: 22px;
    height: 22px;
    color: var(--gold-dark);
    margin-top: 4px;
}

.contact-row h3 {
    font: 600 0.82rem var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    color: var(--gold-dark);
}

.contact-row p, .contact-row a {
    font-size: 0.98rem;
    color: var(--ink);
}

.contact-row .small-note {
    font-size: 0.8rem;
    margin-top: 8px;
    color: var(--muted);
}

.booking-panel {
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    padding: 44px 38px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.booking-panel h2 {
    font-size: 2.1rem;
}

.booking-panel p {
    margin-top: 18px;
}

.booking-panel .btn {
    width: 100%;
    margin-top: 24px;
}

.booking-panel .booking-note {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 14px;
    color: var(--muted);
}

.contact-salon {
    height: 280px;
    object-fit: cover;
    margin-top: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
}

.map-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.location-card {
    padding: 48px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.location-card h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.map-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
}

/* ==========================================================================
   Footer Elegante
   ========================================================================== */

.footer {
    padding: 70px 0 30px;
    background: #191512;
    color: #e5ded6;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
    gap: 45px;
}

.footer-name {
    font: italic 2.3rem var(--serif);
    color: var(--gold);
}

.footer-tag {
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 6px;
    color: #c9b391;
    font-weight: 600;
}

.footer p {
    font-size: 0.86rem;
    margin-top: 18px;
    max-width: 270px;
    color: #9c9288;
}

.footer h3 {
    font: 600 0.78rem var(--sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 8px 0 22px;
    color: #ffffff;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    font-size: 0.86rem;
    color: #a89e93;
}

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

.footer-bottom {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.75rem;
    color: #887d72;
}

/* ==========================================================================
   Elementos Flotantes & Móvil
   ========================================================================== */

.wa-float {
    position: fixed;
    z-index: 45;
    right: 26px;
    bottom: 26px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.wa-float svg {
    width: 30px;
    height: 30px;
}

.mobile-cta {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Sistema de Reserva y Agendamiento — Acabado Boutique de Lujo
   ========================================================================== */

.booking-section {
    background: var(--cream);
    padding: 50px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   Sección de Reserva Rápida Compacta (Inicio)
   ========================================================================== */
.booking-section-compact {
    background: var(--cream);
    padding: 44px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.booking-compact-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 26px 30px;
    box-shadow: var(--shadow-card);
}

.booking-compact-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 10px;
}

.compact-title-col h2 {
    font-size: 1.45rem;
    margin: 0;
    color: var(--ink);
    line-height: 1.25;
}

.compact-link-col a {
    font-size: 0.84rem;
}

.booking-compact-form {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr 1fr 1.45fr;
    gap: 14px;
    align-items: start;
}

.compact-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.compact-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.compact-step-dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--cream);
    border: 1px solid var(--sand);
    color: var(--gold-dark);
    font-size: 0.66rem;
    font-weight: 700;
    display: inline-grid;
    place-items: center;
}

.compact-select, .compact-input {
    height: 42px;
    font-size: 0.86rem;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--ink);
    width: 100%;
}

.compact-select:focus, .compact-input:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(154, 113, 56, 0.15);
}

.compact-client-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.compact-quick-slots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    flex-wrap: wrap;
}

.quick-slots-label {
    font-size: 0.74rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quick-slots-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.quick-slot-pill {
    padding: 3px 9px;
    font-size: 0.76rem;
    font-weight: 600;
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: 999px;
    cursor: pointer;
    color: var(--ink);
    transition: var(--transition);
}

.quick-slot-pill:hover {
    border-color: var(--gold);
    background: #ffffff;
}

.quick-slot-pill.active {
    background: var(--gold);
    border-color: var(--gold-dark);
    color: #ffffff;
}

.booking-compact-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 14px;
}

.compact-summary-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.summary-line-main {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--ink);
}

.summary-line-sub {
    font-size: 0.82rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.compact-alert {
    margin-top: 10px;
    padding: 8px 12px;
    background: #fdf2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Página Completa de Reserva (reservar.php) — Más compacta y elegante
   ========================================================================== */

.booking-flow-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.booking-card-main {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.booking-step {
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.booking-step:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.booking-step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.booking-step-number {
    width: 28px;
    height: 28px;
    background: var(--cream);
    border: 1px solid var(--sand);
    color: var(--gold-dark);
    font: 700 0.82rem var(--sans);
    display: grid;
    place-items: center;
    border-radius: 50%;
    flex: none;
}

.booking-step-title h3 {
    font-size: 1.2rem;
    color: var(--ink);
    margin: 0;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.service-pick-card {
    border: 1.5px solid var(--line);
    background: var(--paper);
    padding: 12px 14px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80px;
    position: relative;
}

.service-pick-card:hover {
    border-color: var(--gold);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-subtle);
}

.service-pick-card.selected {
    border-color: var(--gold-dark);
    background: var(--cream);
    box-shadow: 0 0 0 2px var(--gold-dark);
}

.service-pick-card .s-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ink);
    line-height: 1.3;
}

.service-pick-card .s-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 8px;
    font-size: 0.78rem;
}

.service-pick-card .s-price {
    font-weight: 700;
    color: var(--gold-dark);
    font-size: 0.98rem;
}

.service-pick-card .s-dur {
    color: var(--muted);
    font-size: 0.72rem;
}

/* Slots de Horarios */
.slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.slot-pill {
    padding: 8px 6px;
    text-align: center;
    border: 1px solid var(--line);
    background: #ffffff;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    box-shadow: var(--shadow-subtle);
}

.slot-pill:hover:not(.occupied):not(.past) {
    border-color: var(--gold);
    background: var(--cream);
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}

.slot-pill.selected {
    background: var(--gold) !important;
    border-color: var(--gold-dark) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.slot-pill.occupied {
    background: #f8f4ed;
    border: 1px dashed #d8cbba;
    color: #9c9183;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.85;
}

.slot-pill.occupied .slot-tag {
    font-size: 0.6rem;
    color: #995c32;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.slot-pill.past {
    background: #faf7f2;
    border-color: #eee4d8;
    color: #bfb5a8;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.65;
}

/* Barra lateral tipo Ticket Boutique */
.booking-summary-sidebar {
    position: sticky;
    top: 110px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    padding: 24px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.86rem;
}

.summary-item.total {
    border-top: 2px dashed var(--line);
    border-bottom: none;
    margin-top: 12px;
    padding-top: 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
}
}

.summary-item.total .val {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 1.45rem;
}

.booking-success-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(31, 27, 23, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.booking-success-modal.active {
    display: flex;
}

.booking-success-card {
    background: #ffffff;
    border-top: 5px solid var(--gold);
    padding: 44px 36px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   Media Queries & Responsividad
   ========================================================================== */

@media (max-width: 1100px) {
    .container {
        width: calc(100% - 48px);
    }
    .nav {
        gap: 16px;
    }
    .nav > a:not(.btn) {
        font-size: 0.84rem;
    }
    .brand-location, .brand-divider {
        display: none;
    }
    .hero-copy {
        padding: 60px 40px 60px 24px;
    }
    .feature-grid {
        gap: 45px;
    }
    .service-detail {
        gap: 45px;
    }
    .footer-grid {
        gap: 30px;
    }
}

@media (max-width: 960px) {
    html {
        scroll-padding-top: 86px;
    }
    .header-inner {
        min-height: 78px;
    }
    .menu-toggle {
        display: block;
    }
    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        padding: 24px 28px 32px;
        background: #ffffff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px rgba(31, 27, 23, 0.12);
        max-height: calc(100dvh - 100px);
        overflow: auto;
    }
    .nav.open {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }
    .nav > a {
        padding: 10px 0;
        border-bottom: 1px solid var(--cream);
    }
    .nav .btn {
        margin-top: 12px;
    }
    .home-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .hero-visual {
        min-height: 420px;
    }
    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 0;
    }
    .benefit {
        padding: 0;
        border: none;
    }
    .feature-grid, .faq-layout, .contact-layout, .booking-flow-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .service-grid, .price-grid, .gallery-grid, .steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 20px;
    }
    .booking-summary-sidebar {
        position: static;
        margin-top: 20px;
    }
    .booking-section-compact {
        padding: 32px 0;
    }
    .booking-compact-card {
        padding: 20px 18px;
    }
    .booking-compact-form {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .compact-group-client {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .container {
        width: calc(100% - 32px);
    }
    .topbar .container {
        justify-content: center;
        font-size: 0.7rem;
    }
    .topbar .topbar-secondary {
        display: none;
    }
    .hero-copy {
        padding: 40px 16px;
    }
    .hero-copy h1 {
        font-size: 2.5rem;
    }
    .booking-card-main {
        padding: 20px 14px;
    }
    .booking-section-compact {
        padding: 24px 0;
    }
    .booking-compact-card {
        padding: 16px 14px;
    }
    .booking-compact-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .compact-group-client {
        grid-column: span 1;
    }
    .compact-client-inputs {
        grid-template-columns: 1fr;
    }
    .booking-compact-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }
    .summary-line-sub {
        justify-content: center;
    }
    .booking-compact-footer .btn {
        width: 100%;
        justify-content: center;
    }
    .dark-band .container {
        display: block;
    }
    .dark-band .btn {
        margin-top: 26px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .wa-float {
        display: none;
    }
    .mobile-cta {
        display: grid;
        grid-template-columns: 1.35fr 1fr;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 55;
        background: #ffffff;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        gap: 10px;
        border-top: 1px solid var(--line);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    }
}
