﻿:root {
    --brand-blue: #0f4d92;
    --brand-cyan: #28c1d8;
    --surface: #f7f9fb;
    --surface-strong: #ffffff;
    --text-dark: #1f2b3a;
    --text-muted: #4a5d79;
    --border: rgba(31, 43, 58, 0.12);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --shadow-soft: 0 20px 60px rgba(31, 43, 58, 0.08);
    --shadow-light: 0 10px 30px rgba(31, 43, 58, 0.05);
    --gap: 1.5rem;
    --max-width: 1140px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 260px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--surface);
    line-height: 1.72;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.page-grid {
    width: min(100%, calc(var(--max-width) - 2rem));
    margin: 0 auto;
}

.header-container {
    z-index: 50;
}

.branding-header {
    background: var(--surface-strong);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.75rem 0;
}

.branding-logo__image {
    height: 210px;
    max-height: 220px;
    width: auto;
}

.navigation-bar {
    background: var(--surface-strong);
    border-bottom: 1px solid var(--border);
}

.navigation-container {
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.navigation-container a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.navigation-container a:hover,
.navigation-container a:focus {
    color: var(--brand-cyan);
}

.hero-section {
    padding: 4.5rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-eyebrow,
.section-eyebrow {
    display: inline-block;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-blue);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-copy h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    max-width: 550px;
    margin-bottom: 1.75rem;
    color: var(--text-dark);
}

.hero-copy p {
    max-width: 620px;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 1rem 1.75rem;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    color: var(--surface-strong);
}

.button-secondary {
    background: rgba(15, 77, 146, 0.08);
    color: var(--brand-blue);
}

.button-secondary:hover,
.button-secondary:focus {
    background: rgba(15, 77, 146, 0.14);
}

.hero-display {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    width: 100%;
    min-height: 360px;
    max-width: 520px;
    border-radius: var(--radius-lg);
    padding: 1.65rem;
    background: linear-gradient(180deg, rgba(40, 193, 216, 0.16), rgba(15, 77, 146, 0.08));
    border: 1px solid rgba(15, 77, 146, 0.12);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-card__header {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    color: var(--brand-blue);
    font-weight: 500;
}

.hero-card__header span {
    background: rgba(15, 77, 146, 0.08);
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-size: 0.82rem;
}

.hero-card h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.08;
    font-size: 1.75rem;
    color: var(--text-dark);
    margin: 1.25rem 0 0.95rem;
}

.hero-card p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.hero-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero-card__chips span {
    background: rgba(255,255,255,0.75);
    border-radius: 999px;
    padding: 0.7rem 0.95rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    border: 1px solid rgba(31, 43, 58, 0.08);
}

.services-section,
.process-section,
.pricing-section,
.coverage-section,
.faq-section,
.contact-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    display: grid;
    gap: 0;
    margin-top: 0;
}

.section-header h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.1em;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 2rem;
}

.services-grid,
.process-grid,
.pricing-grid,
.faq-grid,
.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    background: var(--surface-strong);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(40, 193, 216, 0.4);
}

.service-card h3,
.pricing-card h3,
.faq-card h3,
.process-step h3,
.contact-intro h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card ul,
.pricing-card ul {
    list-style: none;
    display: grid;
    gap: 0.9rem;
    color: var(--text-muted);
}

.service-card li,
.pricing-card li {
    position: relative;
    padding-left: 1.6rem;
}

.service-card li::before,
.pricing-card li::before {
    content: '•';
    color: var(--brand-cyan);
    position: absolute;
    left: 0;
    top: 0.05rem;
}

.service-card--highlight {
    background: linear-gradient(180deg, rgba(40, 193, 216, 0.16), rgba(15, 77, 146, 0.08));
    border-color: rgba(40, 193, 216, 0.28);
}

.process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step {
    background: var(--surface-strong);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.process-step__badge {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    color: var(--surface-strong);
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.8;
}

.pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-card {
    background: var(--surface-strong);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.pricing-card ul {
    list-style: none;
    display: grid;
    gap: 0.95rem;
    color: var(--text-muted);
}

.coverage-grid {
    display: grid;
    gap: 1.5rem;
}

.coverage-card {
    background: var(--surface-strong);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
}

.coverage-card p {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 710px;
}

.faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-card {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.faq-card p {
    color: var(--text-muted);
    line-height: 1.85;
}

.contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
}

.contact-intro {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
}

.contact-intro p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-item__icon {
    flex: 0 0 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--brand-blue);
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-intro a {
    color: var(--brand-blue);
    font-weight: 500;
}

.contact-form {
    display: grid;
    gap: 1rem;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
}

.contact-form label {
    font-weight: 500;
    color: var(--text-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(31, 43, 58, 0.1);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    background: #ffffff;
    color: var(--text-dark);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(40, 193, 216, 0.4);
    box-shadow: 0 0 0 4px rgba(40, 193, 216, 0.12);
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.section-image {
    width: 100%;
    margin: 1.5rem 0 2rem;
}

.section-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 20px;
}

.footer-bar {
    padding: 2rem 0 3rem;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-grid a.footer-brand {
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.25s ease;
}

.footer-grid a.footer-brand:hover,
.footer-grid a.footer-brand:focus {
    color: var(--brand-blue);
}

.footer-grid a.footer-ai {
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}

.footer-grid a.footer-ai:hover,
.footer-grid a.footer-ai:focus {
    color: var(--brand-blue);
}

section {
    scroll-margin-top: 0;
}

#inicio,
#servicios,


@media (max-width: 768px) {
    .section-image img {
        height: 180px;
    }
}

@media (max-width: 1024px) {
    .hero-grid,
    .services-grid,
    .process-grid,
    .pricing-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 3.5rem;
    }
}

@media (max-width: 720px) {
    .page-grid {
        width: calc(100% - 2.5rem);
    }

    .section-header {
        justify-items: center;
    }

    .section-header,
    .hero-copy,
    .hero-display,
    .service-card,
    .process-step,
    .pricing-card,
    .faq-card,
    .coverage-card,
    .contact-intro,
    .contact-form {
        width: 100%;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

    .header-container {
        position: sticky;
        top: 0;
        z-index: 60;
    }

    #como-trabajamos,
    #tarifas,
    #cobertura,
    #faq,
    #contacto {
        scroll-margin-top: 90px;
    }

    .branding-header {
        padding: 0.8rem 0;
    }

    .branding-logo__image {
        height: 58px;
    }

    .navigation-bar {
        padding: 0 0.45rem;
    }

    .navigation-container {
        gap: 0.55rem 0.7rem;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        padding: 0.55rem 0;
    }

    .navigation-container a {
        padding: 0.18rem 0.3rem;
    }

    .hero-section {
        padding: 2.1rem 0 2.2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.3rem;
        align-items: start;
    }

    .hero-copy {
        order: 1;
    }

    .hero-copy h1 {
        font-size: clamp(1.75rem, 8.4vw, 2.1rem);
        margin-bottom: 1rem;
    }

    .hero-copy p {
        font-size: 0.96rem;
        margin-bottom: 1.25rem;
    }

    .hero-actions {
        gap: 0.7rem;
    }

    .button {
        padding: 0.82rem 1.25rem;
        font-size: 0.93rem;
    }

    .hero-actions .button {
        flex: 1 1 220px;
    }

    .hero-display {
        order: 2;
    }

    .hero-card {
        min-height: auto;
        padding: 1.25rem;
        border-radius: 24px;
    }

    .hero-card h2 {
        font-size: 1.35rem;
        margin: 1rem 0 0.65rem;
    }

    .hero-card p {
        font-size: 0.95rem;
        margin-bottom: 0.9rem;
    }

    .hero-card__chips span {
        padding: 0.55rem 0.75rem;
        font-size: 0.78rem;
    }

    .services-section,
    .process-section,
    .pricing-section,
    .coverage-section,
    .faq-section,
    .contact-section {
        padding: 2.6rem 0;
    }

    .section-header h2 {
        font-size: 1.85rem;
        margin-bottom: 1.35rem;
        text-align: center;
    }

    .service-card,
    .process-step,
    .pricing-card,
    .faq-card,
    .coverage-card,
    .contact-intro,
    .contact-form {
        padding: 1.35rem;
    }

    .services-grid,
    .process-grid,
    .pricing-grid,
    .faq-grid,
    .contact-grid,
    .coverage-grid {
        gap: 1rem;
        justify-items: stretch;
    }

    .coverage-card {
        padding: 1.5rem;
    }

    .contact-grid {
        gap: 1.1rem;
    }

    .contact-item {
        align-items: flex-start;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    html {
        scroll-padding-top: 100px;
    }

    section {
        scroll-margin-top: 0;
    }
}

@media (max-width: 540px) {
    .page-grid {
        width: calc(100% - 2rem);
    }

    .section-header,
    .hero-copy,
    .hero-display,
    .service-card,
    .process-step,
    .pricing-card,
    .faq-card,
    .coverage-card,
    .contact-intro,
    .contact-form {
        max-width: 100%;
    }

    .branding-header {
        padding: 0.62rem 0;
    }

    .branding-logo__image {
        height: 48px;
    }

    .navigation-container {
        gap: 0.36rem 0.5rem;
        font-size: 0.66rem;
        letter-spacing: 0.045em;
        padding: 0.5rem 0;
        justify-content: center;
    }

    .button {
        width: 100%;
        padding: 0.78rem 1rem;
    }

    .hero-section {
        padding-top: 1.85rem;
        padding-bottom: 1.9rem;
    }

    .hero-copy h1 {
        font-size: 1.62rem;
    }

    .section-header h2 {
        font-size: 1.62rem;
    }

    .hero-copy p,
    .service-card ul li,
    .pricing-card ul li,
    .faq-card p,
    .contact-intro p {
        font-size: 0.92rem;
    }

    .service-card,
    .process-step,
    .pricing-card,
    .faq-card,
    .coverage-card,
    .contact-intro,
    .contact-form,
    .hero-card {
        padding: 1.1rem;
    }

    .branding-header,
    .navigation-bar {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }
}
