/* ============================================
   J & G Tires — Custom Styles
   Palette: Emerald Green + Cream
   ============================================ */

/* --- 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;
    --emerald-950: #022c22;

    --cream-50:   #fefcf3;
    --cream-100:  #fdf8e8;
    --cream-200:  #faf0d0;
    --cream-300:  #f5e4b0;
    --cream-400:  #edc97a;

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

    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

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

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

    --transition: 0.3s 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-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--stone-800);
    background: var(--cream-50);
    -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;
}

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-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--emerald-950);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

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

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

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

.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-light {
    background: #ffffff;
    color: var(--emerald-800);
    border-color: #ffffff;
}

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

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

.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 252, 243, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--emerald-100);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(254, 252, 243, 0.95);
    box-shadow: var(--shadow-sm);
}

.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-serif);
    font-size: 1.25rem;
    color: var(--emerald-800);
}

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

.logo-light {
    color: #ffffff;
}

.logo-light .logo-icon {
    color: var(--emerald-300);
}

/* --- Navigation --- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--stone-700);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--emerald-700) !important;
    color: #ffffff !important;
    border-radius: var(--radius-md) !important;
    padding: 10px 20px !important;
    margin-left: 8px;
}

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

/* --- Mobile Nav Toggle --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--emerald-800);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(2, 44, 34, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--cream-50);
    padding: 100px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--stone-700);
    padding: 14px 0;
    border-bottom: 1px solid var(--stone-200);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--emerald-700);
    padding-left: 8px;
}

.mobile-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--emerald-700);
    color: #ffffff;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
}

/* --- Hero --- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--emerald-50) 50%, var(--cream-100) 100%);
    position: relative;
    overflow: hidden;
}

.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-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--emerald-700);
    background: var(--emerald-100);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid var(--emerald-200);
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.1;
    color: var(--emerald-950);
    margin-bottom: 24px;
}

.hero-headline .accent {
    color: var(--emerald-600);
    font-style: italic;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--stone-600);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-image {
    position: relative;
}

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

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    inset: -12px;
    border: 2px solid var(--emerald-200);
    border-radius: calc(var(--radius-xl) + 4px);
    z-index: -1;
    transform: translate(16px, 16px);
}

.hero-stats {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    flex: 1;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--emerald-700);
    line-height: 1;
    margin-bottom: 4px;
}

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

/* --- Services --- */
.services {
    padding: 100px 0;
    background: #ffffff;
}

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

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

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

.service-card {
    background: var(--cream-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-300);
    background: #ffffff;
}

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

.service-card:hover .service-icon {
    background: var(--emerald-700);
    color: #ffffff;
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--emerald-900);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--emerald-50) 100%);
}

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

.about-images {
    position: relative;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-50);
}

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

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

.about-experience-badge .exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 4px;
}

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

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

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 28px 0 36px;
}

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

.about-features li svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* --- Why Us --- */
.why-us {
    padding: 100px 0;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

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

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

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

.why-us .section-label {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--emerald-300);
}

.why-us .section-title {
    color: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-4px);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-style: italic;
    color: var(--emerald-500);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
}

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

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

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

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

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

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-desc {
    color: var(--stone-600);
    margin-bottom: 40px;
    line-height: 1.75;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

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

.contact-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--stone-500);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    color: var(--stone-800);
    line-height: 1.6;
}

.contact-item a {
    color: var(--emerald-700);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--emerald-500);
    text-decoration: underline;
}

/* --- Contact Form --- */
.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.form-note {
    font-size: 0.875rem;
    color: var(--stone-500);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--stone-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--stone-800);
    background: var(--cream-50);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

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

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

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--emerald-600);
    margin-bottom: 16px;
}

.form-success h4 {
    font-size: 1.375rem;
    color: var(--emerald-800);
    margin-bottom: 8px;
}

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

/* --- Map --- */
.map-section {
    padding: 0 0 0;
    background: var(--stone-100);
}

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

/* --- Footer --- */
.footer {
    background: var(--emerald-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9375rem;
    line-height: 1.75;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-400);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--emerald-300);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.6;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Scroll Reveal --- */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger children */
.services-grid .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.services-grid .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.services-grid .scroll-reveal:nth-child(4) { transition-delay: 0.2s; }
.services-grid .scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
.services-grid .scroll-reveal:nth-child(6) { transition-delay: 0.3s; }

.why-grid .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.why-grid .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.why-grid .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.why-grid .scroll-reveal:nth-child(4) { transition-delay: 0.2s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }

    .about-inner {
        gap: 48px;
    }

    .contact-inner {
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-images {
        max-width: 500px;
    }

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0;
    }

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

    .hero-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-image {
        max-width: 420px;
        margin: 0 auto;
    }

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

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

    .cta-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

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

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

    .hero {
        padding-top: 64px;
    }

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

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

    .about-img-secondary {
        right: -16px;
        bottom: -24px;
    }

    .about-experience-badge {
        left: -12px;
        top: -12px;
    }

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

    .contact-form-card {
        padding: 28px 20px;
    }

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

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

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

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

    html {
        scroll-behavior: auto;
    }

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