/* ============================================
   RESET & SYSTEM VARIABLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0e14;
    --bg-card: rgba(20, 26, 35, 0.7);
    --bg-card-border: rgba(255, 255, 255, 0.05);
    --gold: #c9a05b;
    --gold-gradient: linear-gradient(135deg, #c9a05b 0%, #ecd0a5 50%, #b38641 100%);
    --gold-hover: #e5c083;
    --gold-glow: rgba(201, 160, 91, 0.3);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.7);
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(201, 160, 91, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.02) 0%, transparent 40%);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
    pointer-events: none;
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    mix-blend-mode: difference;
}

.cursor-ring {
    pointer-events: none;
    position: fixed;
    width: 35px;
    height: 35px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
    opacity: 0.4;
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed; inset: 0;
    background: var(--bg-dark);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden { opacity: 0; visibility: hidden; }

.loader-coin {
    animation: loaderPulse 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 24px var(--gold-glow));
}

.loader-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; filter: drop-shadow(0 0 16px var(--gold-glow)); }
    50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 32px rgba(201, 160, 91, 0.55)); }
}

@keyframes loaderSpin {
    0% { transform: rotateY(0deg) scale(1); }
    25% { transform: rotateY(90deg) scale(1.1); }
    50% { transform: rotateY(180deg) scale(1); }
    75% { transform: rotateY(270deg) scale(1.1); }
    100% { transform: rotateY(360deg) scale(1); }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #080b0f; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--bg-dark), var(--gold));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-hover); }

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed; top: 0; left: 0; width: 0%; height: 3px;
    background: var(--gold-gradient);
    z-index: 10000;
    box-shadow: 0 0 12px rgba(201, 160, 91, 0.5);
    transition: width 0.1s ease-out;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-optical-sizing: auto;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

a:hover { color: var(--gold); }

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: shimmerText 3s ease-in-out infinite;
}

@keyframes shimmerText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   SCROLL REVEAL KEYS
   ============================================ */
.reveal, .reveal-left, .reveal-right, .reveal-bottom {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal { transform: translateY(20px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-bottom { transform: translateY(40px); }

.reveal.revealed, 
.reveal-left.revealed, 
.reveal-right.revealed, 
.reveal-bottom.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================
   BUTTONS & BADGES
   ============================================ */
.btn {
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border: 1px solid var(--gold);
    box-shadow: 0 4px 15px rgba(201, 160, 91, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 160, 91, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 160, 91, 0.3);
}

.badge {
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: var(--gold);
}

/* ============================================
   HEADER
   ============================================ */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8%;
    background: rgba(10, 14, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 14px 8%;
    box-shadow: var(--shadow-md);
    background: rgba(10, 14, 20, 0.95);
    border-bottom: 1px solid rgba(201, 160, 91, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #ffffff;
    text-transform: uppercase;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.06);
}

.logo-footer {
    margin-bottom: 20px;
    color: var(--gold);
}

.logo-footer .logo-img {
    width: 48px;
    height: 48px;
}

.desktop-menu { display: flex; gap: 30px; }

.desktop-menu a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.desktop-menu a:hover { color: #ffffff; }
.desktop-menu a:hover::after { width: 100%; }

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    color: var(--gold);
    cursor: pointer;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid transparent;
}

.mobile-menu-icon:hover { transform: scale(1.05); }
.mobile-menu-icon.active {
    border-color: rgba(201, 160, 91, 0.35);
    background: rgba(201, 160, 91, 0.08);
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 11, 15, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: calc(88px + env(safe-area-inset-top, 0px)) 24px calc(100px + env(safe-area-inset-bottom, 0px));
    align-items: center;
    justify-content: center;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-inner {
    margin: auto;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.mobile-nav a {
    padding: 18px 16px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    border-radius: 14px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a:active {
    color: #ffffff;
    background: rgba(201, 160, 91, 0.08);
    border-color: rgba(201, 160, 91, 0.2);
}

.mobile-nav-cta {
    margin-top: 12px !important;
    color: var(--bg-dark) !important;
}

/* Bottom navigation — mobile app chrome */
.bottom-nav {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 160px 8% 0;
    gap: 40px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-bg-particles {
    position: absolute; inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-content {
    flex: 1.1;
    padding-bottom: 80px;
}

.hero-content h1 {
    font-size: 3.6rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons { display: flex; gap: 20px; margin-bottom: 48px; }

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}

.hero-feature i {
    font-size: 1.6rem;
    color: var(--gold);
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hero-feature strong { display: block; font-size: 0.95rem; color: #ffffff; }
.hero-feature span { display: block; color: var(--text-muted); font-size: 0.85rem; margin-top: 2px; }

.hero-image {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: flex-end;
    height: calc(100vh - 80px);
    max-height: 900px;
    min-height: 520px;
}

/* Hero photo — larger, bottom-aligned, no card */
.legal-visual-card.hero-photo-card {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 520px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-shadow: none;
    overflow: visible;
    transition: var(--transition);
}

.legal-visual-card.hero-photo-card:hover {
    transform: translateY(-8px);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.hero-photo-card picture {
    display: contents;
}

.hero-photo-fade {
    display: none;
}

.hero-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-ambient .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: 280px;
    height: 280px;
    background: rgba(201, 160, 91, 0.35);
    top: 10%;
    right: 5%;
}

.orb-2 {
    width: 220px;
    height: 220px;
    background: rgba(201, 160, 91, 0.2);
    bottom: 15%;
    left: 8%;
    animation-delay: -4s;
}

.orb-3 {
    width: 160px;
    height: 160px;
    background: rgba(236, 208, 165, 0.18);
    top: 45%;
    left: 40%;
    animation-delay: -7s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -24px) scale(1.08); }
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 1;
}

/* ============================================
   FEATURES BAR
   ============================================ */
.features-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    background: rgba(14, 20, 29, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 60px 8%;
    gap: 40px;
}

.feature-item {
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover { transform: translateY(-8px); }

.icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(201, 160, 91, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(201, 160, 91, 0.15);
    transition: var(--transition);
}

.feature-item:hover .icon-wrap {
    background: var(--gold-gradient);
    border-color: transparent;
    box-shadow: 0 0 15px var(--gold-glow);
}

.feature-item:hover .icon-wrap i { color: var(--bg-dark); }

.feature-item i {
    font-size: 1.5rem;
    color: var(--gold);
    transition: var(--transition);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.feature-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    display: flex;
    align-items: center;
    padding: 100px 8%;
    gap: 80px;
}

.about-text { flex: 1.2; }

.about-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-text .oab {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.about-stats {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(201, 160, 91, 0.15) 100%);
}

.stats-bg-ornament {
    position: absolute;
    bottom: -30px; left: -30px;
    width: 150px; height: 150px;
    border: 1px solid rgba(201, 160, 91, 0.06);
    border-radius: 50%;
    pointer-events: none;
    animation: morphBlob 10s ease-in-out infinite;
}

@keyframes morphBlob {
    0%, 100% { border-radius: 50% 40% 60% 40% / 50% 60% 40% 50%; }
    50% { border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%; }
}

.stat {
    position: relative;
    z-index: 2;
}

.stat h3 {
    font-size: 2.8rem;
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.stat-glow {
    position: absolute;
    top: -10px; right: -10px;
    width: 40px; height: 40px;
    background: radial-gradient(circle, rgba(201,160,91,0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: statGlowPulse 3s ease-in-out infinite;
}

@keyframes statGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 8%;
    background: #0b0f15;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,160,91,0.2), transparent);
}

.section-header { text-align: center; margin-bottom: 60px; }

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 600;
    margin-top: 8px;
}

.section-header .line {
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 16px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(201, 160, 91, 0.25);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::after { width: 100%; }

.service-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(201, 160, 91, 0.08);
    border: 1px solid rgba(201, 160, 91, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover .service-icon-wrap {
    background: rgba(201, 160, 91, 0.16);
    border-color: rgba(201, 160, 91, 0.4);
    transform: translateY(-4px) scale(1.05);
}

.service-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.06);
}

.service-card a i {
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 0;
    transition: transform 0.3s;
}

.service-card h3 { font-size: 1.3rem; margin-bottom: 16px; font-weight: 500; }

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-card a {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card a:hover i { transform: translateX(4px); }

.card-shine {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.02), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover .card-shine { opacity: 1; }

/* ============================================
   WHATSAPP TOOLTIP
   ============================================ */
.whatsapp-tooltip {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: rgba(20, 26, 35, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(201, 160, 91, 0.2);
    z-index: 998;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-tooltip.show { opacity: 1; transform: translateY(0) scale(1); }

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px; right: 24px;
    width: 16px; height: 16px;
    background: rgba(20, 26, 35, 0.95);
    border-right: 1px solid rgba(201, 160, 91, 0.2);
    border-bottom: 1px solid rgba(201, 160, 91, 0.2);
    transform: rotate(45deg);
    border-radius: 2px;
}

.tooltip-icon {
    color: #25D366;
    font-size: 1.2rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 80px 8% 30px;
    background: #06090d;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.footer-col a, .footer-col p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.footer-col a:hover { color: var(--gold); }

.footer-col.brand p {
    line-height: 1.7;
    margin-bottom: 24px;
    display: block;
}

.socials { display: flex; gap: 12px; }

.socials a {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 0;
    color: var(--text-muted);
}

.socials a:hover {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 160, 91, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition-bounce);
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.pulse-animation { animation: pulseGlow 2s ease-in-out infinite; }

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 38px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 998;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   RESPONSIVE — APP-LIKE MOBILE
   ============================================ */
@media (max-width: 991px) {
    .cursor-dot, .cursor-ring { display: none; }

    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    header {
        padding: 12px 5% calc(12px);
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
        background: rgba(10, 14, 20, 0.72);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(201, 160, 91, 0.12);
    }
    header.scrolled {
        padding: 10px 5%;
        padding-top: calc(10px + env(safe-area-inset-top, 0px));
        background: rgba(10, 14, 20, 0.92);
    }

    .logo { font-size: 1.1rem; gap: 8px; }
    .logo-img { width: 36px; height: 36px; }

    .desktop-menu, header .header-cta { display: none; }

    /* —— Hero: copy on top, CTAs below face —— */
    .hero {
        flex-direction: column;
        text-align: center;
        justify-content: flex-start;
        align-items: stretch;
        min-height: 100svh;
        padding: calc(72px + env(safe-area-inset-top, 0px)) 5% calc(88px + env(safe-area-inset-bottom, 0px));
        gap: 0;
        overflow: hidden;
    }

    .hero-ambient .orb { opacity: 0.45; }

    .hero-content {
        position: relative;
        z-index: 3;
        padding-bottom: 0;
        max-width: 100%;
        flex: 1 1 auto;
        margin-bottom: 0;
        min-height: calc(100svh - 72px - env(safe-area-inset-top, 0px) - 88px - env(safe-area-inset-bottom, 0px));
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 12px;
    }

    .hero-copy {
        flex: 0 0 auto;
        padding-top: 4px;
    }

    .hero-content h1 {
        font-size: 2.05rem;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .hero-content p {
        margin: 0 auto;
        font-size: 0.9rem;
        line-height: 1.45;
        max-width: 34ch;
    }

    .hero-cta {
        flex: 0 0 auto;
        position: relative;
        z-index: 4;
        padding-bottom: 4px;
        margin-top: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
        max-width: 340px;
        margin: 0 auto 10px;
    }

    .hero-buttons .btn {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding: 10px 10px;
        font-size: 0.65rem;
        letter-spacing: 0.6px;
        border-radius: 10px;
        gap: 6px;
        white-space: nowrap;
    }

    .hero-buttons .btn i {
        font-size: 0.85rem;
    }

    .hero-feature {
        justify-content: center;
        max-width: 260px;
        margin: 0 auto;
        padding-top: 10px;
        gap: 8px;
        border-top-color: rgba(255, 255, 255, 0.08);
    }

    .hero-feature strong { font-size: 0.82rem; }
    .hero-feature span { font-size: 0.72rem; }
    .hero-feature i { font-size: 1.2rem; }

    .badge {
        margin-left: 0;
        margin-bottom: 6px;
        font-size: 0.7rem;
    }

    .hero-image {
        position: absolute;
        left: 0;
        right: 0;
        top: 26%;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        align-self: stretch;
        z-index: 1;
        margin-top: 0;
        pointer-events: none;
    }

    .legal-visual-card.hero-photo-card {
        max-width: none;
        width: 100%;
        height: 100%;
        min-height: 0;
        align-items: center;
        justify-content: center;
    }

    .legal-visual-card.hero-photo-card:hover {
        transform: none;
    }

    .hero-photo {
        width: auto;
        max-width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
        object-position: center center;
        filter: drop-shadow(0 0 40px rgba(201, 160, 91, 0.18));
        margin: 0 auto;
        transform: scale(1.05);
        transform-origin: center center;
    }

    .hero-photo-fade {
        display: block;
        position: absolute;
        inset: 0;
        background:
            linear-gradient(180deg, var(--bg-dark) 0%, rgba(10, 14, 20, 0.55) 12%, transparent 32%),
            linear-gradient(0deg, var(--bg-dark) 0%, rgba(10, 14, 20, 0.7) 16%, transparent 40%);
        pointer-events: none;
        z-index: 2;
    }

    /* Features as horizontal snap carousel */
    .features-bar {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 28px 5% 32px;
        scrollbar-width: none;
    }

    .features-bar::-webkit-scrollbar { display: none; }

    .feature-item {
        flex: 0 0 78%;
        scroll-snap-align: center;
        background: rgba(20, 26, 35, 0.75);
        border: 1px solid rgba(201, 160, 91, 0.15);
        border-radius: 18px;
        padding: 28px 22px;
        backdrop-filter: blur(12px);
    }

    .about {
        flex-direction: column;
        padding: 56px 5%;
        gap: 40px;
    }
    .about-text { text-align: center; }
    .about-text h2 { font-size: 2.1rem; }

    .about-stats {
        width: 100%;
        max-width: 450px;
        flex-direction: row;
        justify-content: space-around;
        padding: 28px 14px;
        border-radius: 18px;
    }
    .stat { text-align: center; }
    .stat h3 { font-size: 2rem; }

    .services {
        padding: 56px 5% 40px;
    }

    .services-grid {
        gap: 16px;
    }

    .service-card {
        border-radius: 18px;
        padding: 28px 22px;
        transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card:active {
        transform: scale(0.98);
        border-color: rgba(201, 160, 91, 0.45);
        box-shadow: 0 12px 32px rgba(201, 160, 91, 0.12);
    }

    .service-icon-wrap {
        width: 78px;
        height: 78px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    footer {
        padding: 56px 5% calc(40px + env(safe-area-inset-bottom, 0px));
    }

    .footer-grid {
        gap: 36px;
    }

    /* Bottom nav */
    .bottom-nav {
        display: flex;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 1001;
        background: rgba(14, 18, 26, 0.88);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(201, 160, 91, 0.22);
        border-radius: 22px;
        padding: 8px 6px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
        justify-content: space-around;
        align-items: center;
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 8px 4px;
        color: var(--text-muted);
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        border-radius: 14px;
        transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease;
    }

    .bottom-nav-item i {
        font-size: 1.15rem;
        transition: transform 0.25s ease, color 0.25s ease;
    }

    .bottom-nav-item.active {
        color: var(--gold-hover);
        background: rgba(201, 160, 91, 0.1);
    }

    .bottom-nav-item.active i {
        transform: translateY(-1px) scale(1.08);
        color: var(--gold);
        filter: drop-shadow(0 0 8px rgba(201, 160, 91, 0.45));
    }

    .bottom-nav-item:active {
        transform: scale(0.94);
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
        bottom: calc(88px + env(safe-area-inset-bottom, 0px));
        right: 16px;
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }

    .back-to-top {
        bottom: calc(152px + env(safe-area-inset-bottom, 0px));
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .whatsapp-tooltip { display: none; }

    .btn:active {
        transform: scale(0.96);
    }

    .reveal-left,
    .reveal-right {
        transform: translateY(36px);
    }
}

@media (max-width: 576px) {
    .hero-content h1 { font-size: 1.8rem; }

    .hero-content p {
        font-size: 0.86rem;
    }

    .hero-image {
        top: 24%;
        bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    }

    .hero-photo {
        transform: scale(1.08);
    }

    .hero-buttons {
        max-width: 100%;
        margin-bottom: 8px;
    }

    .hero-buttons .btn {
        padding: 9px 8px;
        font-size: 0.62rem;
        letter-spacing: 0.4px;
        width: auto;
    }

    .hero-buttons .btn i {
        font-size: 0.8rem;
    }

    .btn {
        border-radius: 10px;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .feature-item {
        flex: 0 0 85%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-ambient .orb { animation: none; opacity: 0.2; }
}
