/* ===========================
   CSS RESET & CUSTOM PROPERTIES
   =========================== */

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

:root {
    /* Colors */
    --clr-primary: #5e3030;
    --clr-primary-light: #8b4545;
    --clr-primary-hover: #a35555;
    --clr-dark: #0d0d0d;
    --clr-footer: #1a1a1a;
    --clr-text: #444444;
    --clr-heading: #1a1a1a;
    --clr-bg: #ffffff;
    --clr-bg-alt: #f7f5f3;
    --clr-border: #e8e4e0;
    --clr-white: #ffffff;
    --clr-whatsapp: #25D366;

    /* Typography */
    --ff-heading: 'Playfair Display', Georgia, serif;
    --ff-body: 'Poppins', -apple-system, sans-serif;

    /* Spacing */
    --nav-height: 72px;
    --section-pad: 80px;
    --container-width: 1140px;

    /* Transitions */
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--ff-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--clr-text);
    background: var(--clr-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--clr-primary-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--clr-primary-hover);
}

ul {
    list-style: none;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--clr-primary);
    color: var(--clr-white);
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 8px;
    color: var(--clr-white);
}

/* ===========================
   UTILITIES
   =========================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-pad) 0;
}

.section--alt {
    background: var(--clr-bg-alt);
}

.section__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--clr-primary-light);
    margin-bottom: 8px;
}

.section__label--center {
    text-align: center;
}

.section__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--clr-heading);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section__title--center {
    text-align: center;
}

.section__desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
    color: var(--clr-text);
}

.section__header {
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--ff-body);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
    justify-content: center;
}

.btn--primary {
    background: var(--clr-primary-light);
    color: var(--clr-white);
    border-color: var(--clr-primary-light);
}

.btn--primary:hover {
    background: var(--clr-primary-hover);
    border-color: var(--clr-primary-hover);
    color: var(--clr-white);
}

.btn--outline {
    background: transparent;
    color: var(--clr-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--clr-white);
    color: var(--clr-white);
}

.btn--full {
    width: 100%;
}

.btn__icon {
    flex-shrink: 0;
}

/* ===========================
   NAVIGATION
   =========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}

.header--scrolled {
    background: var(--clr-dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}
.nav__logo:hover { opacity: 0.85; }
.nav__logo-mark { flex-shrink: 0; display: block; }
.nav__logo-text { display: flex; flex-direction: column; gap: 2px; }
.nav__logo-name {
    font-family: var(--ff-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: 0.15px;
    white-space: nowrap;
}
.nav__logo-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 0.4375rem;
    font-weight: 300;
    color: #c4a07a;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}
/* Footer logo */
.footer__logo {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    margin-bottom: 18px;
}
.footer__logo:hover { opacity: 0.85; }
.footer__logo-text { display: flex; flex-direction: column; gap: 4px; }
.footer__logo-name {
    font-family: var(--ff-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.footer__logo-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 0.5rem;
    font-weight: 300;
    color: #c4a07a;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    line-height: 1;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all var(--transition);
}

.nav__link:hover,
.nav__link--active {
    color: var(--clr-white);
    background: rgba(255, 255, 255, 0.08);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--clr-white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===========================
   HERO
   =========================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    text-align: center;
    color: var(--clr-white);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 13, 13, 0.75) 0%,
        rgba(94, 48, 48, 0.55) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: var(--nav-height);
}

.hero__subtitle {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.85;
}

.hero__title {
    font-family: var(--ff-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 8px;
}

.hero__tagline {
    font-family: var(--ff-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 16px;
}

.hero__desc {
    font-size: 1.0625rem;
    opacity: 0.8;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.hero__scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.hero__scroll span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--clr-white);
    border-radius: 2px;
    animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* ===========================
   ABOUT
   =========================== */

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__text p {
    margin-bottom: 16px;
}

.about__text p:last-child {
    margin-bottom: 0;
}

.about__image {
    position: relative;
}

.about__image img {
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about__image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    bottom: -20px;
    left: 20px;
    border: 3px solid var(--clr-primary);
    border-radius: 8px;
    z-index: -1;
}

/* ===========================
   SERVICES / PRACTICE AREAS
   =========================== */

.services__featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--clr-bg);
    padding: 32px 28px;
    border-radius: 8px;
    transition: all var(--transition);
    border: 1px solid var(--clr-border);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card--featured {
    padding: 40px 32px;
    border-top: 3px solid var(--clr-primary-light);
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(94, 48, 48, 0.08);
    color: var(--clr-primary-light);
    margin-bottom: 20px;
}

.card__icon--sm {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.card__title {
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    color: var(--clr-heading);
    margin-bottom: 12px;
}

.card--featured .card__title {
    font-size: 1.375rem;
}

.card__text {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ===========================
   STATS / NEDEN BIZ
   =========================== */

.stats {
    position: relative;
    background: var(--clr-primary);
    color: var(--clr-white);
    padding: 48px 0;
    overflow: hidden;
}

.stats__overlay {
    position: absolute;
    inset: 0;
    background: url('../img/library.jpg') center/cover no-repeat;
    opacity: 0.12;
}

.stats__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.stats__item svg {
    opacity: 0.85;
}

.stats__text {
    font-size: 0.9375rem;
    font-weight: 500;
    opacity: 0.95;
}

/* ===========================
   CONTACT
   =========================== */

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-heading);
    margin-bottom: 6px;
}

.form__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--clr-border);
    border-radius: 6px;
    font-family: var(--ff-body);
    font-size: 0.9375rem;
    color: var(--clr-text);
    background: var(--clr-bg);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--clr-primary-light);
    box-shadow: 0 0 0 3px rgba(139, 69, 69, 0.12);
}

.form__input::placeholder {
    color: #aaa;
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23444' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__status {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    border-radius: 6px;
    transition: all var(--transition);
}

.form__status--success {
    color: #166534;
    background: #dcfce7;
    padding: 12px 16px;
}

.form__status--error {
    color: #991b1b;
    background: #fee2e2;
    padding: 12px 16px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact__detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact__detail svg {
    flex-shrink: 0;
    color: var(--clr-primary-light);
    margin-top: 2px;
}

.contact__detail strong {
    display: block;
    color: var(--clr-heading);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact__detail p {
    font-size: 0.9375rem;
    line-height: 1.5;
}

.contact__detail a {
    color: var(--clr-text);
}

.contact__detail a:hover {
    color: var(--clr-primary-light);
}

.contact__map {
    margin-top: 8px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--clr-border);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--clr-footer);
    color: #c8c8c8;
    padding: 60px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer__title {
    font-family: var(--ff-heading);
    font-size: 1.125rem;
    color: var(--clr-white);
    margin-bottom: 16px;
}

.footer__text {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer__links li {
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.footer__links a {
    color: #c8c8c8;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--clr-white);
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ababab;
    transition: all var(--transition);
}

.footer__social a:hover {
    background: var(--clr-primary-light);
    color: var(--clr-white);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8125rem;
}

/* ===========================
   WHATSAPP BUTTON
   =========================== */

.whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--clr-whatsapp);
    color: var(--clr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: transform var(--transition), box-shadow var(--transition);
    animation: waPulse 2s ease-in-out 3;
}

.whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
    color: var(--clr-white);
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

/* ===========================
   SCROLL REVEAL
   =========================== */

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

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

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
    .about__grid {
        gap: 40px;
    }

    .services__featured,
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 56px;
        --nav-height: 64px;
    }

    /* Mobile nav */
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        background: var(--clr-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav__menu--open {
        right: 0;
    }

    .nav__link {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    /* Mobile nav toggle animation */
    .nav__toggle--active .nav__toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle--active .nav__toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle--active .nav__toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile overlay */
    .nav__overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all var(--transition);
    }

    .nav__overlay--visible {
        opacity: 1;
        visibility: visible;
    }

    /* Sections */
    .about__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about__image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .about__image::after {
        top: 12px;
        right: -12px;
        bottom: -12px;
        left: 12px;
    }

    .services__featured {
        grid-template-columns: 1fr;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__scroll {
        display: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===========================
   CALCULATOR PAGE STYLES
   =========================== */

.calc-hero {
    background: linear-gradient(155deg, #0a0a0a 0%, #141010 45%, #2d1818 80%, #3d2020 100%);
    color: var(--clr-white);
    padding: calc(var(--nav-height) + 56px) 0 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.calc-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,69,69,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.calc-hero .container { position: relative; z-index: 1; }
.calc-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #c4a07a;
    margin-bottom: 20px;
}
.calc-hero__label::before,
.calc-hero__label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: #c4a07a;
}
.calc-hero__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}
.calc-hero__desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Lang Switch ───────────────────────────── */
.nav__lang { list-style: none; }
.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 2px;
}
.lang-switch__btn {
    padding: 5px 10px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.4);
    font-family: var(--ff-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}
.lang-switch__btn--active { background: rgba(255,255,255,0.1); color: var(--clr-white); }
.lang-switch__btn:hover:not(.lang-switch__btn--active) { color: rgba(255,255,255,0.7); }
@media (max-width: 768px) {
    .lang-switch { margin-left: 0; margin-top: 16px; align-self: flex-start; background: rgba(255,255,255,0.08); }
}

.calc-nav {
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
    padding: 16px 0;
    position: sticky;
    top: var(--nav-height);
    z-index: 50;
}

.calc-nav__wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-nav__arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid var(--clr-border);
    background: var(--clr-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--clr-text-muted);
    transition: all var(--transition);
}
.calc-nav__arrow:hover:not(:disabled) {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}
.calc-nav__arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.calc-nav__list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    flex: 1;
    scrollbar-width: none;
}
.calc-nav__list::-webkit-scrollbar { display: none; }

.calc-nav__link {
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-text);
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-border);
    transition: all var(--transition);
}

.calc-nav__link:hover,
.calc-nav__link--active {
    background: var(--clr-primary);
    color: var(--clr-white);
    border-color: var(--clr-primary);
}

.calculator {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 32px;
}

.calculator__title {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    color: var(--clr-heading);
    margin-bottom: 8px;
}

.calculator__desc {
    font-size: 0.9375rem;
    margin-bottom: 24px;
    color: var(--clr-text);
}

.calculator__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.calculator__result {
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    padding: 24px;
    display: none;
}

.calculator__result--visible {
    display: block;
}

.calculator__result-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-primary-light);
    margin-bottom: 4px;
}

.calculator__result-value {
    font-family: var(--ff-heading);
    font-size: 2rem;
    color: var(--clr-heading);
    margin-bottom: 12px;
}

.calculator__result-details {
    font-size: 0.875rem;
    line-height: 1.8;
}

.calculator__result-details dt {
    font-weight: 500;
    color: var(--clr-heading);
    display: inline;
}

.calculator__result-details dd {
    display: inline;
    margin-left: 4px;
    margin-bottom: 4px;
}

.calculator__legal {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--clr-border);
    font-size: 0.8125rem;
    color: #888;
    font-style: italic;
}

.calc-cta {
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-top: 16px;
}

.calc-cta__title {
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    color: var(--clr-heading);
    margin-bottom: 8px;
}

.calc-cta__text {
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .calculator {
        padding: 24px;
    }

    .calculator__grid {
        grid-template-columns: 1fr;
    }

    .calc-nav__list {
        gap: 6px;
    }
}
