@font-face {
  font-family: 'Blacksword';
  src: url('fonts/Blacksword.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'Zeantry';
  src: url('fonts/Zeantry.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'Literata-Bold';
  src: url('fonts/Literata-Bold.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'Literata-Regular';
  src: url('fonts/Literata-Regular.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'Literata-Light';
  src: url('fonts/Literata-Light.otf') format('opentype');
  font-display: swap;
}

:root {

  --font-titulo: 'Zeantry', Georgia, serif;
  --font-display: var(--font-titulo);
  --font-body: 'Inter', system-ui, sans-serif;
  --navy: #FFFFFF;
  --cream: #FFFFFF;
  --stone: #111112;
  --muted: #6B7280;
  --rose-gold-gradient: linear-gradient(135deg, #f3a683 0%, #f7d794 30%, #e77f67 70%, #cf6a56 100%);

  --gray-bg: #f4f5f0;
  --gray-dark: #111827;
  --gray-light: #9ca3af;
  --text-gray-300: #D1D5DB;

  --bg-dark-top: #1a1716;
  --bg-dark-bottom: #0a0909;


}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    width: 100%;
    background-color: #0C0C0C;
    border-b: 1px solid #D6EEF0;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 2px solid #d4af37;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: #111112;
    background-color: #111112;
    -webkit-font-smoothing: antialiased;
}

/* Accesibilidad y Focos */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Elementos Multimedia Resposivos */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-responsive {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilos de Utilidad Comunes */
.container {
    width: 100%;
    max-width: 1152px;
    /* 6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.container-narrow {
    max-width: 960px;
    /* 5xl */
}

/* Placeholders Dinámicos de Fotos */
.img-placeholder {
    background: linear-gradient(135deg, #e2ddd4 0%, #ccc5b8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 0px;
}

.hidden-fallback {
    display: none !important;
}

.text-amber {
    color: #111112;

}

.text-navy {
    color: var(--navy);
}

.text-cream {
    color: var(--cream);
}

.text-white {
    color: var(--cream);
}

.text-bold {
    font-weight: 700;
}

/* ==========================================================================
   2. COMPONENTES REUTILIZABLES (Botones, Badges)
   ========================================================================== */
.btn {
    flex: 1;
    width: 50%;
    padding: 12px 6px;
    /* Reducido ligeramente de los lados para dar más margen al texto */
    font-size: 15px;
    /* Un tamaño equilibrado para móvil */
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;

    /* SOLUCIÓN: Activamos flex interno y permitimos quiebre de línea en texto largo */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.2;
    height: auto;
    min-height: 44px;
}

.btn-sm {
    width: auto;
    font-size: 16px;
    padding: 12px 20px;
}

.btn-lg {
    font-size: 18px;
    padding: 16px 36px;
}

.btn-xl {
    font-size: 18px;
    padding: 20px 32px;
}

.btn-card {
    flex: none;
    width: 100%;
    /* SOLUCIÓN: Ahora se estira por completo en el Servicio 1 también */
    height: 36px;
    /* Un poco más alto para facilitar el clic en pantallas táctiles */
    min-height: 36px;
    padding: 0;
    font-size: 14px;
    /* Texto del botón ligeramente más legible */
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    /* Empuja el botón al fondo si queda espacio sobrante en la fila */
}

/* Modificadores de Botón */
.btn-navy {
    background-color: #111112;
    color: var(--cream);
}

.btn-outline:hover {
  background: linear-gradient(135deg, #f3a683 0%, #f7d794 30%, #e77f67 70%, #cf6a56 100%);
  color: #2c160e; 
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(231, 127, 103, 0.35);
}

.btn-amber {
    background: linear-gradient(135deg, #f3a683 0%, #f7d794 30%, #e77f67 70%, #cf6a56 100%);
  color: #111112;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(231, 127, 103, 0.3);
}

.btn-amber:hover {
    background-color: #C9A84C;
}

.btn-outline {
    color: #FFFFFF;
    background-color: #2B2B2B;
}

.btn-outline:hover {
  /* Fondo con degradado Rose Gold metalizado */
  background: linear-gradient(135deg, #f3a683 0%, #f7d794 30%, #e77f67 70%, #cf6a56 100%);
  
  /* Texto oscuro para garantizar lecturabilidad y contraste sobre el fondo claro */
  color: #2c160e; 
  
  /* Opcional: elimina o iguala el borde al mismo tono al hacer hover */
  border-color: transparent;
  
  /* Opcional: resplandor suave al pasar el cursor */
  box-shadow: 0 4px 15px rgba(231, 127, 103, 0.35);
}

/* Badges */
.badge {
    display: inline-block;
    border: 1px solid #1A2744;
    color: #1A2744;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 30px;
    /* Forma de óvalo sutil */
    margin-bottom: 24px;
    white-space: nowrap;
    /* Forzar una sola línea */
}

.badge-dark {
    display: inline-block;
    background-color: var(--navy);
    color: #111112;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
}

.section-subtitle {
    font-family: 'Zeantry';
    font-size: 3.5vh;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FFFFFF;
    margin: 2vh;
}

.booking-main-title {
    padding: 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px; /* Tamaño grande e imponente para móvil */
    line-height: 1.2;
    color: #ffffff; /* Forzamos color blanco puro para que resalte sobre el fondo azul oscuro */
    margin: 0;
    text-align: center;
}

.section-title {
    font-family: 'Zeantry', Helvetica, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: var(--navy);
}

.section-description {
    font-family: 'Literata-Light', Helvetica, sans-serif;
    color: #ffffff;
    font-size: 18px;
    margin-top: 16px;
    max-w: 448px;
}

/* ==========================================================================
   3. SECCIONES ESPECÍFICAS (Layout Móvil Base)
   ========================================================================== */

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--cream);
    border-bottom: 1px solid var(--stone);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-container {
    background-color: #111112;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    max-width: 1152px;
    margin: 0 auto;
}

.logo {
    height: 48px;
    width: auto;
}

.logo-img {
    height: 6.5vh;
    width: auto;
    display: block;
}

.nav-desktop {
    display: none;
}

.btn-mobile-only {
    background-color: #FFFFFF;
    color: #111112;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    /* Bordes redondeados perfectos */
    text-decoration: none;
    white-space: nowrap;
    /* Evita que se rompa el texto */
}

/* Hero Section */

.hero {
    background-color: #EBE8E2;
    padding: 40px 16px;
}

.hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-container {
    display: flex;
    flex-direction: column;
    /* Todo en vertical en móvil */
    gap: 32px;
    max-width: 1152px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Blacksword', serif;
    font-size: 3.5vh;
    line-height: 1.25;
    color: #111112;
    margin-bottom: 16px;
    font-weight: 800;
}

.hero-description {
    margin-left: 0;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    margin: 20px auto 0 auto;
    box-sizing: border-box;
}

/* Estilo unificado para los botones en MÓVIL */
.hero-actions .btn {
    font-family: 'Literata-Regular', serif;
    flex: 1;
    /* Obliga a ambos botones a medir exactamente el 50% */
    width: 100%;
    padding: 12px 4px;
    /* Compacto a los lados para que no desborde */
    font-size: 13px;
    /* Tamaño balanceado para pantallas de celular */
    text-align: center;
    white-space: nowrap;
    /* Mantiene el texto elegante en una sola línea */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hero Img & Componente Flotante */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    /* Espacio intermedio entre la foto y el mapa */
}

.hero-column-item {
    flex: 1;
    width: 50%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero-image-container {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.hero-map-link {
    display: block;
    width: 100%;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.hero-map-link:hover {
    transform: scale(1.02);
    /* Efecto sutil de clic */
}

.map-container {
    border: 1px solid #D6EEF0;
}

.floating-rating,
.floating-location {
    background-color: var(--cream);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
    box-sizing: border-box;
    height: 44px;
    /* Forzamos una altura exacta fija para que midan idéntico */
}

.rating-star,
.location-icon {
    font-size: 18px;
    line-height: 1;
}

.rating-content,
.location-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rating-value,
.location-title {
    font-weight: 700;
    color: #111112;
    font-size: 13px;
    line-height: 1.1;
    margin: 0;
    padding: 0;
}

.rating-text,
.location-text {
    color: #111112;
    font-size: 10px;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* Servicios */

.services-section .services-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 12px 16px 24px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.services-section .services-grid::-webkit-scrollbar {
    display: none;
}

.services-section .services-grid .card {
    flex: 0 0 220px;
    width: 220px;
    scroll-snap-align: start;
}


.services-section {
    background-color: #2B2B2B;
    padding-top: 20px;
    padding-bottom: 96px;
}

.services-section .section-description {
    margin-left: auto;
    margin-right: auto;
}

.services-grid .btn-card {
    font-size: 12px;
    padding: 6px 12px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}


/* 1. ESTRUCTURA BASE UNIFICADA */
.card, 
.services-grid .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 2. VARIANTES DE COLOR (¡Aquí eliminamos el beige molesto!) */
.card-cream {
    background-color: #4cbbbb; 
    border: 0px solid rgba(0, 0, 0, 0.00);
}

.card-navy {
    background-color: var(--navy);
}

/* 3. ELEMENTOS INTERNOS DE LA TARJETA */
.card-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    top: auto; 
    right: auto; 
    background-color: #EBE8E2;
    color: #111112;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: 0.03em;
    z-index: 10;
}

.card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    height: auto;
    box-sizing: border-box;
}

.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    margin-top: auto;
}

/* Galería de trabajos */
.gallery-wrapper {
    margin-top: 80px;
}

.gallery-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    color: var(--navy);
    margin-bottom: 8px;
}

.gallery-subtitle {
    font-family: 'Literata-Light';
    color: #FFFFFF;
    font-size: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-fallback-text {
    min-height: 80px;
    font-size: 11px;
}

/* Sobre Mí */
.about-section {
    background-color: #EBE8E2;
    padding-top: 96px;
    padding-bottom: 5vh;
}

.about-card {
    background-color: var(--stone);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.about-grid {
    background-color: #2B2B2B;
    display: flex;
    flex-direction: column;
}

.about-image-wrapper {
    min-height: 280px;
    overflow: hidden;
}

.profile-img {
    object-position: top;
    min-height: 280px;
}

.profile-fallback {
    min-height: 280px;
}

.about-content {
    background-color: #2B2B2B;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-name {
    font-family: 'Literata-Regular';
    font-weight: 700;
    font-size: 2.5vh;
    color: var(--navy);
    margin-bottom: 5px;
}

.about-description {
    font-family: 'Literata-Regular';
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0vh;
}

.about-badges {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Testimonios */
.reviews-section {
    background-color: var(--stone);
    padding-top: 96px;
    padding-bottom: 96px;
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.review-box {
    background-color: var(--cream);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--stone);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stars {
    color: var(--amber);
    font-size: 20px;
    margin-bottom: 20px;
}

.review-text {
    color: var(--navy);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.avatar-amber {
    background-color: rgba(76, 187, 187, 0.2);
    color: var(--amber);
}

.avatar-navy {
    background-color: var(--navy);
    color: var(--cream);
}

.reviewer-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 16px;
}

.reviewer-meta {
    color: var(--muted);
    font-size: 14px;
}

/* Stats */
.stats-grid {
    margin-top: 56px;
    border-top: 1px solid rgba(214, 238, 240, 0.6);
    padding-top: 48px;
    display: grid;
    grid-template-columns: 1fr;
    /* Apilados en móvil */
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 36px;
    color: var(--navy);
}

.stat-label {
    color: var(--muted);
    font-weight: 500;
    margin-top: 4px;
}

/* Agendamiento (Booking) */
.booking-section {
    background-color: #2B2B2B;
    padding-top: 20px;
    padding-bottom: 5vh;
}

.section-header {
    text-align: center;
    margin-bottom: 28px; /* Reducido de 64px a 28px para que no deje un hueco gigante en el teléfono */
}

.booking-description {
    font-size: 14px;
    line-height: 1.5;
    color: #cbd5e1; /* Un blanco/gris suave muy legible */
    max-width: 320px; /* Evita que las líneas se estiren demasiado a los lados */
    margin: 0 auto;
    text-align: center;
}

.booking-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.booking-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
}

.info-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--cream);
    margin-bottom: 20px;
}

.hours-list {
    list-style: none;
    padding: 0;             /* Eliminamos cualquier padding por defecto de la lista */
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;              /* Separación vertical elegante entre renglones */
    color: #cbd5e1;         /* Color gris claro limpio y legible */
}

.hours-list li {
    display: flex;
    flex-direction: row;    /* Forzamos a que siempre se mantengan de lado a lado */
    justify-content: space-between; /* Manda el día a la izquierda y la hora a la derecha */
    align-items: center;    /* Centra verticalmente ambos textos si uno es más alto */
    width: 100%;
    font-size: 15px;        /* Solución: Bajamos de 18px a 15px para que quepa perfecto en móviles */
    gap: 8px;               /* Espacio mínimo de seguridad en el centro */
}

/* Evitamos drásticamente que los números o días se partan por la mitad */
.hours-list li span {
    white-space: nowrap;    /* ¡La clave! Impide que cualquier elemento salte abajo */
}

/* SMS Card */
.sms-cta-box {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    
    /* SOLUCIÓN: Bajamos de 40px a 24px arriba/abajo para matar el espacio vacío */
    padding: 24px 16px; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

/* El emoji de la burbuja (Más compacto) */
.sms-icon {
    font-size: 42px; /* Reducido de 60px a 42px para balancear el diseño en celular */
    margin-bottom: 12px;
}

/* El título de la tarjeta */
.sms-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px; /* Ajuste fino de lectura */
    color: var(--cream);
    margin: 0 0 20px 0; /* Espaciado controlado hacia el botón */
}

/* ¡EL BOTÓN REFORMADO (Ancho, cómodo y en un solo renglón!) */
.booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;              /* Se estira adaptándose a tu grilla responsive */
    max-width: 260px;         /* Ancho perfecto para que no se vea gigante */
    height: 48px;             /* Altura ideal para pulsar cómodamente */
    padding: 0 16px !important;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap !important; /* Fuerza a "Send a Text" a estar en una sola línea */
    margin: 0 auto 16px auto;
    box-sizing: border-box;
}

.btn-book-nav {
    background-color: #FFFFFF;
    color: #111112;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.sms-svg {
    color: #111112;
    flex-shrink: 0;
}

.booking-btn {
    gap: 12px;
    margin-bottom: 20px;
}

.phone-wrapper {
    margin-top: 12px;
}

.phone-link {
    font-family: 'Literata-Light';
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
    font-size: 2vh;
}

.phone-link:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: #111112;
    color: var(--muted);
    padding-top: 32px;
    padding-bottom: 32px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    font-size: 16px;
}

.footer-brand {
    color: var(--muted);
}

/* ==========================================================================
   4. MEDIA QUERIES (Adaptación Desktop / Tablet desde Pantallas > 768px)
   ========================================================================== */
@media (min-width: 768px) {
    .header-container {
        padding: 16px 24px;
    }

    .hero-image-wrapper {
        max-width: 580px;
        /* Al subir este valor, tanto el mapa como la foto se agrandarán automáticamente */
        gap: 24px;
        margin: 0;
        /* Lo alinea con el flujo de la rejilla de escritorio */
    }

    .floating-rating,
    .floating-location {
        position: absolute;
        bottom: 16px;
        width: max-content;
        padding: 10px 16px;
        margin-top: 0;
        border-radius: 12px;
    }

    /* La de reviews flota abajo a la izquierda de la foto */
    .floating-rating {
        left: 16px;
    }

    /* La de ubicación flota abajo a la izquierda del mapa */
    .floating-location {
        left: 16px;
    }

    /* Escalamos las fuentes en pantallas grandes para que luzcan profesionales */
    .rating-star,
    .location-icon {
        font-size: 24px;
    }

    .rating-value,
    .location-title {
        font-size: 15px;
    }

    .rating-text,
    .location-text {
        font-size: 12px;
    }

    .logo-img {
        height: 48px;
        /* Más grande en monitor */
    }

    /* Componentes Generales */
    .btn {
        padding: 14px 24px;
        font-size: 16px;
    }

    .badge {
        width: auto;
    }

    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .nav-link {
        color: #FFFFFF;
        text-decoration: none;
        font-weight: 600;
    }

    .nav-link:hover {
        color: #C9A84C;
    }

    .btn-mobile-only {
        display: none;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 112px;
        padding-bottom: 112px;
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Texto a la izquierda, foto a la derecha */
        align-items: center;
        gap: 64px;
        padding: 60px 24px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-actions {
        max-width: 480px;
        justify-content: flex-start;
        gap: 16px;
        margin: 0;
    }

    .hero-actions .btn {
        flex: none;
        width: auto;
        min-width: 190px;
        padding: 16px 32px;
        font-size: 16px;
        white-space: nowrap;
    }

    /* Servicios */
    .services-grid {
        /* En pantallas grandes se expande elegantemente a 3 columnas */
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .services-grid .card-title {
        font-size: 16px;
    }

    .services-grid .card-price {
        font-size: 14px;
    }

    /* Galería */
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        /* 6 Columnas estables */
    }

    /* Sobre Mí */
    .about-grid {
        display: grid;
        grid-template-columns: 320px 1fr;
    }

    .about-image-wrapper {
        min-height: 100%;
    }

    /* Testimonios */
    .reviews-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Agendamiento (Booking) */
    .booking-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        align-items: start;
    }

    /* Footer */
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}



/* --- CONTENEDOR GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* --- ESTRUCTURA DE LA TARJETA --- */
.services-grid .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
}

.services-grid .card:nth-child(1) { background-color: #70859B; }
.services-grid .card:nth-child(2) { background-color: #70859B; }
.services-grid .card:nth-child(3) { background-color: #E3BAB2; }
.services-grid .card:nth-child(4) { background-color: #E3BAB2; }
.services-grid .card:nth-child(5) { background-color: #F2E8E2; }
.services-grid .card:nth-child(6) { background-color: #F2E8E2; }

/* ==========================================================================
   GALERÍA DE SERVICIOS: ELIMINACIÓN DEL CUADRO BEIGE INTRUSO
   ========================================================================== */

/* 1. EL CONTENEDOR (Eliminamos el padding y usamos un borde real grueso) */
.services-grid .card-image-wrapper {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden;
  
  /* Grosor del marco controlado por el padding */
  padding: 3px !important;
  border-radius: 14px !important;
  
  /* Degradado Metalizado Rose Gold (Sustituye al dorado plano #d4af37) */
  background: linear-gradient(135deg, #f3a683 0%, #f7d794 30%, #e77f67 70%, #cf6a56 100%) !important;
  
  /* Sombra suave metálica */
  box-shadow: 0 4px 12px rgba(231, 127, 103, 0.25);
}

/* Imagen interna dentro del marco */
.services-grid .card-image-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  
  /* Curvatura interna proporcional (14px radio ext - 3px marco = 11px radio int) */
  border-radius: 11px !important;
}

/* 3. EL FALLBACK (Mantiene la consistencia si no carga la imagen) */
.card-image-wrapper .fallback {
    min-height: 130px;
    background-color: #d4af37;
    border-radius: 6px;
}

/* --- CONTENEDOR INFERIOR DE TEXTO (Pequeño y compacto) --- */
.services-grid .card-body {
    padding: 10px;
    /* Reducido al mínimo */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    /* Rellena el resto de la tarjeta de forma sutil */
    box-sizing: border-box;
}

/* Título compacto */
.services-grid .card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 0px 0;
    min-height: 32px;
    /* Espacio justo para 2 líneas máximo sin estirarse de más */
}

/* Fila de precio y botón */
.services-grid .card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4px;
    margin-top: auto;
    /* Se amarra abajo */
}

.services-grid .card-price {
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

/* Botón estilizado y compacto */
.services-grid .btn-card {
    flex: none;
    width: auto;
    min-width: 58px;
    height: 28px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 13px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



/* ==========================================================================
   CLASE UTILITARIA GLOBAL: MARCO DORADO PREMIUM
   ========================================================================== */

.gold-frame-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: block;
  
  /* Grosor del marco controlado por el padding */
  padding: 3px !important; 
  border-radius: 14px !important;
  
  /* Degradado Metalizado Rose Gold */
  background: linear-gradient(135deg, #f3a683 0%, #f7d794 30%, #e77f67 70%, #cf6a56 100%) !important;
  
  /* Sombra elegante que resalta el tono Rose Gold */
  box-shadow: 0 4px 15px rgba(231, 127, 103, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover opcional para dar dinamismo a las tarjetas */
.gold-frame-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(231, 127, 103, 0.4);
}

/* Imagen interna */
.gold-frame-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  
  /* Curvatura interna proporcional (14px radio exterior - 3px marco = 11px radio interior) */
  border-radius: 11px !important;
}

/* ==========================================================================
   VENTANA FLOTANTE DE RESERVAS (GlossGenius Modal)
   ========================================================================== */

/* 1. El fondo oscuro detrás de la ventana flotante */
.booking-modal-overlay {
    display: none;             /* Oculta por defecto (JS la encenderá) */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* Fondo semitransparente oscuro */
    backdrop-filter: blur(4px); /* Suave desenfoque de fondo premium */
    z-index: 9999;             /* Máxima prioridad para flotar sobre todo */
    justify-content: center;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
}

/* 2. El contenedor de la ventana */
.booking-modal-content {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    max-width: 480px;          /* Ancho perfecto para pantallas móviles y web */
    height: 85vh;              /* Toma el 85% del alto de la pantalla del celular */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    animation: fadeInModal 0.3s ease-out; /* Animación de entrada suave */
}

/* 3. El marco que clona tu agenda de GlossGenius */
.booking-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* 4. El botón estilizado para cerrar la ventana (X) */
.booking-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10000;            /* Siempre por encima del iframe */
    transition: transform 0.2s ease;
}

.booking-modal-close:active {
    transform: scale(0.9);     /* Efecto táctil al presionar con el pulgar */
}

/* 5. Animación elegante de aparición */
@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Contenedor padre oculta las fotos fuera de pantalla */
.gallery-wrapper {
    overflow: hidden;
    width: 100%;
}

/* La grilla pasa a ser una tira horizontal continua */
.gallery-wrapper .gallery-grid {
    display: flex;
    width: max-content;
    gap: 16px;
    padding: 12px 0;
    
    /* Animación continua de 20 segundos */
    animation: gallery-scroll 20s linear infinite;
}

/* Pausa suave cuando el usuario toca o pasa el mouse por encima */
.gallery-wrapper .gallery-grid:hover {
    animation-play-state: paused;
}

/* Ajustes limpios por cada tarjeta */
.gallery-wrapper .gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 180px;      /* Ancho de cada foto en la tira */
    flex-shrink: 0;   /* Evita que Flexbox encoja las fotos */
}

@keyframes gallery-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 8px)); 
    }
}