/* ============================================
   PetsReunite v3 — Estilos (emocional + conversión)
   ============================================ */

/* ========== VARIABLES ========== */
:root {
    --naranja: #C75000;          /* oscurecido para WCAG AA (4.59:1) */
    --naranja-hover: #A03E00;
    --azul: #2A6B9E;
    --verde: #2E7D32;            /* oscurecido para WCAG AA (5.07:1) */
    --gris: #F5F7FA;
    --gris2: #EEF3F8;
    --texto: #2c3e44;
    --texto-muted: #6b7280;
    --blanco: #FFFFFF;
    --borde: #E0D8D2;
    --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-lg: 24px;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    color: var(--texto);
    line-height: 1.6;
    background: var(--blanco);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Tipografía display SOLO para titulares grandes (calidez de marca) */
h1, h2 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}
/* h3 y títulos de tarjetas en sans-serif: más legibles a tamaño pequeño */
h3 {
    font-family: var(--font);
    font-weight: 700;
    letter-spacing: 0;
}

a { color: var(--naranja); text-decoration: none; }
a:hover { color: var(--naranja-hover); }

/* ========== BOTONES ========== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem; font-weight: 700;
    border: none; cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-primary { background: var(--naranja); color: #fff; }
.btn-primary:hover { background: var(--naranja-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(199,80,0,0.35); }
.btn-secondary { background: var(--blanco); color: var(--naranja); border: 2px solid var(--naranja); }
.btn-secondary:hover { background: #FFF5F0; }
.btn-lg { padding: 18px 40px; font-size: 1.15rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ========== HEADER ========== */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 38px; }
.nav-logo span { font-weight: 800; font-size: 1.2rem; color: var(--texto); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: var(--texto-muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--naranja); }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; }

.country-selector { position: relative; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--borde); border-radius: 50px; font-size: 0.9rem; background: var(--blanco); }
.country-dropdown { display: none; position: absolute; top: 110%; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 220px; max-height: 360px; overflow-y: auto; z-index: 200; }
.country-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: var(--texto); font-size: 0.9rem; }
.country-dropdown a:hover { background: var(--gris); }

/* ========== HERO ========== */
.hero { padding: 60px 0 40px; text-align: center; }
.hero-tag { display: inline-block; background: #FFF5F0; color: var(--naranja); padding: 6px 18px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.hero h1 .highlight { color: var(--naranja); }
.hero-subtitle { font-size: 1.15rem; color: var(--texto-muted); max-width: 650px; margin: 0 auto 28px; }
.hero-stats { display: flex; justify-content: center; gap: 40px; margin: 24px 0 0; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2.5rem; font-weight: 900; color: var(--naranja); }
.hero-stat .label { font-size: 0.85rem; color: var(--texto-muted); }

/* ========== HOW IT WORKS ========== */
.how-section { padding: 60px 0; background: var(--gris); }
.how-section h2 { text-align: center; font-size: 2rem; margin-bottom: 8px; }
.how-section .subtitle { text-align: center; color: var(--texto-muted); margin-bottom: 40px; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.how-card { background: var(--blanco); padding: 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.how-card .icon { font-size: 2rem; margin-bottom: 12px; }

/* Sistema de iconos: emojis estandarizados (alineación y altura uniformes) */
.how-card .icon,
.validation-v3-card .emoji,
.testimonial-v3-card .pet-emoji {
    display: block;
    line-height: 1;
}
.how-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.how-card p { color: var(--texto-muted); font-size: 0.9rem; }

/* ========== POSTER SECTION (PAS) ========== */
.pas-section { padding: 60px 0; }
.pas-section h2 { font-size: 2rem; margin-bottom: 24px; }
.pas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pas-image { background: var(--gris); border-radius: var(--radius-lg); height: 400px; display: flex; align-items: center; justify-content: center; font-size: 6rem; }
.pas-features { list-style: none; }
.pas-features li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 1rem; }
.pas-features li .check { color: var(--verde); font-weight: bold; }

/* ========== PLANS ========== */
.plans-section { padding: 60px 0; background: var(--gris); }
.plans-section h2 { text-align: center; font-size: 2rem; margin-bottom: 8px; }
.plans-section .subtitle { text-align: center; color: var(--texto-muted); margin-bottom: 40px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.plan-card { background: var(--blanco); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; border: 2px solid transparent; }
.plan-card.featured { border-color: var(--naranja); position: relative; }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--naranja); color: #fff; padding: 4px 20px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.plan-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.plan-price { font-size: 2.2rem; font-weight: 900; color: var(--naranja); margin-bottom: 4px; }
.plan-reach { color: var(--texto-muted); font-size: 0.9rem; margin-bottom: 20px; }
.plan-features { list-style: none; flex: 1; margin-bottom: 20px; }
.plan-features li { padding: 6px 0; font-size: 0.95rem; line-height: 1.5; }
.plan-features li::before { content: '✓ '; color: var(--verde); font-weight: bold; }
.plan-card .btn { width: 100%; justify-content: center; }

/* ========== FAQ ========== */
.faq-section { padding: 60px 0; }
.faq-section h2 { text-align: center; font-size: 2rem; margin-bottom: 8px; }
.faq-section .subtitle { text-align: center; color: var(--texto-muted); margin-bottom: 32px; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--borde); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 1rem; font-weight: 600; background: none; border: none; cursor: pointer; color: var(--texto); text-align: left; gap: 12px; }
.faq-question:hover { color: var(--naranja); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer.open { max-height: 300px; padding-bottom: 16px; }
.faq-answer p { color: var(--texto-muted); font-size: 0.95rem; line-height: 1.65; }

/* ========== CTA FINAL ========== */
.cta-section { padding: 60px 0; background: var(--naranja); color: #fff; text-align: center; }
.cta-section h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-section p { font-size: 1.1rem; max-width: 550px; margin: 0 auto 24px; opacity: 0.9; }
.cta-section .btn { background: #fff; color: var(--naranja); }

/* ========== FORMULARIO (publicar.html) ========== */
.form-header { text-align: center; padding: 40px 0 20px; }
.form-header h1 { font-size: 1.8rem; }
.form-progress { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.form-progress .step-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--borde); }
.form-progress .step-dot.active { background: var(--naranja); }
.form-progress .step-dot.done { background: var(--verde); }

.form-card { max-width: 600px; margin: 0 auto; background: var(--blanco); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); margin-bottom: 24px; }
.form-card h2 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card .card-subtitle { color: var(--texto-muted); font-size: 0.9rem; margin-bottom: 20px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--borde); border-radius: var(--radius);
    font-size: 1rem; font-family: var(--font);
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--naranja); box-shadow: 0 0 0 3px rgba(199,80,0,0.1);
}
.form-group .error { color: #e53e3e; font-size: 0.8rem; margin-top: 4px; display: none; }
.form-group.error input, .form-group.error textarea { border-color: #e53e3e; }
.form-group.error .error { display: block; }

.pill-group { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { padding: 10px 20px; border: 2px solid var(--borde); border-radius: 50px; background: var(--blanco); cursor: pointer; font-size: 0.95rem; font-weight: 500; transition: all 0.2s; }
.pill:hover { border-color: var(--naranja); }
.pill.selected { background: var(--naranja); color: #fff; border-color: var(--naranja); }

.photo-upload { border: 2px dashed var(--borde); border-radius: var(--radius-lg); padding: 40px; text-align: center; cursor: pointer; transition: all 0.2s; }
.photo-upload:hover { border-color: var(--naranja); background: #FFF5F0; }
.photo-upload.preview { padding: 8px; }
.photo-upload img { max-height: 300px; border-radius: var(--radius); }
.photo-upload input[type="file"] { display: none; }

.map-container { width: 100%; height: 280px; border-radius: var(--radius); margin-bottom: 12px; background: var(--gris); }
.search-results { background: #fff; border: 1px solid var(--borde); border-radius: var(--radius); margin-bottom: 12px; max-height: 200px; overflow-y: auto; display: none; }
.search-result { padding: 10px 16px; cursor: pointer; font-size: 0.9rem; border-bottom: 1px solid #f0f0f0; }
.search-result:hover { background: var(--gris); }

/* Summary */
.form-summary { max-width: 600px; margin: 0 auto; background: #F0FDF4; border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.form-summary h2 { color: var(--verde); }
.form-summary .total { font-size: 2rem; font-weight: 900; color: var(--naranja); margin: 16px 0; }

/* ========== DASHBOARD ========== */
.db-header { background: var(--naranja); color: #fff; padding: 32px 0; text-align: center; }
.db-header h1 { font-size: 1.6rem; }
.db-status { display: inline-block; padding: 4px 16px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; margin-top: 8px; }
.db-status.active { background: rgba(255,255,255,0.2); }
.db-status.found { background: var(--verde); }

.db-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 32px auto; }
.db-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.db-card h3 { font-size: 1rem; margin-bottom: 12px; }
.db-metric { font-size: 2rem; font-weight: 900; color: var(--naranja); }
.db-metric-label { font-size: 0.8rem; color: var(--texto-muted); }

.db-sightings { max-width: 900px; margin: 0 auto 40px; }
.db-sighting { background: #FFFAF0; border-left: 4px solid var(--naranja); padding: 16px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 12px; }

/* Tarjeta de promoción (estilo PetRadar "Sin promoción" + potencial) */
.db-promo-card { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.db-promo-status { color: var(--texto-muted); font-size: 0.9rem; margin-bottom: 14px; }
.db-promo-bar {
    max-width: 480px; height: 12px; margin: 0 auto 8px;
    background: var(--gris); border-radius: 50px; overflow: hidden;
}
.db-promo-fill { height: 100%; background: var(--naranja); border-radius: 50px; transition: width 0.6s ease; }
.db-promo-labels { display: flex; justify-content: space-between; max-width: 480px; margin: 0 auto 16px; font-size: 0.75rem; color: var(--texto-muted); }

/* Modal: Detener búsqueda (3 situaciones) */
.db-modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; padding: 20px; }
.db-modal { background: #fff; border-radius: var(--radius-lg); max-width: 420px; width: 100%; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.db-opt { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 2px solid var(--borde); border-radius: var(--radius); margin-bottom: 10px; cursor: pointer; transition: all 0.2s; font-size: 0.95rem; }
.db-opt:hover { border-color: var(--naranja); background: #FFF5F0; }
.db-opt.selected { border-color: var(--naranja); background: #FFF5F0; }
.db-opt input { margin-top: 3px; accent-color: var(--naranja); }
.db-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

/* Rating de estrellas (máquina de reseñas) */
.db-stars { display: flex; gap: 6px; justify-content: center; font-size: 2rem; }
.db-star { cursor: pointer; color: #ddd; transition: color 0.15s, transform 0.15s; user-select: none; }
.db-star:hover { transform: scale(1.15); }
.db-star.active { color: var(--naranja); }
.db-review-text { background: #FFF5F0; border: 1px solid var(--borde); border-radius: var(--radius); padding: 14px; font-size: 0.9rem; line-height: 1.5; color: var(--texto); max-width: 480px; margin: 0 auto; text-align: left; }

/* ===== Panel rediseñado: secciones claras (inspirado en el hub de PetRadar) ===== */
/* Hero de la mascota */
.db-hero { display: flex; align-items: center; gap: 18px; justify-content: center; margin-top: 18px; }
.db-avatar { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; overflow: hidden; border: 3px solid rgba(255,255,255,0.5); flex-shrink: 0; }
.db-avatar img { width: 100%; height: 100%; object-fit: cover; }
.db-hero-info { text-align: left; }
.db-hero-info h1 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; margin: 0 0 4px; }
@media (max-width: 480px) { .db-avatar { width: 60px; height: 60px; font-size: 1.7rem; } .db-hero-info h1 { font-size: 1.5rem; } }

/* Secciones */
.db-section { margin-bottom: 28px; }
.db-section-title {
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
    color: var(--texto); margin: 0 0 14px; padding-bottom: 8px;
    border-bottom: 2px solid var(--borde);
    display: flex; align-items: center; gap: 8px;
}
.db-section .db-grid { margin: 0 0 16px; }

/* Hub de acceso rápido */
.db-hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.db-hub-card {
    background: #fff; border: 2px solid var(--borde); border-radius: var(--radius-lg);
    padding: 18px 16px; cursor: pointer; transition: all 0.2s;
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.db-hub-card:hover { border-color: var(--naranja); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.db-hub-card:focus-visible { outline: 3px solid rgba(199,80,0,0.3); outline-offset: 2px; }
.db-hub-icon { font-size: 1.8rem; margin-bottom: 6px; }
.db-hub-card strong { font-size: 1rem; }
.db-hub-card p { font-size: 0.82rem; color: var(--texto-muted); line-height: 1.45; margin: 0; flex: 1; }
.db-hub-action { font-size: 0.85rem; font-weight: 700; color: var(--naranja); margin-top: 8px; }
.db-hub-action:hover { color: var(--naranja-hover); }

/* Datos de la mascota */
.db-pet-card h3 { margin-bottom: 12px; }
.db-pet-data { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 0.9rem; }
.db-pet-item { display: flex; flex-direction: column; gap: 2px; }
.db-pet-item.db-pet-full { grid-column: 1 / -1; }
.db-pet-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--texto-muted); font-weight: 700; }
.db-pet-item > span:last-child { font-weight: 600; color: var(--texto); }

/* Acciones */
.db-actions-card { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.db-actions-card .btn { min-width: 200px; justify-content: center; }

/* Avistamientos */
.db-sightings-card { padding: 18px 20px; }

/* Zona de peligro */
.db-danger-card { text-align: center; border: 1px solid #F5C6C6; background: #FFFDFD; }

/* ========== MOBILE NAV ========== */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 8px; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 149; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-panel { position: fixed; top: 0; right: 0; width: 280px; height: 100%; background: #fff; z-index: 150; transform: translateX(100%); transition: transform 0.3s; box-shadow: -4px 0 20px rgba(0,0,0,0.1); padding: 20px; }
.mobile-panel.open { transform: translateX(0); }

/* ========== STICKY CTA (mobile) ========== */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 20px; background: #fff; border-top: 1px solid #eee; z-index: 90; display: none; }
.sticky-cta .btn { width: 100%; justify-content: center; }

/* ========== FOOTER ========== */
footer { background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; margin-bottom: 32px; }
footer h4 { color: #fff; margin-bottom: 12px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
footer ul li a:hover { color: var(--naranja); }
.footer-bottom { text-align: center; font-size: 0.8rem; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

/* ========== LOADING ========== */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; display: none; align-items: center; justify-content: center; }
.loading-overlay.active { display: flex; }
.loading-box { background: #fff; padding: 32px; border-radius: var(--radius-lg); text-align: center; }

/* ============================================================
   V3 — HERO EMOCIONAL
   ============================================================ */
.hero-v3 {
    padding: 64px 0 48px;
    text-align: center;
    background: linear-gradient(180deg, #FFF8F4 0%, #FFF 100%);
}
.hero-v3-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF0E5;
    color: var(--naranja);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: heroFadeIn 0.6s ease;
}
.hero-v3 h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700; /* Fraunces se carga hasta 700; 900 generaba negrita falsa ilegible */
    line-height: 1.28;
    max-width: 750px;
    margin: 0 auto 16px;
    animation: heroFadeIn 0.6s ease 0.1s both;
}
.hero-v3 h1 .highlight {
    color: var(--naranja);
}
.hero-v3-subtitle {
    font-size: 1.15rem;
    color: var(--texto-muted);
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.65;
    animation: heroFadeIn 0.6s ease 0.2s both;
}
.hero-v3-subtitle strong {
    color: var(--texto);
}
.hero-v3-actions {
    margin-bottom: 20px;
    animation: heroFadeIn 0.6s ease 0.3s both;
}
.hero-v3-proof {
    font-size: 0.95rem;
    color: var(--verde);
    font-weight: 600;
    margin-bottom: 32px;
    animation: heroFadeIn 0.6s ease 0.35s both;
}
.hero-v3-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: heroFadeIn 0.6s ease 0.4s both;
}
.hero-v3-stat {
    text-align: center;
}
.hero-v3-stat .number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--naranja);
}
.hero-v3-stat .label {
    font-size: 0.85rem;
    color: var(--texto-muted);
    line-height: 1.3;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   V3 — VALIDACIÓN EMOCIONAL ("Te entendemos")
   ============================================================ */
.validation-v3 {
    padding: 48px 0 64px;
    text-align: center;
}
.validation-v3 h2 {
    font-size: 1.75rem;
    margin-bottom: 36px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.35;
}
.validation-v3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}
.validation-v3-card {
    background: #FAFAFA;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: left;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}
.validation-v3-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.validation-v3-card .emoji {
    font-size: 2rem;
    margin-bottom: 8px;
}
.validation-v3-card h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--texto);
}
.validation-v3-card p {
    font-size: 0.85rem;
    color: var(--texto-muted);
    line-height: 1.5;
}

/* ============================================================
   V3 — TESTIMONIOS
   ============================================================ */
.testimonials-v3 {
    padding: 64px 0;
    background: var(--gris);
}
.testimonials-v3 h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 8px;
    line-height: 1.3;
}
.testimonials-v3 .subtitle {
    text-align: center;
    color: var(--texto-muted);
    margin-bottom: 36px;
    font-size: 1rem;
}
.testimonials-v3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.testimonial-v3-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--naranja);
    transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-v3-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.testimonial-v3-card .pet-emoji {
    font-size: 2.5rem;
    margin-bottom: 8px;
}
.testimonial-v3-card blockquote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--texto);
    margin: 0 0 12px;
    font-style: normal;
}
.testimonial-v3-card blockquote strong {
    color: var(--naranja);
}
.testimonial-v3-card cite {
    font-size: 0.8rem;
    color: var(--texto-muted);
    font-style: normal;
    font-weight: 600;
}
.result-badge {
    display: inline-block;
    background: #E8F5E9;
    color: var(--verde);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 8px;
}

/* ============================================================
   V3 — OBJECIÓN "Ya publiqué en grupos"
   ============================================================ */
.objection-v3 {
    padding: 64px 0;
    text-align: center;
    background: #fff;
}
.objection-v3 h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}
.objection-v3 .subtitle {
    color: var(--texto-muted);
    margin-bottom: 32px;
}
.objection-v3-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto 24px;
}
.objection-v3-card {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 18px;
    padding: 28px 24px;
    text-align: left;
    transition: transform 0.2s;
}
.objection-v3-card:hover {
    transform: translateY(-2px);
}
.objection-v3-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.objection-v3-card ul {
    list-style: none;
}
.objection-v3-card ul li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--texto-muted);
}
.objection-v3-card ul li::before {
    content: '• ';
    color: #ccc;
}
.objection-v3-card.featured {
    border-color: var(--naranja);
    background: #FFFBF8;
    box-shadow: var(--shadow);
}
.objection-v3-card.featured ul li::before {
    content: '✓ ';
    color: var(--verde);
    font-weight: bold;
}
.objection-v3-key {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--texto);
    margin-top: 16px;
}
.objection-v3-key strong {
    color: var(--naranja);
}

/* Focal v4 — tarjetas de "búsqueda focalizada" (aportado de v1) */
.focal-v4-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 20px;
}
.focal-v4-card {
    background: var(--gris);
    border-radius: var(--radius);
    padding: 16px;
    text-align: left;
}
.focal-v4-card span {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 6px;
}
.focal-v4-card strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--texto);
}
.focal-v4-card p {
    font-size: 0.8rem;
    color: var(--texto-muted);
    margin: 0;
}

/* ============================================================
   Vista previa del anuncio (post estilo Meta) — upsell campaña
   ============================================================ */
.platform-toggle {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}
.platform-btn {
    padding: 5px 14px;
    border-radius: 999px;
    border: 1.5px solid #CED0D4;
    background: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    color: #65676B;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.platform-btn.active {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

.social-post {
    background: #FFFFFF;
    border: 1px solid #dadde1;
    border-radius: 8px;
    overflow: hidden;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #050505;
    text-align: left;
}
.social-post .post-header { display: flex; align-items: center; gap: 10px; padding: 10px 12px 8px; }
.social-post .post-avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #e4e6eb; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.social-post .post-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-post .post-meta { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.social-post .post-name { font-size: 0.82rem; font-weight: 700; color: #050505; }
.social-post .post-verified { color: #1877F2; font-size: 0.72rem; }
.social-post .post-sponsored { font-size: 0.66rem; color: #65676B; }
.social-post .post-more { color: #65676B; font-size: 1.15rem; font-weight: 700; line-height: 1; }
.social-post .post-caption { padding: 2px 12px 10px; }
.social-post .post-text { font-size: 0.8rem; color: #050505; line-height: 1.45; }
.social-post .post-text strong { color: #050505; font-weight: 700; }
.social-post .post-location { font-size: 0.72rem; color: #216FDB; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.social-post .post-image { position: relative; width: 100%; aspect-ratio: 1 / 1; background: #F0F2F5; overflow: hidden; }
.social-post .post-image.ratio-34 { aspect-ratio: 3 / 4; }
.social-post .post-image-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.social-post .post-image-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-post .post-image-media .placeholder-icon { font-size: 3.2rem; color: #B0B3B8; }
.social-post .perdido-tag { position: absolute; top: 10px; left: 10px; z-index: 2; background: #E53935; color: #fff; font-weight: 800; font-size: 0.68rem; letter-spacing: 1px; padding: 4px 10px; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.35); }
.social-post .post-cta { padding: 8px 12px 2px; }
.social-post .cta-button { width: 100%; padding: 8px 0; border: none; border-radius: 6px; background: #1877F2; color: #fff; font-size: 0.76rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: opacity 0.2s; }
.social-post .cta-button:hover { opacity: 0.9; }
.social-post .post-actions { display: flex; align-items: center; gap: 18px; padding: 8px 12px 4px; }
.social-post .post-actions .action { display: inline-flex; align-items: center; }
.social-post .post-actions svg { width: 20px; height: 20px; fill: #65676B; display: block; }
.social-post .post-actions .action-like svg { fill: #1877F2; }
.social-post .post-actions .bookmark { margin-left: auto; }
.social-post .post-engagement { display: flex; justify-content: space-between; align-items: center; padding: 2px 12px 8px; font-size: 0.72rem; color: #65676B; }
.social-post .post-stats { display: inline-flex; align-items: center; gap: 5px; }
.social-post .post-stats .like-icon { color: #1877F2; font-size: 0.8rem; }
.social-post .post-comments-count { text-align: right; }
.social-post .post-comment { display: flex; gap: 8px; align-items: flex-start; padding: 4px 12px 8px; }
.social-post .comment-avatar { width: 28px; height: 28px; border-radius: 50%; background: #E4E6EB; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; flex-shrink: 0; }
.social-post .comment-bubble { background: #F0F2F5; border-radius: 18px; padding: 6px 12px; font-size: 0.74rem; color: #050505; line-height: 1.4; }
.social-post .comment-bubble strong { font-weight: 600; margin-right: 4px; }
.social-post .post-comment-input { display: flex; gap: 8px; align-items: center; padding: 6px 12px 12px; }
.social-post .comment-input-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.social-post .post-comment-input input { flex: 1; border: none; border-bottom: 1px solid #e4e6eb; background: transparent; font-size: 0.74rem; color: #8a8d91; outline: none; padding: 4px 0; font-family: inherit; }
.social-post.platform-instagram { border: 1px solid #dbdbdb; }
.social-post.platform-instagram .post-name { font-weight: 700; }
.social-post.platform-instagram .post-sponsored { color: #8e8e8e; }
.social-post.platform-instagram .cta-button { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-post.platform-instagram .post-actions .action-like svg { fill: #ed4956; }
.social-post.platform-instagram .post-stats .like-icon { color: #ed4956; }

/* ============================================================
   V3 — BARRA DE CONFIANZA (entre Planes y FAQ)
   ============================================================ */
.trust-bar-v3 {
    padding: 36px 0;
    background: #fff;
    border-top: 1px solid #eee;
    text-align: center;
}
.trust-bar-v3-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.trust-bar-v3-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--texto-muted);
}
.trust-bar-v3-item .trust-icon {
    font-size: 1.1rem;
}
.trust-bar-v3-quote {
    max-width: 520px;
    margin: 0 auto;
    font-size: 0.95rem;
    color: var(--texto);
    line-height: 1.55;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
}
.trust-bar-v3-quote em {
    font-style: italic;
}
.trust-quote-author {
    font-size: 0.8rem;
    color: var(--texto-muted);
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================================
   V3 — MINI-MAPA GEOLOCALIZADO
   ============================================================ */
.objection-v3-map {
    position: relative;
    max-width: 600px;
    margin: 20px auto 16px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    background: #f5f5f5;
    min-height: 140px;
}
#miniMapContainer {
    width: 100%;
    height: 180px;
}
.objection-v3-map .map-label {
    display: block;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: var(--texto-muted);
    background: #fff;
    opacity: 0.85;
    transition: opacity 0.4s;
}

/* Pulso animado sobre el mapa */
.map-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--naranja);
    border-radius: 50%;
    z-index: 1000;
    pointer-events: none;
    animation: mapPulse 2s infinite;
}
.map-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(199,80,0,0.2);
    animation: mapPulseRing 2s infinite;
}
@keyframes mapPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}
@keyframes mapPulseRing {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* Marcador de Leaflet personalizado */
.pulse-marker {
    width: 14px;
    height: 14px;
    background: var(--naranja);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 8px rgba(199,80,0,0.5);
}
.custom-pulse-icon {
    background: none !important;
    border: none !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .pas-grid { grid-template-columns: 1fr; }
    .db-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
    .sticky-cta { display: block; }

    /* V3 responsive */
    .objection-v3-grid { grid-template-columns: 1fr; }
    .hero-v3-stats { gap: 24px; }
    .hero-v3-stat .number { font-size: 2rem; }
    .testimonials-v3-grid { grid-template-columns: 1fr; }
    .validation-v3-grid { grid-template-columns: 1fr 1fr; }
    .hero-v3 h1 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .form-card { padding: 20px; }
    .plan-grid { grid-template-columns: 1fr; }

    /* V3 responsive */
    .validation-v3-grid { grid-template-columns: 1fr; }
    .hero-v3 { padding: 40px 0 32px; }
    .hero-v3 h1 { font-size: 1.5rem; }
    .hero-v3-subtitle { font-size: 1rem; }
    .testimonials-v3 h2,
    .validation-v3 h2,
    .objection-v3 h2 { font-size: 1.35rem; }
    .trust-bar-v3-grid { gap: 16px; }
    .trust-bar-v3-item { font-size: 0.8rem; }
    .hero-v3-stats { gap: 18px; }
    .hero-v3-stat .number { font-size: 1.7rem; }
    .hero-v3-stat .label { font-size: 0.75rem; }
    #miniMapContainer { height: 140px; }
    .objection-v3-map .map-label { font-size: 0.75rem; }
}
