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

/* Header */
.main-header {
    display: none;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-img {
    width: 130px;
    height: auto;
}

.main-nav ul {
    display: flex;
    gap: 24px;
    color: var(--white);
    font-weight: 500;
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, #2a4f71 0%, #264a6a 45%, #224160 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 360px at 50% 8%, rgba(255, 255, 255, 0.12), transparent 70%),
        radial-gradient(520px 260px at 85% 20%, rgba(0, 130, 215, 0.18), transparent 70%);
    z-index: 1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 200px 200px;
    opacity: 0.05;
    z-index: 2;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 320px at 50% 35%, rgba(0, 130, 215, 0.2), transparent 70%);
    opacity: 0.7;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 980px;
    padding: var(--hero-top-offset) 0 40px;
}

.hero-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    opacity: var(--hero-brand-opacity);
}

.hero-logo {
    display: block;
    width: auto;
    height: var(--hero-logo-height);
    max-height: var(--hero-logo-max-height);
}

.hero-brand-text {
    text-align: center;
    display: none;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--hero-brand-name-size);
    letter-spacing: 0.02em;
}

.brand-tag {
    display: block;
    font-size: var(--hero-brand-tag-size);
    color: rgba(255, 255, 255, 0.75);
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 3.5vw + 1.4rem, 4.3rem);
    line-height: 1.14;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 36px;
    font-size: clamp(1.05rem, 0.9vw + 0.8rem, 1.35rem);
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.hero-btns button {
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: none;
}

.hero-btns .shadow-lg {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    background: #0a6fda;
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 130, 215, 0.28);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-hero-primary:hover {
    background: #0b66c7;
    box-shadow: 0 12px 24px rgba(0, 130, 215, 0.32);
    transform: translateY(-1px);
}

.hero-device {
    display: none;
}

.phone-outline {
    width: 42px;
    height: 74px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    position: relative;
}

.phone-outline::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

/* Services Section */
.services-section {
    padding: 90px 0;
    background-color: #f7f9fc;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 140px 140px;
    opacity: 0.35;
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

/* Services cards use custom reveal in animations.css */

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 44px;
}

@media (min-width: 1100px) {
    .grid-servicios {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
    }
}

/* Process Section */
.process-section {
    padding: 90px 0;
    background: var(--navy-gradient);
    color: var(--white);
    position: relative;
}

.process-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

/* Why Section */
.why-section {
    padding: 90px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
}

.why-list {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.why-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(180deg, #2b5b90 0%, #1e6cb5 100%);
    color: var(--white);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 18px rgba(13, 35, 61, 0.18);
    flex: 0 0 46px;
}

.why-icon .icon-svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.why-copy {
    display: grid;
    gap: 6px;
}

/* Stats */
.stats-band {
    background: var(--brand-blue);
    color: var(--white);
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
}

/* Contact */
.contact-section {
    padding: 90px 0;
    background: var(--white);
}

.contact-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: start;
}

/* Footer */
.main-footer {
    background: linear-gradient(180deg, #233b57 0%, #1b2e45 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 36px;
    align-items: start;
}

.footer-logo {
    width: 150px;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-links ul,
.footer-social .social-icons {
    margin-top: 12px;
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 360px;
}

.footer-social .social-icons {
    display: flex;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 42px;
    padding: 18px 0 28px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .main-nav {
        position: absolute;
        top: 64px;
        right: 20px;
        background: rgba(27, 46, 69, 0.95);
        border-radius: var(--radius);
        padding: 16px 20px;
        display: none;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 12px;
    }

    .main-nav.is-active {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 700px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-logo {
        height: var(--hero-logo-height-sm);
        max-height: var(--hero-logo-max-height-sm);
    }

    .brand-name {
        font-size: 1.6rem;
    }

    .brand-tag {
        font-size: 1rem;
    }
}
