/* ============================================================
   GEO SIMULATOR – Styles
   Creacode Studio · Salas Travel
   Brand Colors: Navy #001e4e · Red #a4270b · White Background
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&display=swap');

:root {
    /* ── Salas Travel Brand ── */
    --st-navy:     #001e4e;
    --st-navy-mid: #00368a;
    --st-navy-light: #003580;
    --st-red:      #a4270b;
    --st-red-dark: #8b2109;
    --st-red-glow: rgba(164, 39, 11, 0.15);

    /* ── Light mode surfaces (white-derived) ── */
    --geo-bg:       #ffffff;
    --geo-surface:  #f9fafb;
    --geo-surface2: #f3f4f6;
    --geo-border:   #e5e7eb;
    --geo-border-glow: #d1d5db;

    /* ── Semantic color roles (mapped to brand) ── */
    --geo-blue:   var(--st-navy-mid);
    --geo-cyan:   #1a7fff;
    --geo-purple: #a4270b;
    --geo-green:  #16c47a;
    --geo-orange: #e0671a;
    --geo-pink:   #a4270b;

    /* ── Text ── */
    --geo-text:      #1f2937;
    --geo-text-muted: #6b7280;
    --geo-text-dim:  #374151;

    /* ── Shape & shadow ── */
    --geo-radius:    16px;
    --geo-radius-sm: 10px;
    --geo-glow-blue:  0 2px 12px rgba(0, 30, 78, 0.08);
    --geo-glow-green: 0 2px 12px rgba(22, 196, 122, 0.12);
    --geo-glow-red:   0 2px 12px rgba(164, 39, 11, 0.1);
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Apply white brand theme to the GEO main container */
#geo-main {
    background: var(--geo-bg);
    color: var(--geo-text);
    font-family: 'Archivo', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding-top: 140px; /* Clear theme's double-row fixed sticky header */
}

@media (max-width: 768px) {
    #geo-main {
        padding-top: 90px; /* Adjust header clearance for smaller screens */
    }
    .st-hero-simulator {
        padding-top: 90px !important;
    }
}

/* Also support standalone body class if used directly */
body.geo-page {
    background: var(--geo-bg);
    color: var(--geo-text);
    font-family: 'Archivo', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.geo-sim-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* ── HEADER ─────────────────────────────────────────────── */
.geo-header {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-bottom: 1px solid var(--geo-border);
    padding: 14px 0;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.geo-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.geo-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.geo-logo-icon {
    font-size: 26px;
    line-height: 1;
    color: var(--st-red);
    filter: none;
}

.geo-logo-icon i {
    display: block;
}

.geo-logo strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--st-navy);
    line-height: 1.2;
}

.geo-logo span {
    font-size: 11px;
    color: var(--geo-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.geo-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--geo-text-muted);
    background: var(--geo-surface);
    border: 1px solid var(--geo-border);
    border-radius: 100px;
    padding: 6px 14px;
}

.geo-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--geo-green);
    box-shadow: 0 0 8px var(--geo-green);
    animation: geo-pulse 2s ease-in-out infinite;
}

@keyframes geo-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

/* ── HERO ────────────────────────────────────────────────── */
.geo-hero {
    padding: 0;
    text-align: left;
}

.geo-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0,30,78,0.06), rgba(164,39,11,0.06));
    border: 1px solid rgba(0,30,78,0.1);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--st-navy);
    margin-bottom: 16px;
    width: fit-content;
}
.geo-ai-badge i {
    font-size: 12px;
    color: var(--st-red);
}

.geo-hero h1 {
    font-size: clamp(34px, 4.2vw, 46px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.15;
    color: var(--st-navy);
    margin-bottom: 16px;
    text-align: left;
}

.geo-hero p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--geo-text-dim);
    max-width: 100%;
    margin: 0;
    text-align: left;
}

/* ── HERO GRID LAYOUT ────────────────────────────────────── */
.geo-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
    margin-top: 30px;
}

.geo-hero-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.geo-hero-right {
    display: flex;
    flex-direction: column;
}

.geo-wizard-card {
    background: #ffffff;
    border: 1px solid var(--geo-border);
    border-radius: var(--geo-radius);
    box-shadow: 0 10px 40px rgba(0, 30, 78, 0.05), 0 1px 3px rgba(0, 0, 0, 0.01);
    padding: 36px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .geo-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .geo-hero h1, .geo-hero p {
        text-align: center;
    }
    .geo-wizard-card {
        padding: 24px;
        min-height: auto;
    }
}

/* ── SELECTOR ────────────────────────────────────────────── */
.geo-selector-section {
    margin-bottom: 32px;
}

.geo-selector-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--geo-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.geo-selector-label i {
    font-size: 16px;
    color: var(--geo-cyan);
}

/* ── PHOSPHOR ICON THEME COLORS ──────────────────────────── */
/* Pipeline step icons inherit color from their type */
.geo-ps-icon i {
    font-size: 20px;
    line-height: 1;
}

.geo-ps-icon.intencion i  { color: #5ba3ff; }
.geo-ps-icon.schema i     { color: var(--st-red); }
.geo-ps-icon.entidad i    { color: var(--geo-cyan); }
.geo-ps-icon.resenas i    { color: var(--geo-orange); }
.geo-ps-icon.llm i        { color: var(--geo-green); }

/* Search box icon */
.geo-search-icon {
    font-size: 22px;
    flex-shrink: 0;
    color: var(--geo-blue);
}

.geo-search-icon i { display: block; }

/* Intent cards icon */
.geo-intent-card > span i {
    font-size: 20px;
    color: var(--geo-cyan);
}

/* Result section icon */
.geo-result-icon i {
    font-size: 28px;
    color: var(--geo-green);
}

/* Result reason icons */
.geo-reason-item > span i {
    font-size: 16px;
    color: var(--geo-cyan);
}

/* Info section icons */
.geo-info-icon i {
    font-size: 32px;
    color: var(--st-red);
}

/* Stars row with Phosphor icons */
.geo-stars i {
    color: var(--geo-orange);
    font-size: 18px;
}

/* Agency badge icon */
.geo-agency-badge i {
    font-size: 16px;
    color: var(--geo-cyan);
}

/* CTA button icons */
.geo-btn-reset i,
.geo-btn-tours i {
    font-size: 15px;
    vertical-align: -1px;
}

/* Gradient – use brand red accent */
.geo-gradient {
    background: linear-gradient(135deg, var(--st-red), var(--geo-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.geo-tour-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.geo-tour-tab {
    padding: 10px 22px;
    border-radius: 100px;
    border: 1px solid var(--geo-border);
    background: #ffffff;
    color: var(--geo-text-dim);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.geo-tour-tab:hover {
    border-color: var(--st-red);
    color: var(--st-red);
    background: rgba(164, 39, 11, 0.04);
}

.geo-tour-tab.active {
    background: var(--st-navy);
    border-color: var(--st-navy);
    color: #fff;
    box-shadow: var(--geo-glow-blue);
}

/* ── STEP SECTION ────────────────────────────────────────── */
.geo-step-section {
    margin-bottom: 24px;
}

.geo-step-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.geo-step-num {
    font-size: 52px;
    font-weight: 900;
    color: rgba(164, 39, 11, 0.18);  /* brand red ghost */
    line-height: 1;
    letter-spacing: -2px;
    flex-shrink: 0;
}

.geo-step-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--st-navy);
    margin-bottom: 4px;
    letter-spacing: -0.4px;
}

.geo-step-header p {
    font-size: 14px;
    color: var(--geo-text-muted);
    line-height: 1.5;
}

/* ── SEARCH BOX ──────────────────────────────────────────── */
.geo-search-box {
    background: var(--geo-surface);
    border: 1px solid var(--geo-border);
    border-radius: var(--geo-radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.3s;
}

.geo-search-box:hover {
    border-color: var(--geo-border-glow);
    box-shadow: var(--geo-glow-blue);
}

/* .geo-search-icon defined in PHOSPHOR ICON THEME COLORS section above */

.geo-search-input-text {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--st-navy);
    font-size: 16px;
    font-weight: 500;
    font-family: 'Archivo', sans-serif;
    padding: 8px 0;
}

.geo-search-input-text::placeholder {
    color: #9ca3af;
    font-style: italic;
    transition: opacity 0.3s ease;
}

.geo-search-suggestions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 4px;
}

.geo-sug-label {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.geo-sug-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.geo-sug-tag {
    background: var(--geo-surface2);
    border: 1px solid var(--geo-border);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-navy);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.geo-sug-tag:hover {
    background: rgba(164, 39, 11, 0.05);
    border-color: var(--st-red);
    color: var(--st-red);
}

.geo-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--st-red), #c8370f);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Archivo', sans-serif;
    flex-shrink: 0;
    white-space: nowrap;
}

.geo-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(164, 39, 11, 0.45);
}

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

/* ── PIPELINE ────────────────────────────────────────────── */
.geo-pipeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.geo-connector {
    display: flex;
    justify-content: center;
    height: 40px;
    align-items: center;
}

.geo-connector-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--geo-border), var(--st-red), var(--geo-border));
    border-radius: 2px;
    animation: geo-flow 1.5s linear infinite;
    background-size: 100% 200%;
}

@keyframes geo-flow {
    0% { background-position: 0 0; }
    100% { background-position: 0 200%; }
}

/* ── PIPELINE STEP ───────────────────────────────────────── */
.geo-pipeline-step {
    background: var(--geo-surface);
    border: 1px solid var(--geo-border);
    border-radius: var(--geo-radius);
    padding: 20px 24px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(12px);
}

.geo-pipeline-step.geo-step-visible {
    opacity: 1;
    transform: translateY(0);
    border-color: var(--geo-border-glow);
    box-shadow: var(--geo-glow-blue);
}

.geo-pipeline-step.geo-step-done {
    border-color: rgba(16, 217, 140, 0.3);
    box-shadow: var(--geo-glow-green);
}

.geo-ps-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.geo-ps-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.geo-ps-icon.intencion  { background: rgba(0, 54, 138, 0.08); border: 1px solid rgba(0, 54, 138, 0.2); }
.geo-ps-icon.schema     { background: rgba(164, 39, 11, 0.06); border: 1px solid rgba(164, 39, 11, 0.15); }
.geo-ps-icon.entidad    { background: rgba(0, 30, 78, 0.06);  border: 1px solid rgba(0, 30, 78, 0.15); }
.geo-ps-icon.resenas    { background: rgba(224, 103, 26, 0.06); border: 1px solid rgba(224, 103, 26, 0.15); }
.geo-ps-icon.llm        { background: rgba(22, 196, 122, 0.06); border: 1px solid rgba(22, 196, 122, 0.15); }

.geo-ps-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--st-navy);
    margin-bottom: 2px;
    letter-spacing: -0.3px;
}

.geo-ps-tag {
    font-size: 11px;
    color: var(--geo-text-muted);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.geo-ps-status {
    margin-left: auto;
    flex-shrink: 0;
}

.geo-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--geo-border);
    border-top-color: var(--geo-blue);
    border-radius: 50%;
    animation: geo-spin 0.8s linear infinite;
}

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

.geo-check-icon {
    width: 24px;
    height: 24px;
    background: var(--geo-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    animation: geo-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes geo-pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* ── PS BODY ─────────────────────────────────────────────── */
.geo-ps-body {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--geo-border);
    animation: geo-fadein 0.5s ease forwards;
}

@keyframes geo-fadein {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Intent cards */
.geo-intent-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.geo-intent-card {
    background: var(--geo-surface2);
    border: 1px solid var(--geo-border);
    border-radius: var(--geo-radius-sm);
    padding: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.geo-intent-card > span {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.geo-intent-card strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--geo-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.geo-intent-card p {
    font-size: 14px;
    font-weight: 600;
    color: var(--st-navy);
    line-height: 1.3;
}

/* Schema */
.geo-schema-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.geo-schema-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--geo-surface2);
    border: 1px solid rgba(164, 39, 11, 0.25);
    border-radius: 8px;
    padding: 7px 14px;
}

.geo-schema-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--geo-purple);
    flex-shrink: 0;
}

.geo-schema-item code {
    font-size: 13px;
    color: var(--st-red);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-weight: 600;
}

/* Entidades */
.geo-entidades {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.geo-entidad-tag {
    background: var(--geo-surface);
    border: 1px solid var(--geo-border);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-navy);
}

/* Stars */
.geo-stars-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.geo-big-rating {
    font-size: 40px;
    font-weight: 900;
    color: var(--st-navy);
    letter-spacing: -1px;
    line-height: 1;
}

.geo-stars {
    font-size: 26px;
    color: var(--geo-orange);
    line-height: 1;
}

.geo-stars-sub {
    font-size: 12px;
    color: var(--geo-text-muted);
    margin-top: 4px;
}

/* Score bar */
.geo-score-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--geo-text-muted);
}

.geo-bar-track {
    flex: 1;
    height: 6px;
    background: var(--geo-surface2);
    border-radius: 100px;
    overflow: hidden;
}

.geo-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--st-navy-mid), #1a7fff);
    border-radius: 100px;
    width: 0;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.geo-score-val {
    font-weight: 700;
    color: var(--st-navy);
    min-width: 36px;
    text-align: right;
}

/* ── AGENCY BLOCK ────────────────────────────────────────── */
.geo-agency-block {
    position: relative;
}

.geo-agency-header {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.geo-agency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(0, 30, 78, 0.05);
    border: 1px solid rgba(0, 54, 138, 0.12);
    font-size: 13px;
    font-weight: 700;
    color: var(--st-navy);
    letter-spacing: -0.2px;
}

.geo-agency-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--geo-border);
    border-radius: 20px;
    padding: 20px;
    background: var(--geo-surface);
    position: relative;
}

/* ── LLM STEP ────────────────────────────────────────────── */
.geo-llm-step.geo-step-visible {
    border-color: var(--geo-border-glow);
    box-shadow: var(--geo-glow-blue);
}

.geo-llm-processing {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.geo-llm-token {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--geo-text-muted);
    min-height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.geo-llm-engines {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.geo-engine-badge {
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    animation: geo-engine-in 0.4s ease forwards;
    opacity: 0;
}

.geo-engine-badge.chatgpt    { background: rgba(16,163,127,0.08); border: 1px solid rgba(16,163,127,0.25); color: #0f8566; animation-delay: 0.1s; }
.geo-engine-badge.gemini     { background: rgba(0,54,138,0.06);   border: 1px solid rgba(0,54,138,0.18);   color: var(--st-navy); animation-delay: 0.2s; }
.geo-engine-badge.perplexity { background: rgba(164,39,11,0.06);  border: 1px solid rgba(164,39,11,0.15);  color: var(--st-red); animation-delay: 0.3s; }

@keyframes geo-engine-in {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── RESULT STEP ─────────────────────────────────────────── */
.geo-result-step {
    background: #ffffff;
    border: 1px solid var(--geo-border);
    border-radius: var(--geo-radius);
    padding: 32px;
    animation: geo-result-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    box-shadow: var(--geo-glow-blue);
}

@keyframes geo-result-in {
    from { opacity: 0; transform: scale(0.96) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.geo-result-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.geo-result-icon {
    font-size: 36px;
    animation: geo-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.geo-result-header h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--st-navy);
    letter-spacing: -0.5px;
}

.geo-result-card {
    background: var(--geo-surface);
    border: 1px solid var(--geo-border);
    border-radius: var(--geo-radius-sm);
    padding: 24px;
    margin-bottom: 24px;
}

.geo-result-tour-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--st-navy);
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}

.geo-result-desc {
    font-size: 14px;
    color: var(--geo-text-dim);
    line-height: 1.6;
    margin-bottom: 20px;
}

.geo-result-reasons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.geo-reason-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--geo-text-dim);
    line-height: 1.4;
    background: var(--geo-surface2);
    border-radius: 8px;
    padding: 10px 12px;
}

.geo-reason-item span {
    font-size: 16px;
    flex-shrink: 0;
}

/* GEO Score */
.geo-result-geo-score {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 30, 78, 0.03);
    border: 1px solid rgba(0, 54, 138, 0.1);
    padding: 14px 18px;
}

.geo-result-geo-score > span {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-red);
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.geo-gscore-bar {
    flex: 1;
    height: 8px;
    background: var(--geo-surface2);
    border-radius: 100px;
    overflow: hidden;
}

.geo-gscore-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--st-navy-mid), var(--st-red));
    border-radius: 100px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
    box-shadow: 0 0 12px rgba(164, 39, 11, 0.4);
}

.geo-gscore-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--st-red);
    letter-spacing: -0.5px;
    min-width: 54px;
    text-align: right;
}

/* ── CTA ROW ─────────────────────────────────────────────── */
.geo-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.geo-btn-reset {
    padding: 13px 26px;
    border-radius: 10px;
    border: 1px solid var(--geo-border);
    background: var(--geo-surface);
    color: var(--geo-text-dim);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Archivo', sans-serif;
}

.geo-btn-reset:hover {
    border-color: var(--st-red);
    color: var(--st-red);
}

.geo-btn-tours {
    padding: 13px 26px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--st-red), #c8370f);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s;
    letter-spacing: -0.2px;
}

.geo-btn-tours:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(164, 39, 11, 0.45);
    color: #ffffff;
}

/* ── INFO SECTION ────────────────────────────────────────── */
.geo-info-section {
    grid-column: span 2;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--geo-border);
}

.geo-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.geo-info-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: none;
    box-shadow: none;
}

.geo-info-card:hover {
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.geo-info-icon {
    font-size: 26px;
    line-height: 1;
    margin-bottom: 0;
    flex-shrink: 0;
    color: var(--st-red);
}

.geo-info-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--st-navy);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.geo-info-card p {
    font-size: 13px;
    color: var(--geo-text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 991px) {
    .geo-info-section {
        grid-column: span 1;
        margin-top: 32px;
        padding-top: 24px;
    }
    .geo-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .geo-hero h1 { font-size: 28px; }
    .geo-intent-cards { grid-template-columns: 1fr; }
    .geo-result-reasons { grid-template-columns: 1fr; }
    .geo-info-grid { grid-template-columns: 1fr; }
    .geo-search-box { flex-wrap: wrap; }
    .geo-search-btn { width: 100%; justify-content: center; }
    .geo-cotizador-form { grid-template-columns: 1fr; }
    .geo-cotizador-header { flex-direction: column; text-align: center; }
    .geo-cotizador-title { font-size: 24px; }
    .geo-cotizador-btn { width: 100%; justify-content: center; }
    .geo-cotizador-result-footer { flex-direction: column; }
    .geo-cotizador-result-footer a,
    .geo-cotizador-result-footer button { width: 100%; text-align: center; justify-content: center; }
}

/* ── WIZARD PROGRESS BAR ─────────────────────────────────── */
.geo-wizard-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0 10px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.geo-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.geo-prog-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #6b7280;
    transition: all 0.3s ease;
}

.geo-prog-text {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.geo-progress-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 16px;
    margin-bottom: 24px;
    position: relative;
}

.geo-progress-step.active .geo-prog-num {
    background: var(--st-red);
    border-color: var(--st-red);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(164, 39, 11, 0.4);
}

.geo-progress-step.active .geo-prog-text {
    color: var(--st-navy);
}

.geo-progress-step.completed .geo-prog-num {
    background: var(--st-navy);
    border-color: var(--st-navy);
    color: #ffffff;
}

.geo-progress-step.completed .geo-prog-text {
    color: var(--st-navy-mid);
}

/* Step Wizard Container */
.geo-wizard-step {
    animation: geo-fadein 0.4s ease forwards;
}

/* Home page hero styling */
.st-hero-simulator {
    background: #ffffff;
    padding-top: 150px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--geo-border);
}

/* ═══════════════════════════════════════════════════════════
   COTIZADOR IA – Styles
   ═══════════════════════════════════════════════════════════ */

/* ── SECTION WRAPPER – White Brand Theme ──────────────────── */
.geo-cotizador-section {
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    color: var(--st-navy);
}

.geo-toggles-row {
    display: flex;
    gap: 24px;
    grid-column: 1 / -1;
    margin-top: 8px;
    background: var(--geo-surface);
    border: 1px solid var(--geo-border);
    border-radius: var(--geo-radius-sm);
    padding: 14px 18px;
}

.geo-toggles-row .geo-form-toggle-group {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ── HEADER ──────────────────────────────────────────────── */
.geo-cotizador-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.geo-cotizador-icon-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geo-cotizador-icon {
    font-size: 32px;
    position: relative;
    z-index: 1;
    color: var(--st-red);
    animation: geo-float 3s ease-in-out infinite;
}

.geo-cotizador-icon i {
    display: block;
}

@keyframes geo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.geo-cotizador-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(164, 39, 11, 0.25);
    animation: geo-pulse 2.5s ease-in-out infinite;
}

.geo-cotizador-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--st-navy);
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin: 0;
}

.geo-cotizador-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
    line-height: 1.4;
}

/* ── FORM GRID ───────────────────────────────────────────── */
.geo-cotizador-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

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

.geo-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.geo-form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--st-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.geo-form-label-icon {
    font-size: 16px;
    color: var(--st-red);
}

.geo-form-label-icon i {
    display: inline-block;
    vertical-align: middle;
}

/* ── INPUTS ──────────────────────────────────────────────── */
.geo-form-input,
.geo-form-select,
.geo-form-textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--geo-radius-sm);
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: var(--st-navy);
    font-size: 15px;
    font-weight: 500;
    font-family: 'Archivo', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.geo-form-input:focus,
.geo-form-select:focus,
.geo-form-textarea:focus {
    outline: none;
    border-color: var(--st-red);
    box-shadow: 0 0 0 3px rgba(164, 39, 11, 0.1);
}

.geo-form-input:hover,
.geo-form-select:hover,
.geo-form-textarea:hover {
    border-color: #9ca3af;
}

.geo-form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23001e4e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
    cursor: pointer;
}

.geo-form-select option {
    background: #ffffff;
    color: var(--st-navy);
    padding: 10px;
}

.geo-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.geo-form-textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* date inputs color fix */
.geo-form-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.6);
    cursor: pointer;
}

/* number input spin buttons */
.geo-form-input[type="number"]::-webkit-inner-spin-button,
.geo-form-input[type="number"]::-webkit-outer-spin-button {
    opacity: 0.5;
}

/* ── TOGGLE SWITCH ───────────────────────────────────────── */
.geo-form-toggle-group {
    justify-content: space-between;
}

.geo-toggle-wrap {
    display: flex;
    align-items: center;
}

.geo-toggle-input {
    display: none;
}

.geo-toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.geo-toggle-slider {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: 100px;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
}

.geo-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #9ca3af;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.geo-toggle-input:checked + .geo-toggle-label .geo-toggle-slider {
    background: linear-gradient(135deg, var(--st-red), #c8370f);
    border-color: rgba(164, 39, 11, 0.5);
    box-shadow: 0 0 12px rgba(164, 39, 11, 0.3);
}

.geo-toggle-input:checked + .geo-toggle-label .geo-toggle-slider::after {
    left: 27px;
    background: #fff;
}

.geo-toggle-text-off,
.geo-toggle-text-on {
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.geo-toggle-text-off {
    color: #6b7280;
}

.geo-toggle-text-on {
    color: #6b7280;
    display: none;
}

.geo-toggle-input:checked + .geo-toggle-label .geo-toggle-text-off {
    display: none;
}

.geo-toggle-input:checked + .geo-toggle-label .geo-toggle-text-on {
    display: inline;
    color: var(--st-red);
}

/* ── SUBMIT BUTTON ───────────────────────────────────────── */
.geo-form-submit-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 8px;
}

.geo-cotizador-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--st-red), #c8370f, var(--st-navy-mid));
    background-size: 200% 200%;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.2px;
}

.geo-cotizador-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.geo-cotizador-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(164, 39, 11, 0.45);
    background-position: 100% 100%;
}

.geo-cotizador-btn:hover::before {
    transform: translateX(100%);
}

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

.geo-cotizador-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.geo-cotizador-btn-icon {
    font-size: 22px;
}

.geo-cotizador-btn-arrow {
    transition: transform 0.3s;
}

.geo-cotizador-btn:hover .geo-cotizador-btn-arrow {
    transform: translateX(4px);
}

/* Rate info */
.geo-cotizador-rate-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
}

.geo-rate-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--geo-green);
    box-shadow: 0 0 6px var(--geo-green);
}

/* ── LOADING STATE ───────────────────────────────────────── */
.geo-cotizador-loading {
    margin-top: 32px;
    padding: 32px;
    border-radius: var(--geo-radius);
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 30, 78, 0.06);
    animation: geo-fadein 0.4s ease;
}

.geo-loading-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.geo-loading-spinner-wrap {
    flex-shrink: 0;
}

.geo-loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--st-red);
    border-right-color: var(--st-navy-mid);
    border-radius: 50%;
    animation: geo-spin 0.8s linear infinite;
}

.geo-loading-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--st-navy);
}

.geo-loading-sub {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

/* Skeleton Lines */
.geo-loading-skeleton {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.geo-skeleton-line {
    height: 14px;
    border-radius: 8px;
    background: linear-gradient(90deg,
        #f3f4f6 25%,
        #e5e7eb 50%,
        #f3f4f6 75%
    );
    background-size: 200% 100%;
    animation: geo-skeleton-shimmer 1.5s ease-in-out infinite;
}

.geo-skeleton-w90 { width: 90%; }
.geo-skeleton-w80 { width: 80%; }
.geo-skeleton-w70 { width: 70%; }
.geo-skeleton-w60 { width: 60%; }
.geo-skeleton-w45 { width: 45%; }

@keyframes geo-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── RESULT ──────────────────────────────────────────────── */
.geo-cotizador-result {
    margin-top: 32px;
    border-radius: var(--geo-radius);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    animation: geo-result-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    box-shadow: 0 4px 30px rgba(0, 30, 78, 0.1);
}

.geo-cotizador-result-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(0, 30, 78, 0.04), rgba(164, 39, 11, 0.03));
    border-bottom: 1px solid #e5e7eb;
}

.geo-cotizador-result-icon {
    font-size: 36px;
    color: var(--geo-green);
    animation: geo-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.geo-cotizador-result-icon i {
    display: block;
}

.geo-cotizador-result-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--st-navy);
    letter-spacing: -0.5px;
    margin: 0;
}

.geo-cotizador-result-meta {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

/* Result Body – Rendered AI Content */
.geo-cotizador-result-body {
    padding: 32px;
    font-size: 14.5px;
    line-height: 1.75;
    color: #374151;
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.geo-cotizador-result-body h1,
.geo-cotizador-result-body h2,
.geo-cotizador-result-body h3 {
    color: var(--st-navy);
    font-weight: 800;
    margin: 24px 0 12px;
    letter-spacing: -0.3px;
}

.geo-cotizador-result-body h1 { font-size: 22px; }
.geo-cotizador-result-body h2 { font-size: 18px; }
.geo-cotizador-result-body h3 { font-size: 16px; }

.geo-cotizador-result-body p {
    margin-bottom: 12px;
}

.geo-cotizador-result-body ul,
.geo-cotizador-result-body ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.geo-cotizador-result-body li {
    margin-bottom: 6px;
}

.geo-cotizador-result-body strong {
    color: var(--st-navy);
    font-weight: 700;
}

.geo-cotizador-result-body hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 20px 0;
}

.geo-cotizador-result-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.geo-cotizador-result-body th,
.geo-cotizador-result-body td {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.geo-cotizador-result-body th {
    background: rgba(0, 30, 78, 0.06);
    color: var(--st-navy);
    font-weight: 700;
}

.geo-cotizador-result-body td {
    background: #f9fafb;
}

/* Result Footer */
.geo-cotizador-result-footer {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 24px 32px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.geo-btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.geo-btn-whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35) !important;
}

/* ── ERROR STATE ─────────────────────────────────────────── */
.geo-cotizador-error {
    margin-top: 32px;
    padding: 32px;
    border-radius: var(--geo-radius);
    background: rgba(164, 39, 11, 0.04);
    border: 1px solid rgba(164, 39, 11, 0.15);
    text-align: center;
    animation: geo-fadein 0.4s ease;
}

.geo-error-icon {
    font-size: 40px;
    margin-bottom: 12px;
    color: var(--st-red);
}

.geo-error-icon i {
    display: block;
    margin: 0 auto;
}

.geo-error-message {
    font-size: 15px;
    color: #374151;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ── TYPEWRITER CURSOR ───────────────────────────────────── */
.geo-typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--st-red);
    margin-left: 2px;
    animation: geo-blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes geo-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
