/* === BARIAESTHETIC DESIGN SYSTEM === */

/* Variables CSS - Sistema de diseño */
@font-face {
    font-family: 'DreamCottage';
    src: url('../../fonts/Lato/DreamCottage-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../fonts/Lato/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../fonts/Lato/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
}

body {
    font-family: 'DreamCottage' !important;
}
:root {
    /* Colores principales */
    --primary-beige: #d4b896;
    --primary-light-beige: #e6d3b7;
    --primary-dark-beige: #c2a373;
    --accent-brown: #8b6f47;
    --text-dark: #2c2c2c;
    --text-light: #958b8b;
    --white: #ffffff;

    /* Paleta de fondos cream */
    --bg-cream-1: #f0ca8c;
    --bg-cream-2: #f0eae0;
    --bg-cream-3: #ede6db;
    --bg-cream-4: #ffcb7f;

    /* Tipografía */
    --font-primary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-thin: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Espaciado responsive */
    --spacing-xs: clamp(0.5rem, 2vw, 0.75rem);
    --spacing-sm: clamp(0.75rem, 3vw, 1rem);
    --spacing-md: clamp(1rem, 4vw, 1.5rem);
    --spacing-lg: clamp(1.5rem, 5vw, 2rem);
    --spacing-xl: clamp(2rem, 6vw, 3rem);
    --spacing-xxl: clamp(3rem, 8vw, 4rem);

    /* Bordes */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 20px;
    --border-radius-xl: 50px;

    /* Sombras */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}



body {
    font-family: 'DreamCottage', cursive;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* === COMPONENTES REUTILIZABLES === */

/* Sistema de botones */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-family: 'Roboto' !important;
    font-weight: 100;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background:#5B0105;
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark-beige);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background: transparent;
    color: var(--primary-beige);
    border: 2px solid var(--primary-beige);
}

.btn-outline:hover {
    background: var(--primary-beige);
    color: var(--text-dark);
}

/* Utilidades de texto */
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}

/* === LAYOUT PRINCIPAL === */

.hero-container {
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    background: linear-gradient(
        135deg,
        var(--bg-cream-1) 0%,
        var(--bg-cream-2) 30%,
        var(--bg-cream-3) 60%,
        var(--bg-cream-4) 100%
    );
    position: relative;
    overflow: hidden;
}

/* === NAVEGACIÓN === */

/* === NAVEGACIÓN === */
/* === NAVEGACIÓN === */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #5B0010;
    z-index: 1000;
    transition: background-color 0.6s ease, backdrop-filter 0.6s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(44, 44, 44, 0.9) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(91, 1, 5, 0.15);
    transition: background-color 0.6s ease, backdrop-filter 0.6s ease, box-shadow 0.4s ease;
}

.nav-content {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    height: 80px;
    align-items: center;
    font-family: 'Roboto' !important;
    color: #FDF7F2;
}

.logo-link {
    margin-right: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-menu > li:last-child {
    margin-left: auto;
}

.nav-link {
  text-decoration: none !important;
  font-size: 0.90rem;
  color: #ffff !important;
  font-weight: 300;
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
  font-family: 'Roboto' !important;
  gap: 5px;
  letter-spacing: 0.8px;
}

.nav-link:hover {
    color: #bea28a;
}

/* === DROPDOWN MENU PRINCIPAL === */
.nav-item-dropdown {
    position: relative;
}

.dropdown-icon {
    transition: transform 0.3s ease;
    margin-left: 3px;
    width: 12px;
    height: 8px;
}

.nav-item-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(240, 234, 224, 0.98);
    backdrop-filter: blur(15px);
    min-width: 260px;
    padding: 12px 0;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    margin-top: 15px;
    z-index: 1001;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(240, 234, 224, 0.98);
    border-radius: 2px;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: #5B0105;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 350;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-link:hover {
    background: rgba(212, 184, 150, 0.3);
    color: #8B6F47;
    padding-left: 25px;
}

/* === DROPDOWN DE SEGUNDO NIVEL === */
.dropdown-item-has-children {
    position: relative;
}

.dropdown-item-has-children > .dropdown-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 35px;
}

.dropdown-icon-sub {
    margin-left: 10px;
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
    width: 10px;
    height: 6px;
    flex-shrink: 0;
}

.dropdown-item-has-children:hover .dropdown-icon-sub {
    transform: rotate(0deg);
}

.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: rgba(240, 234, 224, 0.98);
    backdrop-filter: blur(15px);
    min-width: 300px;
    padding: 12px 0;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    margin-left: 5px;
}

.dropdown-item-has-children:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-link-sub {
    display: block;
    padding: 10px 20px;
    color: #5B0105;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 350;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-link-sub:hover {
    background: rgba(212, 184, 150, 0.3);
    color: #8B6F47;
    padding-left: 25px;
}

/* === BOTÓN TIENDA === */
.btn-primary {
    background: #fff;
    color: #5B0105;
    padding: 6px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid #5B0105;
    white-space: nowrap;
}

.btn-primary:hover {
    background: transparent;
    color: #5B0105;
    transform: translateY(-2px);
}

/* === HAMBURGUESA === */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    background: none;
    border: none;
    z-index: 1002;
}

.hamburger-line {
    width: 26px;
    height: 2px;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

/* Línea del medio más corta — detalle premium */
.hamburger-line:nth-child(2) {
    width: 18px;
    margin-left: auto;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    width: 26px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
    width: 26px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === RESPONSIVE MÓVIL === */
@media (max-width: 768px) {

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar {
        padding: 0;
    }

    .nav-content {
        padding: 0 ! important;
        height: 65px;
    }

    .logo-img {
        height: 38px;
    }

    /* ── Panel lateral ── */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 88%;
        height: 100vh;
        background: #5B0105;
        flex-direction: column;
        padding: 0;
        gap: 0;
        transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
        align-items: stretch;
    }

    /* Scrollbar invisible pero funcional */
    .nav-menu::-webkit-scrollbar { width: 0; }

    .nav-menu.active {
        right: 0;
    }

    /* ── Cabecera del panel (espacio para el logo / X) ── */
    .nav-menu::before {
        content: '';
        display: block;
        height: 65px;
        min-height: 65px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* ── Línea decorativa superior del panel ── */
    .nav-menu::after {
        content: '';
        display: block;
        order: -1; /* va al principio */
    }

    /* ── Items de primer nivel ── */
    .nav-menu > li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    /* Animación stagger al abrir */
    .nav-menu.active > li:nth-child(1) { opacity: 1; transform: translateX(0); transition-delay: 0.08s; }
    .nav-menu.active > li:nth-child(2) { opacity: 1; transform: translateX(0); transition-delay: 0.13s; }
    .nav-menu.active > li:nth-child(3) { opacity: 1; transform: translateX(0); transition-delay: 0.18s; }
    .nav-menu.active > li:nth-child(4) { opacity: 1; transform: translateX(0); transition-delay: 0.23s; }
    .nav-menu.active > li:nth-child(5) { opacity: 1; transform: translateX(0); transition-delay: 0.28s; }
    .nav-menu.active > li:nth-child(6) { opacity: 1; transform: translateX(0); transition-delay: 0.33s; }

    /* ── Nav links principales ── */
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 24px;
        color: rgba(255, 255, 255, 0.92) !important;
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        background: transparent;
        transition: background 0.25s ease, padding-left 0.25s ease, color 0.25s ease;
        position: relative;
    }

    /* Barra izquierda al hover */
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 20%;
        height: 60%;
        width: 0;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 0 2px 2px 0;
        transition: width 0.25s ease;
    }

    .nav-link:hover::before,
    .nav-item-dropdown.active > .nav-link::before {
        width: 3px;
    }

    .nav-link:hover,
    .nav-item-dropdown.active > .nav-link {
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff !important;
        padding-left: 30px;
    }

    /* Flecha de desktop: ocultar */
    .dropdown-icon {
        display: none !important;
    }

    /* Chevron derecho para items con dropdown */
    .nav-item-dropdown > .nav-link::after {
        content: '';
        width: 7px;
        height: 7px;
        border-right: 1.5px solid rgba(255,255,255,0.5);
        border-bottom: 1.5px solid rgba(255,255,255,0.5);
        transform: rotate(-45deg) translateY(-1px);
        transition: transform 0.3s ease, border-color 0.3s ease;
        flex-shrink: 0;
        margin-left: 8px;
    }

    .nav-item-dropdown.active > .nav-link::after {
        transform: rotate(45deg) translateY(-3px);
        border-color: rgba(255,255,255,0.9);
    }

    /* ── Dropdown primer nivel ── */
    .dropdown-menu {
        position: static;
        display: block;
        width: 100%;
        background: rgba(0, 0, 0, 0.18);
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 0;
        list-style: none;
        border-top: none;
    }

    .dropdown-menu::before {
        display: none;
    }

    /* max-height lo controla el JS con scrollHeight real — sin glitch */
    .nav-item-dropdown.active > .dropdown-menu {
        padding: 8px 0;
    }

    /* ── Dropdown links ── */
    .dropdown-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 24px 14px 36px;
        color: rgba(255, 255, 255, 0.75) !important;
        font-size: 0.82rem;
        font-weight: 400;
        letter-spacing: 0.5px;
        white-space: normal;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
        text-transform: none;
    }

    .dropdown-link:hover {
        background: rgba(255, 255, 255, 0.07);
        color: rgba(255, 255, 255, 0.95) !important;
        padding-left: 42px;
    }

    /* ── Ícono sub-dropdown ── */
    .dropdown-icon-sub {
        display: none !important; /* lo reemplazamos con ::after */
    }

    .dropdown-item-has-children > .dropdown-link::after {
        content: '';
        width: 6px;
        height: 6px;
        border-right: 1.5px solid rgba(255,255,255,0.4);
        border-bottom: 1.5px solid rgba(255,255,255,0.4);
        transform: rotate(-45deg);
        transition: transform 0.3s ease, border-color 0.3s ease;
        flex-shrink: 0;
        margin-left: 8px;
    }

    .dropdown-item-has-children.active > .dropdown-link::after {
        transform: rotate(45deg) translateY(-2px);
        border-color: rgba(255,255,255,0.8);
    }

    .dropdown-item-has-children.active > .dropdown-link {
        color: rgba(255, 255, 255, 0.95) !important;
    }

    /* ── Sub-dropdown segundo nivel ── */
    .dropdown-submenu {
        position: static;
        display: block;
        width: 100%;
        background: rgba(0, 0, 0, 0.15);
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 0;
        list-style: none;
    }

    .dropdown-item-has-children.active > .dropdown-submenu {
        padding: 8px 0;
    }

    .dropdown-link-sub {
        display: block;
        padding: 12px 24px 12px 52px;
        color: rgba(255, 255, 255, 0.6) !important;
        font-size: 0.78rem;
        font-weight: 400;
        letter-spacing: 0.3px;
        white-space: normal;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
        position: relative;
    }

    /* Punto decorativo antes de cada sub-item */
    .dropdown-link-sub::before {
        content: '—';
        position: absolute;
        left: 36px;
        color: rgba(255, 255, 255, 0.25);
        font-size: 0.6rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .dropdown-link-sub:hover {
        background: rgba(255, 255, 255, 0.06);
        color: rgba(255, 255, 255, 0.9) !important;
        padding-left: 56px;
    }

    /* ── Botón Tienda ── */
    .nav-menu > li:last-child {
        margin: 0;
        padding: 24px 24px 32px;
        border-bottom: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: auto;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.35s ease 0.35s, transform 0.35s ease 0.35s;
    }

    .nav-menu.active > li:last-child {
        opacity: 1;
        transform: translateX(0);
    }

    .btn-primary {
        display: block;
        width: 100%;
        margin: 0;
        padding: 15px 20px;
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 6px;
        text-align: center;
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        transition: background 0.3s ease, border-color 0.3s ease;
    }

    .btn-primary:hover {
        background: rgba(255, 255, 255, 0.18) !important;
        border-color: rgba(255, 255, 255, 0.6);
        color: #ffffff !important;
        transform: none;
    }

    /* ── Overlay oscuro detrás del menú ── */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0);
        z-index: 998;
        transition: background 0.45s ease;
        backdrop-filter: blur(0px);
    }

    .mobile-menu-overlay.active {
        display: block;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(3px);
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .nav-menu {
        width: 100%;
        max-width: 100%;
    }

    .logo-img {
        height: 34px;
        padding-left: 10px;
    }

    .hamburger-line {
        width: 24px;
    }

    
}
/* === FIN DE LA BARRA DE NAVEGACIÓN === */


/* === CONTENIDO HERO === */

.hero-content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 100vh;
    align-items: center;
    padding: var(--spacing-xxl) var(--spacing-lg);
    gap: var(--spacing-xl);
    margin: 0 auto;
}

.hero-text {
    display: flex;
    padding-left: 80px;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: var(--font-weight-thin);
    color: #5B0105;
    line-height: 1.2;
    letter-spacing: clamp(1px, 0.5vw, 2px);
    font-family: 'DreamCottage' !important;
}

.hero-subtitle {
    font-size: 3rem;
    color: #5B0105;
    font-family: 'DreamCottage' !important;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 10;
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: #5B0105;
    margin-bottom: 1rem;
    max-width: 500px;
    line-height: 1.7;
    font-family: 'Roboto' !important;
    font-weight:100;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* === IMAGEN HERO === */

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80vh;
    margin: 0 auto;
}

.model-image {
    width: 80vw;
    height: 80vh;
    max-width: none;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
    mask: linear-gradient(
        to top,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 3%,
        rgba(0, 0, 0, 0.7) 8%,
        rgba(0, 0, 0, 1) 15%
    );
    -webkit-mask: linear-gradient(
        to top,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 3%,
        rgba(0, 0, 0, 0.7) 8%,
        rgba(0, 0, 0, 1) 15%
    );
}

/* === ANIMACIONES === */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #5B0105;
    color: #ffffff;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

/* === RESPONSIVE DESIGN === */

/* Tablet y móvil grande */
@media (max-width: 1024px) {
    .hero-content {
        gap: var(--spacing-lg);
        padding: var(--spacing-xl) var(--spacing-md);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .hero-text {
        padding-left: 10px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
        padding: calc(80px + var(--spacing-md)) var(--spacing-md) var(--spacing-md);
    }

    .hero-image {
        order: -1;
        max-width: 450px;
        height: clamp(400px, 60vh, 600px);
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* Móvil */
@media (max-width: 480px) {

    .hero-text {
        padding-left: 10px;
    }

    .hero-image {
        max-width: 350px;
        height: clamp(350px, 50vh, 500px);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-content {
        padding: calc(70px + var(--spacing-sm)) var(--spacing-sm) var(--spacing-sm);
    }
}

/* Móvil muy pequeño */
@media (max-width: 320px) {

    .hero-text {
        padding-left: 10px;
    }

    .hero-image {
        max-width: 280px;
        height: clamp(300px, 45vh, 420px);
    }

    .logo {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .model-image {
        height: auto;
    }
}

/* Mejoras para pantallas muy grandes */
@media (min-width: 1400px) {

    .hero-image {
        max-width: 700px;
        height: clamp(600px, 85vh, 900px);
    }
}

/* Optimizaciones para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .nav-link:hover {
        transform: none;
    }

    .btn:active {
        transform: scale(0.98);
    }

    .model-image {
        height: auto;
    }
}

/* Modo oscuro (si el sistema lo prefiere) */
@media (prefers-color-scheme: dark) {
    .navbar.scrolled {
        background: rgba(44, 44, 44, 0.9);
    }

    .nav-link {
        color: #FFFF;
    }
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === RESTO DE LAS SECCIONES (continúan igual) === */

/*seccion de informacion*/

.services-section {
    padding: 80px 0;
    background-color: #FDF7F2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-content {
    display: flex;
    align-items: center;
    gap: 60px;
    color : #FDF7F2;
    flex-wrap: wrap;
}

/* Imagen del equipo */
.team-image {
    flex: 1;
    min-width: 300px;
}

.team-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

/* Contenido de servicios */
.services-info {
    flex: 1;
    min-width: 400px;
}

.services-title {
    margin-bottom: 10px;
    font-family: 'DreamCottage' !important;
    font-size: 2.6rem;
    font-weight: 100;
    font-stretch: condensed;
    color: #5B0105;
    line-height: 1.2;
    font-family: 'DreamCottage' !important; 
}

.services-description {
    font-family: 'Roboto' !important;
    font-weight: 300;
    font-size: 1.3rem;
    color: #5B0105;
    line-height: 1.6;
    margin-bottom: 10px;
}

.services-subtitle {
    font-size: 1.5rem;
    color: #5B0105;
    margin-bottom: 10px;
    font-weight: 500;
    font-family: 'Roboto'  !important;
}

/* Grid de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0px;
  background: #5B0105;
  border-radius: 20px;
  color: white;
  transition: background-color 0.6s ease, backdrop-filter 0.6s ease, box-shadow 0.4s ease;
  cursor: pointer;
  gap: 15px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(184, 149, 107, 0.3);
}

/* CONTENIDO A LA IZQUIERDA */


.service-content {
    font-family: 'Dream Cottage' !important;
    text-align: left;
    flex: 1; /* Ocupa el espacio disponible */
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 100;
    font-family: 'Roboto' !important;
    margin: 0;
    color: #FDF7F2;
    
    line-height: 1.2;
}

.service-content p {
    font-size: 1.5rem;
    font-family: 'Roboto' !important;
    margin: 0;
    line-height: 1.2;
    color: #FDF7F2;
}

/* ICONO A LA DERECHA */
.service-icon {
    width: 50px;
    height: 50px;
    margin-left: 20px; /* Espacio entre texto e icono */
    margin-right: 0; /* Quitar margen derecho */
    flex-shrink: 0;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

/* Si usas imagen en lugar de SVG */
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Botón Ver más */
.services-action {
    text-align: right;
}

.btn-see-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4a5568;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-see-more:hover {
    background-color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 85, 104, 0.3);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .team-image,
    .services-info {
        min-width: auto;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .services-action {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .services-title {
        font-size: 1.8rem;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        margin-left: 15px; /* Ajustar para móvil */
    }
    
    .service-content h3,
    .service-content p {
        font-size: 1rem;
    }
}
/* === SECCIÓN DE PROMOCIONES === */
.team-section {
    padding: 80px 0;
    background-color: #FDF7F2; /* Fondo crema suave */
    overflow: hidden;
}

.team-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* --- BLOQUE DE TEXTO --- */
.team-text-content {
    flex: 1;
    max-width: 500px;
    z-index: 2;
    margin-left: 80px;
}

.team-main-title {
    font-family: 'DreamCottage' !important;
    font-size: 3.5rem;
    color: #5B0105;
    line-height: 1.1;
    font-weight: 100;
    margin-bottom: 25px;
}

.team-small-text{
    font-size: 2.7rem; /* ajusta el tamaño que quieras */
}

.team-main-title span {
    display: block;
}

.team-description {
  font-family: 'Roboto' !important;
  font-size: 1.20rem;
  color: #5B0105;
  line-height: 1.6;
  margin-bottom: 35px;
  text-align: left;
  font-weight: 200;
}

.btn-team {
  display: inline-block;
  padding: 2px 8px;
  background-color: #5B0105;
  color: white;
  text-decoration: none;
  font-weight: 100;
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: background 0.3s ease;
  font-family: 'Roboto' !important;
}

.btn-team:hover {
    background-color: #3d0003;
    color: white;
}

/* --- BLOQUE DE IMAGEN --- */
.team-image-wrapper {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: center;
}

.team-doctors-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    /* Esto es clave para que no se vea cortada bruscamente arriba */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .team-flex-container {
        flex-direction: column;
        text-align: center;
    }
    
    .team-text-content {
        max-width: 100%;
        order: 1;
        margin-left: 0;
    }

    .team-description {
        text-align: center;
    }

    .team-image-wrapper {
        order: 2;
        margin-top: 30px;
    }
    
    .team-main-title {
        font-size: 2.8rem;
    }
}
/*FIN DE LA SECCION*/


/* Sección de Promociones */
.promotions-section {
    padding: 80px 0;
    background-color: #FDF7F2; /* Color crema suave de fondo */
    text-align: center;
}

.promotions-main-title {
    font-family: 'DreamCottage' !important;
    font-size: 3.5rem;
    color: #5B0105;
    font-weight: 100;
    margin-bottom: 50px;
}

.promotions-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.promo-item {
    flex: 1;
    max-width: 1000px;
    min-width: 300px;
}

/* La caja que contiene la imagen (como pediste, la imagen ya trae el diseño) */
.promo-card {
    width: 100%;
    border-radius: 25px; /* Bordes redondeados como en la foto */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-10px);
}

.promo-image {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Textos debajo de la imagen */
.promo-info {
    margin-top: 20px;
}

.promo-title {
    font-family: 'DreamCottage' !important;
    font-size: 2.2rem;
    color: #5B0105;
    font-weight: 300;
    margin-bottom: 10px;
}

.price-regular {
    font-family: 'Roboto' !important;
    font-size: 0.9rem;
    color: #5B0105;
    font-weight: 300;
    text-transform: uppercase;
    margin: 0;
}

.price-promo {
    font-family: 'Roboto' !important;
    font-size: 1.8rem;
    color: #5B0105;
    font-weight: 300;
    margin: 0;
}

/* Botón inferior */
.promotions-section {
    padding: 80px 0;
    text-align: center; /* Centra los títulos y el contenido inline */
}
.btn-ver-mas {
    display: inline-block;
    background-color: #5B0105; /* El color guinda de tu marca */
    color: #FDF7F2;
    padding: 6px 12px !important;
    border-radius: 8px; /* Opcional: puedes ponerlo más cuadrado o redondo */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Roboto' !important;
    font-weight:300;
}

.btn-ver-mas:hover {
    background-color: #3d0003;
    transform: scale(1.05); /* Pequeño efecto de zoom al pasar el mouse */
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .promotions-grid {
        flex-direction: column;
        align-items: center;
    }
    .promotions-main-title {
        font-size: 2.5rem;
    }
}

.btn-promo {
    margin: 0 auto !important;
}


/* === SECCIÓN DE ESPACIOS DISEÑADOS === */
.spaces-section {
    padding: 80px 0;
    background-color: #5B0105; /* Fondo Guinda pedido */
    color: white;
    overflow: hidden;
}

.spaces-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.spaces-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Texto a la izquierda, Galería a la derecha */
    gap: 50px;
    align-items: center;
}

/* --- ESTILO DE TEXTO (IZQUIERDA) --- */
.spaces-text-info {
    font-family: 'DreamCottage' !important;
}

.spaces-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 100;
}
.spaces-small{
    font-size: 2.5rem; /* un poco más pequeño que 3rem */
}

/* Estilo para el recuadro blanco detrás de "diseñados para ti" si quieres imitar la imagen 1 */
.highlight-title {
    background-color: #FDF7F2;
    color: #5B0105;
    padding: 5px 20px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 10px;
    font-size: 2.8rem;
}

.spaces-description {
    font-family: 'Roboto' !important;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #FDF7F2;
}

.spaces-description p {
  margin-bottom: 20px;
  font-family: 'Roboto' !important;
  font-weight: 100;
}

.final-call {
    margin-top: 30px;
}

/* --- ESTILO DE GALERÍA (DERECHA) --- */
.spaces-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.gallery-top-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.gallery-item {
    border-radius: 30px; /* Bordes suaves */
    overflow: hidden;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Altura controlada para las imágenes */
.gallery-top-row .gallery-item {
    flex: 1 1 0; /* Esto obliga a que ambas cajas midan EXACTAMENTE lo mismo */
    height: 250px;
    border-radius: 30px;
    overflow: hidden;
}

.gallery-large {
    width: 100%;
    height: 300px;
    border-radius: 40px;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .gallery-top-row {
        gap:15px;
    }
    .spaces-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .spaces-title {
        font-size: 2.8rem;
    }
    
    .highlight-title {
        font-size: 2.2rem;
    }

    .gallery-top-row .gallery-item {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-top-row {
        flex-direction: column;
        gap: 15px;
    }
}
/* === SECCIÓN DE NUESTRA INSTALACIÓN === */
.location-section {
    padding: var(--spacing-xxl) 0;
    background: #FFF7F1;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

/* Información de la clínica */
.location-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-title {
    font-size: 2.8rem !important; /* Tamaño para la palabra "Nuestra" */
    font-weight: 100 !important;
    font-family: 'DreamCottage', sans-serif !important;
    color: #5B0105 !important;
    line-height: 1 !important; /* Ajustado para que no haya tanto espacio */
    text-transform: none !important;
}

/* Este es el que hace que "Instalación" sea más grande */
.location-title-bottom {
    display: block !important; /* Asegura que se comporte como bloque para el tamaño */
    font-size: 3.5rem !important; /* Aquí ajustas qué tan grande lo quieres */
    font-weight: 400 !important; /* Opcional: un poco más de grosor para destacar */
    margin-top: 5px !important;
}

/* Badge de sede */
.location-badge {
    align-self: stretch;
    width: 100%;
}

.badge-text {
    width: 100%;
    display: block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: #fff;
    border: 2px solid #5B0105;
    color: #5B0105;
    border-radius: 15px;
    font-weight: var(--font-weight-medium);
    font-family: 'Segoe UI';
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-align: left;
}

/* Foto de recepción */
.reception-photo {
    position: relative;
    height: 300px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-bottom: 25px;
}

.reception-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.reception-photo:hover .photo-overlay {
    opacity: 0;
}

.photo-label {
    color: var(--white);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: var(--font-weight-bold);
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Detalles de la clínica */
.clinic-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.icon-wrapper {
    background-color: #5B0010;
    border-radius: 8px;
    /* Ajuste para que el contenedor sea más pequeño y cuadrado */
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon {
    /* Ajuste del icono interno */
    width: 100%; 
    height:100%;
}

.schedule-info,
.address-info {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}



.clock-icon,
.location-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--text-light);
    margin-top: 4px;
}

.schedule-text,
.address-text {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra el texto verticalmente respecto al icono */
    gap: 8px;
}

.schedule-days,
.clinic-name {
    font-family: 'Roboto', sans-serif !important;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 400; /* Regular se ve mejor para legibilidad */
    color: #5B0010;   /* El color cobrizo de la maqueta */
    text-transform: uppercase; /* ¡Importante para que se vea igual! */
    letter-spacing: 1px;
}

.schedule-weekend,
.clinic-address {
    font-family: 'Roboto', sans-serif !important;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 300; /* Más delgadito */
    color: #5B0010; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mapa */
.location-map {
    height: 100%;
    min-height: 400px;
}

.map-container {
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* Placeholder del mapa */
.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    padding: var(--spacing-lg);
}

.map-placeholder span {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
}

.map-placeholder p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0.8;
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .location-info {
        order: 1;
    }
    
    .location-map {
        order: 2;
        min-height: 350px;
    }
    
    .badge-text {
        font-size: 1.2rem;
        padding: 12px var(--spacing-md);
        text-align: center;
    }
    
    .reception-photo {
        height: 280px;
    }
    
    .reception-img {
        object-fit: cover;
        object-position: center;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .location-section {
        padding: var(--spacing-xl) 0;
    }
    
    .location-container {
        padding: 0 var(--spacing-md);
    }
    
    .location-content {
        gap: var(--spacing-lg);
    }
    
    .location-info {
        gap: var(--spacing-md);
    }
    
    .location-title {
        font-size: 2.5rem;
    }
    
    .badge-text {
        font-size: 1.1rem;
        padding: 10px var(--spacing-sm);
    }
    
    .reception-photo {
        height: 240px;
    }
    
    .reception-img {
        object-fit: cover;
        object-position: center top;
    }
    
    .location-map {
        min-height: 300px;
    }
    
    .clinic-details {
        gap: var(--spacing-md);
    }
    
    .schedule-info,
    .address-info {
        gap: var(--spacing-sm);
    }
}

/* Móvil muy pequeño */
@media (max-width: 375px) {
    .location-title {
        font-size: 2rem;
    }
    
    .badge-text {
        font-size: 1rem;
        padding: 8px var(--spacing-sm);
    }
    
    .reception-photo {
        height: 200px;
    }
    
    .location-map {
        min-height: 250px;
    }
}

/* Móvil extra pequeño */
@media (max-width: 320px) {
    .reception-photo {
        height: 180px;
    }
    
    .location-map {
        min-height: 200px;
    }
    
    .badge-text {
        padding: var(--spacing-xs) var(--spacing-md);
    }
}

/* Pantallas muy grandes */
@media (min-width: 1400px) {
    .location-container {
        max-width: 1400px;
    }
    
    .location-content {
        gap: clamp(var(--spacing-xxl), 8vw, 120px);
    }
    
    .location-map {
        min-height: 500px;
    }
}

/* Optimizaciones para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .badge-text:hover {
        background: #fff;
        color: #5B0105;
    }
    
    .photo-overlay {
        opacity: 0.7;
    }
    
    .reception-photo:hover .photo-overlay {
        opacity: 0.7;
    }
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    .badge-text,
    .photo-overlay {
        transition: none;
    }
}

/* === SECCIÓN DE TESTIMONIOS === */
/* === SECCIÓN DE TESTIMONIOS REFINADA === */
.testimonials-section {
    padding: 80px 0;
    background-color: #FDF5EE; /* Color crema de fondo de la imagen */
    position: relative;
    text-align: center;
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Encabezado */
.testimonials-header {
    margin-bottom: 40px;
}

.testimonials-subtitle {
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    color: #63403a; /* Tono marrón suave */
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.testimonials-title {
     font-size: 3.2rem;
    font-family: 'DreamCottage', serif !important;
    color: #5B0105;
    font-weight: 100;
    line-height: 1;
}

/* Contenedor del Testimonio */
.testimonial-single-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.quote-icon {
    font-size: 8rem;
    font-family: 'DreamCottage', serif;
    color: #5B0105;
    line-height: 0.5;
    margin-bottom: -10px;
}

.testimonial-text {
  font-size: 1.5rem;
  color: #5B0105;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Roboto' !important;
  font-weight: 390;
}

/* Estrellas */
.stars-rating {
    display: flex !important;
    gap: 2px !important; /* Reducimos el gap para que se vean compactas como en la foto */
    justify-content: center !important;
}

.star {
    color: #C5A07E !important;
    font-size: 2rem !important;
    /* Esto crea el efecto de grosor (Stroke) */
    -webkit-text-stroke: 2px #C5A07E !important; 
    /* Redondea visualmente las puntas */
    text-shadow: 0 0 2px #C5A07E !important; 
    line-height: 1 !important;
    display: inline-block !important;
}

/* Autor */
.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.author-photo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid transparent;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.90rem;
    font-weight: 600;
    color: #5B0105;
    font-family: 'Roboto', sans-serif;
}

.author-location {
    font-size: 0.9rem;
    color: #8D4F3D;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-title { font-size: 3.5rem; }
    .testimonial-text { font-size: 1.3rem; }
    .quote-icon { font-size: 6rem; }
}

/* Sección de Reservar Cita */
/* ====================================
   SECCIÓN DE RESERVA DE CITA
   ==================================== */
.appointment-section {
    padding: 100px 20px;
    background-color: #FDF5EE; /* Color crema de fondo igual a la imagen */
}

.appointment-container {
    max-width: 1000px;
    margin: 0 auto;
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* Bloque de Texto */
.appointment-text-block {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reducido un poco el espacio */
    text-align: left;
}

.appointment-title {
    flex-direction: column;
    line-height: 1; /* Más pegado */
    margin-bottom: 10px;
}

.title-top {
    font-family: 'DreamCottage' !important;
    font-size: 2.5rem; /* Más pequeño que antes */
    color: #5B0105;
    font-weight: normal;
    margin-left: 5px; /* Pequeño ajuste de alineación */
}

.title-bottom {
    font-family: 'DreamCottage' !important;
    font-size: 3.5rem;
    font-weight: 300;
    color: #FFF;
    background-color: #5B0105;
    padding: 5px 10px;
    border-radius: 20px;
    display: table;
    margin-top: 5px;
}

.appointment-description {
  font-family: 'Roboto' !important;
  font-size: 1.1rem;
  color: #5B0105;
  max-width: 400px;
  line-height: 1.4;
  font-weight: 300;
}

/* Botón idéntico a la maqueta */
.btn-reserve-appointment {
  display: inline-block;
  background-color: #5B0105;
  color: white;
  padding: 2px 5px;
  border-radius: 8px;
  font-family: 'Roboto' !important;
  font-size: 1rem;
  max-width: 160px;
  font-weight: 300;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 15px;
  transition: background 0.3s;
  text-align: center;
}

.btn-reserve-appointment:hover {
    background-color: #3d0000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(91, 1, 5, 0.2);
}

/* Imagen del equipo */
.appointment-team-image {
    display: flex;
    justify-content: flex-end;
}

.team-appointment-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    /* Si la imagen ya tiene el degradado abajo, no necesitas filtros */
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .appointment-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .appointment-text-block {
        align-items: center;
        text-align: center;
    }

    .title-top { font-size: 3rem; }
    .title-bottom { font-size: 4rem; }
}

@media (max-width: 480px) {
    .title-top { font-size: 2.5rem; }
    .title-bottom { font-size: 2rem; margin: 0 auto; }
    .appointment-description { font-size: 1rem; }
}
/* === FOOTER === */
a{
    text-align: none;
    text-decoration: none;
}

.footer-section {
    background-color: #5B0010;
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Títulos de las columnas */
.footer-title {
    font-size: clamp(1.2rem, 2.8vw, 1.4rem);
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Roboto' !important;
}

/* Texto sobre nosotros */
.footer-text {
  font-family: 'Roboto' !important;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #cccccc;
  line-height: 1.6;
  text-align: justify;
}

/* Enlaces de contacto */
.contact-links {
    font-family: 'Segoe UI';
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-link {
    font-family: 'Segoe UI';
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: var(--spacing-xs) 0;
}

.contact-link:hover {
    color: var(--primary-beige);
    text-decoration: none;
    transform: translateX(5px);
}

/* Iconos sociales */
.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  background: #FFF !important;
  color: #5B0010;
  border-radius: 8px !important;
  padding: 5px !important;
  font-size: 25px;
  font-weight: 700;
}

.facebook-icon{
    padding: 0px !important;
}

.social-icon svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.contact-link:hover .social-icon {
    transform: scale(1.1);
    background: #ffffff !important; /* Brillo extra al pasar el mouse */
}

.contact-link span {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: var(--font-weight-medium);
}

/* Libro de reclamaciones */
.complaints-book {
    font-family: 'Segoe UI';
    text-align: center;
    background-color: #5B0010;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid #FFFF;
    transition: all 0.3s ease;
}
.complaints-book:hover {
    border-color: var(--primary-beige);
    transform: translateY(-3px);
}

.complaints-title {
    font-size: 25px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    font-family: 'DreamCottage' !important;
}

/* Efecto hover para la imagen (opcional) */
.complaints-book:hover .book-img {
    transform: scale(1.1);
}

.book-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-md);
}

.book-img {
    width: 220px; /* Ajusta este ancho según prefieras */
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #444444;
    padding-top: var(--spacing-lg);
    text-align: center;
}

.copyright {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: #888888;
    margin: 0;
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-text {
        text-align: left;
    }
    
    .contact-links {
        align-items: center;
    }
    
    .contact-link {
        justify-content: center;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .complaints-book {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .book-img {
        width: 80px;
    }
    .footer-section {
        padding: var(--spacing-xl) 0 var(--spacing-md) 0;
    }
    
    .footer-container {
        padding: 0 var(--spacing-md);
    }
    
    .footer-content {
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }
    
    .complaints-book {
        padding: var(--spacing-lg);
        max-width: 320px;
    }
    
    .book-icon svg {
        width: 60px;
        height: 45px;
    }
    
    .contact-link {
        padding: var(--spacing-sm) 0;
    }
}

/* Móvil muy pequeño */
@media (max-width: 320px) {
    .complaints-book {
        padding: var(--spacing-md);
        max-width: 280px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

/* Pantallas muy grandes */
@media (min-width: 1400px) {
    .footer-container {
        max-width: 1400px;
    }
    
    .footer-content {
        gap: clamp(var(--spacing-xxl), 8vw, 120px);
    }
}

/* Optimizaciones para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .contact-link:hover,
    .complaints-book:hover {
        transform: none;
    }
    
    .contact-link:active {
        transform: scale(0.98);
    }
    
    .complaints-book:active {
        transform: scale(0.98);
    }
    
    .social-icon {
        transform: none;
    }
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
    .contact-link,
    .complaints-book,
    .social-icon {
        transition: none;
    }
}

/* Mejorar contraste para accesibilidad */
@media (prefers-contrast: high) {
    .footer-text {
        color: #e0e0e0;
    }
    
    .copyright {
        color: #b0b0b0;
    }
    
    .complaints-book {
        border-color: #666666;
    }
}

/* Animaciones de Alto Impacto */
/* Animaciones Cinematográficas - Recorrido Largo */
[data-reveal] {
    opacity: 0;
    /* 1.8 segundos para que la animación sea elegante y pausada */
    /* El cubic-bezier es un slow-out extremo: arranca con fuerza y frena suavemente */
    transition: opacity 1.5s ease-out, transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity;
}

/* Distancia de 250px para un desplazamiento notorio */
[data-reveal="left"] { transform: translateX(-250px); }
[data-reveal="right"] { transform: translateX(250px); }
[data-reveal="up"] { transform: translateY(200px); }
[data-reveal="fade"] { transform: scale(0.6); }

/* Estado final: posición perfecta */
[data-reveal].is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}