/* ==========================================================================
   Expat Guide — Switzerland Expat Setup Landing Page
   Marketing hero + city autocomplete + interactive checklist
   ========================================================================== */

/* ---- Layout ---- */

.expat-guide {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--tb-dark, #20212D);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- Hide nav elements on this page ---- */

.marketing-page:has(.expat-guide) .marketing-nav-right .lang-switcher,
.marketing-page:has(.expat-guide) .marketing-nav-right .marketing-nav-link,
.marketing-page:has(.expat-guide) .marketing-nav-right .btn {
    display: none;
}

/* ---- Hero — full-bleed image ---- */

.eg-hero {
    position: relative;
    height: 480px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.eg-hero--tall {
    height: auto;
    min-height: 75vh;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
}

.eg-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.eg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.eg-hero-overlay--center {
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.6) 100%);
}

.eg-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 48px;
    width: 100%;
}

.eg-hero-content--center {
    padding: 0 24px;
    padding-top: 80px;
    padding-bottom: 40px;
    text-align: center;
}

/* ---- Hero options (pills on the image) ---- */

.eg-hero-options {
    max-width: 520px;
    margin: 0 auto;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease 0.1s,
                transform 0.4s ease 0.1s;
}

.eg-hero-options.visible {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

.eg-hero-option-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

.eg-hero-option-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    min-width: 100px;
    text-align: right;
}

/* Glass pills — for on top of hero image */

.eg-pill--glass {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.eg-pill--glass:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.eg-pill--glass.active {
    background: rgba(255,255,255,0.95);
    color: var(--tb-dark, #20212D);
    border-color: transparent;
}

.eg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    padding: 5px 14px 5px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.eg-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -1px;
}

.eg-hero-title--big {
    font-size: 56px;
}

.eg-hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    max-width: 400px;
}

.eg-hero-content--center .eg-hero-sub {
    margin: 0 auto 32px;
    max-width: 500px;
}

/* ---- Hero Search Input ---- */

.eg-hero-search {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.eg-hero-search .eg-city-wrap {
    position: relative;
}

.eg-city-input--hero {
    width: 100%;
    font-size: 20px;
    padding: 18px 24px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.eg-city-input--hero:focus {
    border-color: #fff;
    background: rgba(255,255,255,0.25);
}

.eg-city-input--hero::placeholder {
    color: rgba(255,255,255,0.6);
}

.eg-hero-search .eg-city-suggestions {
    border-radius: 12px;
    margin-top: 4px;
    border: 1px solid var(--tb-border, #E5E5E5);
}

.eg-hero-search .eg-canton-badge {
    margin-top: 12px;
}

/* ---- Setup Form ---- */

.eg-setup {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 32px;
}

.eg-setup--compact {
    padding: 24px 24px 16px;
}

.eg-setup-inner {
    background: var(--tb-white, #fff);
    border: 1px solid var(--tb-border, #E5E5E5);
    border-radius: 16px;
    padding: 32px;
}

.eg-setup-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}

.eg-setup-sub {
    font-size: 15px;
    color: var(--tb-grey, #747474);
    margin: 0 0 28px;
}

.eg-setup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eg-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eg-field-row {
    display: flex;
    gap: 20px;
}

.eg-field-row .eg-field {
    flex: 1;
}

.eg-field-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--tb-dark-grey, #494A56);
}

/* City input + autocomplete */

.eg-city-wrap {
    position: relative;
}

.eg-city-input {
    width: 100%;
    font-size: 16px;
    padding: 12px 16px;
    border: 1px solid var(--tb-border, #E5E5E5);
    border-radius: 10px;
    background: var(--tb-bg, #FAFAFA);
    color: var(--tb-dark, #20212D);
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.eg-city-input:focus {
    border-color: var(--tb-blue, #3E96FF);
    background: #fff;
}

.eg-city-input::placeholder {
    color: var(--tb-light-grey, #C8C6C6);
}

.eg-city-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--tb-border, #E5E5E5);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 10;
    max-height: 240px;
    overflow-y: auto;
}

.eg-city-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.1s;
}

.eg-city-suggestion:hover {
    background: var(--tb-bg, #FAFAFA);
}

.eg-city-canton {
    font-size: 12px;
    color: var(--tb-grey, #747474);
    background: var(--tb-bg, #FAFAFA);
    padding: 2px 8px;
    border-radius: 4px;
}

.eg-canton-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tb-blue, #3E96FF);
    background: rgba(62, 150, 255, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
}

.eg-reset-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    cursor: pointer;
    padding: 2px 6px;
    margin-left: 4px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.eg-reset-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Pill selector */

.eg-pill-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.eg-pill {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--tb-border, #E5E5E5);
    background: #fff;
    color: var(--tb-dark-grey, #494A56);
    cursor: pointer;
    transition: all 0.15s;
}

.eg-pill:hover {
    border-color: var(--tb-dark, #20212D);
}

.eg-pill.active {
    background: var(--tb-dark, #20212D);
    border-color: var(--tb-dark, #20212D);
    color: #fff;
}

/* ---- Results Wrap ---- */

.eg-results-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 24px 40px;
}

/* ---- Cost Summary ---- */

.eg-cost-summary {
    background: var(--tb-dark, #20212D);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    color: #fff;
}

.eg-cost-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.5);
    margin: 0 0 16px;
}

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

.eg-cost-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eg-cost-label {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

.eg-cost-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.eg-cost-note {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

/* ---- Progress Bar ---- */

.eg-progress-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    background: var(--tb-white, #fff);
    border: 1px solid var(--tb-border, #E5E5E5);
    border-radius: 10px;
    margin-bottom: 16px;
}

.eg-progress-bar {
    flex: 1;
    height: 8px;
    background: var(--tb-border, #E5E5E5);
    border-radius: 4px;
    overflow: hidden;
}

.eg-progress-fill {
    height: 100%;
    background: var(--tb-green, #38B267);
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.eg-progress-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--tb-dark-grey, #494A56);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- Checklist Sections ---- */

.eg-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Scroll-reveal for storytelling */

.eg-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.eg-reveal.eg-visible {
    opacity: 1;
    transform: translateY(0);
}

.eg-section {
    background: var(--tb-white, #fff);
    border: 1px solid var(--tb-border, #E5E5E5);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, opacity 0.3s ease;
}

.eg-section--done {
    opacity: 0.55;
    border-color: var(--tb-green, #38B267);
}

.eg-section--done .eg-section-title {
    text-decoration: line-through;
    text-decoration-color: var(--tb-grey, #747474);
}

.eg-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
}

.eg-section-title-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.eg-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.eg-label-muted {
    font-weight: 400;
    color: var(--tb-grey, #747474);
}

/* Step number — sits inside the check circle area */

.eg-step-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--tb-dark, #20212D);
    width: 28px;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* Deadline badges */

.eg-deadline {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 100px;
    background: var(--tb-bg, #FAFAFA);
    color: var(--tb-dark-grey, #494A56);
    border: 1px solid var(--tb-border, #E5E5E5);
    align-self: flex-start;
}

.eg-deadline--urgent {
    background: rgba(211, 63, 73, 0.08);
    color: var(--tb-red, #D33F49);
    border-color: rgba(211, 63, 73, 0.2);
}

.eg-deadline--warning {
    background: rgba(238, 162, 7, 0.08);
    color: #B07A00;
    border-color: rgba(238, 162, 7, 0.2);
}

/* Checkbox */

.eg-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 2px solid var(--tb-border, #E5E5E5);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
    color: transparent;
}

.eg-check:hover {
    border-color: var(--tb-green, #38B267);
}

.eg-check.checked {
    background: var(--tb-green, #38B267);
    border-color: var(--tb-green, #38B267);
    color: #fff;
}

.eg-check-icon {
    width: 14px;
    height: 14px;
}

/* Body */

.eg-section-body {
    padding: 0 24px 24px;
    padding-left: 68px;
}

.eg-what {
    font-size: 15px;
    color: var(--tb-dark-grey, #494A56);
    margin: 0 0 20px;
    line-height: 1.65;
}

/* Detail grid */

.eg-detail-grid {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    border-top: 1px solid var(--tb-border, #E5E5E5);
}

.eg-detail {
    padding: 10px 0;
    border-bottom: 1px solid var(--tb-border, #E5E5E5);
}

.eg-detail:last-child {
    border-bottom: none;
}


.eg-detail-label {
    display: inline;
    font-size: 13px;
    font-weight: 600;
    color: var(--tb-dark, #20212D);
}

.eg-detail-label::after {
    content: ' — ';
    font-weight: 400;
    color: var(--tb-light-grey, #C8C6C6);
}

.eg-detail-value {
    display: inline;
    font-size: 13px;
    font-weight: 400;
    color: var(--tb-dark-grey, #494A56);
}

.eg-detail-value--cost {
    font-size: 16px;
    font-weight: 700;
}

/* Canton note */

.eg-canton-note {
    font-size: 13px;
    color: var(--tb-dark-grey, #494A56);
    padding: 12px 0;
    margin-top: 8px;
    line-height: 1.55;
}

.eg-canton-note strong {
    color: var(--tb-dark, #20212D);
}

/* Useful links */

.eg-useful-links {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 13px;
    color: var(--tb-grey, #747474);
}

.eg-useful-links-label {
    font-weight: 600;
    color: var(--tb-dark-grey, #494A56);
    margin-right: 2px;
}

.eg-useful-links a {
    color: var(--tb-dark, #20212D);
    text-decoration: underline;
    text-decoration-color: var(--tb-border, #E5E5E5);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.15s;
}

.eg-useful-links a:hover {
    text-decoration-color: var(--tb-dark, #20212D);
}

.eg-useful-links a + a::before {
    content: '·';
    margin-right: 6px;
    color: var(--tb-light-grey, #C8C6C6);
    text-decoration: none;
    display: inline-block;
}

/* Inline CTA */

.eg-cta-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--tb-border, #E5E5E5);
}

.eg-cta-inline p {
    flex: 1;
    font-size: 13px;
    color: var(--tb-grey, #747474);
    margin: 0;
    line-height: 1.5;
}

.eg-cta-btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    background: var(--tb-dark, #20212D);
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s ease;
}

.eg-cta-btn:hover {
    opacity: 0.85;
}

/* ---- Tax Note ---- */

.eg-tax-note {
    margin-top: 32px;
}

.eg-tax-inner {
    background: var(--tb-bg, #FAFAFA);
    border: 1px solid var(--tb-border, #E5E5E5);
    border-radius: 12px;
    padding: 24px;
}

.eg-tax-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}

.eg-tax-rate-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.eg-tax-rate-visual {
    height: 8px;
    background: var(--tb-border, #E5E5E5);
    border-radius: 4px;
    overflow: hidden;
    max-width: 100%;
}

.eg-tax-rate-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tb-green, #38B267), var(--tb-orange, #EEA207), var(--tb-red, #D33F49));
    border-radius: 4px;
    transition: width 0.5s ease;
    /* Scale: 6% (Zug) to 15% (Geneva), so width is the raw percentage */
    min-width: 20px;
}

.eg-tax-rate-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--tb-dark, #20212D);
}

.eg-tax-rate-note {
    font-size: 12px;
    color: var(--tb-grey, #747474);
}

.eg-tax-text {
    font-size: 15px;
    color: var(--tb-dark-grey, #494A56);
    margin: 0 0 16px;
    line-height: 1.6;
}

.eg-tax-details {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--tb-border, #E5E5E5);
}

.eg-tax-detail-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--tb-border, #E5E5E5);
}

.eg-tax-detail-item:last-child {
    border-bottom: none;
}

.eg-tax-detail-label {
    display: inline;
    font-size: 13px;
    font-weight: 600;
    color: var(--tb-dark, #20212D);
}

.eg-tax-detail-label::after {
    content: ' — ';
    font-weight: 400;
    color: var(--tb-light-grey, #C8C6C6);
}

.eg-tax-detail-value {
    display: inline;
    font-size: 13px;
    color: var(--tb-dark-grey, #494A56);
    line-height: 1.5;
}

/* ---- Emergency Numbers ---- */

.eg-emergency {
    margin-top: 24px;
}

.eg-emergency-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tb-grey, #747474);
    margin: 0 0 12px;
}

.eg-emergency-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.eg-emergency-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--tb-white, #fff);
    border: 1px solid var(--tb-border, #E5E5E5);
    border-radius: 8px;
    padding: 8px 14px;
}

.eg-emergency-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--tb-red, #D33F49);
    font-variant-numeric: tabular-nums;
}

.eg-emergency-label {
    font-size: 13px;
    color: var(--tb-dark-grey, #494A56);
}

/* ---- FAQ ---- */

.eg-faq {
    margin-top: 48px;
}

.eg-faq-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px;
    text-align: center;
}

.eg-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eg-faq-item {
    border: 1px solid var(--tb-border, #E5E5E5);
    border-radius: 10px;
    overflow: hidden;
}

.eg-faq-item summary {
    font-size: 15px;
    font-weight: 600;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.eg-faq-item summary::-webkit-details-marker {
    display: none;
}

.eg-faq-item summary::before {
    content: '+';
    font-size: 18px;
    font-weight: 300;
    color: var(--tb-grey, #747474);
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.eg-faq-item[open] summary::before {
    content: '\2212';
}

.eg-faq-item p {
    font-size: 14px;
    color: var(--tb-dark-grey, #494A56);
    padding: 0 20px 16px 52px;
    margin: 0;
    line-height: 1.65;
}

.eg-cta-btn--primary {
    background: var(--tb-dark, #20212D);
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 8px;
    text-align: center;
}

/* ---- Footer ---- */

.eg-footer {
    padding: 16px 24px 32px;
}

.eg-footer-inner {
    max-width: 720px;
    margin: 0 auto;
}

/* ---- Endnote — subtle CTA at the bottom of results ---- */

.eg-endnote {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--tb-border, #E5E5E5);
    text-align: center;
}

.eg-endnote-text {
    font-size: 14px;
    color: var(--tb-grey, #747474);
    line-height: 1.65;
    margin: 0 0 16px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.eg-endnote-text a {
    color: var(--tb-dark, #20212D);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--tb-border, #E5E5E5);
    text-underline-offset: 2px;
}

.eg-endnote-text a:hover {
    text-decoration-color: var(--tb-dark, #20212D);
}

.eg-endnote-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.eg-endnote-applink {
    font-size: 13px;
    color: var(--tb-grey, #747474);
    text-decoration: underline;
    text-decoration-color: var(--tb-border, #E5E5E5);
    text-underline-offset: 2px;
    transition: color 0.15s;
}

.eg-endnote-applink:hover {
    color: var(--tb-dark, #20212D);
}

/* Footer bottom */

.eg-footer-bottom {
    display: flex;
    align-items: center;
    gap: 24px;
}

.eg-footer-logo {
    height: 20px;
    opacity: 0.4;
    transition: opacity 0.15s;
}

.eg-footer-logo:hover {
    opacity: 0.7;
}

.eg-footer-links {
    display: flex;
    gap: 20px;
    flex: 1;
}

.eg-footer-links a {
    font-size: 13px;
    color: var(--tb-grey, #747474);
    text-decoration: none;
    transition: color 0.15s;
}

.eg-footer-links a:hover {
    color: var(--tb-dark, #20212D);
}

.eg-footer-copy {
    font-size: 12px;
    color: var(--tb-light-grey, #C8C6C6);
    margin: 0;
    white-space: nowrap;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
    .eg-hero {
        height: 380px;
    }

    .eg-hero--tall {
        min-height: 60vh;
        padding-bottom: 24px;
    }

    .eg-hero-option-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .eg-hero-option-label {
        width: 100%;
        text-align: center;
        min-width: unset;
    }

    .eg-hero-title {
        font-size: 32px;
    }

    .eg-hero-title--big {
        font-size: 36px;
    }

    .eg-hero-sub {
        font-size: 16px;
    }

    .eg-hero-content {
        padding: 0 16px 32px;
    }

    .eg-hero-content--center {
        padding: 0 16px;
    }

    .eg-city-input--hero {
        font-size: 17px;
        padding: 16px 20px;
    }

    .eg-setup {
        padding: 32px 16px 24px;
    }

    .eg-setup-inner {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .eg-field-row {
        flex-direction: column;
        gap: 16px;
    }

    .eg-results-wrap {
        padding: 0 16px 32px;
    }

    .eg-cost-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .eg-section-header {
        padding: 16px 16px;
        gap: 12px;
    }

    .eg-section-body {
        padding: 0 16px 20px;
        padding-left: 56px;
    }

    .eg-cta-inline {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .eg-tax-details {
        grid-template-columns: 1fr;
    }

    .eg-useful-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .eg-emergency-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }


    .eg-faq-item summary {
        font-size: 14px;
        padding: 14px 16px;
    }

    .eg-faq-item p {
        padding: 0 16px 14px 44px;
    }

    .eg-endnote-actions {
        flex-direction: column;
        gap: 10px;
    }

    .eg-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .eg-footer-links {
        justify-content: center;
    }
}
