/* ==========================================================================
   Design System & Variables
   ========================================================================== */
   :root {
    /* Colors — Unified Design (Opción 1 gold tones) */
    --clr-bg-main: #000000;
    --clr-bg-surface: #0A0A0A;
    --clr-bg-surface-lighter: #141414;
    --clr-bg-card: #111111;
    
    --clr-gold-primary: #BE9B3F;  /* Premium Logo Gold */
    --clr-gold-hover: #D4AF37;
    --clr-gold-dark: #8E702A;
    
    --clr-text-primary: #F0EBE0;
    --clr-text-secondary: #A89F91;
    --clr-text-muted: #918779;

    --clr-border: rgba(190, 155, 63, 0.15);
    --clr-gold-light: rgba(190, 155, 63, 0.3);
    
    /* Typography */
    --ff-heading: 'Playfair Display', serif;
    --ff-body: 'Montserrat', sans-serif;
    
    /* Font Sizes (Fluid Typography approach) */
    --fs-h1: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    --fs-h2: clamp(2rem, 3vw + 1rem, 3rem);
    --fs-h3: clamp(1.5rem, 2vw + 1rem, 2rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Transitions & Easing (Luxury feel) */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.3s var(--ease-out-quart);
    --transition-med: 0.6s var(--ease-out-quart);
    --transition-slow: 1s var(--ease-out-quart);

    /* Shadows */
    --shadow-gold: 0 4px 20px rgba(190, 155, 63, 0.1);
    --shadow-intense: 0 10px 40px rgba(0, 0, 0, 0.5);
    
    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);

    /* Layout */
    --container-max-width: 1200px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden; /* Prevent horizontal scroll at the root */
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    color: var(--clr-text-primary);
    background-color: var(--clr-bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    font-weight: 400;
    line-height: 1.1;
    color: var(--clr-gold-primary); /* Titles in gold by default for luxury */
    letter-spacing: 1px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.section {
    padding: var(--space-xl) 0;
}

.bg-darker {
    background-color: var(--clr-bg-surface);
    position: relative;
    z-index: 20;
}

.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }

.gold-icon {
    color: var(--clr-gold-primary);
    vertical-align: middle;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--ff-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--fs-small);
    border: 1px solid transparent;
    border-radius: 50px; /* Pill shape — unified design */
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-med);
    z-index: -1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-gold {
    background-color: var(--clr-gold-primary);
    color: var(--clr-bg-main);
    transition: all 280ms var(--ease-out-quart);
}

.btn-gold:hover {
    background-color: var(--clr-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(190, 155, 63, 0.4);
}

.btn-outline-gold {
    background-color: transparent;
    border-color: var(--clr-gold-primary);
    color: var(--clr-gold-primary);
    transition: all 280ms var(--ease-out-quart);
}

.btn-outline-gold:hover {
    background-color: var(--clr-gold-primary);
    color: var(--clr-bg-main);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--clr-text-primary);
    color: var(--clr-text-primary);
    transition: all 280ms var(--ease-out-quart);
}

.btn-outline-light:hover {
    border-color: var(--clr-gold-primary);
    color: var(--clr-gold-primary);
    transform: translateY(-2px);
}

/* Keyboard accessibility: focus-visible ring custom para CTAs */
.btn-gold:focus-visible,
.btn-outline-gold:focus-visible,
.btn-outline-light:focus-visible {
    outline: 2px solid var(--clr-gold-hover);
    outline-offset: 4px;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
}

.studio-section {
    margin-bottom: var(--space-xl);
}

.studio-section-title {
    font-size: var(--fs-h2);
    color: var(--clr-gold-primary);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.studio-section-desc {
    color: var(--clr-text-secondary);
    max-width: 700px;
    margin-bottom: var(--space-md);
    font-style: italic;
    font-size: var(--fs-small);
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.97); /* Always dark so logo blends perfectly */
    transition: background-color var(--transition-fast), padding var(--transition-fast), border-bottom var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    border-bottom: none; /* Removed the white/gold line as requested */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
}

/* logo-text span removed: the logo image itself contains the full name */

.main-logo {
    height: 55px; /* Standard size requested by user */
    width: auto;
    display: block;
    mix-blend-mode: screen;  /* Eliminates the black JPEG bg, only gold shows */
    transition: transform var(--transition-fast), height var(--transition-fast);
}



.nav-links {
    display: flex;
    gap: 1.8rem;
    margin-left: auto; /* Push links to the right, giving the logo max space */
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--clr-text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-gold-primary);
    transition: width var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--clr-text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clr-text-primary);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-left: 8%;
    padding-top: 7rem;
    box-sizing: border-box;
    background-color: var(--clr-bg-main);
    overflow: hidden;
}

/* Background image en pseudo-element para Ken Burns slow zoom (transform-only, no reflow) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/images/HeroFondo.jpeg') 55% 18%/cover no-repeat;
    z-index: 0;
    transform-origin: center center;
    --hero-shift-x: 110px;
    transform: translateX(var(--hero-shift-x));
}

@media (prefers-reduced-motion: no-preference) {
    .hero::before {
        animation: hero-ken-burns 24s ease-in-out infinite;
    }
}

@keyframes hero-ken-burns {
    0%, 100% { transform: translateX(var(--hero-shift-x)) scale(1); }
    50%      { transform: translateX(var(--hero-shift-x)) scale(1.05); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(0,0,0,1.0) 0px,
        rgba(0,0,0,1.0) 115px,
        rgba(0,0,0,0.8) 220px,
        rgba(0,0,0,0.4) 60%,
        rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    padding: 0 2rem;
    text-align: left;
    margin-left: 0;
}

.hero-subtitle {
    display: block;
    font-family: var(--ff-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--clr-gold-primary);
    margin-bottom: 1.5rem;
}

/* Thin gold divider editorial luxury accent */
.hero-subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--clr-gold-primary);
    margin-top: 0.85rem;
    opacity: 0.6;
}

.hero-title {
    font-size: var(--fs-h1);
    color: var(--clr-text-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    text-wrap: balance;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--clr-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 480px;
    margin-inline: 0;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--clr-gold-primary);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-indicator {
        animation: float-down 2.5s var(--ease-out-quart) infinite;
    }
}

@keyframes float-down {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(8px) translateX(-50%); }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.about-image-wrapper::before {
    display: none; /* Removed line frame per Opción 2 preference */
}

.about-image {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border-radius: 80px 10px 80px 10px;
    border: 1px solid rgba(190, 155, 63, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-med);
}

.about-image:hover .profile-photo {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: -2rem; right: -2rem;
    background-color: var(--clr-bg-main);
    border: 1px solid var(--clr-gold-primary);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    box-shadow: var(--shadow-intense);
}

.experience-badge .years {
    font-family: var(--ff-heading);
    font-size: 3rem;
    color: var(--clr-gold-primary);
    line-height: 1;
}

.experience-badge .badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.section-title {
    font-size: var(--fs-h2);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: var(--ff-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-text-secondary);
    margin-bottom: 2rem;
}

.section-desc {
    color: var(--clr-text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--clr-text-secondary);
}

.about-features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--clr-bg-main);
    border: 1px solid var(--clr-border);
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background-color: var(--clr-gold-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-med);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--shadow-gold);
}

.service-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.service-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-img--bridal {
    object-position: center 15% !important; /* Priorizar rostro */
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--clr-text-primary);
    margin-bottom: 1rem;
    font-family: var(--ff-heading);
}

.service-content p {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    min-height: 80px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-gold-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.service-link span {
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link span {
    transform: translateX(5px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem; /* Reduced gap for mobile */
    }

    .about-image-wrapper {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .about-image {
        min-height: 400px; /* Increased for better mobile presence */
        height: auto;
    }

    .bridal-bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bento-main-image {
        min-height: 450px; /* Ensure bridal main image doesn't collapse */
    }

    .bento-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .nav-links, .nav-cta {
        display: none; /* Prepare for JS toggle */
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   Gallery Section (Masonry Grid)
   ========================================================================== */
.studio {
    position: relative;
    z-index: 25;
    background-color: var(--clr-bg-main);
}

.studio-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.highlight-item {
    text-align: center;
}

.highlight-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--gold-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.highlight-item p {
    font-weight: 500;
    font-family: 'Playfair Display', serif;
    color: var(--dark);
}

@media (max-width: 768px) {
    .studio-highlights-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
.portfolio-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--clr-gold-primary) var(--clr-bg-surface-lighter);
}

.portfolio-carousel::-webkit-scrollbar {
    height: 8px;
}

.portfolio-carousel::-webkit-scrollbar-track {
    background: var(--clr-bg-surface-lighter);
    border-radius: 4px;
}

.portfolio-carousel::-webkit-scrollbar-thumb {
    background-color: var(--clr-gold-primary);
    border-radius: 4px;
}

.portfolio-carousel .gallery-item {
    flex: 0 0 85%;
    max-width: 400px;
    height: 400px; /* Fixed height to avoid stretching */
    scroll-snap-align: center;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .portfolio-carousel .gallery-item {
        flex: 0 0 30%;
        max-width: 450px;
        height: 550px; /* Fixed height for desktop */
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--clr-bg-surface-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    transition: transform var(--transition-med);
    /* Fallback image */
    background: url('https://images.unsplash.com/photo-1512496015851-a1c8411b51e2?q=80&w=2187&auto=format&fit=crop') center/cover;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(212, 175, 55, 0.4);
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 1;
}

.gallery-item::after {
    content: '\e8ff'; /* zoom_in icon */
    font-family: 'Material Symbols Outlined';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--clr-text-primary);
    font-size: 3rem;
    z-index: 2;
    transition: transform var(--transition-fast);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.final-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Updated to show eyes on desktop */
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-med);
    /* GPU acceleration fix to prevent blurry/pixelated images at rest */
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05) translateZ(0);
}

/* ==========================================================================
   Services Hierarchy: Premium + Secondary
   ========================================================================== */
.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card--premium {
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card--premium .service-content h3 {
    color: var(--clr-gold-primary);
    font-size: 1.7rem;
}

.service-card--premium .service-content .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--clr-gold-primary);
    margin-bottom: 1rem;
    display: block;
}

.services-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-card--secondary {
    background-color: transparent;
    border-color: rgba(212, 175, 55, 0.12);
    overflow: hidden;
}

.service-card--secondary .service-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.service-card--secondary .service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.4s var(--ease-out-quart);
}

.service-card--secondary:hover .service-img {
    transform: scale(1.05);
}

.service-card--secondary .service-content {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.service-card--secondary .service-content h3 {
    font-size: 1.2rem;
    color: var(--clr-text-secondary);
    margin-bottom: 0.3rem;
}

.service-card--secondary .service-content p {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    min-height: unset;
    margin-bottom: 0.5rem;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    mix-blend-mode: screen;
    filter: saturate(0.85) brightness(0.95); /* Match header logo gold tone */
    filter: brightness(0.85) contrast(1.1); /* Darker gold, matching header */
    display: block;
}

.service-card--secondary .service-content .material-symbols-outlined {
    font-size: 1.8rem;
    color: var(--clr-text-muted);
}

/* ==========================================================================
   Bridal Gallery Grid — compact 3-column mosaic
   ========================================================================== */

/* Image rendering — no CSS color filters, correction done at file level */
.gallery-img,
.portfolio-carousel img,
.studio-gallery-full img {
    image-rendering: -webkit-optimize-contrast;
}

.bridal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.bridal-gallery-grid .bridal-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 280px;
}

.bridal-gallery-grid .bridal-item:first-child {
    grid-column: span 2; /* Hero image takes 2 columns */
    height: 320px;
}

.bridal-gallery-grid .bridal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-med);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.bridal-gallery-grid .bridal-item:hover .bridal-img {
    transform: scale(1.05) translateZ(0);
}

@media (max-width: 768px) {
    .services-premium-grid {
        grid-template-columns: 1fr;
    }
    .services-secondary-grid {
        grid-template-columns: 1fr;
    }
    .bridal-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bridal-gallery-grid .bridal-item:first-child {
        grid-column: span 2;
    }
}


/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonial-carousel {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
    /* Simplest setup for MVP, JS will handle advanced slider if needed */
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    scrollbar-width: none; /* Firefox */
}

.testimonial-carousel::-webkit-scrollbar {
    display: none; /* Chrome */
}

.testimonial-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background-color: var(--clr-bg-main);
    padding: 3rem 3rem;
    border: 1px solid var(--clr-border);
    position: relative;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: transform var(--transition-med);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
}

.testimonial-card::before, .testimonial-card::after {
    content: '"';
    font-family: var(--ff-heading);
    font-size: 6rem;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    line-height: 1;
}

.testimonial-card::before { top: 1rem; left: 1rem; }
.testimonial-card::after { bottom: -2rem; right: 1rem; }

.stars {
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--clr-text-primary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    color: var(--clr-gold-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

/* Testimonial Navigation Controls */
.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-arrow {
    background: none;
    border: 1px solid var(--clr-border);
    color: var(--clr-gold-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-arrow:hover {
    background: rgba(190, 155, 63, 0.15);
    border-color: var(--clr-gold-primary);
}

.testimonial-dots {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(190, 155, 63, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    background: var(--clr-gold-primary);
    transform: scale(1.2);
}

.testimonial-dot:hover:not(.active) {
    background: rgba(190, 155, 63, 0.5);
}

/* ==========================================================================
   Location Section
   ========================================================================== */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info p {
    color: var(--clr-text-secondary);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item .gold-icon {
    font-size: 2rem;
    background: var(--clr-bg-surface-lighter);
    padding: 0.5rem;
    border-radius: 50%;
}

.contact-item strong {
    display: block;
    color: var(--clr-text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.location-map {
    height: 400px;
    border: 1px solid var(--clr-gold-primary);
    filter: grayscale(100%) invert(90%) hue-rotate(180deg) brightness(80%) sepia(30%) hue-rotate(10deg); /* Dark mode map trick */
    transition: filter var(--transition-med);
}

.location-map:hover {
    filter: grayscale(0%) invert(0%); /* Color on hover */
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Bridal Section (Novias)
   ========================================================================== */
.bridal-section {
    background-color: var(--clr-bg-main);
}

.bridal-section .section-title {
    color: var(--clr-gold-primary);
}

.bridal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 300px;
    grid-gap: 1.5rem;
    margin-bottom: 3rem;
}

.bridal-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.bridal-item.tall {
    grid-row: span 2;
}

.bridal-item.double {
    grid-column: span 2;
}

.bridal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.bridal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.4) 40%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bridal-overlay span {
    color: var(--clr-bg-main);
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.bridal-item:hover .bridal-img {
    transform: scale(1.05);
}

.bridal-item:hover .bridal-overlay {
    opacity: 1;
}

.bridal-item:hover .bridal-overlay span {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .bridal-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 350px;
    }
    
    .bridal-item.double {
        grid-column: span 1;
    }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonial-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 3rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem); /* 3 cards on desktop */
    min-width: 320px;
    height: auto;
    min-height: 380px; /* Altura controlada */
    scroll-snap-align: center;
    background-color: var(--clr-bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--clr-gold-primary);
    background-color: var(--clr-bg-surface-lighter);
}

.testimonial-text {
    font-size: 1.1rem; /* Más pequeño para que no se estire */
    line-height: 1.6;
    font-style: italic;
    margin: 1.5rem 0;
    color: var(--clr-text-secondary);
}

@media (max-width: 1100px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem); /* 2 cards on overlap */
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%; /* 1 card on mobile */
        min-width: unset;
    }
}

.testimonial-card .stars {
    display: flex;
    gap: 0.2rem;
}

.testimonial-text {
    font-style: italic;
    flex-grow: 1; /* Pushes author to the bottom */
}

.testimonial-author {
    font-weight: 600;
    color: var(--clr-gold-primary);
    margin-bottom: 0;
}

/* ==========================================================================
   Scroll-Triggered Video Section (Full-Screen Reversion)
   ========================================================================== */
.scroll-video-section {
    position: relative;
    height: 300vh; /* Restore duration for maximum smoothness */
    background-color: var(--clr-bg-main);
    padding: 0;
    margin: 0; /* Eliminar margen para que las secciones siguientes se peguen al final del scroll de 300vh */
}

.scroll-video-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Support for dynamic viewport height on mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
}

.scroll-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Canvas poster — shown while frames load, hidden once first frame draws */
.scroll-canvas-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* Ensure canvas fills the wrapper */
.scroll-canvas {
    position: absolute;
    inset: 0;
}

.scroll-video-end {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.scroll-video-end.visible {
    opacity: 1;
}

.scroll-text-overlay {
    position: absolute;
    bottom: auto;
    top: 50%; /* Vertically centered — from Opción 3 */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 15;
    pointer-events: none;
}

.dynamic-text {
    font-family: 'Playfair Display', serif; /* Fuente editorial — Opción 3 */
    font-style: italic;
    font-weight: 500;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: #ffffff;
    text-transform: lowercase; /* Editorial lowercase italic */
    letter-spacing: 6px;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.8);
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-text-hidden {
    opacity: 0;
    transform: translate(-50%, 15px);
}

@media (max-width: 992px) {
    /* Removed redundant grid overrides that broke the sticky scroll behavior */

    .scroll-video-section {
        height: 300vh;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .scroll-video-section {
        /* Shorter scroll distance on mobile — 30 frames / 200vh ≈ same ratio as 60/300vh desktop */
        height: 200vh;
    }

    .main-logo {
        height: 45px; /* Properly scaled down for mobile */
    }

    .navbar {
        padding: 1rem 0; /* Tighter padding for mobile */
    }
    
    .dynamic-text {
        letter-spacing: 3px;
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
}

/* End of Scroll Video Section */

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--clr-bg-main);
    padding-top: var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--clr-text-secondary);
    margin-top: 1.5rem;
    max-width: 400px;
}

.footer h3 {
    color: var(--clr-text-primary);
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--clr-text-secondary);
}

.footer-links a:hover {
    color: var(--clr-gold-primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--clr-bg-surface);
    color: var(--clr-gold-primary);
    border: 1px solid var(--clr-border);
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--clr-gold-primary);
    color: var(--clr-bg-main);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   Premium Floating WhatsApp
   ========================================================================== */
.floating-whatsapp.premium-wp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--clr-bg-surface-lighter);
    color: var(--clr-text-primary);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.8), inset 0 0 10px rgba(212, 175, 55, 0.05);
    z-index: 1000;
    transition: all var(--transition-med);
    text-decoration: none;
    overflow: hidden;
}

.floating-whatsapp.premium-wp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-med);
}

.premium-wp .wp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    width: 32px;
    height: 32px;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
    flex-shrink: 0;
    z-index: 2;
}

.premium-wp .wp-icon svg {
    width: 20px;
    height: 20px;
}

.premium-wp .wp-text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--clr-gold-primary);
    white-space: nowrap;
    z-index: 2;
    transition: color var(--transition-fast);
}

.floating-whatsapp.premium-wp:hover {
    transform: translateY(-5px);
    border-color: var(--clr-gold-primary);
    box-shadow: 0 8px 25px rgba(0,0,0,0.9), inset 0 0 15px rgba(212, 175, 55, 0.15);
}

.floating-whatsapp.premium-wp:hover::before {
    opacity: 1;
}

.floating-whatsapp.premium-wp:hover .wp-text {
    color: var(--clr-text-primary);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease-out-quart), transform 1s var(--ease-out-quart);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto; /* release compositing layer after animation */
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

@media (max-width: 768px) {
    .fade-up {
        transform: translateY(20px); /* shorter travel on small screens */
        transition: opacity 0.6s var(--ease-out-quart), transform 0.6s var(--ease-out-quart);
    }
    .delay-1 { transition-delay: 0.1s; }
    .delay-2 { transition-delay: 0.2s; }
    .delay-3 { transition-delay: 0.3s; }
}

/* ==========================================================================
   Bridal Section - Editorial Compact
   ========================================================================== */
.bridal-editorial-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.bridal-editorial-image {
    position: relative;
    aspect-ratio: 4/5;
}

/* Bridal Bento Grid */
.bridal-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
    grid-template-areas:
        "photo content content"
        "photo process cta"
        "img1 img2 img3";
}

.bento-secondary-image {
    padding: 0;
    overflow: hidden;
    min-height: 320px;
}

.bento-secondary-image .bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s var(--ease-out-quart);
}

.bento-secondary-image:hover .bento-img {
    transform: scale(1.05);
}

.bento-img-pos-1 { grid-area: img1; }
.bento-img-pos-2 { grid-area: img2; }
.bento-img-pos-3 { grid-area: img3; }

.bento-item {
    background: var(--clr-bg-main);
    border: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
}

.bento-main-image {
    grid-area: photo;
    padding: 0;
    min-height: 600px;
}

.bento-main-image .bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.bento-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
}

.bento-tag {
    background: var(--clr-gold-primary);
    color: var(--clr-bg-main);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.bento-content-box {
    grid-area: content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-color: var(--clr-gold-primary);
}

.bento-content-box .subtitle {
    display: block;
    color: var(--clr-gold-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.bento-process-box {
    grid-area: process;
    padding: 1.5rem;
}

.process-steps-mini {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.step-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-mini h4 {
    font-size: 0.95rem;
    margin: 0;
    color: var(--clr-gold-primary);
}

.step-mini p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--clr-text-secondary);
}

.step-mini .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--clr-gold-primary);
}

.bento-cta-box {
    grid-area: cta;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.bridal-thumbnails-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.bridal-thumbnails-compact .thumb-item {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--clr-border);
    transition: border-color 0.3s ease;
}

.bridal-thumbnails-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bridal-thumbnails-compact .thumb-item:hover {
    border-color: var(--clr-gold-primary);
}

@media (max-width: 1024px) {
    .bridal-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "photo content"
            "photo process"
            "img1 img2"
            "img3 cta";
    }
}

@media (max-width: 768px) {
    .bridal-bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "photo"
            "process"
            "img1"
            "img2"
            "img3"
            "cta";
    }

    .bento-secondary-image {
        min-height: 300px;
    }

    .bento-main-image {
        min-height: 400px;
    }

    .process-steps-mini {
        grid-template-columns: 1fr;
    }
}

/* Lightbox Simple */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

/* Miniaturas Galería Novias */
.bridal-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 1px solid var(--clr-border);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}

.thumb-item:hover {
    border-color: var(--clr-gold-primary);
}

/* Enlaces de Acción Premium */
.service-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.service-link-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-gold-primary);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.service-link-premium:hover {
    gap: 0.8rem;
    border-bottom-color: var(--clr-gold-primary);
}

.service-link-premium.whatsapp {
    color: #25D366;
}

.service-link-premium.whatsapp:hover {
    border-bottom-color: #25D366;
}

/* ==========================================================================
   Unified Design — Consolidated from Propuestas 1, 2 & 3
   ========================================================================== */

/* ── Section Dividers — Gold gradient lines (from Opción 3) ─────────────── */
.services.section::before,
.studio.section::before,
.gallery.section::before,
.testimonials.section::before,
.bridal-section.section::before,
.location.section::before,
.cta-section.section::before {
    content: '';
    display: block;
    height: 1px;
    max-width: 200px;
    margin: 0 auto 0;
    background: linear-gradient(90deg, transparent, var(--clr-gold-primary), transparent);
    opacity: 0.35;
    position: relative;
    top: -1px;
}

/* ── Hero Mobile — Editorial centrado vertical, modelo visible alrededor de la tarjeta ─ */
@media (max-width: 992px) {
    .hero {
        min-height: 100dvh; /* fix iOS Safari URL bar */
        align-items: center;            /* tarjeta centrada vertical */
        justify-content: center;
        padding: 6rem 0 3rem;           /* top: bajo navbar; bottom: respiro */
        text-align: center;
    }

    .hero::before {
        background-position: 55% 15%;   /* peinado visible arriba, menos cuello, micro-shift a la derecha */
        --hero-shift-x: 0;              /* mobile no necesita shift: ya hay slack horizontal con cover */
    }

    .hero-overlay {
        /* mobile: gradiente original (sin la zona negra sólida que solo necesita desktop) */
        background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
    }

    .hero-content {
        max-width: 86%;
        text-align: center;
        background: rgba(0, 0, 0, 0.32); /* la modelo se entrevé */
        backdrop-filter: blur(4px);      /* sutil */
        -webkit-backdrop-filter: blur(4px);
        padding: 1.5rem;                 /* reducido para que no se corte */
        border-radius: 15px;
        border: 1px solid rgba(190, 155, 63, 0.28);
    }

    .hero-title {
        /* refuerzo del shadow para mantener legibilidad sobre la imagen */
        text-shadow: 0 2px 14px rgba(0,0,0,0.75), 0 0 24px rgba(0,0,0,0.4);
    }

    .hero-description {
        max-width: 100%;
        margin-inline: auto;
    }

    .hero-subtitle::after {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* ── About Section Subtitle — Italic editorial (from Opción 3) ──────────── */
.section-subtitle {
    font-style: italic;
    color: var(--clr-gold-primary);
    text-transform: none;
    letter-spacing: 1px;
    font-size: 1.05rem;
    font-family: var(--ff-heading);
}

/* ── About text left border (from Opción 3) ─────────────────────────────── */
.about-text {
    border-left: 2px solid var(--clr-gold-primary);
    padding-left: 2.5rem;
}

@media (max-width: 992px) {
    .about-text {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--clr-gold-primary);
        padding-top: 2rem;
    }
}

/* ── Premium Service Cards (from Opción 3) ──────────────────────────────── */
.service-card--premium {
    border-radius: 16px;
    border: 1px solid rgba(190, 155, 63, 0.12);
    background: var(--clr-bg-surface);
    overflow: hidden;
    transition: all 0.5s var(--ease-out-quart);
}

.service-card--premium::after {
    display: none; /* Clean aesthetic, no bottom bar */
}

.service-card--premium:hover {
    transform: translateY(-8px);
    border-color: rgba(190, 155, 63, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(190, 155, 63, 0.08);
}

.service-img-wrapper {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.service-card--premium .service-content h3 {
    color: var(--clr-gold-primary);
    font-size: 1.6rem;
}

.service-card--premium .service-content .material-symbols-outlined {
    font-size: 2.2rem;
    color: var(--clr-gold-primary);
    opacity: 0.8;
    margin-bottom: 0.8rem;
    display: block;
}

/* Service list bullets */
.service-list li {
    font-size: 0.85rem;
    color: var(--clr-text-secondary);
    margin-bottom: 0.4rem;
    padding-left: 1rem;
    position: relative;
}

.service-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--clr-gold-primary);
    font-weight: bold;
}

/* Cards Secundarias */
.service-card--secondary {
    border: 1px solid rgba(190, 155, 63, 0.1);
    border-radius: 16px;
    background: transparent;
    transition: all 0.4s var(--ease-out-quart);
}

.service-card--secondary:hover {
    border-color: rgba(190, 155, 63, 0.35);
    background: rgba(190, 155, 63, 0.03);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ── Button Gold Gradient (from Opción 3) ───────────────────────────────── */
.btn-gold {
    background: linear-gradient(135deg, var(--clr-gold-primary), var(--clr-gold-dark));
    color: #0A0A0A;
    border: none;
    box-shadow: 0 4px 15px rgba(190, 155, 63, 0.25);
    transition: all 0.4s var(--ease-out-quart);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(190, 155, 63, 0.45);
    background: linear-gradient(135deg, var(--clr-gold-hover), var(--clr-gold-primary));
}

/* ── Studio Section ─────────────────────────────────────────────────────── */
.highlight-item img {
    border: 2px solid rgba(190, 155, 63, 0.3);
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.highlight-item img:hover {
    border-color: var(--clr-gold-primary);
    transform: scale(1.05);
}

/* ── Gallery ────────────────────────────────────────────────────────────── */
.portfolio-carousel .gallery-item {
    border-radius: 12px;
    overflow: hidden;
}

/* ── Testimonials — Organic rounded (from Opción 3) ─────────────────────── */
.testimonial-card {
    background: var(--clr-bg-surface-lighter);
    border: 1px solid rgba(190, 155, 63, 0.12);
    border-radius: 24px 8px 24px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: all 0.4s var(--ease-out-quart);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(190, 155, 63, 0.45);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35), 0 0 20px rgba(190, 155, 63, 0.06);
}

.testimonial-card::before,
.testimonial-card::after {
    font-size: 4rem;
    color: rgba(190, 155, 63, 0.12);
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--clr-text-secondary);
    line-height: 1.7;
    font-family: var(--ff-heading);
}

/* ── Bridal Bento — Premium (from Opción 3) ─────────────────────────────── */
.bento-main-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(190, 155, 63, 0.15);
}

.bento-content-box {
    background: linear-gradient(135deg, var(--clr-bg-surface), var(--clr-bg-surface-lighter));
    border: 1px solid rgba(190, 155, 63, 0.2);
    border-radius: 16px;
}

.bento-content-box .subtitle {
    position: relative;
    padding-bottom: 0.8rem;
}

.bento-content-box .subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--clr-gold-primary);
    opacity: 0.5;
}

.bento-process-box {
    border: 1px solid rgba(190, 155, 63, 0.1);
    border-radius: 16px;
    background: var(--clr-bg-surface);
}

.step-mini .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--clr-gold-primary);
    background: rgba(190, 155, 63, 0.08);
    border: 1px solid rgba(190, 155, 63, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bento-cta-box {
    border-radius: 16px;
    border: 1px solid rgba(190, 155, 63, 0.1);
    background: var(--clr-bg-surface);
}

.bento-cta-plans {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--clr-gold-primary);
    margin-bottom: 1rem;
}

.bento-cta-help {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    margin-top: 0.75rem;
}

.bento-tag {
    border-radius: 4px;
    letter-spacing: 2.5px;
    font-size: 0.7rem;
}

/* ── CTA Section — "¿Lista para brillar?" with parallax background ───── */
.cta-section {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* CTA: desktop usa fixed-attachment para efecto "imagen anclada"; mobile usa
   pseudo-element absoluto porque iOS Safari no renderiza fixed-attachment */
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.7)),
                url('../assets/images/Imagenfondo3.jpg') 50% 30%/cover;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .cta-section {
        background: var(--clr-bg-main);
    }
    /* Mobile: ocultar el divider dorado (la imagen ya provee separación) */
    .cta-section.section::before {
        display: none;
    }
    /* Background fijo al viewport, recortado por JS al bounding rect de la
       sección (técnica iOS-Safari-compatible para parallax fijo). */
    .cta-fixed-bg {
        position: fixed;
        inset: 0;
        background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.7)),
                    url('../assets/images/Imagenfondo3.jpg') 50% 30%/cover;
        z-index: 0;
        pointer-events: none;
        clip-path: inset(100% 0 100% 0); /* hidden hasta que JS lo posicione */
        will-change: clip-path;
    }
}

@media (min-width: 769px) {
    .cta-fixed-bg { display: none; }
}

.cta-content-wrapper {
    position: relative;
    z-index: 2;
}

.cta-section .section-title {
    color: var(--clr-text-primary);
    font-size: var(--fs-h2);
    position: relative;
    display: inline-block;
}

.cta-section .section-desc {
    color: var(--clr-text-primary);
}

.cta-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--clr-gold-primary);
    margin: 1rem auto 0;
    opacity: 0.5;
}

/* ── Location ───────────────────────────────────────────────────────────── */
.contact-item .gold-icon {
    background: rgba(190, 155, 63, 0.08);
    border: 1px solid rgba(190, 155, 63, 0.2);
}

.location-map {
    border: 1px solid rgba(190, 155, 63, 0.2);
    border-radius: 16px;
    overflow: hidden;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    display: block;
    height: 1px;
    max-width: 300px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--clr-gold-primary), transparent);
    opacity: 0.3;
}

.social-icons a {
    border-radius: 50%;
    border: 1px solid rgba(190, 155, 63, 0.2);
    transition: all 0.4s var(--ease-out-quart);
}

.social-icons a:hover {
    background-color: var(--clr-gold-primary);
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(190, 155, 63, 0.25);
}

.footer-bottom {
    border-top: 1px solid rgba(190, 155, 63, 0.1);
}

/* ── Portfolio Reveal Animation ────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Scroll Animation Mobile ──────────────────────────────────────────── */
@media (max-width: 992px) {
    .scroll-text-overlay {
        top: 50%;
    }
    .dynamic-text {
        letter-spacing: 3px;
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
}

/* Image rendering — no CSS color filters, correction done at file level */
.service-img,
.bento-img,
.bridal-img,
.profile-photo {
    image-rendering: -webkit-optimize-contrast;
}


/* ==========================================================================
   Accessibility: Focus Styles
   ========================================================================== */
:focus-visible {
    outline: 2px solid var(--clr-gold-primary);
    outline-offset: 3px;
}

.btn:focus-visible {
    outline: 2px solid var(--clr-gold-hover);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(190, 155, 63, 0.25);
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--clr-gold-primary);
    color: #000;
    font-family: var(--ff-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 0;
}

/* ==========================================================================
   Performance: Skip rendering for off-screen sections
   ========================================================================== */
.services.section,
.gallery.section,
.testimonials.section,
.bridal-section.section,
.location.section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* ==========================================================================
   Accessibility: Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-up {
        opacity: 1 !important;
        transform: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .scroll-indicator {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Dead theme CSS (design-2/3/4) removed — single unified design */

