/* ===================================
   Jeff's Electronics — Stylesheet
   =================================== */

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

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;

    --cream-50: #FFFDF8;
    --cream-100: #FFF7ED;
    --cream-200: #FED7AA;
    --cream-300: #FDBA74;

    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--cream-50);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-600);
    color: #fff;
    border-color: var(--emerald-600);
}

.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--emerald-700);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 253, 248, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(255, 253, 248, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--emerald-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.logo-accent {
    color: var(--emerald-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-600);
    transition: color var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--emerald-600);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-600);
    transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-600);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--emerald-700);
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none;
}

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

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-600) 50%, var(--emerald-500) 100%);
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.08;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--cream-200);
    top: -200px;
    right: -100px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--cream-300);
    bottom: -80px;
    left: 5%;
}

.geo-diamond {
    width: 120px;
    height: 120px;
    background: #fff;
    top: 25%;
    right: 8%;
    transform: rotate(45deg);
    opacity: 0.12;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid var(--cream-200);
    bottom: 20%;
    right: 15%;
    opacity: 0.1;
}

.geo-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--cream-200) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    top: 15%;
    left: 8%;
    opacity: 0.2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--cream-100);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald-300);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}

.headline-accent {
    color: var(--cream-200);
    position: relative;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating Stat Cards */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    animation: float-in 0.6s ease-out both;
}

.stat-card--1 { animation-delay: 0.2s; }
.stat-card--2 { animation-delay: 0.4s; }
.stat-card--3 { animation-delay: 0.6s; }

@keyframes float-in {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stat-card-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.stat-card--1 .stat-card-accent { background: var(--emerald-500); }
.stat-card--2 .stat-card-accent { background: var(--cream-300); }
.stat-card--3 .stat-card-accent { background: var(--emerald-400); }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card--1 .stat-icon { background: var(--emerald-50); color: var(--emerald-600); }
.stat-card--2 .stat-icon { background: var(--cream-100); color: var(--emerald-700); }
.stat-card--3 .stat-icon { background: var(--emerald-50); color: var(--emerald-600); }

.stat-icon svg {
    width: 24px;
    height: 24px;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--gray-900);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* --- Section Shared --- */
.section-header {
    margin-bottom: 56px;
}

.section-header--centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-600);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 16px;
}

.title-accent {
    color: var(--emerald-600);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 520px;
    line-height: 1.7;
}

/* --- Services --- */
.services {
    padding: 100px 24px;
    background: var(--cream-50);
}

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

.service-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
}

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

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

.service-card--featured {
    background: var(--emerald-600);
    border-color: var(--emerald-600);
    color: #fff;
}

.service-card--featured .service-title,
.service-card--featured .service-desc,
.service-card--featured .service-list li {
    color: #fff;
}

.service-card--featured .service-list li::before {
    color: var(--cream-200);
}

.service-card--featured:hover {
    border-color: var(--emerald-500);
    box-shadow: 0 16px 48px rgba(5, 150, 105, 0.3);
}

.service-card-bg {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--emerald-50);
    opacity: 0.5;
    transition: all var(--transition);
}

.service-card--featured .service-card-bg {
    background: rgba(255,255,255,0.1);
}

.service-card:hover .service-card-bg {
    transform: scale(1.2);
}

.service-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--cream-200);
    color: var(--emerald-800);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
}

.service-icon-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    transition: all var(--transition);
}

.service-card--featured .service-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.service-card:hover .service-icon {
    background: var(--emerald-600);
    color: #fff;
    transform: scale(1.05);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-list {
    position: relative;
    z-index: 1;
}

.service-list li {
    font-size: 0.875rem;
    color: var(--gray-600);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--emerald-500);
    font-weight: 700;
}

/* --- About --- */
.about {
    padding: 100px 24px;
    background: var(--cream-100);
    position: relative;
    overflow: hidden;
}

.about-bg-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--emerald-100);
    opacity: 0.4;
    top: -150px;
    right: -150px;
    pointer-events: none;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image-stack {
    position: relative;
    height: 560px;
}

.about-img-main {
    width: 100%;
    height: 460px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-float {
    position: absolute;
    bottom: 0;
    right: -30px;
    width: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-100);
}

.about-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent-block {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 72px;
    height: 72px;
    background: var(--emerald-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    margin-top: 32px;
    display: grid;
    gap: 12px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.value-icon {
    width: 28px;
    height: 28px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* --- Why Us --- */
.why-us {
    padding: 100px 24px;
    background: var(--cream-50);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--emerald-500);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-100);
}

.why-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--emerald-100);
    line-height: 1;
    margin-bottom: 16px;
    transition: color var(--transition);
}

.why-card:hover .why-card-number {
    color: var(--emerald-200);
}

.why-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.why-card-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-500) 100%);
    position: relative;
    overflow: hidden;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    top: -100px;
    left: -100px;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.06);
    bottom: -60px;
    right: 10%;
}

.cta-shape-3 {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.08);
    top: 20%;
    right: 5%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-accent {
    color: var(--cream-200);
}

.cta-subtext {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

/* --- Contact --- */
.contact {
    padding: 100px 24px;
    background: var(--cream-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-intro {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
}

.contact-text a,
.contact-text span {
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 600;
}

.contact-text a:hover {
    color: var(--emerald-600);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrap {
    position: relative;
}

.contact-form-bg {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
    border-radius: calc(var(--radius-xl) + 2px);
    z-index: 0;
    opacity: 0.3;
}

.contact-form-wrap > * {
    position: relative;
    z-index: 1;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.contact-form {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--cream-50);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--emerald-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

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

.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 24 24' fill='none' stroke='%236B7280' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 48px 36px;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--emerald-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--emerald-600);
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.success-text {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 64px 24px 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo .nav-logo-icon {
    width: 36px;
    height: 36px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a {
    color: var(--emerald-400);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--emerald-300);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 160px;
    }

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

    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-stack {
        height: 400px;
        max-width: 480px;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 253, 248, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-100);
        transform: translateY(-120%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-md);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 24px 60px;
        min-height: auto;
    }

    .hero-card {
        padding: 32px 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-stats {
        flex-direction: column;
    }

    .stat-card {
        min-width: auto;
    }

    .services, .about, .why-us, .cta-banner, .contact {
        padding: 64px 24px;
    }

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

    .about-image-stack {
        height: 320px;
    }

    .about-img-float {
        right: -10px;
        width: 160px;
    }

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

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

    .contact-form {
        padding: 24px;
    }

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

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

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 28px;
    }
}
