/* =====================================================
   VALERA REALESTATE — PREMIUM DARK LUXURY CSS
   Color Scheme: Deep Dark Navy (#070a0f) + Gold (#C9A84C)
   ===================================================== */

/* --- CUSTOM PROPERTIES --- */
:root {
    /* Background */
    --bg-primary: #000000;
    --bg-secondary: #07090d;
    --bg-tertiary: #0f1117;
    --bg-card: #111318;

    /* Gold Accent Scale */
    --gold-50:  #fdf8ec;
    --gold-100: #f9edca;
    --gold-200: #f1d98b;
    --gold-300: #e8c05e;
    --gold-400: #d4a838;
    --gold-500: #C9A84C;   /* PRIMARY */
    --gold-600: #a88730;
    --gold-700: #876820;
    --gold-800: #5d4714;
    --gold-900: #3a2c0a;
    --gold-rgb: 201, 168, 76;

    /* Dark Navy */
    --navy-500: #070a0f;
    --navy-rgb: 7, 10, 15;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #e8e8ec;
    --text-tertiary: #a1a1aa;
    --text-muted: #71717a;

    /* Feedback */
    --success: #22c55e;
    --info: #3b82f6;
    --warning: #f59e0b;

    /* Spacing */
    --section-py: 100px;
    --section-py-sm: 60px;
    --container-max: 1280px;
    --container-px: 24px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--gold-700); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-500); }

/* --- SELECTION --- */
::selection { background: rgba(var(--gold-rgb), 0.25); color: var(--gold-300); }

/* --- LAYOUT --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    width: 100%;
}
.section { padding: var(--section-py) 0; }
.section-sm { padding: var(--section-py-sm) 0; }

/* --- TYPOGRAPHY --- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-500);
    background: rgba(var(--gold-rgb), 0.1);
    border: 1px solid rgba(var(--gold-rgb), 0.25);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}
.section-subtitle {
    font-size: 17px;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}
.text-accent {
    background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 50%, var(--gold-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- PARTICLES --- */
.particles-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(var(--gold-rgb), 0.6);
    border-radius: 50%;
    animation: float-particle 20s infinite ease-in-out;
}
@keyframes float-particle {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    25% { transform: translate(80px, -120px); opacity: 0.7; }
    50% { transform: translate(-40px, -200px); opacity: 0.5; }
    75% { transform: translate(-80px, -80px); opacity: 0.8; }
}
@media (max-width: 768px) { .particle:nth-child(n+20) { display: none; } }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    white-space: nowrap;
}
.btn-lg { padding: 18px 36px; font-size: 16px; }

.btn-primary {
    background: linear-gradient(135deg, var(--gold-700) 0%, var(--gold-500) 40%, var(--gold-400) 70%, var(--gold-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: #0a0800;
    box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.4), 0 4px 24px rgba(var(--gold-rgb), 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 0 0 2px rgba(var(--gold-rgb), 0.7), 0 8px 40px rgba(var(--gold-rgb), 0.5);
}
.btn-glow { animation: pulse-glow 3s ease-in-out infinite, gradient-shift 4s ease infinite; }

.btn-outline {
    border: 1.5px solid rgba(var(--gold-rgb), 0.5);
    color: var(--gold-400);
    background: rgba(var(--gold-rgb), 0.05);
}
.btn-outline:hover {
    border-color: var(--gold-500);
    background: rgba(var(--gold-rgb), 0.12);
    transform: translateY(-2px);
    color: var(--gold-300);
}

.btn-pincali {
    background: linear-gradient(135deg, #182848 0%, #4b6cb7 100%);
    background-size: 200% 200%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(75, 108, 183, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-pincali::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
    transform: scale(0.5);
}

.btn-pincali:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(75, 108, 183, 0.6);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-pincali:hover::before {
    opacity: 1;
    transform: scale(1);
    animation: pulse-glow 2s infinite alternate;
}

.btn-icon-pincali {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px; /* Favicons sometimes look better with slight rounding */
    box-shadow: 0 0 5px rgba(255,255,255,0.5);
    background: #fff; /* Pincali is mostly white/red */
    padding: 1px;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.4), 0 4px 24px rgba(var(--gold-rgb), 0.3), 0 0 60px rgba(var(--gold-rgb), 0.15); }
    50% { box-shadow: 0 0 0 2px rgba(var(--gold-rgb), 0.7), 0 8px 40px rgba(var(--gold-rgb), 0.55), 0 0 80px rgba(var(--gold-rgb), 0.3); }
}

/* --- GLASS CARD --- */
.glass-card {
    background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.07) 0%, rgba(var(--gold-rgb), 0.03) 50%, rgba(var(--gold-rgb), 0.07) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(var(--gold-rgb), 0.13);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: all var(--transition-base);
}
.glass-card:hover {
    border-color: rgba(var(--gold-rgb), 0.28);
    box-shadow: 0 25px 50px -12px rgba(var(--gold-rgb), 0.22);
    transform: translateY(-4px);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%; z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    padding: 14px 0;
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}
.logo-img { height: 44px; width: auto; object-fit: contain; }
.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}
.logo-accent { color: var(--gold-500); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 14px;
    width: 0; height: 1.5px;
    background: var(--gold-500);
    transition: width var(--transition-base);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: calc(100% - 28px); }
.nav-link-cta {
    background: rgba(var(--gold-rgb), 0.1);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    color: var(--gold-400);
    border-radius: var(--radius-md);
    margin-left: 8px;
}
.nav-link-cta:hover {
    background: rgba(var(--gold-rgb), 0.2);
    color: var(--gold-300);
    border-color: rgba(var(--gold-rgb), 0.5);
}
.nav-link-cta::after { display: none; }

/* Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 10;
}
.hamburger-line {
    display: block;
    width: 24px; height: 2px;
    background: var(--gold-400);
    border-radius: 2px;
    transition: all var(--transition-base);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: all; }
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.mobile-nav-links .nav-link {
    font-size: 24px;
    font-weight: 700;
    padding: 12px 24px;
    color: var(--text-secondary);
}
.mobile-nav-links .nav-link:hover { color: var(--gold-400); }

/* --- ANIMATIONS --- */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scale-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes fade-in-rotate {
    from { opacity: 0; transform: perspective(1000px) rotateY(-20deg) scale(0.85); }
    to { opacity: 1; transform: perspective(1000px) rotateY(0deg) scale(1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-18px) rotate(1.5deg); }
    50% { transform: translateY(-8px) rotate(-1.5deg); }
    75% { transform: translateY(-26px) rotate(0.8deg); }
}
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.4; }
}
@keyframes reveal-bar { from { width: 0; } to { width: var(--target-w, 90%); } }

.animate-fade-up {
    opacity: 0;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-scale-in {
    opacity: 0;
    animation: scale-in 0.7s cubic-bezier(0.68, -0.4, 0.265, 1.4) forwards;
}
.animate-fade-rotate {
    opacity: 0;
    animation: fade-in-rotate 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.float-animation { animation: float 6s ease-in-out infinite; }

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
    z-index: 1;
}
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(var(--gold-rgb), 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 80%, rgba(var(--gold-rgb), 0.05) 0%, transparent 45%),
        linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    z-index: 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 40px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--gold-rgb), 0.08);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold-400);
    margin-bottom: 24px;
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--gold-500);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold-500);
    animation: pulse-glow 2s ease-in-out infinite;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}
.hero-title-accent {
    background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 50%, var(--gold-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-subtitle em { color: var(--gold-400); font-style: italic; }

.hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 24px;
    background: rgba(var(--gold-rgb), 0.04);
    border: 1px solid rgba(var(--gold-rgb), 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--gold-400);
}
.stat-suffix { font-size: 20px; font-weight: 700; color: var(--gold-400); }
.stat-label { display: block; font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.stat-divider { width: 1px; height: 40px; background: rgba(var(--gold-rgb), 0.15); }

.hero-visual-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-glow-ring {
    position: absolute;
    width: 120%; height: 120%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(var(--gold-rgb), 0.12) 0%, transparent 65%);
    animation: spin-slow 20s linear infinite;
    z-index: 0;
}
.hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    border-radius: var(--radius-xl);
    box-shadow: 0 0 60px rgba(var(--gold-rgb), 0.2), 0 25px 80px rgba(0,0,0,0.7);
    filter: drop-shadow(0 0 30px rgba(var(--gold-rgb), 0.25));
}

.scroll-indicator {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: 6px;
    z-index: 5;
}
.scroll-dot {
    width: 6px; height: 6px;
    background: var(--gold-500);
    border-radius: 50%;
    animation: scroll-bounce 1.8s ease-in-out infinite;
}

/* --- MEMBRESÍAS --- */
.membresias {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(var(--gold-rgb), 0.1);
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.membresias::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(var(--gold-rgb), 0.05) 0%, transparent 70%);
    pointer-events: none;
}
.membresias-header {
    text-align: center;
    margin-bottom: 40px;
}
.membresias-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 12px;
}
.membresias-label {
    font-size: 18px;
    color: var(--text-tertiary);
    font-weight: 400;
    letter-spacing: 0.01em;
}
.membresias-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.membresias-divider {
    width: 1px;
    height: 140px;
    background: linear-gradient(to bottom, transparent, rgba(var(--gold-rgb), 0.2), transparent);
    flex-shrink: 0;
    margin: 0 10px;
}
.membresia-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 40px 60px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: all var(--transition-base);
    cursor: default;
    position: relative;
}
.membresia-item:hover {
    background: rgba(var(--gold-rgb), 0.04);
    border-color: rgba(var(--gold-rgb), 0.18);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(var(--gold-rgb), 0.1);
}
.membresia-logo-wrap {
    width: 200px;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    padding: 14px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.membresia-item:hover .membresia-logo-wrap {
    box-shadow: 0 8px 32px rgba(var(--gold-rgb), 0.25), 0 4px 16px rgba(0,0,0,0.5);
    transform: scale(1.04);
}
.membresia-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.membresia-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-400);
    letter-spacing: 0.05em;
}
.membresia-full {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    max-width: 190px;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .membresias-divider { width: 80%; height: 1px; margin: 0; background: linear-gradient(to right, transparent, rgba(var(--gold-rgb),0.2), transparent); }
    .membresias-logos { flex-direction: column; gap: 12px; }
    .membresia-item { padding: 20px 32px; width: 100%; max-width: 320px; }
}

/* --- SERVICES / FLIP CARDS --- */
.servicios {
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    z-index: 1;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Flip Card */
.service-card-flip {
    perspective: 1000px;
    height: 380px;
}
.service-card-inner {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card-flip:hover .service-card-inner { transform: rotateY(180deg); }
.service-card-flip.tapped .service-card-inner { transform: rotateY(180deg); }

.service-card-front,
.service-card-back {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.service-card-front { background: var(--bg-tertiary); }
.service-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 28px;
}

.service-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card-flip:hover .service-image { transform: scale(1.06); }

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 24px;
    gap: 8px;
}
.service-icon-front { font-size: 28px; }
.service-title-front {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* CSS-only service card (no image) */
.service-card-front-css {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, #0c1018 100%);
    border: 1px solid rgba(var(--gold-rgb), 0.1);
}
.service-card-front-pattern {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at center, rgba(var(--gold-rgb), 0.08) 0%, transparent 60%),
        repeating-linear-gradient(45deg, rgba(var(--gold-rgb), 0.02) 0px, rgba(var(--gold-rgb), 0.02) 1px, transparent 1px, transparent 20px);
}
.pattern-icon { font-size: 80px; opacity: 0.15; }

.service-icon-back { font-size: 36px; }
.service-title-back {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gold-400);
}
.service-description {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.65;
}
.service-features { display: flex; flex-wrap: wrap; gap: 6px; }
.feature-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gold-400);
    background: rgba(var(--gold-rgb), 0.1);
    border: 1px solid rgba(var(--gold-rgb), 0.25);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* --- SHOWCASE / METRICS --- */
.showcase {
    background: var(--bg-primary);
    position: relative; z-index: 1;
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.metric-card {
    text-align: center;
    padding: 36px 24px;
}
.metric-icon { font-size: 36px; margin-bottom: 14px; }
.metric-value {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 8px;
}
.metric-value span { font-size: 28px; }
.metric-label { font-size: 13px; color: var(--text-tertiary); margin-bottom: 16px; }
.metric-bar {
    height: 3px;
    background: rgba(var(--gold-rgb), 0.15);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.metric-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-700), var(--gold-500), var(--gold-400));
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.feature-pill {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(var(--gold-rgb), 0.06);
    border: 1px solid rgba(var(--gold-rgb), 0.15);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}
.feature-pill:hover {
    background: rgba(var(--gold-rgb), 0.12);
    border-color: rgba(var(--gold-rgb), 0.3);
    color: var(--gold-400);
}

/* --- CASOS DE ÉXITO + CAROUSEL --- */
.casos {
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.casos-bg-glow {
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Carousel wrapper */
.carousel-wrap {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}
.carousel {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.15), 0 30px 80px rgba(0,0,0,0.65);
}
.carousel-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.carousel-slide {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
}
.carousel-img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-slide.active .carousel-img {
    transform: scale(1.03);
}
.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 40%);
    display: flex;
    align-items: flex-end;
    padding: 28px 32px;
}
.carousel-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-400);
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(var(--gold-rgb), 0.35);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

/* Prev / Next buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(var(--gold-rgb), 0.35);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}
.carousel-btn:hover {
    background: rgba(var(--gold-rgb), 0.18);
    border-color: var(--gold-500);
    color: var(--gold-300);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 24px rgba(var(--gold-rgb), 0.3);
}
.carousel-btn-prev { left: -26px; }
.carousel-btn-next { right: -26px; }

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}
.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(var(--gold-rgb), 0.25);
    border: 1px solid rgba(var(--gold-rgb), 0.4);
    cursor: pointer;
    transition: all var(--transition-base);
}
.carousel-dot.active {
    background: var(--gold-500);
    border-color: var(--gold-500);
    box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.6);
    transform: scale(1.3);
}
.carousel-dot:hover:not(.active) {
    background: rgba(var(--gold-rgb), 0.5);
}
@media (max-width: 900px) {
    .carousel-btn-prev { left: 8px; }
    .carousel-btn-next { right: 8px; }
    .carousel-img { height: 420px; }
}
@media (max-width: 600px) {
    .carousel-img { height: 300px; }
    .carousel-btn { width: 40px; height: 40px; }
}


/* --- NOSOTROS --- */
.nosotros {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative; z-index: 1;
}
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: center;
}
.nosotros-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-glow-ring {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(var(--gold-rgb), 0.1) 0%, transparent 65%);
    z-index: 0;
}
.about-logo-wrap {
    width: 280px; height: 280px;
    border-radius: 50%;
    border: 2px solid rgba(var(--gold-rgb), 0.25);
    background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.06) 0%, rgba(var(--gold-rgb), 0.02) 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 2;
    box-shadow: 0 0 60px rgba(var(--gold-rgb), 0.15), inset 0 0 40px rgba(var(--gold-rgb), 0.05);
    animation: float 8s ease-in-out infinite;
}
.about-logo { width: 180px; height: 180px; object-fit: contain; }
.about-badge {
    position: absolute;
    bottom: 20px; right: 0;
    background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    text-align: center;
    z-index: 5;
    box-shadow: 0 8px 32px rgba(var(--gold-rgb), 0.4);
}
.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: #0a0800;
    line-height: 1;
}
.badge-text {
    font-size: 11px;
    font-weight: 600;
    color: rgba(10, 8, 0, 0.7);
    line-height: 1.3;
}

.nosotros-content { display: block; }
.nosotros-text {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.8;
    margin-bottom: 16px;
}
.nosotros-text strong { color: var(--gold-400); }

.nosotros-pillars { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.pillar {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    background: rgba(var(--gold-rgb), 0.04);
    border: 1px solid rgba(var(--gold-rgb), 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}
.pillar:hover { border-color: rgba(var(--gold-rgb), 0.25); background: rgba(var(--gold-rgb), 0.08); }
.pillar-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.pillar strong { display: block; font-weight: 600; margin-bottom: 4px; color: var(--gold-300); }
.pillar p { font-size: 13px; color: var(--text-tertiary); margin: 0; }

/* --- CTA FINAL --- */
.cta-final {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    text-align: center;
    z-index: 1;
}
.cta-bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(ellipse at center, rgba(var(--gold-rgb), 0.12) 0%, transparent 65%);
    z-index: 0;
}
.cta-inner { position: relative; z-index: 2; }
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.cta-subtitle {
    font-size: 17px;
    color: var(--text-tertiary);
    margin-bottom: 36px;
    line-height: 1.7;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.cta-trust-signals {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
}

/* --- FOOTER --- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(var(--gold-rgb), 0.1);
    position: relative; z-index: 1;
    padding-top: 80px;
}
.footer-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 200px;
    background: radial-gradient(ellipse at top, rgba(var(--gold-rgb), 0.07) 0%, transparent 70%);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.08);
}
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.footer-logo-img { height: 40px; width: auto; object-fit: contain; }
.footer-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
}
.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.social-link {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(var(--gold-rgb), 0.07);
    border: 1px solid rgba(var(--gold-rgb), 0.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}
.social-link:hover {
    background: rgba(var(--gold-rgb), 0.15);
    border-color: rgba(var(--gold-rgb), 0.35);
    color: var(--gold-400);
    transform: translateY(-2px);
}
.footer-group-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-500);
    margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links span {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li span:first-child { font-size: 15px; flex-shrink: 0; margin-top: 1px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-legal {
    display: flex;
    gap: 24px;
}
.footer-legal a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}
.footer-legal a:hover { color: var(--gold-400); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
    .hero-grid { gap: 40px; }
    .nosotros-grid { grid-template-columns: 1fr; gap: 48px; }
    .nosotros-visual { order: -1; }
    .about-logo-wrap { width: 220px; height: 220px; }
    .about-glow-ring { width: 300px; height: 300px; }
    .about-badge { bottom: 0; right: 20px; }
    .testimonios-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-py: 70px; }
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .hero-content { order: 1; }
    .hero-visual-wrap { order: 0; width: 100%; max-width: 100%; margin: 0 auto; }
    .hero-badge { margin: 0 auto 20px; }
    .hero-cta-group { justify-content: center; }
    .hero-stats { flex-wrap: wrap; justify-content: center; gap: 16px; }
    .stat-divider { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card-flip { height: 320px; }
    .metrics-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .testimonios-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .features-row { gap: 8px; }
    .cta-trust-signals { flex-direction: column; align-items: center; gap: 8px; }
    .proof-logos { gap: 20px; }
    .nosotros-grid { gap: 32px; }
    .about-logo-wrap { width: 180px; height: 180px; }
    .about-logo { width: 120px; height: 120px; }
    .about-badge { position: relative; margin: 16px auto 0; right: auto; bottom: auto; display: inline-flex; gap: 12px; align-items: center; }
    .badge-number { font-size: 22px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.3rem; }
    .section-title { font-size: 1.8rem; }
    .btn-lg { padding: 14px 24px; font-size: 15px; }
    .metrics-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .stat-divider { display: none; }
}

/* =====================================================
   FORMULARIO DE CONTACTO
   ===================================================== */

.formulario-section {
    position: relative;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    z-index: 1;
}
.formulario-bg-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 400px;
    background: radial-gradient(ellipse at top, rgba(var(--gold-rgb), 0.07) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}
.formulario-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* --- Info card lateral --- */
.formulario-info { display: block; }
.form-info-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 32px;
}
.form-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.08);
}
.form-info-item:last-of-type { border-bottom: none; }
.form-info-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.form-info-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gold-300);
    margin-bottom: 4px;
}
.form-info-item p { font-size: 13px; color: var(--text-tertiary); margin: 0; line-height: 1.55; }

.form-contact-direct {
    padding-top: 24px;
    margin-top: 8px;
    border-top: 1px solid rgba(var(--gold-rgb), 0.1);
}
.form-contact-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.form-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
    width: 100%;
    justify-content: center;
}
.form-whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

/* --- Formulario principal --- */
.formulario-wrap { display: block; }
.contact-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
/* Override glass-card hover for the form */
.contact-form:hover {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* --- Form group --- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.label-icon { font-size: 15px; }
.required { color: var(--gold-500); }

/* --- Inputs --- */
.form-input,
.form-select {
    width: 100%;
    background: rgba(var(--gold-rgb), 0.04);
    border: 1.5px solid rgba(var(--gold-rgb), 0.15);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-select:focus {
    border-color: var(--gold-500);
    background: rgba(var(--gold-rgb), 0.07);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.12), 0 0 20px rgba(var(--gold-rgb), 0.08);
}
.form-input:hover:not(:focus),
.form-select:hover:not(:focus) {
    border-color: rgba(var(--gold-rgb), 0.3);
}

/* Valid / Error states */
.form-group.is-valid .form-input,
.form-group.is-valid .form-select {
    border-color: var(--success);
    background: rgba(34, 197, 94, 0.05);
}
.form-group.is-invalid .form-input,
.form-group.is-invalid .form-select {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.form-error {
    font-size: 12px;
    color: #ef4444;
    min-height: 16px;
    display: block;
    transition: opacity 0.2s;
}

/* Telephone prefix */
.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}
.input-prefix {
    position: absolute;
    left: 18px;
    font-size: 15px;
    color: var(--gold-400);
    font-weight: 600;
    pointer-events: none;
    z-index: 1;
}
.form-input.has-prefix { padding-left: 32px; }

/* Custom select wrapper */
.select-wrap {
    position: relative;
}
.select-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-400);
    font-size: 14px;
    pointer-events: none;
}
.form-select { padding-right: 44px; cursor: pointer; }
.form-select option {
    background: #0f1117;
    color: var(--text-primary);
}

/* --- Submit button --- */
.form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}
.form-submit-btn.loading .btn-text,
.form-submit-btn.loading .btn-arrow { opacity: 0; }
.form-submit-btn.loading .btn-loader { opacity: 1; }
.btn-loader {
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid rgba(10, 8, 0, 0.3);
    border-top-color: #0a0800;
    border-radius: 50%;
    animation: spin-slow 0.7s linear infinite;
    opacity: 0;
    transition: opacity 0.2s;
}

/* --- Privacy text --- */
.form-privacy {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}
.form-privacy a { color: var(--gold-500); text-decoration: underline; }
.form-privacy a:hover { color: var(--gold-300); }

/* --- Success state --- */
.form-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 64px 40px;
    background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.07) 0%, rgba(var(--gold-rgb), 0.03) 100%);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: var(--radius-lg);
    gap: 16px;
    animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.form-success-state[hidden] { display: none; }
.success-icon { font-size: 56px; animation: scale-in 0.5s cubic-bezier(0.68, -0.4, 0.265, 1.4) forwards; }
.success-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--gold-400);
}
.success-text {
    font-size: 16px;
    color: var(--text-tertiary);
    max-width: 400px;
    line-height: 1.7;
}
.success-text strong { color: var(--gold-300); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .formulario-layout { grid-template-columns: 1fr; gap: 32px; }
    .formulario-info { order: 1; }
    .form-info-card { flex-direction: row; flex-wrap: wrap; gap: 0; }
    .form-info-item { width: 50%; border-bottom: 1px solid rgba(var(--gold-rgb), 0.08); }
    .form-contact-direct { width: 100%; }
    .formulario-wrap { order: 0; }
}
@media (max-width: 768px) {
    .contact-form { padding: 24px; gap: 18px; }
    .form-info-item { width: 100%; }
    .form-info-card { padding: 20px; }
}

/* --- HERO CAROUSEL --- */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 560px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 0 60px rgba(var(--gold-rgb), 0.2), 0 25px 80px rgba(0,0,0,0.7);
    z-index: 2;
    aspect-ratio: 3 / 4;
}
.hero-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hero-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    display: block;
}
.hero-carousel-slide:hover .hero-carousel-img {
    transform: scale(1.04);
}

/* Arrows */
.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--gold-rgb), 0.35);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    cursor: pointer;
}
.hero-carousel-btn:hover {
    background: rgba(var(--gold-rgb), 0.2);
    border-color: var(--gold-500);
    color: var(--gold-300);
    transform: translateY(-50%) scale(1.1);
}
.hero-carousel-prev { left: 12px; }
.hero-carousel-next { right: 12px; }

/* Dots */
.hero-carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}
.hero-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}
.hero-carousel-dot.active {
    background: var(--gold-500);
    box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.8);
    width: 22px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-carousel { max-width: 460px; }
}
@media (max-width: 768px) {
    .hero-carousel {
        max-width: 100%;
        width: 100%;
        aspect-ratio: 9 / 7;
        border-radius: var(--radius-lg);
        box-shadow: 0 0 30px rgba(var(--gold-rgb), 0.15), 0 12px 40px rgba(0,0,0,0.6);
    }
    .hero-carousel-btn {
        width: 34px;
        height: 34px;
    }
    .hero-carousel-prev { left: 8px; }
    .hero-carousel-next { right: 8px; }
    .hero-carousel-dot { width: 7px; height: 7px; }
    .hero-carousel-dot.active { width: 18px; }
}
@media (max-width: 480px) {
    .hero-carousel {
        aspect-ratio: 4 / 3;
    }
}
