/* --- CSS Variables & Resets --- */
:root {
    --primary: #14171F;
    --dark-bg: #0B0E14;
    --secondary: #F4F5EF;
    --accent: #D7FF3F;
    --accent-dark: #9FCB1B;
    --text-dark: #14171F;
    --text-light: #666;
    --bg-white: #FFFFFF;
    --border-radius-lg: 28px;
    --border-radius-md: 18px;
    --border-radius-sm: 10px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 30px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* --- Buttons --- */
.btn {
    background: var(--primary);
    color: white;
    padding: 13px 26px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 0.95rem;
    text-decoration: none;
}

.btn:hover { background: #2a2e3a; }

.btn-accent {
    background: var(--accent);
    color: var(--primary);
}
.btn-accent:hover { background: var(--accent-dark); }

.btn-whatsapp {
    background: #25D366;
    color: white;
}
.btn-whatsapp:hover { background: #1ebe5d; }

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background: linear-gradient(180deg, rgba(11,14,20,0.35), rgba(11,14,20,0.85)), url('https://buscocerca-assets.com/bvgaboo/img/golden.webp') center/cover;
    border-radius: var(--border-radius-lg);
    color: white;
    padding: clamp(32px, 6vw, 70px) clamp(20px, 5vw, 60px) 130px;
    margin-bottom: clamp(48px, 8vw, 100px);
    min-height: clamp(420px, 55vw, 560px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-content { max-width: 700px; }

.hero h1 {
    font-size: clamp(1.9rem, 4.5vw + 1rem, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(0.92rem, 1vw + 0.7rem, 1.05rem);
    max-width: 560px;
    margin-bottom: clamp(24px, 4vw, 34px);
    opacity: 0.85;
}

.hero-bg-text {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(2.1rem, 9vw, 6.5rem);
    font-weight: 800;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.12);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.hero-float-card {
    position: absolute;
    left: clamp(16px, 4vw, 60px);
    bottom: clamp(20px, 4vw, 40px);
    background: white;
    border-radius: var(--border-radius-md);
    padding: clamp(12px, 2vw, 16px);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 320px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    z-index: 2;
}

.hero-float-card img {
    width: clamp(48px, 8vw, 64px);
    height: clamp(48px, 8vw, 64px);
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.hero-float-card h4 {
    font-size: clamp(0.85rem, 1.5vw + 0.5rem, 0.95rem);
    color: var(--text-dark);
    margin-bottom: 4px;
}

.hero-float-card p {
    font-size: clamp(0.72rem, 1vw + 0.5rem, 0.78rem);
    color: var(--text-light);
}

.hero-stat-badge {
    position: absolute;
    right: 60px;
    bottom: 100px;
    background: white;
    border-radius: 50px;
    padding: 10px 20px 10px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    z-index: 2;
}

.hero-stat-badge .avatars {
    display: flex;
    align-items: center;
    background: var(--secondary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-stat-badge .avatars img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.hero-stat-badge strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.1;
}

.hero-stat-badge span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* --- Trust Strip --- */
.trust-strip {
    text-align: center;
    margin-bottom: clamp(48px, 8vw, 100px);
}

.trust-strip p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 26px;
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 4vw, 46px);
    flex-wrap: wrap;
}

.trust-items span {
    font-size: clamp(0.82rem, 1.5vw + 0.5rem, 0.95rem);
    font-weight: 600;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* --- Section label / pill --- */
.section-label {
    background: var(--secondary);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

/* --- Statement Section (heading + inline chip) --- */
.statement {
    text-align: center;
    margin-bottom: clamp(36px, 6vw, 60px);
}

.statement .section-label { margin-bottom: 24px; }

.statement h2 {
    font-size: clamp(1.35rem, 2.5vw + 1rem, 2.1rem);
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
}

.inline-chip {
    width: clamp(36px, 6vw, 46px);
    height: clamp(24px, 4vw, 30px);
    object-fit: cover;
    border-radius: 8px;
    vertical-align: middle;
    margin: 0 4px;
}

/* --- Stat Cards Grid --- */
.stat-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    border-radius: var(--border-radius-md);
    padding: clamp(20px, 3vw, 26px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: clamp(200px, 30vw, 260px);
}

.stat-card-accent {
    background: var(--accent);
}

.stat-card-accent .pill-small {
    background: rgba(0,0,0,0.08);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 20px;
}

.stat-number {
    font-size: clamp(2.2rem, 4vw + 1rem, 3rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-card-accent p, .stat-card-white p {
    font-size: 0.88rem;
    color: rgba(20,23,31,0.7);
}

.stat-card-image {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.stat-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.stat-card-image .overlay {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 26px;
    background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0));
    color: white;
    width: 100%;
}

.stat-card-image .overlay strong {
    font-size: 2rem;
    display: block;
    margin-bottom: 6px;
}

.stat-card-image .overlay span {
    font-size: 0.82rem;
    opacity: 0.9;
}

.stat-card-white {
    background: var(--secondary);
}

.stat-card-white h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.stat-card-white .link-arrow {
    font-weight: 700;
    font-size: 0.9rem;
    margin: 16px 0;
    display: inline-block;
}

.tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    background: white;
    border: 1px solid #e2e2e2;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Stats Row --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #eee;
    padding-top: 34px;
    margin-bottom: clamp(48px, 8vw, 100px);
}

.stats-row div {
    text-align: left;
    padding-right: 20px;
}

.stats-row span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.stats-row strong {
    font-size: clamp(1.5rem, 3vw + 0.8rem, 2.2rem);
    font-weight: 800;
}

/* --- Intro / About Section --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: clamp(48px, 8vw, 100px);
}

.intro-text h2 {
    font-size: clamp(1.6rem, 3vw + 1rem, 2.3rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-text p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.intro-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card {
    background: var(--secondary);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card img {
    width: 100%;
    height: clamp(140px, 24vw, 200px);
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
}

.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--text-light); }

.card-tag-list {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

/* --- Services Grid Section --- */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.services-header h2 {
    font-size: clamp(1.6rem, 3vw + 1rem, 2.3rem);
    max-width: 500px;
    line-height: 1.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: clamp(48px, 8vw, 100px);
}

/* --- Features & Process Section --- */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: clamp(48px, 8vw, 100px);
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-item h4 { font-size: 1rem; margin: 10px 0 5px; }
.feature-item p { font-size: 0.85rem; color: var(--text-light); }
.feature-icon {
    font-size: 1.3rem;
    background: var(--secondary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 21px;
    left: 30px;
    right: 30px;
    height: 1px;
    border-top: 1px dashed #ccc;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    background: var(--bg-white);
    flex: 1;
    padding: 0 10px;
}

.process-num {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 15px 0 5px;
}

.process-step h4 { font-size: 0.95rem; margin-bottom: 5px; }
.process-step p { font-size: 0.8rem; color: var(--text-light); }

/* --- Call to Action --- */
.cta-banner {
    background: var(--primary);
    color: white;
    border-radius: var(--border-radius-md);
    padding: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.cta-content { display: flex; align-items: center; gap: 20px; }
.cta-icon {
    background: var(--accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cta-text h3 { font-size: clamp(1.2rem, 2.5vw + 0.8rem, 1.5rem); margin-bottom: 5px; }
.cta-text p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* Responsive */
@media (max-width: 992px) {
    .hero-stat-badge { display: none; }
    .hero { padding-bottom: 40px; }
    .hero-float-card {
        position: static;
        width: 100%;
        max-width: none;
        margin-top: 24px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    }
    .intro-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .details-grid { grid-template-columns: 1fr; }
    .process::before { display: none; }
    .process { flex-direction: column; gap: 20px; }
    .stat-cards-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
}

@media (max-width: 768px) {
    nav ul { display: none; }
    .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .intro-cards { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .cta-banner { flex-direction: column; text-align: center; gap: 20px; padding: 32px 24px; }
    .cta-content { flex-direction: column; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    header { padding: 16px 0; }
    .logo { font-size: 1.15rem; gap: 8px; }
    .logo-img { width: 28px; height: 28px; }
    .btn-sm { padding: 7px 14px; font-size: 0.8rem; }
    .hero { padding-bottom: 32px; }
    .stats-row { row-gap: 20px; }
    .stats-row div { padding-right: 10px; }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .stat-cards-grid { gap: 16px; }
    .details-grid { gap: 36px; }
    .trust-items { gap: 14px 20px; }
}
