/* ==========================================================================
   WEXIZ 2026 — Sistema visual compartido
   ========================================================================== */
:root {
    --primary: #006191;
    --primary-dark: #004b71;
    --primary-deep: #0d3557;
    --red: #e53935;
    --green: #6cab3d;
    --surface: #f7f9ff;
    --surface-low: #eef2f7;
    --surface-white: #ffffff;
    --ink: #181c20;
    --ink-soft: #4d5963;
    --line: #dce3ea;
    --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }

/* Páginas internas: Minería, Cobertura y Ayuda */
.mining-detail-page main section,
.coverage-page main section,
.help-page main section {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.subpage-shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.subpage-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.subpage-heading h2,
.mining-detail-page h2,
.coverage-page h2,
.help-page h2 {
    color: var(--primary);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.2;
    margin: 0 0 12px;
}

.subpage-heading > p:last-child { color: var(--ink-soft); line-height: 1.6; }

.subpage-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 35%, rgba(79, 181, 226, .26), transparent 27%),
        linear-gradient(120deg, #fff 5%, #f2f8fc 58%, #dfedf5);
}

.subpage-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 97, 145, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 97, 145, .04) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}

.subpage-hero .subpage-shell { position: relative; z-index: 2; padding: 76px 0; }
.subpage-hero h1 { color: var(--primary-deep); font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.06; letter-spacing: -.04em; margin: 0 0 18px; max-width: 740px; }
.subpage-hero .subpage-shell > p:not(.section-kicker) { max-width: 650px; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.subpage-hero .btn-primary { margin-top: 18px; border: 0; cursor: pointer; }
.subpage-hero-art { position: absolute; right: 9%; top: 50%; transform: translateY(-50%); width: 210px; height: 210px; display: grid; place-items: center; border: 1px solid rgba(0, 97, 145, .16); border-radius: 44% 56% 55% 45%; color: rgba(0, 97, 145, .22); background: rgba(255,255,255,.42); font-size: 86px; box-shadow: 0 25px 70px rgba(0, 97, 145, .1); }

.subpage-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: #e4f3fb; color: var(--primary); font-size: 21px; flex: 0 0 auto; }

/* Ayuda */
.help-channels { background: #fff !important; padding: 88px 0 !important; }
.help-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.help-card { padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: transform .2s ease, box-shadow .2s ease; }
.help-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11,53,87,.08); }
.help-card .subpage-icon { margin-bottom: 22px; }
.help-card h3 { margin: 0 0 13px; font-size: 19px; color: var(--ink); }
.help-card p { color: var(--ink-soft); line-height: 1.65; font-size: 14px; }
.help-card > a { display: block; color: var(--primary); font-size: 14px; font-weight: 700; margin: 8px 0; text-decoration: none; overflow-wrap: anywhere; }
.help-detail { margin: 20px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--line); color: #737e87 !important; font-size: 12px !important; }
.help-detail i { color: var(--primary); margin-right: 5px; }
.accessibility-section { background: var(--surface-low) !important; padding: 92px 0 !important; }
.accessibility-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.accessibility-map { height: 410px; overflow: hidden; border: 1px solid #cbd6dd; border-radius: 16px; box-shadow: 0 8px 24px rgba(11,53,87,.08); }
.accessibility-map iframe { width: 100%; height: 100%; border: 0; }
.accessibility-copy > p:not(.section-kicker) { color: var(--ink-soft); line-height: 1.7; }
.accessibility-badge { margin-top: 26px; display: flex; align-items: center; gap: 17px; padding: 16px; border: 1px solid #cfe1ea; border-radius: 12px; background: #fff; }
.accessibility-badge img { width: 70px; height: 70px; object-fit: contain; border-radius: 8px; }
.accessibility-badge strong, .accessibility-badge span { display: block; }
.accessibility-badge strong { color: var(--primary-deep); margin-bottom: 5px; }
.accessibility-badge span { color: var(--ink-soft); font-size: 13px; line-height: 1.4; }
.support-notice-section { background: #fff !important; padding: 78px 0 !important; }
.support-notice { display: flex; gap: 24px; padding: 34px; border: 1px solid #c6dde8; border-radius: 15px; background: linear-gradient(120deg, #f7fbfd, #eef7fb); }
.notice-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; flex: 0 0 auto; color: var(--primary); background: #fff; box-shadow: 0 8px 22px rgba(0,97,145,.11); font-size: 25px; }
.support-notice h2 { font-size: clamp(1.45rem, 3vw, 2rem); text-align: left; }
.support-notice p { color: var(--ink-soft); line-height: 1.65; }
.support-notice .report-link { margin: 18px 0 0; color: #753832; font-size: 13px; }
.report-link i { color: var(--red); }
.report-link a { color: #a32622; font-weight: 700; }
.help-page #btnAyudaFlotante { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(229,57,53,.25); }
.help-page #panelAyuda { max-width: 410px; z-index: 1800; }
.help-page .panel-header { background: var(--primary-deep); padding: 20px 22px; }
.help-page .panel-header span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #9bd9fb; }
.help-page .panel-header h3 { margin: 3px 0 0; font-size: 20px; }
.help-page .panel-header button { border: 0; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }
.help-page .form-ayuda { gap: 7px; padding: 24px; }
.help-page .form-ayuda label { margin-top: 7px; color: var(--ink); font-size: 12px; font-weight: 700; }
.help-page .form-ayuda input, .help-page .form-ayuda textarea { border: 1px solid #cbd5dc; border-radius: 7px; background: #fbfcfd; }
.help-page .form-ayuda input:focus, .help-page .form-ayuda textarea:focus { outline: 2px solid rgba(0,97,145,.15); border-color: var(--primary); }
.help-page .form-ayuda button { margin-top: 12px; border-radius: 7px; background: var(--primary); color: #fff; }

/* Cobertura */
.coverage-map-section { background: #fff !important; padding: 88px 0 !important; }
.map-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; text-align: left; }
.coverage-legend { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 6px; }
.coverage-legend span { display: flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.coverage-legend i { width: 11px; height: 11px; border-radius: 50%; }
.coverage-legend .available { background: #42a545; }
.coverage-legend .partial { background: #e0ad0b; }
.coverage-legend .expansion { background: #e53935; }
.coverage-page #mapa { height: 580px; border: 1px solid #cbd6dd; border-radius: 16px; box-shadow: 0 12px 34px rgba(11,53,87,.1); overflow: hidden; z-index: 1; }
.coverage-page .leaflet-control-zoom a { color: var(--primary); }
.coverage-page .leaflet-popup-content-wrapper { border-radius: 9px; font-family: "Inter"; }
.coverage-legal { max-width: 850px; margin: 18px 0 0; padding: 14px 17px; border-radius: 9px; background: #f3f7f9; color: #66727b; font-size: 12px; line-height: 1.55; }
.coverage-legal i { color: var(--primary); margin-right: 6px; }
.coverage-locations-section { background: var(--surface-low) !important; padding: 90px 0 !important; }
.location-columns { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: start; }
.location-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 30px; }
.location-card-title { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.location-card-title p { margin: 0 0 2px; color: #7b858e; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.location-card-title h3 { margin: 0; color: var(--primary-deep); font-size: 21px; }
.location-list { list-style: none; padding: 23px 0 0; margin: 0; columns: 2; column-gap: 30px; }
.location-list li { break-inside: avoid; position: relative; padding: 7px 0 7px 19px; color: var(--ink-soft); font-size: 13px; }
.location-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.altamirano-card > p { color: var(--ink-soft); line-height: 1.6; margin: 24px 0; }
.altamirano-card > a { color: var(--primary); font-size: 13px; font-weight: 700; text-decoration: none; }

/* Minería */
.mining-detail-hero { position: relative; min-height: 680px; display: flex; align-items: center; color: #fff; background: #15212a url('../../mineria/4.jpeg') center/cover no-repeat !important; overflow: hidden; isolation: isolate; }
.mining-detail-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,24,32,.98) 3%, rgba(10,39,56,.89) 53%, rgba(0,65,94,.56)); }
.mining-detail-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(150,215,249,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(150,215,249,.05) 1px, transparent 1px); background-size: 52px 52px; }
.mining-hero-content { padding: 100px 0 150px; }
.mining-detail-hero .section-kicker { color: #9cddff; }
.mining-detail-hero h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 5.1rem); line-height: 1.02; letter-spacing: -.045em; max-width: 880px; margin: 0 0 22px; }
.mining-detail-hero .mining-hero-content > p:not(.section-kicker) { max-width: 680px; color: #d5e0e6; font-size: 18px; line-height: 1.7; }
.mining-detail-hero .btn-primary { margin-top: 22px; background: #1684b9; }
.mining-hero-metrics { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: min(1200px, calc(100% - 48px)); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(199,229,244,.22); }
.mining-hero-metrics span { padding: 24px 28px; border-right: 1px solid rgba(199,229,244,.2); }
.mining-hero-metrics span:first-child { padding-left: 0; }
.mining-hero-metrics span:last-child { border-right: 0; }
.mining-hero-metrics strong, .mining-hero-metrics small { display: block; }
.mining-hero-metrics strong { font: 700 22px "Montserrat"; }
.mining-hero-metrics small { color: #aec3ce; margin-top: 4px; }
.mining-about { background: #fff !important; padding: 100px 0 !important; }
.mining-about-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 76px; align-items: center; }
.mining-about-copy .lead { color: var(--ink); font-size: 19px; line-height: 1.65; font-weight: 500; }
.mining-about-copy > p:not(.section-kicker):not(.lead) { color: var(--ink-soft); line-height: 1.7; }
.mining-pillars { margin-top: 28px; display: grid; gap: 12px; }
.mining-pillars span { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.mining-pillars i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: #e8f4fa; color: var(--primary); }
.mining-about-visual { position: relative; min-height: 430px; }
.mining-about-visual > img { width: 100%; height: 430px; object-fit: cover; border-radius: 16px; }
.mining-about-badge { position: absolute; left: -28px; bottom: 24px; width: 230px; padding: 17px; border-radius: 11px; background: #fff; box-shadow: 0 14px 38px rgba(11,53,87,.17); }
.mining-about-badge img { height: 38px; width: auto; object-fit: contain; margin-bottom: 9px; }
.mining-about-badge span { display: block; color: var(--primary-deep); font-size: 11px; font-weight: 700; }
.strategic-projects { position: relative; background: #18232a !important; padding: 96px 0 !important; color: #fff; }
.light-heading h2 { color: #fff !important; }
.light-heading .section-kicker { color: #90d7ff; }
.light-heading > p:last-child { color: #b9c7cf; }
.strategic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strategic-card { min-height: 250px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid #3c535f; border-radius: 12px; background: #22323b; color: #fff; cursor: pointer; font-family: "Inter"; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.strategic-card:hover { transform: translateY(-5px); border-color: #7fcff7; background: #293e49; }
.strategic-card > i { color: #8fd8fb; font-size: 29px; margin-bottom: auto; }
.strategic-card > span { font: 600 17px/1.3 "Montserrat"; margin: 22px 0 6px; }
.strategic-card > small { color: #aebdc5; }
.strategic-card > b { display: flex; align-items: center; gap: 7px; color: #8fd8fb; font-size: 11px; margin-top: 18px; }
.mining-portfolio { background: var(--surface-low) !important; padding: 96px 0 !important; }
.portfolio-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.portfolio-heading { position: sticky; top: 115px; align-self: start; }
.portfolio-heading > p:last-child { color: var(--ink-soft); line-height: 1.65; }
.portfolio-list { border-top: 1px solid #cbd5dc; }
.portfolio-list article { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; padding: 24px 6px; border-bottom: 1px solid #cbd5dc; }
.portfolio-list article > span { color: #78909d; font: 600 13px "Montserrat"; }
.portfolio-list h3 { margin: 0 0 5px; color: var(--primary-deep); font-size: 18px; }
.portfolio-list p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.portfolio-list article > i { color: var(--primary); }
.field-operations { background: #fff !important; padding: 94px 0 !important; }
.field-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.field-gallery figure { margin: 0; overflow: hidden; border-radius: 9px; background: #dbe3e8; }
.field-gallery .gallery-featured { grid-column: span 2; grid-row: span 2; }
.field-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.field-gallery figure:hover img { transform: scale(1.035); }
.mining-contact-section { background: var(--surface-low) !important; padding: 92px 0 !important; }
.mining-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.human-team-card, .industrial-contact-card { padding: 36px; border-radius: 15px; }
.human-team-card { background: #fff; border: 1px solid var(--line); }
.human-team-card .subpage-icon { margin-bottom: 24px; }
.human-team-card p { color: var(--ink-soft); line-height: 1.65; }
.human-team-card > div:last-child { display: grid; gap: 4px; margin-top: 25px; padding: 16px; border-radius: 9px; background: #edf5f8; }
.human-team-card > div strong { color: var(--primary); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.human-team-card > div span { color: var(--ink-soft); font-size: 13px; }
.industrial-contact-card { background: var(--primary-deep); color: #fff; }
.industrial-contact-card .section-kicker { color: #9cddff; }
.industrial-contact-card h2 { color: #fff; }
.industrial-contact-card ul { list-style: none; padding: 12px 0 0; margin: 0; display: grid; gap: 17px; }
.industrial-contact-card li { display: flex; align-items: flex-start; gap: 12px; color: #cfdae0; font-size: 14px; line-height: 1.5; }
.industrial-contact-card li > i { width: 17px; color: #8fd8fb; margin-top: 3px; }
.industrial-contact-card a { color: #fff; text-decoration: none; }
.footer-industrial-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--primary); font-size: 12px; font-weight: 700; text-decoration: none; }
.project-modal { display: none; position: fixed; inset: 0; z-index: 3000; padding: 24px; align-items: center; justify-content: center; background: rgba(8,20,27,.82); backdrop-filter: blur(6px); }
.project-modal.open { display: flex; }
.project-modal-card { position: relative; width: min(540px, 100%); padding: 38px; border-radius: 16px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.project-modal-close { position: absolute; right: 18px; top: 13px; border: 0; background: transparent; color: #5c6971; font-size: 28px; cursor: pointer; }
.project-modal-card .subpage-icon { margin-bottom: 22px; }
.project-modal-card h2 { color: var(--primary-deep); text-align: left; }
.project-modal-card > p:last-child { color: var(--ink-soft); line-height: 1.7; }

@media (max-width: 960px) {
    .help-card-grid { grid-template-columns: 1fr; max-width: 650px; margin: 0 auto; }
    .accessibility-grid, .location-columns, .mining-about-grid, .portfolio-grid, .mining-contact-grid { grid-template-columns: 1fr; }
    .strategic-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-heading { position: static; }
    .field-gallery { grid-template-columns: repeat(2, 1fr); }
    .subpage-hero-art { right: -30px; opacity: .45; }
    .mining-about-badge { left: 20px; }
}

@media (max-width: 640px) {
    .subpage-shell, .mining-hero-metrics { width: min(100% - 32px, 1200px); }
    .subpage-hero { min-height: 470px; }
    .subpage-hero .subpage-shell { padding: 62px 0; }
    .subpage-hero-art { width: 150px; height: 150px; font-size: 60px; right: -45px; top: 28%; }
    .help-channels, .accessibility-section, .support-notice-section, .coverage-map-section, .coverage-locations-section, .mining-about, .strategic-projects, .mining-portfolio, .field-operations, .mining-contact-section { padding: 70px 0 !important; }
    .accessibility-map { height: 330px; }
    .support-notice { flex-direction: column; padding: 25px; }
    .map-heading { display: block; }
    .coverage-legend { margin-top: 18px; }
    .coverage-page #mapa { height: 460px; }
    .location-list { columns: 1; }
    .mining-detail-hero { min-height: 720px; }
    .mining-hero-content { padding: 80px 0 195px; }
    .mining-hero-metrics { grid-template-columns: 1fr; bottom: 12px; }
    .mining-hero-metrics span { padding: 10px 0; border-right: 0; border-bottom: 1px solid rgba(199,229,244,.16); }
    .mining-hero-metrics strong { font-size: 17px; }
    .mining-hero-metrics small { font-size: 10px; }
    .strategic-grid { grid-template-columns: 1fr; }
    .strategic-card { min-height: 210px; }
    .field-gallery { grid-auto-rows: 145px; }
    .field-gallery .gallery-featured { grid-column: span 2; }
    .project-modal-card { padding: 30px 24px; }
}

body {
    padding-top: var(--header-h);
    background: var(--surface);
    color: var(--ink);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

h1, h2, h3, h4, .logo, .footer-logo {
    font-family: "Montserrat", "Segoe UI", sans-serif;
}

/* Header compartido */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    z-index: 1000;
    background: rgba(247, 249, 255, .96);
    border-bottom: 1px solid rgba(220, 227, 234, .85);
    box-shadow: 0 2px 12px rgba(11, 53, 87, .06);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    height: var(--header-h);
    padding: 0 24px;
    gap: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-deep);
    font-size: 20px;
    letter-spacing: -.02em;
}

.logo img {
    width: 48px;
    height: 42px;
    object-fit: contain;
}

.site-nav { margin-left: auto; }

.menu { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }

.menu > li > a {
    display: inline-flex;
    padding: 9px 0;
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 500;
    position: relative;
}

.menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 2px;
    height: 2px;
    background: var(--primary);
    transition: right .2s ease;
}

.menu > li > a:hover { color: var(--primary); }
.menu > li > a:hover::after { right: 0; }

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

.btn-hire {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.btn-hire { background: var(--red); color: #fff; }
.btn-hire:hover { background: #c92724; transform: translateY(-1px); }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    cursor: pointer;
    background: #e6f2f9;
    border: 1px solid #c5dce8;
}

.nav-toggle span { display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--primary); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Portada */
.home-page main { overflow: hidden; }

.home-page section {
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.section-shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}

.home-page section h2,
.section-heading h2 {
    color: var(--primary);
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    line-height: 1.2;
    margin: 0 0 10px;
}

.section-heading > p:last-child {
    margin: 0;
    color: var(--ink-soft);
    font-size: 16px;
}

.section-kicker,
.eyebrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.hero {
    min-height: clamp(600px, calc(100vh - 80px), 760px);
    background:
        radial-gradient(circle at 78% 28%, rgba(86, 189, 236, .32), transparent 28%),
        linear-gradient(120deg, #fff 0%, #f2f8fd 50%, #dff1fb 100%);
    display: flex;
    align-items: center;
    position: relative;
    color: var(--ink);
    text-align: left;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(0, 97, 145, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 97, 145, .045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to right, transparent 10%, #000 80%);
}

.hero-content {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 80px 0 110px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: var(--primary-deep);
    font-size: clamp(2.65rem, 5.6vw, 4.75rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    max-width: 760px;
    margin: 0 0 22px;
}

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

.hero-content > p:not(.eyebrow) {
    color: var(--ink-soft);
    max-width: 600px;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    margin: 0;
}

.hero-actions,
.coverage-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.btn-primary,
.btn-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 97, 145, .18);
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: #fff; color: var(--primary); border: 1px solid #bdd4e1; }
.btn-secondary:hover { border-color: var(--primary); transform: translateY(-2px); }

.hero-art {
    position: absolute;
    width: min(48vw, 680px);
    height: 520px;
    right: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(-7deg);
    opacity: .95;
    z-index: 0;
}

.fiber {
    position: absolute;
    display: block;
    width: 130%;
    height: 34px;
    right: -12%;
    border-radius: 50%;
    border-top: 9px solid rgba(0, 111, 172, .72);
    filter: drop-shadow(0 5px 12px rgba(0, 139, 202, .2));
    transform-origin: right center;
}

.fiber::before,
.fiber::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #68d6ff;
    box-shadow: 0 0 0 7px rgba(104, 214, 255, .17), 0 0 24px #32aee2;
}

.fiber::before { left: 13%; top: -12px; }
.fiber::after { left: 45%; top: -18px; }
.fiber-one { top: 24%; transform: rotate(15deg); }
.fiber-two { top: 49%; transform: rotate(-7deg); border-color: rgba(23, 92, 157, .62); }
.fiber-three { top: 70%; transform: rotate(11deg); border-color: rgba(74, 174, 209, .6); }

.hero-stat {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 48px));
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-deep);
}

.hero-stat > i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--primary);
    background: #fff;
    box-shadow: 0 7px 20px rgba(8, 52, 86, .1);
}

.hero-stat strong, .hero-stat span { display: block; }
.hero-stat strong { font-size: 13px; }
.hero-stat span { color: var(--ink-soft); font-size: 12px; margin-top: 2px; }

.services-section { background: #fff !important; padding: 88px 0 !important; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--surface);
    border: 1px solid #e6ebf1;
    border-radius: 14px;
    padding: 34px 28px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 53, 87, .08); }

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #e4f3fb;
    color: var(--primary);
    font-size: 24px;
}

.service-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 19px; }
.service-card p { margin: 0; color: var(--ink-soft); line-height: 1.6; font-size: 14px; }

.plans-section { background: var(--surface) !important; padding: 94px 0 !important; }

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    background: #fff;
    border: 1px solid #ced7df;
    border-radius: 14px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 15px rgba(11, 53, 87, .04);
}

.plan-card.featured { border: 2px solid var(--primary); transform: translateY(-12px); box-shadow: 0 15px 35px rgba(0, 97, 145, .13); }

.popular-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 999px;
    padding: 7px 16px;
    color: #fff;
    background: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.plan-top { padding-bottom: 20px; border-bottom: 1px solid #e4e9ee; }
.plan-top h3 { color: var(--primary); margin: 0 0 8px; font-size: 21px; }
.plan-top p { margin: 0; color: var(--ink); }
.plan-top strong { font-family: "Montserrat"; font-size: 36px; letter-spacing: -.03em; }
.plan-top span { color: var(--ink-soft); font-size: 13px; }

.plan-card ul { list-style: none; padding: 22px 0 10px; margin: 0; display: grid; gap: 13px; flex-grow: 1; }
.plan-card li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 14px; line-height: 1.4; }
.plan-card li i { color: var(--green); margin-top: 2px; }
.plan-card li strong { color: var(--ink); }
.plan-folio { color: #6b747c; font-size: 11px; margin: 10px 0 18px; }
.plan-folio a { color: var(--primary); font-weight: 700; }
.plan-cta { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; }
.plan-cta:hover { background: #c92724; }

.plans-note { margin: 24px auto 0; max-width: 920px; color: #68727b; font-size: 12px; line-height: 1.55; text-align: center; }
.plans-note > p { margin: 0 0 10px; }
.plans-note details { display: inline-block; max-width: 760px; }
.plans-note summary { color: var(--primary); cursor: pointer; font-weight: 700; }
.plans-note details p { text-align: left; }
.plans-note a { color: var(--primary); }

.mining-section {
    position: relative;
    background: #171d22 url('../../mineria/4.jpeg') center/cover no-repeat !important;
    color: #fff;
    padding: 96px 0 !important;
    isolation: isolate;
}

.mining-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 26, 34, .97) 10%, rgba(14, 38, 54, .9) 60%, rgba(0, 58, 85, .82)); }
.mining-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.mining-copy .section-kicker { color: #89d5ff; }
.mining-copy h2 { color: #fff !important; font-size: clamp(2rem, 4vw, 2.75rem) !important; max-width: 650px; }
.mining-copy > p:not(.section-kicker) { color: #d3dae0; font-size: 17px; line-height: 1.7; max-width: 650px; }
.mining-copy > a { display: inline-flex; align-items: center; gap: 10px; margin-top: 15px; color: #93d8ff; font-weight: 700; text-decoration: none; }
.mining-copy > a:hover { color: #fff; }
.mining-services { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mining-services article { min-height: 138px; padding: 22px; border-radius: 10px; border: 1px solid rgba(190, 224, 243, .25); background: rgba(34, 55, 67, .6); backdrop-filter: blur(7px); }
.mining-services article.wide { grid-column: 1 / -1; min-height: 110px; }
.mining-services i { color: #90d7ff; font-size: 27px; }
.mining-services h3 { color: #fff; font-size: 16px; line-height: 1.35; margin: 18px 0 0; }

.coverage-section { background: var(--surface-low) !important; padding: 96px 0 !important; }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.coverage-map { position: relative; height: 430px; overflow: hidden; border: 1px solid #ccd7df; border-radius: 16px; background: linear-gradient(150deg, #fbfcfd 10%, #dce8ee 100%); box-shadow: 0 8px 24px rgba(11, 53, 87, .08); }
.coverage-map::before { content: ""; position: absolute; width: 68%; height: 72%; left: 15%; top: 13%; border-radius: 42% 57% 38% 62% / 45% 33% 67% 55%; background: #edf3f5; border: 2px solid #c2d2da; box-shadow: inset 0 0 40px rgba(63, 105, 125, .08); transform: rotate(-11deg); }
.map-line { position: absolute; z-index: 1; height: 1px; background: rgba(78, 111, 127, .2); width: 140%; left: -20%; transform-origin: center; }
.line-one { top: 29%; transform: rotate(24deg); }
.line-two { top: 57%; transform: rotate(-19deg); }
.line-three { top: 78%; transform: rotate(9deg); }
.map-label { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 7px; background: #fff; box-shadow: 0 5px 18px rgba(0, 69, 107, .14); color: var(--primary-deep); font-size: 11px; font-weight: 700; }
.map-label i { width: 11px; height: 11px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 6px rgba(0, 97, 145, .16); }
.map-label.margaritas { left: 26%; top: 42%; }
.map-label.altamirano { right: 19%; top: 63%; }
.map-region { position: absolute; right: 26px; bottom: 18px; color: rgba(0, 75, 113, .38); font-family: "Montserrat"; font-size: 22px; font-weight: 700; letter-spacing: .18em; }
.coverage-copy h2 { text-align: left; }
.coverage-copy > p:not(.section-kicker) { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.coverage-actions { align-items: stretch; }
.coverage-actions .text-link { flex-basis: 100%; margin-top: 6px; color: var(--primary); font-size: 13px; font-weight: 700; text-decoration: none; }

/* Footer compartido */
.site-footer { background: #fff; color: var(--ink-soft); padding: 72px 24px 0; border-top: 1px solid var(--line); }
.footer-contenedor { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr .8fr 1.35fr; gap: 48px; }
.footer-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--primary-deep); font-weight: 700; font-size: 20px; text-decoration: none; }
.footer-logo img { width: 44px; height: 40px; object-fit: contain; }
.footer-col h3 { color: var(--ink); font-family: "Inter"; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col p { color: var(--ink-soft); font-size: 13px; }
.footer-muted { margin-top: 12px !important; color: #77818a !important; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-links a { color: var(--ink-soft); font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--primary); }
.site-footer .acordeon-btn { color: var(--primary); background: #f2f7fa; border: 1px solid #d0e0e8; }
.site-footer .acordeon-btn:hover { background: #e6f2f8; }
.site-footer .lista-descargas { padding: 5px 7px 0; }
.site-footer .lista-descargas a { color: var(--ink-soft); }
.site-footer .lista-descargas a:hover { color: var(--primary); }
.audio-links { display: grid; gap: 7px; margin-top: 12px; }
.audio-links button { padding: 0; border: 0; background: transparent; color: var(--primary); font: 600 12px "Inter"; text-align: left; cursor: pointer; }
.footer-bottom { max-width: 1200px; margin: 56px auto 0; padding: 18px 0; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; color: #76808a; text-align: left; font-size: 12px; }
.cerrar-visor { background: transparent; border: 0; color: #fff; font-size: 28px; cursor: pointer; }
.modal .cerrar { background: transparent; border: 0; }

@media (max-width: 960px) {
    .header-inner { gap: 12px; }
    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        background: #fff;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
        box-shadow: 0 12px 24px rgba(11, 53, 87, .12);
    }
    .site-nav.abierto { opacity: 1; visibility: visible; transform: translateY(0); }
    .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
    .menu > li { border-bottom: 1px solid var(--line); }
    .menu > li > a { color: var(--ink); padding: 16px 24px; }
    .menu > li > a::after { display: none; }
    .nav-toggle { display: flex; order: 3; }
    .header-actions { margin-left: auto; }
    .hero-art { opacity: .35; width: 64vw; right: -20%; }
    .service-grid, .plans-grid { grid-template-columns: 1fr; max-width: 630px; margin: 0 auto; }
    .plan-card.featured { transform: none; margin: 10px 0; }
    .mining-grid, .coverage-grid { grid-template-columns: 1fr; gap: 44px; }
    .coverage-map { max-width: 650px; width: 100%; margin: 0 auto; }
    .footer-contenedor { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    :root { --header-h: 70px; }
    .header-inner { height: var(--header-h); padding: 0 16px; }
    .logo span { display: none; }
    .logo img { width: 42px; height: 38px; }
    .btn-hire { min-height: 38px; padding: 0 13px; font-size: 12px; }
    .section-shell, .hero-content, .hero-stat { width: min(100% - 32px, 1200px); }
    .hero { min-height: 620px; }
    .hero-content { padding: 72px 0 104px; }
    .hero-content h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
    .hero-art { width: 100vw; height: 360px; top: 74%; right: -45%; }
    .hero-actions { align-items: stretch; flex-direction: column; max-width: 330px; }
    .services-section, .plans-section, .mining-section, .coverage-section { padding: 72px 0 !important; }
    .section-heading { margin-bottom: 34px; }
    .service-card, .plan-card { padding: 26px 22px; }
    .mining-services { grid-template-columns: 1fr; }
    .mining-services article.wide { grid-column: auto; }
    .coverage-map { height: 330px; }
    .map-label.margaritas { left: 13%; }
    .map-label.altamirano { right: 9%; }
    .coverage-actions { flex-direction: column; }
    .site-footer { padding: 56px 16px 0; }
    .footer-contenedor { grid-template-columns: 1fr; gap: 38px; }
    .footer-bottom { margin-top: 40px; }
}

/* Componentes interactivos compartidos */
.acordeon-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 13px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.acordeon-btn i { transition: transform .25s ease; }
.acordeon-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.acordeon-contenido { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acordeon-contenido.abierto { max-height: 680px; overflow-y: auto; padding-top: 8px; }
.lista-descargas { list-style: none; margin: 0; padding: 0; }
.lista-descargas li { padding: 5px 0; }
.lista-descargas a { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.35; text-decoration: none; }

.modal,
.visor-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    padding: 24px;
    background: rgba(7, 21, 30, .84);
    backdrop-filter: blur(5px);
}

.modal.abierto,
.visor-modal.abierto { display: flex; align-items: center; justify-content: center; }
.modal-contenido { position: relative; width: min(760px, 100%); height: min(690px, 90vh); overflow: hidden; border-radius: 15px; background: var(--surface); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.modal-contenido iframe { width: 100%; height: 100%; border: 0; }
.modal .cerrar { position: absolute; right: 13px; top: 11px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; color: var(--primary-deep); background: #fff; box-shadow: 0 4px 15px rgba(11,53,87,.15); font-size: 25px; cursor: pointer; }
.visor-contenido { width: min(900px, 100%); height: min(780px, 90vh); overflow: hidden; border-radius: 14px; background: #fff; }
.visor-header { min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: var(--primary-deep); color: #fff; }
.visor-header h3 { margin: 0; font-size: 16px; }
.visor-body { height: calc(100% - 58px); }
.visor-body iframe { width: 100%; height: 100%; border: 0; }
.visor-audio { display: none; position: fixed; inset: 0; z-index: 3100; padding: 24px; align-items: center; justify-content: center; background: rgba(7,21,30,.84); }
.visor-audio.abierto { display: flex; }
.visor-audio-contenido { width: min(460px, 100%); padding: 28px; border-radius: 14px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.3); text-align: center; }
.visor-audio-contenido h3 { margin: 0 0 18px; color: var(--primary-deep); }
.visor-audio-contenido audio { width: 100%; }
.visor-audio-contenido button { margin-top: 18px; padding: 10px 18px; border: 0; border-radius: 7px; background: var(--primary); color: #fff; cursor: pointer; font-weight: 700; }

#btnTop { position: fixed; right: 22px; bottom: 22px; z-index: 1200; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 9px 24px rgba(0,97,145,.25); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
#btnTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }

.toast { position: fixed; top: 98px; right: 22px; z-index: 3500; width: min(350px, calc(100% - 44px)); padding: 14px 18px; border-radius: 9px; color: #fff; font-size: 13px; font-weight: 700; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s ease; }
.toast.ok { background: #2f8c45; }
.toast.error { background: #b82d2a; }
.toast.mostrar { opacity: 1; visibility: visible; transform: translateY(0); }

#btnAyudaFlotante { position: fixed; right: 22px; bottom: 78px; z-index: 1400; min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 700; }
#panelAyuda { position: fixed; top: 0; right: -100%; z-index: 1800; width: min(410px, 100%); height: 100%; overflow-y: auto; background: #fff; box-shadow: -12px 0 40px rgba(11,53,87,.2); transition: right .3s ease; }
#panelAyuda.abierto { right: 0; }
.form-ayuda { display: flex; flex-direction: column; }
.form-ayuda input, .form-ayuda textarea { width: 100%; padding: 11px 12px; }
.form-ayuda button { position: relative; min-height: 44px; border: 0; cursor: pointer; font-weight: 700; }
.form-ayuda button.cargando { color: transparent; opacity: .75; cursor: wait; }
.form-ayuda button.cargando::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Formas de pago */
.payments-section { padding: 88px 0; background: #fff; }
.payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.payment-card { padding: 30px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.payment-card .subpage-icon { margin-bottom: 22px; }
.payment-card h2 { color: var(--primary-deep); font-size: 20px; margin: 0 0 9px; }
.payment-card > p { color: var(--ink-soft); min-height: 48px; font-size: 14px; line-height: 1.6; }
.payment-card dl { margin: 20px 0 0; display: grid; gap: 13px; }
.payment-card dl div { padding-top: 12px; border-top: 1px solid var(--line); }
.payment-card dt { color: #75818a; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.payment-card dd { margin: 4px 0 0; color: var(--ink); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.card-brands { display: flex; gap: 13px; margin-top: 27px; color: var(--primary-deep); font-size: 38px; }
.payment-notice { margin-top: 30px; padding: 25px 28px; display: flex; align-items: center; gap: 20px; border-radius: 14px; background: var(--primary-deep); color: #fff; }
.payment-notice > i { font-size: 34px; color: #68d79a; }
.payment-notice h2 { color: #fff; font-size: 18px; margin: 0 0 5px; }
.payment-notice p { margin: 0; color: #d6e2e8; font-size: 13px; line-height: 1.5; }
.payment-notice a { color: #fff; font-weight: 700; }

/* Estado de cuenta */
.account-access-section { padding: 92px 0; background: #fff; }
.account-card { max-width: 920px; margin: 0 auto; padding: 38px; display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 12px 34px rgba(11,53,87,.07); }
.account-card .subpage-icon { width: 66px; height: 66px; font-size: 26px; }
.account-card-copy h2 { color: var(--primary-deep); margin: 0 0 8px; font-size: 23px; }
.account-card-copy > p:not(.section-kicker) { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.account-card-copy ul { list-style: none; display: flex; flex-wrap: wrap; gap: 13px 20px; margin: 18px 0 0; padding: 0; color: var(--ink-soft); font-size: 12px; }
.account-card-copy li i { color: var(--green); margin-right: 5px; }
.account-cta { white-space: nowrap; }
.account-help { margin: 20px auto 0; text-align: center; color: var(--ink-soft); font-size: 13px; }
.account-help a { color: var(--primary); font-weight: 700; }

/* Medidor embebible */
.meter-page { min-height: 100%; padding: 0; background: var(--surface); }
.meter-shell { min-height: 100vh; padding: 32px 20px; display: grid; place-items: center; }
.meter-card { width: min(660px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 10px 30px rgba(11,53,87,.08); }
.meter-card .subpage-icon { margin-bottom: 17px; }
.meter-card h1 { margin: 0 0 9px; color: var(--primary-deep); font-size: clamp(1.55rem, 4vw, 2rem); }
.meter-intro { margin: 0 0 25px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.meter-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.meter-field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 12px; font-weight: 700; }
.meter-field select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #c8d3da; border-radius: 8px; background: #fff; color: var(--ink); }
.meter-field select:focus { outline: 3px solid rgba(0,97,145,.12); border-color: var(--primary); }
.meter-field select:disabled { background: #edf1f3; color: #89939a; cursor: not-allowed; }
.meter-result { margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.meter-result[hidden], .meter-legal[hidden] { display: none; }
.meter-result > div { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 12px; }
.meter-result > div:last-child { border-bottom: 0; }
.meter-result span { color: #74808a; }
.meter-result strong { color: var(--primary-deep); text-align: right; }
.meter-legal { margin: 14px 0 0; color: #6f7b84; font-size: 11px; line-height: 1.55; }

/* Páginas legales */
.legal-updated { display: inline-block; margin-top: 14px; color: #6d7a83; font-size: 12px; font-weight: 600; }
.legal-content-section, .deletion-content-section { padding: 86px 0; background: #fff; }
.legal-layout { display: grid; grid-template-columns: 230px 1fr; gap: 64px; align-items: start; }
.legal-index { position: sticky; top: 110px; display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.legal-index strong { margin-bottom: 8px; color: var(--primary-deep); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.legal-index a { padding: 7px 0; color: var(--ink-soft); font-size: 12px; text-decoration: none; }
.legal-index a:hover { color: var(--primary); }
.legal-article { min-width: 0; }
.legal-summary { display: flex; gap: 17px; margin-bottom: 38px; padding: 22px; border-radius: 12px; background: #eaf5fa; color: var(--primary-deep); }
.legal-summary i { margin-top: 3px; font-size: 22px; color: var(--primary); }
.legal-summary p { margin: 0; line-height: 1.65; }
.legal-article section { padding: 0 0 29px; margin: 0 0 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 105px; }
.legal-article section:last-child { border-bottom: 0; }
.legal-article h2 { color: var(--primary-deep); font-size: 21px; margin: 0 0 14px; }
.legal-article p, .legal-article li { color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.legal-article ul { padding-left: 20px; }
.legal-article li { margin: 7px 0; }
.legal-article a { color: var(--primary); font-weight: 700; }
.deletion-content { max-width: 900px; }
.deletion-intro { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 34px; }
.deletion-intro h2 { margin: 0 0 8px; color: var(--primary-deep); }
.deletion-intro p { color: var(--ink-soft); line-height: 1.65; }
.deletion-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.deletion-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.deletion-steps li > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font: 700 16px "Montserrat"; }
.deletion-steps h3 { margin: 2px 0 7px; color: var(--primary-deep); font-size: 17px; }
.deletion-steps p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.deletion-steps a, .deletion-scope a, .deletion-related a { color: var(--primary); font-weight: 700; }
.deletion-scope { margin-top: 36px; padding: 30px; border-left: 4px solid var(--primary); background: #eef6fa; }
.deletion-scope h2 { margin-top: 0; color: var(--primary-deep); }
.deletion-scope p { color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.deletion-cta { margin-top: 34px; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 14px; background: var(--primary-deep); color: #fff; }
.deletion-cta h2 { margin: 0 0 7px; color: #fff; }
.deletion-cta p:not(.section-kicker) { margin: 0; color: #d7e3e9; font-size: 13px; }
.deletion-cta .section-kicker { color: #92d9fa; }
.deletion-cta .btn-primary { flex: 0 0 auto; background: #fff; color: var(--primary-deep); }
.deletion-related { margin: 25px 0 0; text-align: center; color: var(--ink-soft); font-size: 13px; }

@media (max-width: 960px) {
    .payment-grid { grid-template-columns: 1fr; max-width: 650px; margin: 0 auto; }
    .account-card { grid-template-columns: auto 1fr; }
    .account-cta { grid-column: 1 / -1; }
    .legal-layout { grid-template-columns: 1fr; gap: 34px; }
    .legal-index { position: static; grid-template-columns: repeat(3, 1fr); }
    .legal-index strong { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .modal, .visor-modal { padding: 10px; }
    .modal-contenido { height: 92vh; border-radius: 10px; }
    #btnAyudaFlotante { right: 16px; bottom: 70px; }
    #btnTop { right: 16px; bottom: 16px; }
    .payments-section, .account-access-section, .legal-content-section, .deletion-content-section { padding: 66px 0; }
    .payment-notice { align-items: flex-start; padding: 22px; }
    .account-card { grid-template-columns: 1fr; padding: 25px; }
    .account-cta { grid-column: auto; }
    .meter-shell { padding: 16px; }
    .meter-card { padding: 22px; }
    .meter-fields { grid-template-columns: 1fr; }
    .meter-result > div { grid-template-columns: 1fr; gap: 4px; }
    .meter-result strong { text-align: left; }
    .legal-index { display: none; }
    .legal-summary { padding: 18px; }
    .legal-article h2 { font-size: 19px; }
    .deletion-intro { flex-direction: column; }
    .deletion-steps li { grid-template-columns: 40px 1fr; padding: 18px; }
    .deletion-steps li > span { width: 40px; height: 40px; }
    .deletion-cta { align-items: stretch; flex-direction: column; }
}
