/* ============================================================ */
/* PÁGINA DE IMPUESTOS · SHYRO Hosting                          */
/* Estilos específicos para /pricing/taxes                      */
/* Rediseño profesional gaming hosting.                         */
/* ============================================================ */

/* Variables locales (extensiones del sistema global) */
:root {
    --edge-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --card-gradient: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 60%);
    --glow-cyan: 0 0 24px rgba(0, 229, 255, 0.35);
    --glow-cyan-strong: 0 0 40px rgba(0, 229, 255, 0.55);
    --glow-cyan-soft: 0 0 60px rgba(0, 229, 255, 0.18);
    --card-shadow-rest: 0 4px 20px -8px rgba(0, 0, 0, 0.4);
    --card-shadow-hover: 0 12px 40px -12px rgba(0, 0, 0, 0.6),
                         0 0 40px -20px rgba(0, 229, 255, 0.5);
}
html[data-theme="light"] {
    --edge-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    --card-gradient: linear-gradient(180deg, rgba(0,0,0,0.015) 0%, rgba(0,0,0,0) 60%);
    --glow-cyan: 0 0 24px rgba(0, 144, 168, 0.22);
    --glow-cyan-strong: 0 0 40px rgba(0, 144, 168, 0.32);
    --glow-cyan-soft: 0 0 60px rgba(0, 144, 168, 0.12);
    --card-shadow-rest: 0 4px 20px -8px rgba(0, 0, 0, 0.10);
    --card-shadow-hover: 0 12px 40px -12px rgba(0, 0, 0, 0.15),
                         0 0 40px -20px rgba(0, 144, 168, 0.3);
}

/* Base */
body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6, p, span, a, li, div {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ============================================ */
/* HERO                                         */
/* ============================================ */
.tax-hero {
    position: relative;
    padding: clamp(160px, 18vw, 220px) 0 clamp(100px, 12vw, 160px);
    overflow: hidden;
    background-color: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Imagen de fondo del hero */
.tax-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../../assets/hero/taxes-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Capa de color con transparencia encima de la imagen */
.tax-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(10, 10, 12, 0.85) 0%,
            rgba(10, 10, 12, 0.70) 50%,
            rgba(10, 10, 12, 0.90) 100%
        ),
        radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 229, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

html[data-theme="light"] .tax-hero-bg::after {
    background:
        linear-gradient(
            180deg,
            rgba(245, 246, 248, 0.92) 0%,
            rgba(245, 246, 248, 0.80) 50%,
            rgba(245, 246, 248, 0.95) 100%
        ),
        radial-gradient(circle at 80% 20%, rgba(0, 144, 168, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 144, 168, 0.06) 0%, transparent 50%);
}

.tax-hero-content {
    position: relative;
    z-index: 2;
}

.tax-hero-inner {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.tax-hero h1 {
    font-size: clamp(2rem, 6vw + 0.5rem, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: clamp(-3px, -0.4vw, -0.5px);
    margin-bottom: 32px;
    text-wrap: balance;
    background: linear-gradient(180deg, #FFFFFF 0%, #B8B8C8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5));
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}
html[data-theme="light"] .tax-hero h1 {
    background: linear-gradient(180deg, #0d0d12 0%, #3a3a4a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.08));
}

.tax-hero-sub {
    font-size: clamp(1.1rem, 2vw + 0.5rem, 1.75rem);
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 24px;
    font-style: italic;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
html[data-theme="light"] .tax-hero-sub {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.tax-hero-desc {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.35rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto 50px;
    text-wrap: balance;
}

.tax-hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tax-hero-actions .btn {
    padding: clamp(14px, 2vw, 18px) clamp(24px, 3vw, 36px);
    font-size: clamp(0.9rem, 1.5vw + 0.4rem, 1.05rem);
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

.tax-hero-note {
    font-size: clamp(0.9rem, 1.3vw + 0.4rem, 1.05rem);
    color: var(--text-secondary);
    opacity: 0.8;
    font-style: italic;
}

/* ============================================ */
/* 01 · PLANES Y CATEGORÍAS                     */
/* ============================================ */
.tax-plans {
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
    position: relative;
}
.tax-plans::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
    pointer-events: none;
}

.tax-category-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.tax-category-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow:
        var(--edge-highlight),
        var(--card-shadow-rest);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.tax-category-btn i {
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.5));
}
html[data-theme="light"] .tax-category-btn i {
    filter: drop-shadow(0 0 10px rgba(0, 144, 168, 0.4));
}

.tax-category-btn strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tax-category-btn span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tax-category-btn:hover {
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
    box-shadow:
        var(--edge-highlight),
        0 12px 40px -12px rgba(0, 0, 0, 0.6),
        0 0 40px -20px rgba(0, 229, 255, 0.5);
}

.tax-category-btn.active {
    border-color: var(--primary-color);
    box-shadow:
        var(--edge-highlight),
        0 0 0 1px rgba(0, 229, 255, 0.2),
        0 20px 60px -20px rgba(0, 229, 255, 0.5),
        0 0 80px -30px rgba(0, 229, 255, 0.55);
}

.tax-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.tax-plan-card {
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        var(--edge-highlight),
        var(--card-shadow-rest);
    min-width: 0;
}

.tax-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.7);
}

.tax-plan-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow:
        var(--edge-highlight),
        0 20px 60px -20px rgba(0, 229, 255, 0.45),
        0 0 80px -30px rgba(0, 229, 255, 0.5);
}

.tax-plan-card.active {
    border-color: var(--primary-color);
    box-shadow:
        var(--edge-highlight),
        0 0 0 1px rgba(0, 229, 255, 0.2),
        0 20px 60px -20px rgba(0, 229, 255, 0.55),
        0 0 80px -30px rgba(0, 229, 255, 0.6);
}

.tax-plan-card.active::before {
    transform: scaleX(1);
}

.tax-plan-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(0, 229, 255, 0.15);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    box-shadow: 0 0 12px -3px rgba(0, 229, 255, 0.5);
}

.tax-plan-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.tax-plan-specs {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.tax-plan-price {
    font-size: clamp(1.4rem, 3vw + 0.5rem, 1.9rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 4px;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.4));
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
}
html[data-theme="light"] .tax-plan-price {
    filter: drop-shadow(0 0 10px rgba(0, 144, 168, 0.35));
}

.tax-plan-period {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.tax-plan-cta {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    pointer-events: none;
}

.tax-plan-card.active .tax-plan-cta {
    background: linear-gradient(180deg, #00F0FF 0%, #0095AA 100%);
    border-color: transparent;
    color: #0a0a0c;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 8px 24px -8px rgba(0, 229, 255, 0.7);
}

/* Panel de precio base */
.tax-base-price {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(28px, 4vw, 40px);
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow:
        var(--edge-highlight),
        var(--card-shadow-rest);
    position: relative;
}
.tax-base-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.6), transparent);
    pointer-events: none;
}

.tax-base-price-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.tax-base-price-value {
    font-size: clamp(1.8rem, 6vw + 0.5rem, 3rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 12px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.5));
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
}
html[data-theme="light"] .tax-base-price-value {
    filter: drop-shadow(0 0 18px rgba(0, 144, 168, 0.4));
}

.tax-base-price-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 24px;
}

.tax-base-price-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

/* ============================================ */
/* 02 · MODIFICADORES                           */
/* ============================================ */
.tax-modifiers {
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
    position: relative;
}
.tax-modifiers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
    pointer-events: none;
}

.tax-modifiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.tax-modifier {
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(36px, 5vw, 50px) clamp(24px, 3vw, 36px);
    text-align: center;
    transition: all 0.35s ease;
    box-shadow:
        var(--edge-highlight),
        var(--card-shadow-rest);
    position: relative;
}
.tax-modifier::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.tax-modifier:hover::after { opacity: 0.9; }

.tax-modifier:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow:
        var(--edge-highlight),
        var(--card-shadow-hover);
}

.tax-modifier-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.10);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 20px -8px rgba(0, 229, 255, 0.6);
}

.tax-modifier:hover .tax-modifier-icon {
    background: rgba(0, 229, 255, 0.20);
    transform: scale(1.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 30px -6px rgba(0, 229, 255, 0.8);
}

.tax-modifier h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.tax-modifier p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    transition: opacity 0.3s ease;
}

/* ============================================ */
/* 03 · CALCULADORA                             */
/* ============================================ */
.tax-calc-section {
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
    position: relative;
}
.tax-calc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
    pointer-events: none;
}

.tax-calc-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.tax-calc-panel {
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 50px) clamp(20px, 3vw, 40px);
    text-align: center;
    box-shadow:
        var(--edge-highlight),
        0 25px 60px -20px rgba(0, 0, 0, 0.6),
        0 0 80px -30px rgba(0, 229, 255, 0.45);
    position: relative;
    overflow: hidden;
}
.tax-calc-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.8), transparent);
    pointer-events: none;
}
html[data-theme="light"] .tax-calc-panel {
    box-shadow:
        var(--edge-highlight),
        0 25px 60px -20px rgba(0, 0, 0, 0.15),
        0 0 80px -30px rgba(0, 144, 168, 0.3);
}

.tax-calc-header {
    margin-bottom: 30px;
}

.tax-calc-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.tax-calc-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.tax-calc-divider-total {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.6;
    margin: 30px 0;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.tax-calc-row {
    padding: 12px 0;
}

.tax-calc-amount {
    font-size: clamp(1.5rem, 4vw + 0.5rem, 2.4rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 6px;
    transition: all 0.4s ease;
    font-variant-numeric: tabular-nums;
    min-height: 1.2em;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
}

.tax-calc-amount.tax-pending {
    font-size: clamp(1.2rem, 3vw + 0.5rem, 1.8rem);
    color: var(--text-secondary);
    font-weight: 600;
    font-style: italic;
}

.tax-calc-amount.tax-configured {
    color: var(--text-primary);
    font-size: clamp(1.4rem, 3.5vw + 0.5rem, 2rem);
}

.tax-calc-amount.tax-configured::after {
    content: attr(data-suffix);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 6px;
    opacity: 0.7;
}

.tax-calc-base .tax-calc-amount {
    color: var(--text-primary);
}

.tax-calc-total .tax-calc-amount {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 5vw + 0.5rem, 3rem);
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.5));
}
html[data-theme="light"] .tax-calc-total .tax-calc-amount {
    filter: drop-shadow(0 0 18px rgba(0, 144, 168, 0.4));
}

.tax-calc-total .tax-calc-amount.tax-pending {
    font-size: clamp(1.4rem, 4vw + 0.5rem, 2rem);
    color: var(--text-secondary);
    filter: none;
}

.tax-calc-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.tax-calc-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 8px;
    line-height: 1.5;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    transition: opacity 0.3s ease;
}

.tax-calc-op {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-secondary);
    opacity: 0.4;
    padding: 4px 0;
}

.tax-calc-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-style: italic;
}

.tax-calc-explain h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.tax-calc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tax-calc-list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.tax-calc-list-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(0, 229, 255, 0.10);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 20px -10px rgba(0, 229, 255, 0.6);
}

.tax-calc-list strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tax-calc-list p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    transition: opacity 0.3s ease;
}

/* ============================================ */
/* 04 · SECCIÓN DINÁMICA DE PAÍS                */
/* ============================================ */
.tax-argentina {
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
    position: relative;
}
.tax-argentina::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
    pointer-events: none;
}

.tax-argentina-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.tax-argentina-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.tax-argentina-text p:first-child {
    color: var(--text-primary);
    font-weight: 600;
}

.tax-argentina-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 30px);
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow:
        var(--edge-highlight),
        var(--card-shadow-rest);
    position: relative;
}
.tax-argentina-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.6), transparent);
    pointer-events: none;
}

.tax-flow-item {
    text-align: center;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 320px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    min-width: 0;
}

.tax-flow-item-final {
    border-color: var(--primary-color);
    background: rgba(0, 229, 255, 0.05);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(0, 229, 255, 0.15),
        0 0 30px -10px rgba(0, 229, 255, 0.5);
}

.tax-flow-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: opacity 0.3s ease;
    overflow-wrap: break-word;
}

.tax-flow-value {
    font-size: clamp(1.4rem, 3vw + 0.5rem, 1.8rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-top: 6px;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.4));
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
}

.tax-flow-arrow {
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.5;
    animation: flowArrow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
}

@keyframes flowArrow {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(4px); opacity: 1; }
}

/* ============================================ */
/* 05 · SELECTOR DE PAÍS                        */
/* ============================================ */
.tax-country {
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
    position: relative;
}
.tax-country::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
    pointer-events: none;
}

.tax-country-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.tax-country-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow:
        var(--edge-highlight),
        var(--card-shadow-rest);
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
}

.tax-country-flag {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.tax-country-btn:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow:
        var(--edge-highlight),
        0 8px 24px -8px rgba(0, 0, 0, 0.5),
        0 0 30px -12px rgba(0, 229, 255, 0.5);
}

.tax-country-btn.active {
    background: linear-gradient(180deg, #00F0FF 0%, #0095AA 100%);
    border-color: transparent;
    color: #0a0a0c;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 8px 24px -8px rgba(0, 229, 255, 0.7),
        0 0 30px -8px rgba(0, 229, 255, 0.6);
    font-weight: 700;
}

/* Indicador de país mejorado */
.tax-country-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding: 16px 28px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: var(--radius-pill);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 rgba(0, 229, 255, 0);
    flex-wrap: wrap;
}

.tax-country-indicator.changing {
    transform: scale(0.96);
    opacity: 0.6;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

.tax-country-indicator-icon {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.4s ease;
}

.tax-country-indicator.changing .tax-country-indicator-icon {
    transform: scale(1.2) rotate(-8deg);
}

.tax-country-indicator-text strong {
    color: var(--primary-color);
    font-weight: 800;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
}

html[data-theme="light"] .tax-country-indicator {
    background: rgba(0, 144, 168, 0.06);
    border-color: rgba(0, 144, 168, 0.25);
}

.tax-country-note {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    transition: opacity 0.3s ease;
}

/* ============================================ */
/* 06 · FLUJO DEL DINERO                        */
/* ============================================ */
.tax-money {
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
    position: relative;
}
.tax-money::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
    pointer-events: none;
}

.tax-money-flow {
    max-width: 900px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.tax-money-top {
    padding: 20px 40px;
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    box-shadow:
        var(--edge-highlight),
        0 0 0 1px rgba(0, 229, 255, 0.15),
        0 20px 60px -20px rgba(0, 229, 255, 0.5),
        0 0 80px -30px rgba(0, 229, 255, 0.55);
    max-width: 100%;
}

.tax-money-amount {
    font-size: clamp(1.4rem, 3vw + 0.5rem, 2rem);
    font-weight: 900;
    color: var(--primary-color);
    filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.6));
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
}
html[data-theme="light"] .tax-money-amount {
    filter: drop-shadow(0 0 14px rgba(0, 144, 168, 0.5));
}

.tax-money-branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    max-width: 700px;
    position: relative;
}

.tax-money-branches::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background: var(--border-color);
}

.tax-money-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tax-money-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: var(--edge-highlight);
    max-width: 100%;
}

.tax-money-node i {
    font-size: 1.5rem;
}

.tax-money-node-shyro {
    background: rgba(0, 229, 255, 0.10);
    color: var(--primary-color);
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 30px -10px rgba(0, 229, 255, 0.55);
}

.tax-money-node-pay {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
html[data-theme="light"] .tax-money-node-pay {
    background: rgba(0, 0, 0, 0.03);
}

.tax-money-line {
    width: 2px;
    height: 24px;
    background: var(--border-color);
    position: relative;
}

.tax-money-leaf {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    padding: 8px 16px;
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-weight: 600;
    box-shadow: var(--edge-highlight);
    max-width: 100%;
}

.tax-money-leaf-final {
    background: linear-gradient(180deg, #00F0FF 0%, #0095AA 100%);
    color: #0a0a0c;
    border-color: transparent;
    font-weight: 700;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 8px 24px -8px rgba(0, 229, 255, 0.7);
}

.tax-money-legend {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tax-money-legend-item {
    text-align: center;
    padding: 30px 20px;
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow:
        var(--edge-highlight),
        var(--card-shadow-rest);
    position: relative;
}
.tax-money-legend-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.tax-money-legend-item:hover::after { opacity: 0.9; }

.tax-money-legend-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow:
        var(--edge-highlight),
        var(--card-shadow-hover);
}

.tax-money-legend-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: var(--radius-md);
    background: rgba(0, 229, 255, 0.10);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 20px -8px rgba(0, 229, 255, 0.6);
}

.tax-money-legend-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tax-money-legend-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================ */
/* 07 · SECCIÓN SHYRO                           */
/* ============================================ */
.tax-shyro {
    border-top: 1px solid var(--border-color);
    padding: 120px 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 229, 255, 0.08), transparent 70%),
        linear-gradient(180deg, var(--bg-dark) 0%, rgba(0, 229, 255, 0.03) 100%);
    position: relative;
}
.tax-shyro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
    pointer-events: none;
}

.tax-shyro-inner {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.tax-shyro-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    background: rgba(0, 229, 255, 0.10);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 30px -10px rgba(0, 229, 255, 0.5);
    max-width: 100%;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
}

.tax-shyro h2 {
    font-size: clamp(1.5rem, 4vw + 0.5rem, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 30px;
    text-wrap: balance;
    background: linear-gradient(180deg, #FFFFFF 0%, #A8A8B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.3));
    overflow-wrap: break-word;
}
html[data-theme="light"] .tax-shyro h2 {
    background: linear-gradient(180deg, #0d0d12 0%, #5a5a6e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
}

.tax-shyro-highlight {
    font-size: clamp(1.4rem, 3vw + 0.5rem, 2rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-style: italic;
    filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.5));
}
html[data-theme="light"] .tax-shyro-highlight {
    filter: drop-shadow(0 0 14px rgba(0, 144, 168, 0.4));
}

.tax-shyro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ============================================ */
/* 08 · EJEMPLO REAL                            */
/* ============================================ */
.tax-example {
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
    position: relative;
}
.tax-example::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
    pointer-events: none;
}

.tax-example-card {
    max-width: 600px;
    margin: 0 auto;
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 50px) clamp(20px, 3vw, 40px);
    text-align: center;
    transition: all 0.35s ease;
    box-shadow:
        var(--edge-highlight),
        var(--card-shadow-rest);
    position: relative;
}
.tax-example-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.6), transparent);
    pointer-events: none;
}

.tax-example-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow:
        var(--edge-highlight),
        0 25px 60px -20px rgba(0, 229, 255, 0.45),
        0 0 80px -30px rgba(0, 229, 255, 0.5);
}

.tax-example-plan {
    display: inline-block;
    padding: 10px 28px;
    border-radius: var(--radius-pill);
    background: rgba(0, 229, 255, 0.10);
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 30px;
    box-shadow: 0 0 20px -6px rgba(0, 229, 255, 0.5);
    max-width: 100%;
    overflow-wrap: anywhere;
}

.tax-example-price-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.tax-example-price {
    font-size: clamp(1.8rem, 5vw + 0.5rem, 3rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.5));
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15;
}
html[data-theme="light"] .tax-example-price {
    filter: drop-shadow(0 0 18px rgba(0, 144, 168, 0.4));
}

.tax-example-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ============================================ */
/* 09 · FAQ                                     */
/* ============================================ */
.tax-faq {
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
    position: relative;
}
.tax-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
    pointer-events: none;
}

.tax-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tax-faq-item {
    background:
        var(--card-gradient),
        var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        var(--edge-highlight),
        var(--card-shadow-rest);
}

.tax-faq-item:hover {
    border-color: rgba(0, 229, 255, 0.3);
    border-left-color: rgba(0, 229, 255, 0.5);
}

.tax-faq-item.open {
    border-left-color: var(--primary-color);
    background:
        linear-gradient(90deg, rgba(0, 229, 255, 0.04) 0%, transparent 60%),
        var(--bg-card);
    box-shadow:
        var(--edge-highlight),
        0 8px 30px -12px rgba(0, 0, 0, 0.5),
        0 0 40px -20px rgba(0, 229, 255, 0.3);
}

.tax-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 28px);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: clamp(0.95rem, 1.5vw + 0.3rem, 1.05rem);
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    gap: 20px;
    transition: color 0.3s ease;
}
.tax-faq-item.open .tax-faq-question {
    color: var(--primary-color);
}

.tax-faq-question i {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
}

.tax-faq-item.open .tax-faq-question i {
    transform: rotate(45deg);
}

.tax-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 clamp(18px, 3vw, 28px);
}

.tax-faq-item.open .tax-faq-answer {
    max-height: 300px;
    padding: 0 clamp(18px, 3vw, 28px) clamp(18px, 3vw, 24px);
}

.tax-faq-answer p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================ */
/* CIERRE                                       */
/* ============================================ */
.tax-outro {
    border-top: 1px solid var(--border-color);
    padding: clamp(80px, 10vw, 120px) 0;
    background: var(--bg-dark);
    position: relative;
}
.tax-outro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 229, 255, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.tax-outro .container { position: relative; z-index: 1; }

.tax-outro-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.tax-outro h2 {
    font-size: clamp(1.5rem, 4vw + 0.5rem, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    text-wrap: balance;
    background: linear-gradient(180deg, #FFFFFF 0%, #A8A8B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.3));
    overflow-wrap: break-word;
}
html[data-theme="light"] .tax-outro h2 {
    background: linear-gradient(180deg, #0d0d12 0%, #5a5a6e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
}

.tax-outro p {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.3rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.tax-outro-actions {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tax-outro-actions .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

.tax-outro-signature {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    position: relative;
}
.tax-outro-signature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
    pointer-events: none;
}

.tax-outro-signature strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.tax-outro-signature span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */

/* --- 1024px: tablets --- */
@media (max-width: 1024px) {
    .tax-hero {
        padding: clamp(140px, 16vw, 180px) 0 clamp(80px, 10vw, 120px);
        min-height: 85vh;
    }

    .tax-hero h1 {
        font-size: clamp(2rem, 6vw, 4.2rem);
    }

    .tax-hero-sub {
        font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    }

    .tax-hero-desc {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
    }

    .tax-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tax-modifiers-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .tax-calc-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .tax-argentina-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tax-money-legend {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .tax-category-selector {
        grid-template-columns: 1fr;
    }
}

/* --- 768px: móviles grandes --- */
@media (max-width: 768px) {
    .tax-hero {
        padding: 160px 0 100px;
        min-height: auto;
    }

    .tax-hero h1 {
        font-size: clamp(1.6rem, 7vw, 3rem);
        letter-spacing: -1.5px;
        margin-bottom: 24px;
    }

    .tax-hero-sub {
        font-size: clamp(1.05rem, 4vw, 1.3rem);
    }

    .tax-hero-desc {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        margin-bottom: 36px;
    }

    .tax-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tax-hero-actions .btn {
        width: 100%;
    }

    .tax-plans-grid {
        grid-template-columns: 1fr;
    }

    .tax-calc-panel {
        padding: 36px 24px;
    }

    .tax-money-branches {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tax-shyro h2,
    .tax-outro h2 {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .tax-shyro-highlight {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
    }

    .tax-example-card {
        padding: 36px 24px;
    }
}

/* --- 480px: móviles pequeños --- */
@media (max-width: 480px) {
    .tax-hero {
        padding: 140px 0 80px;
    }

    .tax-hero h1 {
        font-size: clamp(1.4rem, 8vw, 2.3rem);
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .tax-hero-sub {
        font-size: clamp(1rem, 4vw, 1.1rem);
    }

    .tax-hero-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .tax-hero-actions .btn {
        padding: 14px 28px;
    }

    .tax-modifier {
        padding: 36px 24px;
    }

    .tax-modifier-icon {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }

    .tax-country-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .tax-country-flag {
        font-size: 1rem;
    }

    .tax-country-indicator {
        padding: 12px 18px;
        font-size: 0.9rem;
        gap: 10px;
    }

    .tax-country-indicator-icon {
        font-size: 1.2rem;
    }

    .tax-shyro h2,
    .tax-outro h2 {
        font-size: clamp(1.3rem, 7vw, 1.7rem);
    }

    .tax-outro-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tax-outro-actions .btn {
        width: 100%;
    }
}

/* ============================================ */
/* AJUSTES PARA TOPBAR FIJO                     */
/* ============================================ */
body {
    padding-top: 38px;
}

@media (max-width: 768px) {
    body {
        padding-top: 36px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 34px;
    }
}

/* ============================================ */
/* REDUCED MOTION (accesibilidad)               */
/* ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .tax-flow-arrow { animation: none; }
}

/* ============================================ */
/* FOCUS VISIBLE (accesibilidad)                */
/* ============================================ */
.tax-category-btn:focus-visible,
.tax-plan-card:focus-visible,
.tax-country-btn:focus-visible,
.tax-faq-question:focus-visible,
.tax-hero-actions .btn:focus-visible,
.tax-outro-actions .btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}