:root {
    --burgundy: #6B1D2A;
    --burgundy-deep: #4A1219;
    --burgundy-light: #8B2E3F;
    --blush: #F5E6E0;
    --blush-light: #FBF5F2;
    --blush-dark: #E8D0C8;
    --cream: #FDF8F5;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --white: #FFFFFF;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ─── Side Navigation ─── */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: var(--burgundy);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 32px;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-brand-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.nav-brand-sub {
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blush);
    margin-top: 4px;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-link {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    padding: 10px 0;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    border-left-color: var(--blush);
}

.nav-footer {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.nav-phone:hover {
    color: var(--white);
}

/* ─── Scroll Content ─── */
.scroll-content {
    margin-left: 260px;
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(107, 29, 42, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(245, 230, 224, 0.8) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 80px 80px 64px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.hero-title .serif-italic {
    font-style: italic;
    color: var(--burgundy);
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-mid);
    max-width: 440px;
    margin-bottom: 48px;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

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

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    border: 2px solid var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
}

.btn-outline {
    background: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

.btn-outline:hover {
    background: var(--burgundy);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--burgundy);
    border: 2px solid var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ─── Section shared ─── */
.section-eyebrow {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.section-title .serif-italic {
    font-style: italic;
    color: var(--burgundy);
}

/* ─── Nosotras ─── */
.nosotras {
    padding: 120px 80px;
    background: var(--white);
}

.nosotras-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nosotras-image-wrap {
    overflow: hidden;
}

.nosotras-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 7/9;
}

.nosotras-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 20px;
    font-weight: 300;
}

.nosotras-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--blush-dark);
}

.stat-number {
    display: block;
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--blush-dark);
}

/* ─── Servicios ─── */
.servicios {
    padding: 120px 80px;
    background: var(--cream);
}

.servicios-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 72px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio-card {
    background: var(--white);
    padding: 48px 36px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
    position: relative;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.servicio-card:hover {
    border-color: var(--blush-dark);
    box-shadow: 0 20px 60px rgba(107, 29, 42, 0.08);
    transform: translateY(-4px);
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-icon {
    margin-bottom: 24px;
    color: var(--burgundy);
}

.servicio-name {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.servicio-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
    font-weight: 300;
}

/* ─── Galería ─── */
.galeria {
    padding: 120px 80px;
    background: var(--white);
}

.galeria-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 72px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.galeria-item {
    overflow: hidden;
    position: relative;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.galeria-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(107, 29, 42, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

.galeria-item:hover::after {
    opacity: 1;
}

.galeria-item--large {
    grid-column: span 5;
    grid-row: span 2;
}

.galeria-item--large img {
    height: 100%;
}

.galeria-item--wide {
    grid-column: span 7;
}

/* ─── CTA Section ─── */
.cta-section {
    padding: 120px 80px;
    background: var(--burgundy);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
                      radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--blush) !important;
}

.cta-title {
    color: var(--white);
}

.cta-title .serif-italic {
    color: var(--blush);
}

.cta-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Contacto ─── */
.contacto {
    padding: 120px 80px;
    background: var(--cream);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.contacto-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contacto-icon {
    width: 48px;
    height: 48px;
    background: var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.contacto-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contacto-item span,
.contacto-item a {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contacto-item a:hover {
    color: var(--burgundy);
}

.contacto-map {
    margin-top: 40px;
    overflow: hidden;
    border-radius: 12px;
}

/* ─── Form ─── */
.contacto-form-wrap {
    background: var(--white);
    padding: 48px;
    border: 1px solid var(--blush-dark);
}

.form-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 0;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--blush-dark);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-input:focus {
    border-bottom-color: var(--burgundy);
}

.form-input::placeholder {
    color: var(--text-light);
    font-weight: 300;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
    color: var(--burgundy);
}

.form-success svg {
    margin-bottom: 20px;
}

.form-success h4 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-mid);
    font-weight: 300;
}

/* ─── Footer ─── */
.footer {
    background: var(--text-dark);
    padding: 48px 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.footer-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
}

.footer-sub {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blush);
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.footer-address {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ─── Mobile Toggle ─── */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1100;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--burgundy);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(107, 29, 42, 0.3);
}

.mobile-toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Overlay ─── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .side-nav {
        transform: translateX(-100%);
    }

    .side-nav.open {
        transform: translateX(0);
    }

    .nav-overlay.open {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    .scroll-content {
        margin-left: 0;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 120px 40px 60px;
        min-height: 80vh;
    }

    .hero-image {
        height: 400px;
    }

    .nosotras,
    .servicios,
    .galeria,
    .cta-section,
    .contacto {
        padding: 80px 40px;
    }

    .nosotras-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .galeria-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .galeria-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .galeria-item--wide {
        grid-column: span 2;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer {
        padding: 40px;
    }
}

@media (max-width: 640px) {
    .hero-content {
        padding: 100px 24px 48px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        justify-content: center;
    }

    .nosotras,
    .servicios,
    .galeria,
    .cta-section,
    .contacto {
        padding: 64px 24px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .galeria-item--large,
    .galeria-item--wide {
        grid-column: span 1;
    }

    .galeria-item {
        height: 280px;
    }

    .contacto-form-wrap {
        padding: 32px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nosotras-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .footer {
        padding: 32px 24px;
    }
}
