/* =========================================
   DESIGN SYSTEM — Allan Diógenes
   Calculadora Equiparação Hospitalar
   Paleta: Preto, Chumbo, Dourado
   Mobile-first
   ========================================= */

/* ── CSS Variables ── */
:root {
    /* Colors */
    --black: #0A0A0A;
    --black-light: #111111;
    --charcoal: #1A1A2E;
    --charcoal-light: #2D2D44;
    --charcoal-muted: #3A3A52;
    --gold: #C9A84C;
    --gold-light: #D4AF37;
    --gold-bright: #E8C84A;
    --gold-dark: #A88B3D;
    --gold-muted: rgba(201, 168, 76, 0.15);
    --white: #FAFAFA;
    --white-muted: #E0E0E0;
    --gray-light: #B0B0B0;
    --gray: #888888;
    --red-soft: #E74C3C;
    --green-soft: #27AE60;
    --green-whatsapp: #25D366;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.25);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

input {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ── Section Shared Styles ── */
.section-overline {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xl);
    line-height: 1.3;
}

/* ── HEADER ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    padding: var(--space-sm) 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    height: 48px;
    width: auto;
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--black) 0%, var(--charcoal) 100%);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 100px;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.72rem;
    color: var(--gold-bright);
    margin-bottom: var(--space-lg);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
    50% { box-shadow: 0 0 20px 4px rgba(201, 168, 76, 0.15); }
}

.badge-icon {
    font-size: 0.85rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.gold-highlight {
    color: var(--gold);
    position: relative;
}

.gold-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    border-radius: 2px;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.hero-subtitle strong {
    color: var(--white);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    text-align: center;
    justify-content: center;
    width: 100%;
}

.cta-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: var(--black);
    box-shadow: var(--shadow-gold);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(201, 168, 76, 0.4);
}

.cta-primary:active {
    transform: translateY(0);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--gray-light);
}

.hero-badge-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: var(--space-xl) auto 0;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    object-fit: cover;
    object-position: top;
    max-height: 400px;
}

.hero-image-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--charcoal), transparent);
    pointer-events: none;
}

/* ── NEWS SECTION ── */
.news-section {
    padding: var(--space-3xl) 0;
    background: var(--charcoal);
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    border-radius: 2px;
}

.news-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e63946, #1d3557);
}

.news-source {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.8rem;
}

.news-source-name {
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.news-source-divider {
    color: var(--gray);
}

.news-source-section {
    color: var(--gray-light);
}

.news-headline {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.news-excerpt {
    font-size: 0.88rem;
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.news-meta {
    margin-bottom: var(--space-md);
}

.news-date {
    font-size: 0.75rem;
    color: var(--gray);
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    transition: color var(--transition-fast);
}

.news-link:hover {
    color: var(--gold-bright);
}

/* ── HOW IT WORKS ── */
.how-it-works {
    padding: var(--space-3xl) 0;
    background: var(--black);
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    position: relative;
    transition: all var(--transition-base);
}

.step-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.05);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(201, 168, 76, 0.15);
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    line-height: 1;
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--gold-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--gold);
}

.step-card h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--white);
}

.step-card p {
    font-size: 0.85rem;
    color: var(--gray-light);
}

/* ── CALCULATOR SECTION ── */
.calculator-section {
    padding: var(--space-3xl) 0 var(--space-3xl);
    background: linear-gradient(180deg, var(--black) 0%, var(--charcoal) 50%, var(--black) 100%);
}

.calculator-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.calculator-header {
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.calc-logo {
    height: 40px;
    margin: 0 auto var(--space-md);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.progress-label {
    font-size: 0.78rem;
    color: var(--gray-light);
}

.progress-percent {
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    border-radius: 100px;
    transition: width var(--transition-slow);
}

/* Calculator Body */
.calculator-body {
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    min-height: 400px;
}

.calc-step {
    display: none;
    animation: fadeSlideIn 0.4s ease;
}

.calc-step.active {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calc-question {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.calc-description {
    font-size: 0.88rem;
    color: var(--gray-light);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.calc-description strong {
    color: var(--white);
}

/* Option Cards */
.option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.option-card {
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--white);
}

.option-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    background: rgba(201, 168, 76, 0.08);
}

.option-card.selected {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.12);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.option-card.selected .option-icon {
    color: var(--gold);
}

.option-icon {
    color: var(--gray);
    transition: color var(--transition-fast);
}

.option-label {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

/* Input Styles */
.input-group {
    margin-bottom: var(--space-lg);
}

.input-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white-muted);
    margin-bottom: var(--space-sm);
}

.required {
    color: var(--gold);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: var(--space-md);
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 600;
    pointer-events: none;
}

.calc-input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    transition: border-color var(--transition-fast);
    outline: none;
}

.input-wrapper .calc-input {
    padding-left: 3rem;
}

.calc-input::placeholder {
    color: var(--gray);
}

.calc-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.input-hint {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: var(--space-sm);
}

/* Slider */
.slider-group {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.slider-value-display {
    margin-bottom: var(--space-lg);
}

.slider-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.slider-unit {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.4);
    transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.4);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-sm);
    font-size: 0.75rem;
    color: var(--gray);
}

/* Form Group */
.form-group {
    margin-bottom: var(--space-lg);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    accent-color: var(--gold);
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.78rem;
    color: var(--gray-light);
    line-height: 1.5;
    cursor: pointer;
}

/* Calculator Navigation */
.calc-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-xl);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--gray-light);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-back:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-next {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: var(--black);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.btn-next:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-next:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.btn-result {
    width: 100%;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
}

/* ── RESULT ── */
.result-icon {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--gold);
}

.result-icon svg {
    margin: 0 auto;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.result-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    text-align: center;
    color: var(--white);
    margin-bottom: var(--space-xl);
}

.result-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.result-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

.result-card-main {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.3);
}

.result-label {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.result-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}

.result-value-secondary {
    font-size: 1.6rem;
    color: var(--gold-light);
}

.result-value-accent {
    font-size: 1.6rem;
    color: var(--green-soft);
}

/* Comparison */
.result-comparison {
    margin-bottom: var(--space-xl);
}

.comparison-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.comparison-item {
    flex: 1;
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    text-align: center;
}

.comparison-before {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.comparison-after {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.comparison-label {
    display: block;
    font-size: 0.68rem;
    color: var(--gray-light);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.comparison-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.comparison-before .comparison-value {
    color: var(--red-soft);
}

.comparison-after .comparison-value {
    color: var(--green-soft);
}

.comparison-arrow {
    color: var(--gray);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* WhatsApp CTA */
.cta-whatsapp {
    background: var(--green-whatsapp);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.cta-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

.result-disclaimer {
    font-size: 0.7rem;
    color: var(--gray);
    text-align: center;
    margin-top: var(--space-lg);
    line-height: 1.5;
}

/* ── AUTHORITY SECTION ── */
.authority-section {
    padding: var(--space-3xl) 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.authority-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    border-radius: 2px;
}

.authority-content {
    display: flex;
    flex-direction: column;
}

.authority-text {
    margin-bottom: var(--space-xl);
}

.authority-title {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: var(--space-lg);
}

.authority-bio {
    font-size: 0.92rem;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.authority-bio strong {
    color: var(--white);
}

.authority-image-wrapper {
    text-align: center;
}

.authority-image {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

/* ── FOOTER ── */
.footer {
    padding: var(--space-xl) 0;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-logo {
    height: 36px;
    margin: 0 auto var(--space-md);
}

.footer-text {
    font-size: 0.78rem;
    color: var(--gray);
    margin-bottom: var(--space-xs);
}

.footer-legal {
    font-size: 0.68rem;
    color: var(--gray);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
    opacity: 0.7;
}

/* ── ANIMATIONS & INTERACTIONS ── */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE: Tablet & Desktop ── */
@media (min-width: 768px) {
    .container {
        max-width: 680px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-image-wrapper {
        max-width: 420px;
    }

    .hero-image {
        max-height: 480px;
    }

    .steps-grid {
        flex-direction: row;
        gap: var(--space-md);
    }

    .step-card {
        flex: 1;
    }

    .calc-question {
        font-size: 1.5rem;
    }

    .authority-content {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2xl);
    }

    .authority-text {
        flex: 1;
        margin-bottom: 0;
    }

    .authority-image-wrapper {
        flex: 0 0 280px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 860px;
    }

    .hero {
        flex-direction: row;
        align-items: center;
        min-height: 100vh;
    }

    .hero-content {
        flex: 1;
        padding-bottom: var(--space-3xl);
    }

    .hero-image-wrapper {
        flex: 0 0 380px;
        margin: 0;
        align-self: flex-end;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .calculator-wrapper {
        max-width: 560px;
        margin: 0 auto;
    }

    .authority-image-wrapper {
        flex: 0 0 340px;
    }
}
