* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", system-ui, sans-serif;
    background: #fdfcf8;
    color: #1a2b3c;
    line-height: 1.5;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
}

:root {
    --navy: #1a2b3c;
    --bg: #fdfcf8;
    --border: #e8e4dd;
    --t1: #1a2b3c;
    --t2: #4a5b6c;
    --t3: #8a9bac;
    --gold: #b8976a;
    --green: #2d7a5f;
    --green-dk: #246b52;
    --blue: #5b7fa6;
    --max-w: 1200px;
    --px: clamp(16px, 4vw, 24px);
    --accent: #b5470c;
    --accent-light: #d4601e;
    --gold-light: #c9a84c;
    --paper: #f7f4ee;
    --paper-warm: #ede9e0;
    --ink: #0f0e0b;
}

/* Navegación (igual que el index) */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26, 43, 60, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--px);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
}
.nav-logo svg {
    color: var(--gold);
}
.nav-logo span {
    font-weight: 700;
    font-size: 17px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #fff;
}
.nav-cta {
    background: var(--green) !important;
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
}
.mob-menu {
    display: none;
    flex-direction: column;
    background: var(--navy);
    padding: 12px var(--px) 20px;
}
.mob-menu a {
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mob-menu.open {
    display: flex;
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* Hero */
.hero-market {
    background: linear-gradient(135deg, #1a2b3c 0%, #0f1a24 100%);
    color: white;
    padding: 80px var(--px);
    text-align: center;
}
.hero-market h1 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 16px;
}
.hero-market p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: var(--t3);
}
.hero-market .btn-light {
    margin-top: 32px;
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
}

/* Contenedor general */
.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 60px var(--px);
}
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title span {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}
.section-title h2 {
    font-size: clamp(28px, 3.5vw, 38px);
}

/* Tabla comparativa */
.comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 80px;
}
.plan-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    flex: 1;
    min-width: 260px;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}
.plan-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}
.plan-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--green);
    margin: 16px 0;
}
.plan-price small {
    font-size: 14px;
    font-weight: normal;
    color: var(--t2);
}
.plan-features {
    list-style: none;
    margin: 20px 0;
}
.plan-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0ede8;
    font-size: 14px;
}
.plan-features li::before {
    content: "✓";
    color: var(--green);
    font-weight: bold;
}
.btn-plan {
    display: block;
    text-align: center;
    background: var(--navy);
    color: white;
    padding: 12px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.2s;
    cursor: pointer;
    border: none;
    width: 100%;
    font-family: inherit;
}
.btn-plan.free {
    background: #e0e0e0;
    color: var(--navy);
}
.btn-plan.premium {
    background: var(--gold);
}
.btn-plan.pro {
    background: var(--green);
}
.btn-plan:hover {
    filter: brightness(0.95);
}

/* Formulario free */
.lead-form {
    background: #f5f2ec;
    border-radius: 32px;
    padding: 48px;
    text-align: center;
    margin-bottom: 80px;
}
.lead-form h3 {
    font-size: 28px;
    margin-bottom: 12px;
}
.form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.form-group input {
    padding: 14px 20px;
    border-radius: 60px;
    border: 1px solid var(--border);
    font-family: inherit;
    width: 260px;
}
.form-group button {
    background: var(--green);
    border: none;
    font-weight: bold;
    padding: 14px 28px;
    border-radius: 60px;
    color: white;
    font-weight: 700;
    cursor: pointer;
}
/* Estilo específico para resaltar la nota de advertencia */
.form-note {
    font-size: 12px;
    color: #d93025; /* Rojo de advertencia estándar */
    margin-top: -5px;
    margin-bottom: 5px;
    font-weight: 500;
}
.form-note .material-symbols-outlined {
    font-size: 18px; /* Ajusta este valor si tu texto es más grande o más pequeño */
}
.submit-btn:hover {
    background-color: #1557b0;
}

/* One-off services */
.addons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px 0;
}
.addon-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--border);
}
.addon-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    margin: 16px 0;
}
.btn-addon {
    background: var(--navy);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
}

footer {
    background: var(--navy);
    color: white;
    padding: 40px var(--px);
    text-align: center;
}
footer a {
    color: var(--gold);
    text-decoration: none;
}
@media (max-width: 760px) {
    .form-group input {
        width: 100%;
    }
}

/* ---------- MODAL (copiado de informe-precio) ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 14, 11, 0.7);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(2px);
}
.modal-overlay.open {
    display: flex;
}
.modal {
    background: var(--paper);
    border: 1px solid var(--border-strong);
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modal-in 0.2s ease;
    border-radius: 8px;
}
@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.modal-header {
    padding: 2rem 2rem 1.25rem;
    border-bottom: 1px solid var(--border);
}
.modal-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.25rem;
}
.modal-subtitle {
    font-size: 0.82rem;
    color: var(--muted);
}
.modal-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-top: 1rem;
}
.modal-price {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--ink);
}
.modal-price-orig {
    font-size: 1rem;
    color: var(--muted);
    text-decoration: line-through;
}
.modal-body {
    padding: 1.5rem 2rem;
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--muted);
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}
.modal-close:hover {
    color: var(--ink);
}
.form-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
}
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 2px;
    background: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.15s;
    margin-bottom: 1rem;
}
.form-input:focus {
    border-color: var(--accent);
}
.payment-opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}
.pay-opt {
    border: 1px solid var(--border);
    padding: 0.75rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition:
        border-color 0.15s,
        background 0.15s;
    border-radius: 2px;
}
.pay-opt:hover {
    border-color: var(--border-strong);
}
.pay-opt.selected {
    border-color: var(--accent);
    background: rgba(181, 71, 12, 0.04);
}
.pay-opt-icon {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.2rem;
}
.pay-opt-name {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--muted);
}
.confirm-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: white;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.15s;
}
.confirm-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.modal-trust {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--muted);
    margin-top: 0.75rem;
    line-height: 1.5;

    /* Activamos Flexbox para alinear el icono y el bloque de texto */
    display: flex;
    align-items: center; /* Centra verticalmente el icono con las dos líneas */
    justify-content: center; /* Mantiene todo el bloque centrado en el modal */
    gap: 0.6rem; /* Espacio horizontal exacto entre el candado y el texto */
}

/* Estilos limpios para el icono */
.modal-trust .icon-lock {
    font-size: 28px;
    color: var(--accent);
    flex-shrink: 0; /* Evita que el icono se encoja en pantallas muy pequeñas */
    display: flex;
    align-items: center;
}

/* Alineación del texto */
.modal-trust-text {
    text-align: left; /* Al estar al lado de un icono, el alineado a la izquierda se ve más ordenado */
}
.modal-success {
    text-align: center;
    padding: 2rem 0;
}
.modal-success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.next-step {
    background: var(--paper-warm);
    border: 1px solid var(--border);
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.7;
    text-align: left;
}
.btn-cta-modal {
    background: var(--accent);
    color: white;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.55rem 1.25rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    display: inline-block;
}

/* Para los títulos con iconos de Google Material Icons */
.flex-align {
    display: inline-flex; /* Usa inline-flex si no quieres que el h3 ocupe todo el ancho disponible */
    align-items: center;
    gap: 0.75rem;
}

/* Ajuste fino opcional para el icono si se resiste */
.flex-align .material-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Contenedor exclusivo para campos verticales alineados a la izquierda */
.form-field-block {
    margin-bottom: 20px;
    width: 100%;
    display: block; /* Evita heredar el flex-wrap y el centrado del otro grupo */
    text-align: left;
}

/* Control estricto de la etiqueta */
.form-label-block {
    display: block;
    text-align: left;
    margin-bottom: 8px;
}

.label-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    color: #475569;
    display: block;
    text-transform: uppercase;
}

.label-help {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: normal;
}

/* El Input destacado que ocupa todo el ancho disponible */
.form-input-highlight {
    width: 100%;
    box-sizing: border-box; /* Evita que el padding deforme el ancho */
    padding: 14px 16px;
    font-size: 0.75rem;
    color: #0f172a;
    background-color: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 12px; /* Esquinas modernas menos exageradas que los 60px */
    outline: none;
    transition: all 0.2s ease-in-out;
}

/* Efecto Focus independiente */
.form-input-highlight:focus {
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.form-input-highlight::placeholder {
    color: #94a3b8;
}

/* Configuración del form recibe el informe free de este mes */
.decoracion-email {
    font-size: 2rem;
    color: #b5470c;
}

.salto-texto {
    margin-bottom: 22px;
}

.ajustar-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.ajustar-agrupar-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.etiqueta-form {
    font-weight: 600;
    text-align: left;
    color: #333;
}

.input-form {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.note-form {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 13px;
    margin-top: 2px;
    text-align: left;
}

.note-warning {
    color: #a7ad06;
    font-size: 18px;
    font-weight: bolder;
    vertical-align: middle;
}

.btn-form {
    width: 100%;
    padding: 12px;
    font-weight: bold;
    background-color: #b5470c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

/* Estilo para las opciones deshabilitadas */
.pay-opt.disabled {
    opacity: 0.5; /* Hace que se vea semitransparente/gris */
    cursor: not-allowed; /* Cambia el cursor a un símbolo de prohibido */
    background-color: #f5f5f5; /* Fondo gris claro */
    border-color: #ddd;
    pointer-events: none; /* Bloquea por completo los clics nativos */
}
