:root {
    --brand-primary:   #1A1A2E;
    --brand-accent:    #C5A059;
    --brand-accent-lt: #d4b577;
    --bg-global:       #F8F9FA;
    --text-primary:    #2D3436;
    --text-secondary:  #718093;
    --success:         #27AE60;
    --error:           #FF4757;
    --accent-health:   #74B9FF;
    --accent-beauty:   #FD79A8;
    --accent-spa:      #55E6C1;
    --accent-grooming: #0EA5E9;
    --accent-pro:      #FFD369;
    --accent-hogar:    #A29BFE;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg-global);
    color: var(--text-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-logo {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 800;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.96);
    backdrop-filter: blur(20px);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.brand-logo {
    font-size: 1.45rem;
    color: white;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.brand-logo span { color: var(--brand-accent); }

.nav-link {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    padding: 0.5rem 0.9rem !important;
}

.nav-link:hover { color: var(--brand-accent) !important; }

.btn-nav-primary {
    background: var(--brand-accent);
    color: var(--brand-primary) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-nav-primary:hover {
    background: var(--brand-accent-lt);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197,160,89,0.35);
}

.btn-nav-outline {
    color: rgba(255,255,255,0.8) !important;
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-nav-outline:hover {
    border-color: var(--brand-accent);
    color: var(--brand-accent) !important;
}

.hero-section {
    min-height: 100vh;
    background: var(--brand-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(197,160,89,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197,160,89,0.055) 1px, transparent 1px);
    background-size: 64px 64px;
}

.hero-blob-a {
    position: absolute;
    width: 560px; height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,160,89,0.13) 0%, transparent 68%);
    top: -140px; right: -120px;
}

.hero-blob-b {
    position: absolute;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(116,185,255,0.08) 0%, transparent 68%);
    bottom: 20px; left: -100px;
}

.hero-top-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-accent) 50%, transparent);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 140px 0 90px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197,160,89,0.1);
    border: 1px solid rgba(197,160,89,0.28);
    color: var(--brand-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.42rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.15s forwards;
}

.hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand-accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.65); }
}

.hero-headline {
    font-size: clamp(2.8rem, 5.5vw, 5.2rem);
    line-height: 1.07;
    color: white;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.35s forwards;
}

.hero-headline .hl {
    color: var(--brand-accent);
    position: relative;
    display: inline-block;
}

.hero-headline .hl::after {
    content: '';
    position: absolute;
    bottom: 3px; left: 0; right: 0;
    height: 3px;
    background: var(--brand-accent);
    opacity: 0.35;
    border-radius: 2px;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.58);
    max-width: 460px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.55s forwards;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.72s forwards;
}

.btn-primary-gold {
    background: var(--brand-accent);
    color: var(--brand-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.93rem;
    padding: 0.88rem 2.1rem;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-gold:hover {
    background: var(--brand-accent-lt);
    color: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(197,160,89,0.38);
}

.btn-ghost-white {
    color: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.22);
    font-weight: 500;
    font-size: 0.93rem;
    padding: 0.88rem 2.1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ghost-white:hover {
    border-color: var(--brand-accent);
    color: var(--brand-accent);
}

.hero-mockup {
    opacity: 0;
    animation: fadeLeft 1s ease 0.45s forwards;
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(36px); }
    to   { opacity: 1; transform: translateX(0); }
}

.mock-card {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 1.65rem;
    backdrop-filter: blur(16px);
    max-width: 360px;
    margin: 0 auto;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.35rem;
}

.mock-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
}

.mock-today {
    background: rgba(197,160,89,0.14);
    color: var(--brand-accent);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 11px;
    border-radius: 100px;
    border: 1px solid rgba(197,160,89,0.22);
}

.appt {
    border-radius: 12px;
    padding: 0.82rem 0.9rem;
    margin-bottom: 0.65rem;
    background: rgba(255,255,255,0.046);
    border-left: 3px solid;
    opacity: 0;
    animation: apptIn 0.5s ease forwards;
}

.appt:nth-child(1) { border-left-color: var(--accent-health);  animation-delay: 0.95s; }
.appt:nth-child(2) { border-left-color: var(--accent-beauty);  animation-delay: 1.15s; }
.appt:nth-child(3) { border-left-color: var(--accent-pro);     animation-delay: 1.35s; }

@keyframes apptIn {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: translateX(0); }
}

.appt-time  { font-size: 0.7rem;  color: rgba(255,255,255,0.42); margin-bottom: 2px; }
.appt-name  { font-size: 0.85rem; color: white; font-weight: 600; }
.appt-place { font-size: 0.73rem; color: rgba(255,255,255,0.38); }

.float-pill {
    position: absolute;
    background: rgba(255,255,255,0.055);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    padding: 5px 13px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    animation: floatY 4s ease-in-out infinite;
    white-space: nowrap;
}

.float-pill-a { top: 6%; left: -14%; animation-delay: 0s; }
.float-pill-b { bottom: 12%; right: -7%; animation-delay: 1.8s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.stats-strip {
    background: var(--brand-accent);
    padding: 2.1rem 0;
}

.stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--brand-primary);
    line-height: 1;
}

.stat-lbl {
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(26,26,46,0.6);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-top: 4px;
}

.stat-sep {
    width: 1px;
    background: rgba(26,26,46,0.18);
    height: 44px;
    margin: auto;
}

.sectors-section {
    padding: 100px 0;
    background: var(--bg-global);
}

.eyebrow {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 0.9rem;
}

.sec-title {
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.13;
    margin-bottom: 0.9rem;
}

.sec-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    line-height: 1.72;
}

.sector-card {
    background: white;
    border-radius: 16px;
    padding: 1.9rem;
    border: 1px solid rgba(0,0,0,0.055);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.sector-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ca, var(--brand-accent));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sector-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.09);
    border-color: var(--ca, var(--brand-accent));
}

.sector-card:hover::before { opacity: 0.045; }

.sector-icon {
    width: 50px; height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    font-size: 1.25rem;
}

.s-title { font-size: 0.98rem; font-weight: 700; color: var(--brand-primary); margin-bottom: 0.45rem; }
.s-desc  { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.62; margin: 0; }

.how-section {
    padding: 100px 0;
    background: var(--brand-primary);
    position: relative;
    overflow: hidden;
}

.how-section .hero-grid { opacity: 0.5; }
.how-section .sec-title { color: white; }
.how-section .sec-desc  { color: rgba(255,255,255,0.5); }

.step-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: rgba(197,160,89,0.11);
    line-height: 1;
    margin-bottom: -0.8rem;
}

.step-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: rgba(197,160,89,0.1);
    border: 1px solid rgba(197,160,89,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--brand-accent);
    margin-bottom: 1.15rem;
}

.step-title { font-size: 1.1rem;  font-weight: 700; color: white; margin-bottom: 0.55rem; }
.step-desc  { font-size: 0.875rem; color: rgba(255,255,255,0.48); line-height: 1.65; }

.cta-section { padding: 100px 0; background: var(--bg-global); }

.cta-box {
    background: var(--brand-primary);
    border-radius: 24px;
    padding: 5.5rem 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-box .hero-grid { border-radius: 24px; }
.cta-content { position: relative; z-index: 2; }

.cta-title {
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.cta-sub {
    color: rgba(255,255,255,0.5);
    font-size: 1.02rem;
    max-width: 460px;
    margin: 0 auto 2.5rem;
    line-height: 1.72;
}

.cta-blob {
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,160,89,0.1) 0%, transparent 68%);
    bottom: -160px; right: -100px;
}

footer {
    background: var(--brand-primary);
    color: white;
    padding: 4.5rem 0 2rem;
    border-top: 1px solid rgba(197,160,89,0.13);
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    color: white;
    text-decoration: none;
    letter-spacing: 0.04em;
    display: inline-block;
    margin-bottom: 0.9rem;
}

.footer-logo span { color: var(--brand-accent); }

.footer-tagline {
    color: rgba(255,255,255,0.42);
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 255px;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 1.2rem;
}

.footer-link {
    color: rgba(255,255,255,0.46);
    text-decoration: none;
    font-size: 0.86rem;
    display: block;
    margin-bottom: 0.55rem;
    transition: color 0.2s;
}

.footer-link:hover { color: white; }

.footer-social {
    width: 37px; height: 37px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.footer-social:hover {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--brand-primary);
}

.footer-hr { border-color: rgba(255,255,255,0.07); margin: 3rem 0 1.5rem; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.28); }

#d2clic-link {
    text-decoration: none;
    color: var(--brand-accent);
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

@media (max-width: 991px) {
    .hero-mockup { margin-top: 3rem; }
    .float-pill  { display: none; }
    .cta-box     { padding: 3rem 1.75rem; }
}

@media (max-width: 576px) {
    .hero-ctas { flex-direction: column; }
}
