/* ============================================
   LIBERTYX BITCOIN ATM — ST. GEORGE, UT
   Custom Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Plum palette */
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #4c1d95;
    --plum-950: #2e1065;

    /* Amber palette */
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;

    /* Neutrals */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 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;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* --- Accessibility --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--plum-900);
    color: #ffffff;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 500;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
}

.text-amber {
    color: var(--amber-400);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all var(--transition-base);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--amber-400);
    color: var(--neutral-950);
    border-color: var(--amber-400);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--amber-500);
    border-color: var(--amber-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--plum-700);
    border-color: var(--plum-700);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--plum-700);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(126, 34, 206, 0.25);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: #ffffff;
    color: var(--plum-900);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--plum-900);
}

.logo-sub {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--neutral-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    margin-left: auto;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-menu a {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--plum-700);
    background: var(--plum-50);
}

.nav-cta {
    background: var(--plum-900) !important;
    color: #ffffff !important;
    border-radius: var(--radius-xl) !important;
    margin-left: var(--space-sm);
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: var(--plum-800) !important;
    color: #ffffff !important;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--plum-950);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(147, 51, 234, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 51, 234, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(76, 29, 149, 0.5) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 60%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: var(--radius-xl);
    color: var(--amber-300);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-xl);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.08;
    color: #ffffff;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--plum-200);
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-actions .btn-secondary {
    color: var(--plum-200);
    border-color: var(--plum-400);
}

.hero-actions .btn-secondary:hover,
.hero-actions .btn-secondary:focus-visible {
    background: var(--plum-700);
    color: #ffffff;
    border-color: var(--plum-700);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--plum-300);
    font-weight: 500;
    margin-top: var(--space-xs);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(168, 85, 247, 0.3);
    flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}

.hero-image-accent {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(251, 191, 36, 0.3);
    pointer-events: none;
}

.hero-floating-card {
    position: absolute;
    bottom: var(--space-xl);
    left: -var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.floating-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-100);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.floating-card-label {
    font-size: 0.75rem;
    color: var(--neutral-500);
    font-weight: 500;
}

.floating-card-value {
    font-size: 0.9375rem;
    color: var(--neutral-800);
    font-weight: 600;
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-lg);
    background: var(--plum-100);
    color: var(--plum-700);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.section-title--light {
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--neutral-600);
}

.section-subtitle--light {
    color: var(--plum-200);
}

/* --- Services --- */
.services {
    padding: var(--space-4xl) 0;
    background: var(--neutral-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-400));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--plum-200);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-900);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
}

.service-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-600);
    margin-bottom: var(--space-xl);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--neutral-700);
    font-weight: 500;
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--amber-400);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- How It Works --- */
.how-it-works {
    padding: var(--space-4xl) 0;
    background: var(--plum-950);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(147, 51, 234, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 51, 234, 0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.steps-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 1;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(251, 191, 36, 0.12);
    line-height: 1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.04em;
}

.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-md);
    margin: 0 auto var(--space-xl);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.step-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--plum-200);
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-md);
    color: var(--amber-400);
    opacity: 0.5;
    flex-shrink: 0;
}

/* --- Why LibertyX --- */
.why-libertyx {
    padding: var(--space-4xl) 0;
    background: #ffffff;
}

.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.why-content {
    max-width: 540px;
}

.why-content .section-tag {
    margin-bottom: var(--space-lg);
}

.why-content .section-title {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.why-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--neutral-600);
    margin-bottom: var(--space-2xl);
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.why-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.why-item-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.why-item-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 2px;
}

.why-item-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--neutral-600);
}

/* Why Visual */
.why-visual {
    position: relative;
}

.why-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-image-secondary {
    position: absolute;
    bottom: -var(--space-2xl);
    left: -var(--space-2xl);
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid #ffffff;
}

.why-accent-bar {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

/* --- Location --- */
.location {
    padding: var(--space-4xl) 0;
    background: var(--plum-950);
    position: relative;
    overflow: hidden;
}

.location::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(76, 29, 149, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.location .container {
    position: relative;
    z-index: 1;
}

.location-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.location-content .section-header {
    margin-bottom: var(--space-2xl);
}

.location-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--plum-200);
    margin-bottom: var(--space-2xl);
}

.location-details {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    text-align: left;
}

.location-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.location-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--amber-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.location-detail-value {
    display: block;
    font-size: 0.9375rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.5;
}

.location-phone:hover {
    color: var(--amber-400);
}

.location-map {
    margin-bottom: var(--space-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.location-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* --- CTA / Contact --- */
.cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-950) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(147, 51, 234, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.cta-content {
    max-width: 480px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--plum-200);
}

/* Form */
.cta-form-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    color: var(--neutral-900);
    background: var(--neutral-50);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%;
}

.form-input:hover {
    border-color: var(--plum-300);
}

.form-input:focus {
    outline: none;
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15);
    background: #ffffff;
}

.form-input::placeholder {
    color: var(--neutral-400);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    text-align: center;
    line-height: 1.5;
}

.form-note a {
    color: var(--plum-600);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-note a:hover {
    color: var(--plum-800);
}

/* Success State */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-2xl) var(--space-lg);
}

.form-success.visible {
    display: flex;
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 50%;
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
}

.success-text {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
    max-width: 300px;
}

.btn-send-another {
    margin-top: var(--space-sm);
}

/* --- Footer --- */
.site-footer {
    background: var(--neutral-950);
    color: var(--neutral-400);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.logo-footer .logo-name {
    color: #ffffff;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-500);
    margin-top: var(--space-lg);
    max-width: 280px;
}

.footer-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neutral-300);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    transition: color var(--transition-fast);
    display: inline-block;
    padding: var(--space-xs) 0;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--amber-400);
}

.footer-address p {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--neutral-500);
    margin-bottom: var(--space-sm);
}

.footer-phone {
    color: var(--neutral-400);
    transition: color var(--transition-fast);
}

.footer-phone:hover {
    color: var(--amber-400);
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

.footer-legal {
    font-size: 0.8125rem;
    color: var(--neutral-600);
    max-width: 400px;
    line-height: 1.5;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-floating-card {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .steps-grid {
        flex-direction: column;
        gap: var(--space-md);
    }

    .step-connector {
        transform: rotate(90deg);
        padding: var(--space-sm) 0;
    }

    .why-container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .why-content {
        max-width: 100%;
    }

    .why-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .cta-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .cta-content {
        max-width: 100%;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .container {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: var(--space-lg);
        border-bottom: 1px solid var(--neutral-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-base);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu a {
        padding: var(--space-md);
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: var(--space-sm);
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: var(--space-lg);
        justify-content: center;
    }

    .hero-image-wrapper {
        aspect-ratio: 4 / 3;
    }

    .hero-image {
        height: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

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

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Location */
    .location-details {
        flex-direction: column;
        gap: var(--space-xl);
        align-items: center;
    }

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

    .location-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
    }

    .why-image-secondary {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta-form-wrapper {
        padding: var(--space-xl) var(--space-lg);
    }
}

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

    html {
        scroll-behavior: auto;
    }

    .service-card:hover {
        transform: none;
    }

    .btn:hover,
    .btn:focus-visible {
        transform: none;
    }
}
