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

:root {
    --primary: #1a5f7a;
    --primary-dark: #0f3d52;
    --secondary: #2d8f6f;
    --accent: #c9a227;
    --dark-bg: #0f2940;
    --light-bg: #f4f7f9;
    --text-dark: #1e2a32;
    --text-light: #fff;
    --text-muted: #5a6b75;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: 0 8px 32px rgba(15, 41, 64, 0.08);
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 1rem 0;
    background: transparent;
    pointer-events: none;
}

header > * { pointer-events: auto; }

.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: background 0.35s ease, border-color 0.35s ease;
}

header.scrolled .header-inner,
body.subpage header .header-inner {
    background: rgba(15, 41, 64, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.1rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.82rem;
    transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
    display: inline-flex;
    padding: 0.5rem 1.1rem;
    background: var(--accent);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
}

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

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--text-light);
    border-radius: 2px;
}

/* Hero home */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 70% 20%, rgba(45, 143, 111, 0.25), transparent 55%),
        radial-gradient(ellipse 60% 45% at 10% 80%, rgba(26, 95, 122, 0.35), transparent 50%),
        linear-gradient(160deg, #0f2940 0%, #1a3d55 50%, #0f2940 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 7rem 1.75rem 4rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero h1 em { font-style: normal; color: var(--accent); }

.hero-lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    opacity: 0.88;
    max-width: 32rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.65rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.35);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.35rem;
}

.hero-stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.hero-stat span { font-size: 0.85rem; opacity: 0.8; }

.hero-visual { position: relative; }

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.hero-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.hero-card-header h3 { font-size: 1.05rem; font-weight: 600; font-family: 'DM Sans', sans-serif; }
.hero-card-header p { font-size: 0.82rem; color: var(--text-muted); }

.hero-card-items { display: flex; flex-direction: column; gap: 0.75rem; }

.hero-card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    background: var(--light-bg);
    border-radius: 10px;
    font-size: 0.88rem;
}

.hero-card-item .status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
}

.status-ok { background: rgba(45, 143, 111, 0.15); color: var(--secondary); }
.status-pending { background: rgba(201, 162, 39, 0.15); color: #9a7b1a; }

/* Page hero (subpages) */
.page-hero {
    padding: 7.5rem 1.75rem 3rem;
    background: linear-gradient(160deg, #0f2940 0%, #1a3d55 100%);
    color: var(--text-light);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.85rem;
}

.page-hero p {
    max-width: 640px;
    margin: 0 auto;
    opacity: 0.88;
    font-size: 1.05rem;
}

.page-hero .breadcrumb {
    font-size: 0.82rem;
    opacity: 0.65;
    margin-bottom: 1rem;
}

.page-hero .breadcrumb a { color: var(--accent); text-decoration: none; }

/* Sections */
section { padding: 5rem 1.75rem; }

.container { max-width: 1140px; margin: 0 auto; }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Servicios */
.services { background: var(--light-bg); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: inherit;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.service-card:focus-visible,
.service-card.active {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 41, 64, 0.12);
    border-color: rgba(26, 95, 122, 0.25);
    outline: none;
}

.service-card.active { border-color: var(--primary); }

.service-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(45, 143, 111, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.6rem;
}

.service-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

.service-tap-hint {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

/* Tipos de consorcios */
.consortium-types { background: #fff; }

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

.consortium-card {
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--light-bg);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.consortium-card:hover,
.consortium-card:focus-visible,
.consortium-card.active {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(26, 95, 122, 0.25);
    outline: none;
}

.consortium-card.active { border-color: var(--primary); }

.consortium-card-icon { font-size: 2rem; margin-bottom: 0.85rem; }

.consortium-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.consortium-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.consortium-tap-hint {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.consortium-card-icon,
.consortium-card h3,
.consortium-card p,
.consortium-tap-hint { pointer-events: none; }

/* Zonas de cobertura */
.coverage {
    background: var(--dark-bg);
    color: var(--text-light);
}

.coverage .section-title,
.coverage .section-desc { color: var(--text-light); }

.coverage .section-desc { opacity: 0.8; }

.coverage-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.coverage-map {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.coverage-map-icon { font-size: 4rem; margin-bottom: 1rem; }

.coverage-map p { font-size: 0.95rem; opacity: 0.85; line-height: 1.6; }

.zone-groups { display: flex; flex-direction: column; gap: 1.5rem; }

.zone-group h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.zone-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.zone-tag {
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Beneficios */
.benefits { background: var(--light-bg); }

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

.benefit-item { text-align: center; padding: 1.5rem 1rem; }

.benefit-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    width: 100%;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover,
.benefit-card:focus-visible,
.benefit-card.active {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 41, 64, 0.12);
    border-color: rgba(26, 95, 122, 0.25);
    outline: none;
}

.benefit-card.active { border-color: var(--primary); }

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px rgba(26, 95, 122, 0.25);
}

.benefit-item h3,
.benefit-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-item p,
.benefit-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.benefit-tap-hint {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.benefit-card .benefit-icon { pointer-events: none; }
.benefit-card h3,
.benefit-card p,
.benefit-tap-hint { pointer-events: none; }

/* Nosotros */
.about { background: #fff; }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.15rem;
    line-height: 1.75;
}

.about-features { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.5rem; }

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.about-feature::before {
    content: '✓';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 2px;
}

.about-panel {
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
    border-radius: 20px;
    padding: 2.5rem;
    color: #fff;
}

.about-panel h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }

.about-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.about-metric {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-metric strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.about-metric span { font-size: 0.85rem; opacity: 0.85; }

/* Proceso */
.process { background: var(--light-bg); }

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.process-step {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
}

.process-step h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.process-cta { text-align: center; margin-top: 2rem; }

/* Blog */
.blog-preview { background: #fff; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--light-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.blog-card-image {
    height: 140px;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.blog-card-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }

.blog-card-meta {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.blog-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.blog-card-link {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.blog-cta { text-align: center; margin-top: 2rem; }

/* FAQ */
.faq { background: var(--light-bg); }

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-item[open] { box-shadow: var(--shadow); }

.faq-item summary {
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 95, 122, 0.1);
    color: var(--primary);
}

.faq-item[open] summary::after {
    content: '−';
    background: var(--primary);
    color: #fff;
}

.faq-answer {
    padding: 0 1.25rem 1.1rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer a { color: var(--primary); font-weight: 500; }

/* Contacto */
.contact { background: #fff; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-form-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.contact-form-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.contact-form-card > p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-group label { font-size: 0.85rem; font-weight: 600; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.12);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }

.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-2px); }

.btn-telegram { background: #26a5e4; color: #fff; }
.btn-telegram:hover { background: #1d94cf; transform: translateY(-2px); }

.btn-email {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

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

.form-note { font-size: 0.8rem; color: var(--text-muted); }

.form-note a { color: var(--primary); font-weight: 500; }

.contact-info { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.15rem;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.contact-icon { font-size: 1.5rem; flex-shrink: 0; }

.contact-item h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.contact-item p, .contact-item a {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
}

.contact-item a:hover { color: var(--primary); }

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease;
    text-decoration: none;
}

.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 41, 64, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(16px);
    transition: transform 0.25s ease;
    position: relative;
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: var(--light-bg);
    cursor: pointer;
    font-size: 1.2rem;
}

.modal-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.modal h3 { font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 0.75rem; }

.modal p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

.modal-tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    background: rgba(26, 95, 122, 0.1);
    color: var(--primary);
}

.modal-cta {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.7rem 1.25rem;
    background: var(--accent);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.88rem;
}

/* Article / legal content */
.page-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 1.75rem 5rem;
}

.article-content h2 {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin: 2rem 0 0.85rem;
}

.article-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.5rem 0 0.65rem;
    color: var(--text-dark);
}

.article-content p,
.article-content li {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1rem 1.25rem;
}

.article-content li { margin-bottom: 0.5rem; }

.article-content a { color: var(--primary); font-weight: 500; }

.article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.info-box {
    background: var(--light-bg);
    border-left: 4px solid var(--secondary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
}

.info-box p { margin-bottom: 0; }

.steps-list {
    counter-reset: step;
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.steps-list li {
    counter-increment: step;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.25rem;
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2.5rem;
}

.cta-banner h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

.cta-banner p { opacity: 0.9; margin-bottom: 1.25rem; font-size: 0.95rem; }

.cta-banner .btn-primary { color: var(--dark-bg); }

/* Footer */
footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 1.75rem;
    text-align: center;
}

footer p { font-size: 0.9rem; }

footer .footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-nav {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1.25rem 0;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.84rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--accent); }

footer .footer-legal {
    margin-top: 1rem;
    font-size: 0.82rem;
    opacity: 0.6;
}

@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .about-content { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .coverage-layout { grid-template-columns: 1fr; }
}

/* Compensar header fijo al navegar por anclas */
section[id] {
    scroll-margin-top: 6rem;
}

@media (max-width: 768px) {
    .header-inner { border-radius: 14px; }
    .nav-cta { display: none; }
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 5.5rem;
        left: -100%;
        flex-direction: column;
        background: rgba(15, 41, 64, 0.96);
        backdrop-filter: blur(16px);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 1.25rem;
    }

    .nav-links.active { left: 0; }

    .form-row { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
}
