/* ===================================
   Wenger Tax Service & Bookkeeping
   Stylesheet
   =================================== */

/* --- CSS Custom Properties --- */
: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: #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-300: #fef08a;

    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;

    --amber-400: #fbbf24;
    --amber-500: #f59e0b;

    --font-display: 'Red Hat Display', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
    --shadow-float: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

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

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--stone-700);
    background-color: var(--cream-50);
}

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;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--stone-800);
    line-height: 1.2;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    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: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-300);
}

.btn-outline:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-500);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.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-ghost-white {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn-ghost-white:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

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

/* --- Section Common --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-600);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-tag-light {
    color: var(--emerald-200);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--stone-800);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--stone-500);
    max-width: 600px;
    line-height: 1.7;
}

.section-subtitle-light {
    color: rgba(255,255,255,0.75);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition);
}

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

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

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

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--emerald-600);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

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

.nav a {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--stone-600);
    transition: all var(--transition);
}

.nav a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav .btn-primary {
    margin-left: 8px;
}

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

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--stone-700);
    border-radius: 2px;
    transition: all var(--transition);
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* ===================================
   Hero
   =================================== */
.hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--cream-50) 0%, var(--emerald-50) 50%, var(--cream-100) 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
                       radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--emerald-200);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--emerald-700);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

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

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

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--stone-900);
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--stone-500);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

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

/* --- Hero Cards --- */
.hero-visual {
    position: relative;
    min-height: 420px;
}

.hero-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.05);
}

.hero-card-main {
    position: relative;
    z-index: 2;
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    margin-bottom: 20px;
}

.card-stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--stone-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.card-stat-value {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--emerald-600);
    line-height: 1;
    margin-bottom: 8px;
}

.card-stat-desc {
    font-size: 0.9rem;
    color: var(--stone-500);
    margin-bottom: 20px;
}

.card-progress {
    height: 6px;
    background: var(--stone-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 8px;
}

.card-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald-400), var(--emerald-600));
    border-radius: var(--radius-full);
    width: var(--pct);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-progress-label {
    font-size: 0.8rem;
    color: var(--stone-400);
}

/* --- Floating Cards --- */
.hero-card-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.float-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 80px;
    left: -30px;
    animation-delay: 1.3s;
}

.float-3 {
    bottom: -16px;
    right: 40px;
    animation-delay: 2.6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

.float-icon-green {
    background: var(--emerald-100);
    color: var(--emerald-600);
}

.float-icon-amber {
    background: #fef3c7;
    color: var(--amber-500);
}

.float-icon-emerald {
    background: var(--emerald-50);
    color: var(--emerald-700);
}

.float-stat-num {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--stone-800);
    line-height: 1.2;
}

.float-stat-label {
    font-size: 0.78rem;
    color: var(--stone-500);
}

/* ===================================
   Services
   =================================== */
.services {
    padding: 100px 0;
    background: #fff;
}

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

.service-card {
    background: var(--cream-50);
    border: 1px solid var(--stone-100);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald-200);
    background: #fff;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    margin-bottom: 20px;
    transition: all var(--transition);
}

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

.service-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--stone-800);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--stone-500);
    line-height: 1.7;
}

/* ===================================
   About
   =================================== */
.about {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.about-image-wrap {
    position: relative;
}

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

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

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 4px solid var(--cream-50);
}

.about-image-accent img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--emerald-600);
    color: #fff;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-float);
}

.about-experience-badge .exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-experience-badge .exp-text {
    font-size: 0.75rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-text {
    font-size: 1.02rem;
    color: var(--stone-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--stone-700);
    font-size: 0.95rem;
}

.feature-check {
    width: 22px;
    height: 22px;
    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 0;
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-900) 100%);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 10% 90%, rgba(255,255,255,0.04) 0%, transparent 40%),
                       radial-gradient(circle at 90% 10%, rgba(255,255,255,0.06) 0%, transparent 40%);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    transition: all var(--transition);
}

.why-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.why-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.12);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.why-card-desc {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* ===================================
   CTA Banner
   =================================== */
.cta-banner {
    padding: 80px 0;
    background: var(--cream-100);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--emerald-600);
    border-radius: var(--radius-xl);
    padding: 56px 64px;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 1;
}

/* ===================================
   Contact
   =================================== */
.contact {
    padding: 100px 0;
    background: #fff;
}

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

.contact-desc {
    font-size: 1.02rem;
    color: var(--stone-500);
    line-height: 1.75;
    margin-bottom: 40px;
}

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

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--cream-50);
    border: 1px solid var(--stone-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.contact-method:hover {
    border-color: var(--emerald-200);
    background: var(--emerald-50);
    transform: translateX(4px);
}

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

.method-icon-phone {
    background: var(--emerald-100);
    color: var(--emerald-600);
}

.method-icon-mail {
    background: #fef3c7;
    color: var(--amber-500);
}

.method-icon-location {
    background: #dbeafe;
    color: #3b82f6;
}

.method-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--stone-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.method-value {
    font-weight: 600;
    color: var(--stone-700);
    font-size: 1rem;
    line-height: 1.5;
}

.method-value a {
    color: inherit;
    transition: color var(--transition);
}

.method-value a:hover {
    color: var(--emerald-600);
}

/* --- Form --- */
.contact-form-wrap {
    background: var(--cream-50);
    border: 1px solid var(--stone-100);
    border-radius: var(--radius-xl);
    padding: 40px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--stone-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--stone-800);
    background: #fff;
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-400);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-300);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 16px;
}

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

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

.form-success h3 {
    font-size: 1.4rem;
    color: var(--stone-800);
}

.form-success p {
    color: var(--stone-500);
    font-size: 0.95rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--stone-900);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
}

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

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

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}

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

.footer-contact p {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ===================================
   Scroll Animations
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

    .about-image-accent {
        right: 20px;
        bottom: -20px;
    }

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

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

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

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

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

    .nav a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .nav .btn-primary {
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

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

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

    .hero-card-float {
        display: none;
    }

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

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

    .cta-banner {
        padding: 48px 0;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 28px;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .services,
    .about,
    .why-us,
    .contact {
        padding: 72px 0;
    }
}
