* {
    box-sizing: border-box;
}

:root {
    --bg: var(--gradient-start, #f6fbff);
    --card: #ffffffed;
    --card-strong: #ffffff;
    --text: var(--text-color, #0f1f2a);
    --muted: var(--text-color, #566672);
    --accent: var(--primary-color, #2cb14a);
    --accent-2: var(--accent-color, #ff8a3d);
    --border: #e1e9f2;
    --gradient: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--primary-color, #2cb14a) 16%, transparent), transparent 32%),
                radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--accent-color, #ff8a3d) 18%, transparent), transparent 34%),
                linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
    --shadow: 0 18px 60px rgba(15, 31, 42, 0.12);
    --radius: 18px;
    --font-base: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', 'Times New Roman', serif;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, var(--gradient-start, #f7fbff) 0%, var(--gradient-end, #eef5ff) 45%, #ffffff 100%);
    color: var(--text);
    font-family: var(--font-base);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(90deg, color-mix(in srgb, var(--primary-color, #2cb14a) 6%, transparent) 1px, transparent 1px),
                      linear-gradient(0deg, color-mix(in srgb, var(--accent-color, #ff8a3d) 6%, transparent) 1px, transparent 1px),
                      var(--gradient);
    background-size: 140px 140px, 140px 140px, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 31, 42, 0.12);
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: grid;
    gap: 4px;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}

.logo-text span {
    color: var(--muted);
    font-size: 13px;
}

.site-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 5vw;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

.site-header nav {
    display: flex;
    align-items: center;
}

nav a {
    margin: 0 14px;
    font-size: 15px;
    color: var(--muted);
    transition: color 0.2s ease, opacity 0.2s ease;
}

nav a:hover {
    color: var(--text);
    opacity: 0.95;
}

.cta {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--primary-color, #2cb14a);
    color: #fff;
    font-weight: 700;
    background: var(--primary-color, #2cb14a);
    box-shadow: 0 10px 32px rgba(44, 177, 74, 0.24);
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-follow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 8px;
    padding: 8px 16px;
    background: rgba(15, 31, 42, 0.05);
    border-radius: 12px;
}

.social-follow .social-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    opacity: 0.7;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.social-icons a i {
    font-size: 16px;
}

.cta.call {
    background: var(--primary-color, #2cb14a);
    color: #fff;
}

.cta.whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.28);
}

.nav-cta-mobile {
    display: none;
    width: 100%;
    margin-top: 6px;
    gap: 10px;
    flex-direction: column;
}

.social-follow-mobile {
    width: 100%;
    padding: 12px;
    background: rgba(15, 31, 42, 0.03);
    border-radius: 12px;
    margin-bottom: 8px;
}

.social-follow-mobile .social-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    opacity: 0.6;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-icons-mobile {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-icons-mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transition: all 0.3s ease;
}

.social-icons-mobile a:hover {
    background: #667eea;
    color: white;
    transform: scale(1.05);
}

.social-icons-mobile a i {
    font-size: 18px;
}

.nav-cta-mobile .nav-cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.nav-cta-mobile .nav-cta.call {
    background: var(--primary-color, #2cb14a);
    color: #fff;
}

.nav-cta-mobile .nav-cta.whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.25);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(15, 31, 42, 0.12);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

main {
    position: relative;
    z-index: 1;
    padding: 0 5vw 96px;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
    align-items: center;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 6px);
    background: linear-gradient(160deg, color-mix(in srgb, var(--primary-color, #2cb14a) 8%, transparent), color-mix(in srgb, var(--accent-color, #ff8a3d) 6%, transparent)), #ffffff;
    box-shadow: var(--shadow);
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.2;
    margin: 10px 0 12px;
}

.hero-content h1 span {
    color: var(--accent);
}

.eyebrow {
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-2);
    font-weight: 800;
    font-size: 13px;
}

.lede {
    color: var(--muted);
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 18px 0 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border 0.15s ease;
}

.btn.primary {
    background: var(--primary-color, #2cb14a);
    color: #fff;
    box-shadow: 0 10px 34px color-mix(in srgb, var(--primary-color, #2cb14a) 32%, transparent);
}

.btn.ghost {
    border: 1px solid var(--border);
    color: var(--text);
    background: color-mix(in srgb, var(--accent-color, #ff8a3d) 12%, transparent);
}

.btn.full {
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.stat {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
}

.stat .number {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.stat .label {
    color: var(--muted);
    font-size: 14px;
}

.hero-visual {
    position: relative;
    min-height: 420px;
}

.floating-card {
    position: absolute;
    inset: auto 0 0 0;
    margin: auto;
    width: min(520px, 90%);
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: 0 20px 50px rgba(15, 31, 42, 0.25);
}

.floating-card.small {
    width: 260px;
    right: -18%;
    top: 12%;
    left: auto;
}

.floating-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 14px;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 52px 0 18px;
}

.pillar {
    padding: 18px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff, color-mix(in srgb, var(--primary-color, #2cb14a) 5%, transparent));
    border-radius: var(--radius);
}

.pillar .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color, #ff8a3d) 18%, transparent), rgba(45, 212, 255, 0.18));
    color: var(--text);
    margin-bottom: 10px;
}

.section-header {
    margin: 72px 0 28px;
    max-width: 780px;
}

.section-header.compact {
    margin-top: 36px;
}

.section-header h2 {
    font-size: clamp(26px, 4vw, 36px);
    margin: 6px 0 10px;
    font-family: var(--font-display);
}

.section-header .lede {
    max-width: 620px;
}

.services .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.service-card {
    padding: 22px;
    border-radius: var(--radius);
    background: var(--card-strong);
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(15, 31, 42, 0.16);
    transform-style: preserve-3d;
}

.service-card .badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color, #ff8a3d) 22%, transparent), rgba(45, 212, 255, 0.18));
    color: var(--secondary-color, #0b1428);
    display: grid;
    place-items: center;
    font-weight: 700;
    margin-bottom: 12px;
}

.chip {
    display: inline-block;
    padding: 6px 10px;
    margin: 8px 8px 0 0;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text);
    background: color-mix(in srgb, var(--accent-color, #ff8a3d) 12%, transparent);
    font-size: 13px;
}

.gallery {
    margin-top: 48px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow);
    transform-style: preserve-3d;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    font-size: 14px;
}

.process {
    margin: 56px 0 20px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff, color-mix(in srgb, var(--accent-color, #ff8a3d) 5%, transparent));
}

.timeline {
    display: grid;
    gap: 18px;
    margin-top: 12px;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(213, 161, 89, 0.12);
    margin-top: 6px;
}

.cta-banner {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    align-items: center;
    padding: 28px;
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid var(--border);
    background: linear-gradient(120deg, color-mix(in srgb, var(--primary-color, #2cb14a) 20%, transparent), color-mix(in srgb, var(--accent-color, #ff8a3d) 18%, transparent));
    box-shadow: 0 22px 60px rgba(15, 31, 42, 0.18);
}

.cta-content h2 {
    font-size: clamp(26px, 4vw, 34px);
    font-family: var(--font-display);
    margin: 8px 0;
}

.cta-form {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

input, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-family: var(--font-base);
}

textarea {
    resize: vertical;
}

.cta-visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    transform-style: preserve-3d;
}

.cta-visual img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}

.cta-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.cta-badge .label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    color: var(--accent-2);
}

.cta-badge strong {
    display: block;
    margin: 4px 0;
}

.site-footer {
    position: relative;
    z-index: 1;
    margin-top: 64px;
    padding: 32px 5vw;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    color: var(--muted);
    background: #ffffff;
}

.site-footer h4 {
    color: var(--text);
    margin: 0 0 6px;
}

.footer-links a {
    display: block;
    color: var(--muted);
    margin: 4px 0;
}

.footer-contact p {
    margin: 4px 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

@media (max-width: 960px) {
    .site-header {
        position: sticky;
        top: 0;
        flex-wrap: nowrap;
        gap: 12px;
        align-items: center;
        padding: 18px 5vw;
        padding-right: 86px;
    }

    .menu-toggle {
        display: inline-flex;
        position: absolute;
        right: 5vw;
        top: 16px;
    }

    .site-header nav {
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid var(--border);
        padding: 12px 18px 16px;
        gap: 10px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 9;
    }

    .site-header nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-header nav a {
        display: block;
        margin: 0;
        padding: 6px 0;
        font-weight: 600;
    }

    .nav-cta-mobile {
        display: flex;
        flex-direction: column;
    }
    
    .nav-cta-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .cta-group, .social-follow {
        display: none;
    }
}

@media (max-width: 720px) {
    .hero-visual {
        min-height: 320px;
    }

    .floating-card.small {
        right: auto;
        left: 8%;
        top: auto;
        bottom: -6%;
    }
}