/* ============================================
   LibertyX Bitcoin ATM — Styles
   Clean minimalist · Terracotta + Sand
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --terracotta: #C4654A;
    --terracotta-dark: #A8523A;
    --terracotta-light: #D4896F;
    --sand: #F5EDE4;
    --sand-light: #FAF6F1;
    --sand-dark: #E8DDD2;
    --charcoal: #1A1A1A;
    --charcoal-light: #2D2D2D;
    --warm-gray: #6B6560;
    --warm-gray-light: #9B9590;
    --white: #FFFFFF;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--sand-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary {
    background: var(--terracotta);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(196, 101, 74, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--sand-dark);
}

.btn--ghost:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.btn--light {
    background: var(--white);
    color: var(--charcoal);
}

.btn--light:hover {
    background: var(--sand);
    transform: translateY(-1px);
}

.btn--ghost-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

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

.btn--large {
    padding: 1.2rem 2.5rem;
    font-size: 0.85rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 241, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 221, 210, 0.5);
    transition: all 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 30px rgba(26, 26, 26, 0.06);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav__logo-mark {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--terracotta);
    letter-spacing: 0.02em;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: 0.02em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav__link {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-gray);
    transition: color 0.25s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: var(--charcoal);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--terracotta);
    padding: 0.65rem 1.4rem;
    transition: all 0.25s ease;
}

.nav__cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
}

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

.nav__toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all 0.3s ease;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    padding: 120px var(--space-md) var(--space-xl);
    background: var(--sand-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 101, 74, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.hero__left {
    padding-right: var(--space-md);
}

.hero__eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-md);
    display: block;
}

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero__subheadline {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: var(--space-md);
    max-width: 440px;
}

.hero__actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--sand-dark);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--sand-dark);
}

.hero__right {
    position: relative;
}

.hero__image-frame {
    position: relative;
}

.hero__image-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 600/750;
    object-fit: cover;
    background: var(--sand-dark);
}

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--terracotta);
    z-index: -1;
}

/* --- Divider --- */
.divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.divider::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--sand-dark);
}

/* --- Services --- */
.services {
    padding: var(--space-2xl) 0;
    background: var(--sand-light);
}

.services__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.services__header .section-title {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.services__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding: 0 var(--space-md);
}

.service-card {
    background: var(--white);
    padding: var(--space-lg);
    border: 1px solid var(--sand-dark);
    transition: all 0.35s ease;
    position: relative;
}

.service-card:hover {
    border-color: var(--terracotta-light);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(26, 26, 26, 0.06);
}

.service-card__line {
    position: absolute;
    top: 0;
    left: var(--space-lg);
    width: 40px;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.35s ease;
}

.service-card:hover .service-card__line {
    width: 80px;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--terracotta);
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.service-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-card__list li {
    font-size: 0.82rem;
    color: var(--warm-gray);
    padding-left: 1rem;
    position: relative;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 4px;
    height: 1px;
    background: var(--terracotta);
}

/* --- How It Works --- */
.how-it-works {
    padding: var(--space-2xl) 0;
    background: var(--sand);
}

.how-it-works__layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-lg);
    align-items: center;
    padding: 0 var(--space-md);
}

.how-it-works__content .section-title {
    margin-bottom: var(--space-lg);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.step {
    display: grid;
    grid-template-columns: 3rem 2px 1fr;
    gap: var(--space-sm);
    align-items: start;
}

.step__number {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--terracotta);
    padding-top: 0.2rem;
}

.step__divider {
    width: 1px;
    height: 100%;
    min-height: 60px;
    background: linear-gradient(to bottom, var(--terracotta), var(--sand-dark));
}

.step__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.4rem;
}

.step__desc {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.how-it-works__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 500/650;
    object-fit: cover;
    background: var(--sand-dark);
}

/* --- About --- */
.about {
    padding: var(--space-2xl) 0;
    background: var(--sand-light);
}

.about__layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-lg);
    align-items: center;
    padding: 0 var(--space-md);
}

.about__image-col {
    position: relative;
}

.about__image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 550/700;
    object-fit: cover;
    background: var(--sand-dark);
}

.about__image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
}

.about__image-secondary img {
    width: 100%;
    height: auto;
    aspect-ratio: 400/280;
    object-fit: cover;
    background: var(--sand-dark);
    border: 4px solid var(--sand-light);
}

.about__text-col .section-title {
    margin-bottom: var(--space-md);
}

.about__body {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--sand-dark);
}

.about__value {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.about__value-line {
    width: 24px;
    height: 1px;
    background: var(--terracotta);
    flex-shrink: 0;
}

.about__value span {
    font-size: 0.88rem;
    color: var(--charcoal);
    font-weight: 400;
}

/* --- CTA Strip --- */
.cta-strip {
    padding: var(--space-xl) 0;
    background: var(--charcoal);
}

.cta-strip__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cta-strip__eyebrow {
    color: var(--terracotta-light);
}

.cta-strip__title {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cta-strip__actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* --- Location --- */
.location {
    padding: var(--space-2xl) 0;
    background: var(--sand-light);
}

.location__layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: stretch;
    padding: 0 var(--space-md);
}

.location__info {
    padding-right: var(--space-md);
}

.location__info .section-title {
    margin-bottom: var(--space-lg);
}

.location__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.location__detail {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.location__detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sand-dark);
    color: var(--terracotta);
    flex-shrink: 0;
}

.location__detail-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
    margin-bottom: 0.25rem;
}

.location__detail-value {
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.6;
}

.location__phone {
    color: var(--terracotta);
    transition: color 0.2s ease;
}

.location__phone:hover {
    color: var(--terracotta-dark);
}

.location__map {
    min-height: 450px;
    border: 1px solid var(--sand-dark);
    overflow: hidden;
}

.location__map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-lg);
    padding: 0 var(--space-md);
    margin-bottom: var(--space-lg);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: var(--space-sm);
}

.footer__tagline {
    font-size: 0.88rem;
    color: var(--warm-gray-light);
    line-height: 1.7;
    max-width: 300px;
}

.footer__heading {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
    margin-bottom: var(--space-sm);
}

.footer__contact p {
    font-size: 0.88rem;
    color: var(--sand);
    line-height: 1.8;
}

.footer__contact a {
    color: var(--terracotta-light);
    transition: color 0.2s ease;
}

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

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__links a {
    font-size: 0.88rem;
    color: var(--warm-gray-light);
    transition: color 0.2s ease;
}

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

.footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer__bottom p {
    font-size: 0.78rem;
    color: var(--warm-gray);
}

.footer__disclaimer {
    font-size: 0.75rem !important;
    color: var(--warm-gray) !important;
    max-width: 400px;
    text-align: right;
}

/* --- Mobile Menu --- */
.nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 246, 241, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid var(--sand-dark);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    z-index: 999;
}

.nav__links.active {
    transform: translateY(0);
}

.nav__link {
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.nav__cta {
    margin-top: var(--space-sm);
    text-align: center;
    padding: 0.85rem 1.4rem;
}

.nav__toggle {
    display: flex;
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero__left {
        padding-right: 0;
        text-align: center;
    }

    .hero__subheadline {
        max-width: 100%;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__right {
        max-width: 450px;
        margin: 0 auto;
    }

    .hero__image-accent {
        display: none;
    }

    .services__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .how-it-works__layout {
        grid-template-columns: 1fr;
    }

    .how-it-works__image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .about__image-col {
        max-width: 450px;
        margin: 0 auto;
        position: relative;
    }

    .about__image-secondary {
        right: 0;
    }

    .cta-strip__inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-strip__actions {
        justify-content: center;
    }

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

    .location__info {
        padding-right: 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__disclaimer {
        text-align: center;
    }
}

@media (max-width: 600px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }

    .hero {
        padding-top: 100px;
    }

    .hero__headline {
        font-size: 2.4rem;
    }

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

    .hero__stats {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .hero__stat-divider {
        width: 40px;
        height: 1px;
    }

    .step {
        grid-template-columns: 2rem 2px 1fr;
    }

    .step__divider {
        min-height: 40px;
    }

    .btn--large {
        width: 100%;
        justify-content: center;
    }

    .cta-strip__actions {
        flex-direction: column;
        width: 100%;
    }
}
