* {
    box-sizing: border-box;
}

:root {
    --bg: #f7f9fb;
    --fg: #0e1b14;
    --primary: #28a745;
    --primary-600: #1f8a38;
    --muted: #5b6b63;
    --card: #ffffff;
    --alt: #eef5ef;
    --shadow: 0 8px 30px rgba(0,0,0,0.06);
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--fg);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .08s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-600);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e6efe7;
    z-index: 50;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    text-decoration: none;
    color: var(--fg);
}

.brand-leaf {
    font-size: 28px;
}

.brand-name {
    font-size: 24px;
    font-weight: 800;
}

.brand-tag {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 12px;
}

.main-nav a {
    margin: 0 10px;
    text-decoration: none;
    color: var(--fg);
    font-weight: 600;
}

.main-nav .btn {
    margin-left: 8px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: 0;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--fg);
    border-radius: 2px;
}

.hero {
    padding: 48px 0 24px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: center;
}

.hero-copy h1 {
    font-size: 44px;
    line-height: 1.1;
    margin: 0 0 12px 0;
}

.hero-copy p {
    color: var(--muted);
    font-size: 18px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin-top: 16px;
}

.trust-item {
    background: var(--card);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow);
    text-align: center;
}

.trust-item strong {
    display: block;
    font-size: 20px;
}

.section {
    padding: 56px 0;
}

.section.alt {
    background: var(--alt);
}

.section-title {
    font-size: 32px;
    margin: 0 0 16px 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}

.card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-rows: auto 1fr;
}

.card-body {
    padding: 16px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.media-shadow {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq details {
    background: var(--card);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 10px 0;
    box-shadow: var(--shadow);
}

.cta {
    background: linear-gradient(135deg, #e9f6ec, #ffffff);
}

.cta-box {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: center;
}

.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #25d366;
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    z-index: 70;
}

.site-footer {
    background: #0e1b14;
    color: #d6e0db;
    padding-top: 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.brand-footer .brand-name {
    color: #fff;
}

.footer-links a {
    color: #c6d3cd;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 600;
}

.copy {
    text-align: center;
    font-size: 12px;
    padding: 10px 0 16px 0;
    border-top: 1px solid #163326;
    margin-top: 20px;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .cards {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .two-col {
        grid-template-columns: 1fr;
    }
    .cta-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .header-grid {
        grid-template-columns: 1fr auto;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        right: 4%;
        background: #ffffff;
        border: 1px solid #e6efe7;
        border-radius: 12px;
        padding: 10px;
        box-shadow: var(--shadow);
    }
    .main-nav a {
        display: block;
        margin: 8px;
    }
    .nav-toggle {
        display: flex;
    }
    .cards {
        grid-template-columns: 1fr;
    }
}

/* Logo en el menú */
.brand-logo {
    height: 90px; /* Tamaño ideal para menú */
    width: auto;
    object-fit: contain;
}
.service-img {
    max-width: 300px; /* Cambia este número según el tamaño que quieras */
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
}
#faq {
    display: none;
}
.brand-logo-footer {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Hace el logo blanco si es necesario */
}

