/* =============================================
   minegocio24siete — styles.css v5
   Apple-inspired Light · Mobile-first
   ============================================= */

/* ---- Root Variables ---- */
:root {
    --bg: #FFFFFF;
    --bg-section: #F5F5F7;
    --bg-card: #FFFFFF;
    --border: #D2D2D7;
    --border-light: #E8E8ED;
    --text: #1d1d1f;
    --text-secondary: #3a3a3c;
    --text-muted: #6e6e73;
    --text-dim: #aeaeb2;
    --primary: #2563EB;
    --primary-light: #DBEAFE;
    --primary-hover: #1D4ED8;
    --green: #16a34a;
    --shadow-soft: 0 2px 16px rgba(0,0,0,0.05);
    --shadow-medium: 0 8px 40px rgba(0,0,0,0.09);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-px: 20px;
    --section-py: 72px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 100px;
    --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
strong { font-weight: 600; }

/* ---- Layout ---- */
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--container-px); }
.section { padding: var(--section-py) 0; }
.text-center { text-align: center; }
.section-header { margin-bottom: 2.5rem; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--text);
}
h1 { font-size: clamp(2rem, 6vw, 3.8rem); font-weight: 800; margin-bottom: 1.25rem; }
h1 em { color: var(--text-muted); font-style: normal; font-weight: 700; }
h2.section-title { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 0.75rem; }
h2.section-title span { color: var(--primary); }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; max-width: 580px; margin: 0 auto; }
.eyebrow {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 0.85rem; opacity: 0.9;
}

/* ---- Badge ---- */
.badge {
    display: inline-block; padding: 6px 16px;
    background: var(--primary-light); color: var(--primary);
    border-radius: var(--radius-pill); font-size: 0.82rem; font-weight: 600;
    margin-bottom: 1.5rem; letter-spacing: 0.02em;
}

/* ---- Header ---- */
.header {
    position: fixed; top: 0; left: 0; right: 0; height: 64px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo-img { height: 54px; width: auto; }
.logo-text { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: -0.04em; }

.header-nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-link { font-size: 0.88rem; font-weight: 500; color: var(--text-muted); transition: var(--transition); }
.nav-link:hover { color: var(--text); }

.btn-cta-small {
    display: inline-flex; align-items: center;
    padding: 9px 20px; border-radius: var(--radius-pill);
    background: var(--primary); color: white;
    font-size: 0.85rem; font-weight: 600; font-family: var(--font-body);
    border: none; cursor: pointer; transition: var(--transition);
}
.btn-cta-small:hover { background: var(--primary-hover); transform: translateY(-1px); }

/* ---- HERO ---- */
.hero {
    position: relative; padding: 120px 0 80px;
    background: var(--bg); overflow: hidden;
    z-index: 20;
}
.hero-bg-gradient {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 100% 50% at 50% -5%, rgba(37,99,235,0.06) 0%, transparent 70%);
}
.hero-inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 2.5rem; text-align: center;
}
.hero-text-block { max-width: 820px; }
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.18rem); color: var(--text-muted); line-height: 1.7; max-width: 640px; margin: 0 auto; }

/* ---- Voice Block ---- */
.voice-block {
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: visible !important;
}
.voice-label-row {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    font-size: 1.05rem; color: var(--text); font-weight: 800;
    text-align: center;
    margin: 0 auto 1.5rem;
}
.pulse-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(22,163,74,0.5);
    animation: pulseRing 2.2s infinite;
}
@keyframes pulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
    100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

/* ---- Voice Center Pill ---- */
.voice-center-pill {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 24px 14px 18px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    text-align: left;
    width: auto;
    -webkit-tap-highlight-color: transparent;
}
.voice-center-pill:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light), var(--shadow-medium);
    transform: translateY(-2px);
}
.voice-center-pill:active { transform: scale(0.98); }

.voice-pill-orb {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: radial-gradient(circle at 38% 36%, #a8d8ff 0%, #3b82f6 38%, #1e3a8a 100%);
    box-shadow: 0 2px 12px rgba(59,130,246,0.35);
    animation: orbPulse 3s ease-in-out infinite;
}
@keyframes orbPulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(59,130,246,0.35); }
    50%       { box-shadow: 0 2px 20px rgba(59,130,246,0.6); }
}
.voice-pill-texts {
    display: flex; flex-direction: column; gap: 2px;
}
.voice-pill-texts strong {
    font-size: 0.95rem; font-weight: 700; color: var(--text);
}
.voice-pill-texts span {
    font-size: 0.8rem; color: var(--text-muted);
}
elevenlabs-convai {
    display: block;
    width: 100%;
    min-width: 320px;
    max-width: 480px;
    /* Altura mínima necesaria */
    min-height: 180px; 
    margin: 2rem auto;
    position: relative;
    z-index: 100;
}
.voice-hint { font-size: 0.79rem; color: var(--text-dim); font-style: italic; }

/* ---- OR separator ---- */
.or-separator {
    display: flex; align-items: center; gap: 1rem; width: 100%; max-width: 480px;
    color: var(--text-dim); font-size: 0.82rem;
}
.or-separator span { flex: 1; height: 1px; background: var(--border-light); }
.or-separator em { font-style: normal; white-space: nowrap; }

/* ---- Profession Selector ---- */
.profession-selector { width: 100%; max-width: 680px; }

.text-profession-row {
    display: flex; gap: 8px; margin-bottom: 1.25rem;
    flex-direction: column;
}
.profession-input {
    flex: 1; padding: 13px 18px; border: 1.5px solid var(--border);
    border-radius: var(--radius-md); font-family: var(--font-body); font-size: 0.95rem;
    color: var(--text); background: var(--bg-card); outline: none; transition: var(--transition);
}
.profession-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.profession-input::placeholder { color: var(--text-dim); }

.btn-detect {
    padding: 13px 22px; border-radius: var(--radius-md);
    background: var(--text); color: white;
    font-size: 0.9rem; font-weight: 600; font-family: var(--font-body);
    border: none; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-detect:hover { background: #000; transform: translateY(-1px); }
.btn-detect:active { transform: scale(0.98); }

.selector-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.85rem; font-weight: 500; }

.chips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.chip {
    display: flex; align-items: center; gap: 10px; padding: 12px 15px;
    background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-md);
    cursor: pointer; transition: var(--transition); font-family: var(--font-body);
    color: var(--text-secondary); text-align: left;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.chip:hover { border-color: var(--primary); color: var(--text); box-shadow: 0 0 0 3px var(--primary-light); transform: translateY(-1px); }
.chip:active { transform: scale(0.98); }
.chip.selected { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.chip-icon { font-size: 1.2rem; flex-shrink: 0; }
.chip-text { font-size: 0.86rem; font-weight: 600; line-height: 1.3; }
.profession-selector.done .chip:not(.selected) { opacity: 0.4; pointer-events: none; }

/* ---- GATED WRAPPER (blur UX) ---- */
.gated-wrapper { display: block; position: relative; }

.gated-blur-overlay {
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.9s ease;
    border-radius: 0;
}
.gated-wrapper.unlocked .gated-blur-overlay {
    opacity: 0; pointer-events: none;
}

/* ---- Category Image ---- */
.category-image-section { position: relative; }
.category-image-wrapper { position: relative; overflow: hidden; }
.category-hero-img {
    width: 100%; height: 50vw; max-height: 460px; min-height: 220px;
    object-fit: cover; object-position: center;
    filter: brightness(0.52) saturate(0.88);
}
.category-image-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: flex-end;
    background: linear-gradient(to top, rgba(245,245,247,1) 0%, rgba(245,245,247,0.65) 25%, rgba(0,0,0,0.2) 60%, transparent 100%);
    padding-bottom: 2.5rem;
}
.category-headline { font-size: clamp(1.3rem, 3.5vw, 2.2rem); font-family: var(--font-heading); font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 0.4rem; }
.category-subheadline { font-size: 1rem; color: var(--text-muted); }

/* ---- Identification Cards ---- */
.identification-section { background: var(--bg); }
.identification-grid {
    display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 2rem;
}
.id-card {
    display: flex; align-items: flex-start; gap: 1rem; padding: 20px 22px;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.id-card:hover { border-color: var(--border); box-shadow: var(--shadow-medium); transform: translateY(-2px); }
.id-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 1px; }
.id-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.id-card p strong { color: var(--text); }

/* ---- Reframe Section ---- */
.reframe-section { background: var(--bg-section); }
.reframe-inner { display: flex; flex-direction: column; gap: 2.5rem; }
.reframe-text .section-subtitle { margin: 0; text-align: left; max-width: 100%; }
blockquote {
    padding: 2rem 2rem; background: var(--bg-card);
    border: 1px solid var(--border-light); border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--text-secondary);
    line-height: 1.7; font-style: italic; box-shadow: var(--shadow-soft);
}
blockquote strong { color: var(--text); font-style: normal; }

/* ---- Steps ---- */
.steps-section { background: var(--bg); }
.steps-row { display: flex; flex-direction: column; gap: 12px; margin-top: 2.5rem; }
.step-card {
    flex: 1; padding: 26px 22px; background: var(--bg-card);
    border: 1px solid var(--border-light); border-radius: var(--radius-md);
    text-align: center; box-shadow: var(--shadow-soft); transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-medium); transform: translateY(-2px); }
.step-card h4 { font-size: 1rem; font-weight: 700; margin: 0.85rem 0 0.4rem; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.step-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    font-weight: 700; font-size: 1.1rem; display: flex; align-items: center;
    justify-content: center; margin: 0 auto; font-family: var(--font-heading);
}
.step-arrow {
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim); font-size: 1.25rem; padding: 4px; transform: rotate(90deg);
}
.steps-message {
    margin-top: 2rem; padding: 1.25rem 1.5rem; text-align: center;
    background: var(--primary-light); border-radius: var(--radius-md);
    font-size: 0.95rem; color: var(--primary); font-weight: 500; font-style: italic;
}

/* ---- Benefits ---- */
.benefits-section { background: var(--bg-section); }
.benefits-grid {
    display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 2rem;
}
.benefit-pill {
    display: flex; align-items: center; gap: 0.9rem; padding: 14px 18px;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-md); box-shadow: var(--shadow-soft); transition: var(--transition);
    font-size: 0.92rem; font-weight: 500; color: var(--text-secondary);
}
.benefit-pill:hover { border-color: var(--border); transform: translateX(3px); }
.benefit-pill span:first-child { font-size: 1.3rem; flex-shrink: 0; }

/* Beneficio destacado — full width centrado --*/
.benefit-pill--featured {
    grid-column: 1 / -1;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 24px 36px;
    background: var(--primary-light);
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-heavy);
    margin-top: 1rem;
}
.benefit-pill--featured span:last-child { color: var(--primary); font-weight: 800; }
.benefit-pill--featured span:first-child { font-size: 1.8rem; }

/* ---- Typology Section ---- */
.typology-section { background: var(--bg); }
.typology-cards {
    display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 2.5rem;
}
.typology-card {
    padding: 24px; background: var(--bg-card);
    border: 1px solid var(--border-light); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft); transition: var(--transition);
}
.typology-card:hover { box-shadow: var(--shadow-medium); transform: translateY(-2px); }
.typology-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.typology-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.typology-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; font-style: italic; margin-bottom: 0.75rem; }
.typology-examples { font-size: 0.78rem; color: var(--text-dim); font-weight: 500; }

/* ---- Differentiator ---- */
.differentiator-section { background: var(--bg-section); }
.differentiator-inner { display: flex; flex-direction: column; gap: 2.5rem; }
.diff-text { flex: 1; }
.diff-text p { font-size: 1rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.7; }
.diff-pillars { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.diff-pillar {
    display: flex; align-items: flex-start; gap: 1rem; padding: 18px 22px;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-md); box-shadow: var(--shadow-soft); transition: var(--transition);
}
.diff-pillar:hover { border-color: var(--primary); }
.diff-num {
    width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light);
    color: var(--primary); font-weight: 700; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.diff-pillar div { display: flex; flex-direction: column; gap: 2px; }
.diff-pillar strong { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.diff-pillar span { font-size: 0.84rem; color: var(--text-muted); }

/* ---- Price Bridge ---- */
.price-bridge-section { background: var(--text); color: white; }
.price-bridge-inner { display: flex; flex-direction: column; gap: 2.5rem; }
.price-bridge-headline .eyebrow { color: rgba(255,255,255,0.5); }
.price-bridge-headline .section-title { color: white; }
.price-bridge-headline .section-title span { color: #93c5fd; }
.price-bridge-sub { font-size: 1.2rem; color: rgba(255,255,255,0.75); margin-top: 0.5rem; font-style: italic; }
.price-bridge-losses { display: flex; flex-direction: column; gap: 10px; }
.loss-item {
    display: flex; align-items: center; gap: 0.85rem; padding: 12px 16px;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md); font-size: 0.92rem; color: rgba(255,255,255,0.75);
}
.loss-item span:first-child { font-size: 1.2rem; flex-shrink: 0; }
.price-bridge-close {
    font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.7;
    padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12);
}
.price-bridge-close strong { color: white; font-weight: 700; }

/* ---- CTA Section ---- */
.cta-section { background: var(--bg-section); }
.cta-box {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 1.75rem; padding: 3.5rem 2rem;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-medium);
}
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; }
.cta-box h2 span { color: var(--primary); }
.cta-box > p { font-size: 1rem; color: var(--text-muted); }
.cta-triple { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 560px; }
.cta-option {
    display: flex; align-items: center; gap: 1rem; padding: 18px 22px;
    border-radius: var(--radius-md); text-align: left; transition: var(--transition);
    cursor: pointer; border: 2px solid transparent; text-decoration: none;
    touch-action: manipulation;
}
.cta-option-secondary {
    background: var(--bg); border-color: var(--border);
    color: var(--text);
}
.cta-option-secondary:hover { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); transform: translateY(-1px); }
.cta-option-primary {
    background: var(--text); border-color: var(--text);
    color: white; box-shadow: var(--shadow-medium);
}
.cta-option-primary:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-heavy); }
.cta-opt-icon { font-size: 1.5rem; flex-shrink: 0; }
.cta-option div, .cta-option strong, .cta-option span { pointer-events: none; }
.cta-option strong { display: block; font-size: 0.95rem; font-weight: 700; }
.cta-option span { display: block; font-size: 0.8rem; opacity: 0.6; margin-top: 1px; }
.cta-option-primary span { opacity: 0.7; }
.cta-note { font-size: 0.79rem; color: var(--text-dim); }

/* ---- Footer ---- */
.footer { padding: 40px 0; border-top: 1px solid var(--border-light); background: var(--bg); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.footer-brand p { font-size: 0.85rem; color: var(--text-dim); margin-top: 6px; }
.logo-img-footer { height: 42px; width: auto; margin: 0 auto; opacity: 0.6; }
.logo-text-footer { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--text-dim); letter-spacing: -0.04em; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: var(--text-dim); transition: var(--transition); }
.footer-links a:hover { color: var(--text-muted); }

/* =============================================
   TABLET — 600px+
   ============================================= */
@media (min-width: 600px) {
    :root { --container-px: 28px; }
    .chips-grid { grid-template-columns: repeat(3, 1fr); }
    .text-profession-row { flex-direction: row; }
    .identification-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .typology-cards { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   DESKTOP — 768px+
   ============================================= */
@media (min-width: 768px) {
    :root { --section-py: 100px; --container-px: 32px; }

    .hero { padding: 140px 0 80px; }

    .identification-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

    .steps-row { flex-direction: row; align-items: stretch; gap: 0; }
    .step-arrow { transform: rotate(0deg); padding: 0; flex-shrink: 0; }

    .benefits-grid { grid-template-columns: repeat(3, 1fr); }

    .typology-cards { grid-template-columns: repeat(3, 1fr); }

    .reframe-inner { flex-direction: row; align-items: stretch; gap: 4rem; }
    .reframe-text { flex: 1; }
    .reframe-quote { flex: 1; display: flex; align-items: center; }

    .differentiator-inner { flex-direction: row; align-items: flex-start; gap: 4rem; }

    .cta-box { padding: 4.5rem 4rem; }
    .cta-triple { flex-direction: row; max-width: 100%; }
    .cta-option { flex: 1; flex-direction: column; align-items: center; text-align: center; }
    .cta-option strong { font-size: 0.92rem; }

    .price-bridge-inner { flex-direction: row; align-items: flex-start; gap: 4rem; }
    .price-bridge-headline { flex: 1; }
    .price-bridge-losses { flex: 1; }

    .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
    .logo-img-footer { margin: 0; }
}

/* =============================================
   LARGE — 1024px+
   ============================================= */
@media (min-width: 1024px) {
    :root { --section-py: 120px; }
    .typology-cards { grid-template-columns: repeat(5, 1fr); }
    .voice-widget-wrapper { padding: 2.5rem 2rem; }
}
