/* ===================================
   Marrigold Registration Service
   Bold Editorial Style
   Emerald Green + Cream Palette
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;

    --cream-50:  #faf9f6;
    --cream-100: #f5f3ed;
    --cream-200: #ebe8df;
    --cream-300: #e0dbce;

    --ink-950: #0c0f0d;
    --ink-900: #1a1f1b;
    --ink-800: #2a2f2b;
    --ink-700: #3d423f;
    --ink-600: #555b57;
    --ink-500: #6b726d;
    --ink-400: #9ca39e;
    --ink-300: #c4c9c5;
    --ink-200: #e2e5e2;
    --ink-100: #f0f2f0;

    --gold-500: #c9a84c;
    --gold-400: #d4b965;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg:  0 12px 32px rgba(0,0,0,0.1);
    --shadow-xl:  0 20px 48px rgba(0,0,0,0.12);
}

/* --- 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(--ink-800);
    background-color: 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;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink-950);
}

/* --- Layout --- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    white-space: nowrap;
}

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

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

.btn--outline {
    background-color: transparent;
    color: var(--ink-800);
    border: 2px solid var(--ink-300);
}

.btn--outline:hover {
    border-color: var(--emerald-700);
    color: var(--emerald-700);
}

.btn--dark {
    background-color: var(--ink-950);
    color: #ffffff;
    border: 2px solid var(--ink-950);
}

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

.btn--full {
    width: 100%;
}

/* --- Section Tags --- */
.section-tag {
    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-700);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: var(--space-lg);
    color: var(--ink-950);
}

.section-sub {
    font-size: 1.125rem;
    color: var(--ink-600);
    max-width: 600px;
    line-height: 1.7;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ink-100);
    transition: box-shadow 0.3s ease;
}

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

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink-950);
    letter-spacing: -0.02em;
}

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

.logo--light {
    color: #ffffff;
}

.logo--light .dot {
    color: var(--gold-400);
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--ink-700);
    transition: color 0.2s ease;
}

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

.btn--nav {
    padding: 0.625rem 1.375rem;
    font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink-800);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--cream-50);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

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

.mobile-menu-close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    font-size: 2.5rem;
    color: var(--ink-800);
    line-height: 1;
}

.mobile-menu-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--ink-900);
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: var(--emerald-700);
}

.mobile-link--cta {
    margin-top: var(--space-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--emerald-700);
    font-weight: 500;
}

.mobile-contact {
    margin-top: var(--space-xl);
    font-size: 0.875rem;
    color: var(--ink-600);
    line-height: 1.8;
}

.mobile-contact a {
    color: var(--emerald-700);
    font-weight: 500;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: linear-gradient(135deg, var(--emerald-50) 0%, transparent 70%);
    pointer-events: none;
}

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

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

.hero-tag {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.tag-line {
    width: 48px;
    height: 2px;
    background: var(--emerald-600);
    flex-shrink: 0;
}

.hero-tag span {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-600);
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--ink-950);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

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

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

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

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

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink-950);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--ink-500);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--ink-200);
}

/* Hero Image */
.hero-image {
    position: relative;
}

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

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

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: var(--emerald-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

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

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

.floating-title {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--ink-900);
}

.floating-sub {
    display: block;
    font-size: 0.8125rem;
    color: var(--ink-500);
}

/* Hero Scroll */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--ink-400);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--ink-300), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- Services Section --- */
.services {
    padding: var(--space-4xl) 0;
    background: var(--cream-100);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

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

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

.service-card {
    background: var(--cream-50);
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-100);
    transition: all 0.3s ease;
}

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

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

.service-title {
    font-size: 1.375rem;
    margin-bottom: var(--space-md);
    color: var(--ink-900);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--ink-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--emerald-700);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: var(--space-md);
}

/* --- About Section --- */
.about {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

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

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

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

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-md);
    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;
    right: 30%;
    background: var(--emerald-700);
    color: #ffffff;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-top: 4px;
    opacity: 0.9;
}

.about-content-col {
    max-width: 520px;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--ink-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

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

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

.value-item strong {
    display: block;
    font-size: 1rem;
    color: var(--ink-900);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.875rem;
    color: var(--ink-500);
}

/* --- Why Choose Us --- */
.why-us {
    padding: var(--space-4xl) 0;
    background: var(--ink-950);
}

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

.why-content .section-tag {
    color: var(--emerald-400);
}

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

.why-text {
    font-size: 1.0625rem;
    color: var(--ink-400);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

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

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

.why-feature-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-600);
    line-height: 1;
    padding-top: 4px;
}

.why-feature-title {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-sm);
}

.why-feature-desc {
    font-size: 0.9375rem;
    color: var(--ink-400);
    line-height: 1.7;
}

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

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

/* --- Process Section --- */
.process {
    padding: var(--space-4xl) 0;
    background: var(--cream-100);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.process-step {
    position: relative;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--cream-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-100);
    text-align: center;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--emerald-100);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--ink-900);
}

.step-desc {
    font-size: 0.875rem;
    color: var(--ink-600);
    line-height: 1.7;
}

.step-desc a {
    color: var(--emerald-700);
    font-weight: 500;
}

/* --- Testimonial --- */
.testimonial {
    padding: var(--space-4xl) 0;
    background: var(--emerald-800);
    text-align: center;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    color: var(--emerald-600);
    line-height: 0.8;
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.author-location {
    font-size: 0.875rem;
    color: var(--emerald-300);
}

/* --- CTA Section --- */
.cta {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--ink-600);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.cta-contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

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

.cta-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--emerald-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.cta-detail strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--ink-900);
    margin-bottom: 2px;
}

.cta-detail span,
.cta-detail a {
    font-size: 0.9375rem;
    color: var(--ink-600);
}

.cta-detail a:hover {
    color: var(--emerald-700);
}

/* Contact Form */
.contact-form {
    background: var(--cream-100);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-100);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
    color: var(--ink-950);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-700);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--ink-800);
    background: #ffffff;
    border: 1.5px solid var(--ink-200);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-2xl);
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 56px;
    height: 56px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin: 0 auto var(--space-md);
}

.form-success p {
    font-size: 1rem;
    color: var(--ink-700);
    line-height: 1.6;
}

/* --- Map Section --- */
.map-section {
    border-top: 1px solid var(--ink-100);
}

.map-container {
    filter: saturate(0.7) contrast(1.05);
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--ink-400);
    line-height: 1.7;
    margin-top: var(--space-md);
    max-width: 320px;
}

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

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: var(--space-lg);
}

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

.footer-col li a,
.footer-col li {
    font-size: 0.875rem;
    color: var(--ink-400);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--ink-500);
}

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

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

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Default visible state for progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: var(--space-2xl);
    }

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

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

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: var(--space-xl);
    }

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

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

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

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

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

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

    .hero-floating-card {
        left: var(--space-md);
        bottom: var(--space-md);
    }

    .hero-image-accent {
        display: none;
    }

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

    .about-content-col {
        max-width: 100%;
        order: -1;
    }

    .about-image-grid {
        max-width: 480px;
        margin: 0 auto;
    }

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

    .why-image-col {
        order: -1;
    }

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

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

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

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

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

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

    .about-img-secondary {
        right: -10px;
        bottom: -15px;
    }

    .about-experience-badge {
        top: -10px;
        right: 10px;
    }

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

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

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