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

:root {
    --primary-color: #dc3545;
    --primary-hover: #c82333;
    --primary-dark: #a71e2a;
    --primary-light: #fff0f0;
    --text-color: #2d3748;
    --text-muted: #6c757d;
    --text-soft: #718096;
    --border-color: #e0e0e0;
    --bg-soft: #fafbfc;
    --bg-section: #f8f9fb;
    --white: #ffffff;
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-btn: 0 4px 14px rgba(220, 53, 69, 0.35);
    --shadow-btn-hover: 0 6px 20px rgba(220, 53, 69, 0.45);
    --transition: all 0.25s ease;
}

html {
    scroll-behavior: auto;
    scroll-padding-top: 80px;
}

body {
    min-height: 100vh;
    background: var(--white);
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    line-height: 1.5;
}

.nav-logo {
    height: 52px;
    width: auto;
    display: block;
}

.top-nav {
    background: var(--white);
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--text-color);
}

.nav-brand i {
    color: var(--primary-color);
    font-size: 22px;
}

.nav-brand strong {
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-cta {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 9px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

#caracteristicas {
    scroll-margin-top: 80px;
}

#registro-anchor {
    scroll-margin-top: 80px;
}

.section-eyebrow {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.section-heading p {
    color: var(--text-soft);
    font-size: 15px;
    max-width: 580px;
    margin: 0 auto;
}

.hero-section {
    background: var(--bg-section);
}

.hero-banner {
    width: 100%;
    line-height: 0;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 720px) {
    .hero-img {
        height: auto;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .hero-img {
        height: auto;
        border-radius: 0;
    }
}
.hero-section .features-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 24px 60px;
}

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

.feature-box {
    background: var(--white);
    padding: 28px 24px;
    border-radius: 14px;
    border: 1px solid #ececec;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

.feature-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.feature-box p {
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.55;
}

.registro-section {
    padding: 60px 24px;
    background: var(--white);
}

.registro-inner {
    max-width: 820px;
    margin: 0 auto;
}

.registro-intro {
    text-align: center;
    margin-bottom: 30px;
}

.registro-intro h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.registro-intro p {
    color: var(--text-soft);
    font-size: 14.5px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.form-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-card);
    padding: 28px 28px 22px;
    border: 1px solid #ececec;
}

.form-card-header {
    text-align: center;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.form-card-header h2 {
    color: var(--primary-color);
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-card-header p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

.form-section {
    background: #fafbfc;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 14px 16px 4px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.form-section:hover {
    border-color: #e0d0d0;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.06);
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e0e0;
}

.form-section-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.25);
}

.form-section-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.3px;
    flex: 1;
}

.form-section-title small {
    display: block;
    font-size: 10.5px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 1px;
    letter-spacing: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.form-container {
    margin-bottom: 10px;
    position: relative;
}

.form-container-full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-label i {
    color: var(--primary-color);
    font-size: 10.5px;
}

.label-opcional {
    font-weight: 400;
    color: #adb5bd;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 4px;
    font-size: 10px;
}

.input-group {
    display: flex;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    border: 1.5px solid var(--border-color);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.input-group-text {
    background: var(--primary-light);
    color: var(--primary-color);
    border: none;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.form-control,
.form-select {
    flex: 1;
    height: 38px;
    padding: 0 12px;
    border: none;
    font-size: 13px;
    color: var(--text-color);
    background: var(--white);
    outline: none;
    width: 100%;
    font-family: inherit;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23dc3545' d='M8 11L3 6h10z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 13px;
    padding-right: 32px;
}

#nombres,
#apellidos,
#email,
#dni,
#ruc,
#centroOdontologico {
    text-transform: uppercase;
}

::placeholder {
    color: #adb5bd;
    text-transform: none !important;
    font-weight: 400;
}

.input-group:has(.form-control.is-invalid),
.input-group:has(.form-select.is-invalid) {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

#flagIcon {
    width: 20px;
    height: 14px;
    flex-shrink: 0;
}

.flag-prefix-box {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 12.5px;
    flex-shrink: 0;
    min-width: 80px;
    border-right: 1px solid #f0d0d0;
}

.file-input-hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.btn-file-select {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 9px 13px;
    background: #fff8f8;
    border: 1.5px dashed var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-file-select:hover {
    background: var(--primary-light);
    border-color: var(--primary-dark);
}

.btn-file-select.has-file {
    background: #d4edda;
    border-style: solid;
    border-color: #28a745;
    color: #155724;
}

.btn-file-select i {
    font-size: 13px;
}

.btn-file-select .file-name {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-info {
    display: block;
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 4px;
    margin-left: 2px;
}

.file-error {
    color: var(--primary-color);
    font-size: 11.5px;
    margin-top: 4px;
    font-weight: 500;
}

.btn-ubicacion {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 10px 14px;
    background: #fff8f8;
    border: 1.5px dashed var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-ubicacion:hover:not(:disabled) {
    background: var(--primary-light);
    border-color: var(--primary-dark);
}

.btn-ubicacion-ok {
    background: #d4edda !important;
    border-style: solid !important;
    border-color: #28a745 !important;
    color: #155724 !important;
}

.btn-ubicacion-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    border-color: #ccc !important;
    color: #999 !important;
    background: #f5f5f5 !important;
}

.ubicacion-resumen {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 6px 10px;
}

.ubicacion-resumen i {
    color: #28a745;
    font-size: 14px;
    flex-shrink: 0;
}

.ubicacion-resumen #ubicacionResumenTexto {
    flex: 1;
    font-family: monospace;
    font-size: 11.5px;
}

.btn-cambiar-ubicacion {
    background: transparent;
    border: 1px solid #28a745;
    color: #155724;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-cambiar-ubicacion:hover {
    background: #c3e6cb;
}

.captcha-wrap {
    max-width: 320px;
}

.captcha-inline {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.captcha-inline:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.captcha-inline.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.captcha-inline.is-invalid {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--primary-dark);
    user-select: none;
    background: var(--primary-light);
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f0d0d0;
    min-width: 90px;
    flex-shrink: 0;
}

.captcha-input-inline {
    flex: 1;
    min-width: 0;
    height: 36px;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--text-color);
    background: transparent;
    font-family: inherit;
    padding: 0 12px;
    text-transform: uppercase;
}

.captcha-refresh-btn {
    background: transparent;
    color: var(--primary-color);
    border: none;
    border-left: 1px solid var(--border-color);
    width: 40px;
    min-width: 40px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.2s;
    padding: 0;
    align-self: stretch;
}

.captcha-refresh-btn:hover {
    background: var(--primary-light);
}

.captcha-status {
    margin-top: 5px;
    font-size: 11.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 16px;
}

.captcha-status.error {
    color: var(--primary-color);
}

.captcha-status.ok {
    color: #28a745;
}

.btn-submit {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--white);
    border: none;
    border-radius: 9px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    margin-top: 8px;
}

.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-dark) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-hover);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #c8c8c8 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.btn-loading {
    pointer-events: none;
    position: relative;
}

.btn-loading::after {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-right-color: transparent;
    margin-left: 8px;
    vertical-align: middle;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-footer-note {
    text-align: center;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-footer-note i {
    color: #28a745;
}

.site-footer {
    background: var(--text-color);
    color: rgba(255, 255, 255, 0.85);
    padding: 28px 24px;
    text-align: center;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.site-footer p {
    font-size: 12.5px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.hidden {
    display: none !important;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid var(--primary-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.result-panel {
    text-align: center;
    padding: 30px 20px;
    animation: fadeUp 0.5s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

.result-panel.success .result-icon-box {
    background: transparent;
    color: #28a745;
}

.result-panel.info .result-icon-box {
    background: var(--primary-light);
    color: var(--primary-color);
}

.result-panel h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.result-panel.success h2 {
    color: #28a745;
}

.result-panel.info h2 {
    color: var(--primary-dark);
}

.result-panel p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.result-panel .btn-submit {
    max-width: 260px;
    margin: 0 auto;
}

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

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

.mapa-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mapa-modal-box {
    background: var(--white);
    border-radius: 14px;
    width: 100%;
    max-width: 680px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.mapa-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.mapa-modal-titulo {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mapa-btn-cerrar {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition);
    line-height: 1;
}

.mapa-btn-cerrar:hover {
    background: #f0f0f0;
    color: var(--text-color);
}

.mapa-aviso {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 10px 14px;
    font-size: 12.5px;
    color: #856404;
    flex-shrink: 0;
}

.mapa-aviso i {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.mapa-panel-cargando {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    font-size: 14px;
    color: #0066cc;
    font-weight: 600;
    flex-shrink: 0;
}

.mapa-panel-cargando i {
    font-size: 22px;
}

.mapa-panel-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    text-align: center;
    gap: 14px;
    flex-shrink: 0;
}

.mapa-error-icono {
    font-size: 44px;
    color: var(--primary-color);
}

.mapa-panel-error p {
    font-size: 13.5px;
    color: #555;
    line-height: 1.65;
    max-width: 420px;
    margin: 0;
}

.mapa-btn-reintentar {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
    box-shadow: var(--shadow-btn);
}

.mapa-btn-reintentar:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.mapa-alerta-loading,
.mapa-alerta-info,
.mapa-alerta-ok,
.mapa-alerta-error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 14px;
    font-size: 12px;
    flex-shrink: 0;
}

.mapa-alerta-loading {
    background: #e8f4fd;
    border-bottom: 1px solid #bee3f8;
    color: #0066cc;
}

.mapa-alerta-info {
    background: #e8f4fd;
    border-bottom: 1px solid #bee3f8;
    color: #0066cc;
}

.mapa-alerta-ok {
    background: #d4edda;
    border-bottom: 1px solid #c3e6cb;
    color: #155724;
}

.mapa-alerta-error {
    background: #fff3cd;
    border-bottom: 1px solid #ffc107;
    color: #856404;
    font-weight: 600;
}

.mapa-container {
    flex: 1;
    min-height: 320px;
}

.mapa-coords-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 7px 14px;
    background: #fafbfc;
    border-top: 1px solid #f0f0f0;
    font-size: 11.5px;
    color: var(--text-muted);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.mapa-coords-bar strong {
    color: var(--text-color);
    font-family: monospace;
}

.mapa-btn-recentrar {
    margin-left: auto;
    background: #4285F4;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.mapa-btn-recentrar:hover:not(:disabled) {
    background: #3367d6;
}

.mapa-btn-recentrar:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.mapa-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.mapa-btn-cancelar {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-muted);
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mapa-btn-cancelar:hover {
    border-color: #adb5bd;
    color: var(--text-color);
}

.mapa-btn-confirmar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--white);
    border: none;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    box-shadow: var(--shadow-btn);
    display: flex;
    align-items: center;
    gap: 7px;
}

.mapa-btn-confirmar:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-dark) 100%);
    transform: translateY(-1px);
}

.mapa-btn-confirmar:disabled {
    background: #c8c8c8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.hero-section,
.registro-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-section.visible,
.registro-section.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 920px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .nav-inner {
        padding: 12px 16px;
    }

    .nav-cta {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-section,
    .registro-section {
        padding: 0;
    }

    .hero-section .features-inner {
        padding: 30px 18px 40px;
    }

    .registro-section {
        padding: 40px 18px;
    }

    .section-heading h2,
    .registro-intro h2 {
        font-size: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-card {
        padding: 22px 18px 18px;
    }

    .form-section {
        padding: 12px 12px 2px;
    }

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

    .captcha-wrap {
        max-width: 100%;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .mapa-modal-box {
        max-height: 96vh;
        border-radius: 12px;
    }

    .mapa-container {
        min-height: 260px;
    }

    .mapa-coords-bar {
        gap: 10px;
        font-size: 11px;
    }

    .mapa-modal-footer {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .form-card {
        padding: 18px 14px 14px;
        border-radius: 12px;
    }

    .form-section {
        padding: 11px 11px 2px;
        margin-bottom: 10px;
    }

    .form-section-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .form-section-title {
        font-size: 11.5px;
    }

    .form-section-title small {
        font-size: 10px;
    }

    .captcha-code {
        font-size: 14px;
        min-width: 80px;
        padding: 0 10px;
    }

    .mapa-btn-recentrar {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}