/* ============================================
   MSF Group — Dental Practice Website
   Clean Minimalist | Deep Navy + Warm Gold
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --navy-900: #0A1628;
    --navy-800: #0F1C3F;
    --navy-700: #162549;
    --navy-600: #1E325C;
    --navy-500: #2A4070;
    --gold-500: #C8A45E;
    --gold-400: #D4B572;
    --gold-300: #E0C98A;
    --gold-600: #B8944E;
    --cream-50: #FAFAF8;
    --cream-100: #F5F4F0;
    --cream-200: #EDECE6;
    --cream-300: #E5E3DC;
    --white: #FFFFFF;
    --text-primary: #0F1C3F;
    --text-secondary: #4A5568;
    --text-tertiary: #718096;
    --text-light: #A0AEC0;
    --line-light: rgba(15, 28, 63, 0.08);
    --line-medium: rgba(15, 28, 63, 0.15);
    --shadow-sm: 0 1px 3px rgba(15, 28, 63, 0.06);
    --shadow-md: 0 4px 20px rgba(15, 28, 63, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 28, 63, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s 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;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--cream-50);
    overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-light);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    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: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy-800);
    letter-spacing: 0.02em;
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--navy-800);
    color: var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    letter-spacing: 0;
}

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-500);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--navy-800);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    color: var(--gold-600) !important;
    border: 1px solid var(--gold-500) !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-sm) !important;
    transition: var(--transition) !important;
}

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

.nav-cta:hover {
    background: var(--gold-500) !important;
    color: var(--white) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--navy-800);
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    text-align: center;
}

.mobile-menu-link {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--navy-800);
    padding: 16px 0;
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--gold-500);
}

.mobile-menu-divider {
    width: 48px;
    height: 1px;
    background: var(--line-medium);
    margin: 24px auto;
}

.mobile-menu-cta {
    display: block;
    font-size: 1.125rem;
    color: var(--gold-600);
    font-weight: 500;
    margin-bottom: 16px;
}

.mobile-menu-address {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 24px 80px;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid var(--line-light);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid var(--line-light);
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 300;
    color: var(--navy-800);
    margin-bottom: 28px;
    line-height: 1.05;
}

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

.hero-subheadline {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 480px;
}

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

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.hero-detail svg {
    color: var(--gold-500);
    flex-shrink: 0;
}

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

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

.hero-image-wrapper img {
    width: 100%;
    height: 860px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--gold-500);
    border-radius: var(--radius-md);
    z-index: -1;
}

.hero-image-card {
    position: absolute;
    bottom: -32px;
    left: -32px;
    background: var(--white);
    padding: 28px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 320px;
    border: 1px solid var(--line-light);
}

.hero-card-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 8px;
}

.hero-card-text {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    line-height: 1.65;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    animation: float 2.5s ease-in-out infinite;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy-800);
    color: var(--white);
    border: 1px solid var(--navy-800);
}

.btn-primary:hover {
    background: var(--navy-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--navy-800);
    border: 1px solid var(--line-medium);
}

.btn-ghost:hover {
    border-color: var(--navy-800);
    background: var(--navy-800);
    color: var(--white);
}

.btn-gold {
    background: var(--gold-500);
    color: var(--white);
    border: 1px solid var(--gold-500);
}

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-800);
}

.btn-full {
    width: 100%;
}

/* --- Section Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 24px;
}

.divider-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: var(--line-light);
}

.divider-icon {
    color: var(--gold-500);
    flex-shrink: 0;
}

/* --- Section Eyebrow & Title --- */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    color: var(--navy-800);
    margin-bottom: 20px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.75;
}

/* --- Services Section --- */
.services {
    padding: 120px 0;
    background: var(--cream-50);
}

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

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

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

.service-card {
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(24px);
}

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

.service-card:hover {
    border-color: var(--gold-500);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-card.visible:hover {
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-medium);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    color: var(--gold-500);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: var(--gold-500);
}

.service-card h3 {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--navy-800);
    margin-bottom: 12px;
}

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

/* --- About Section --- */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

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

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

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

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-image-secondary img {
    width: 320px;
    height: 240px;
    object-fit: cover;
}

.about-accent-box {
    position: absolute;
    top: -24px;
    right: -24px;
    background: var(--navy-800);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    z-index: 2;
}

.accent-box-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gold-500);
    line-height: 1;
    margin-bottom: 4px;
}

.accent-box-label {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.about-content-col .section-header {
    margin-bottom: 32px;
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0 40px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.about-feature svg {
    color: var(--gold-500);
    flex-shrink: 0;
}

/* --- Experience Section --- */
.experience {
    padding: 120px 0;
    background: var(--cream-50);
}

.experience-header {
    text-align: center;
    margin-bottom: 72px;
}

.experience-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.experience-step {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.experience-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 48px;
    right: -16px;
    width: 32px;
    height: 1px;
    background: var(--line-medium);
}

.step-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold-500);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.6;
}

.experience-step h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy-800);
    margin-bottom: 12px;
}

.experience-step p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 0;
    background: var(--navy-800);
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(200, 164, 94, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(200, 164, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-eyebrow {
    color: var(--gold-400) !important;
}

.cta-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 40px;
}

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

/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

.contact-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-light);
    border-radius: var(--radius-sm);
    color: var(--gold-500);
    flex-shrink: 0;
}

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

.contact-detail-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.contact-detail-text a,
.contact-detail-text span {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
}

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

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line-light);
}

/* Contact Form */
.contact-form-col {
    background: var(--cream-50);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--navy-800);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-primary);
    background: var(--white);
    border: 1px solid var(--line-medium);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.1);
}

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

.form-group select {
    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='%23718096' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

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

.form-success svg {
    color: var(--gold-500);
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy-800);
    margin-bottom: 12px;
}

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

/* --- Footer --- */
.footer {
    background: var(--navy-800);
    color: var(--white);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--gold-500);
    color: var(--navy-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--gold-400);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col ul li a {
    font-size: 0.875rem;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links-col ul li a:hover {
    color: var(--white);
}

.footer-links-col address {
    font-style: normal;
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.7;
}

.footer-links-col address a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links-col address a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    gap: 16px;
}

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

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero-image-wrapper img {
        height: 640px;
    }

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

    .about-grid {
        gap: 48px;
    }

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

    .experience-step:not(:last-child)::after {
        display: none;
    }

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

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

    .nav-toggle {
        display: flex;
    }

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

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

    .hero-image {
        order: -1;
    }

    .hero-image-wrapper img {
        height: 480px;
    }

    .hero-image-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
        max-width: 100%;
    }

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

    .hero-scroll-indicator {
        display: none;
    }

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

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

    .about-image-secondary {
        right: 0;
    }

    .about-accent-box {
        right: 0;
    }

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

    .experience-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .contact-form-col {
        padding: 32px 24px;
    }

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

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

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

    .section-divider {
        padding: 0 16px;
    }

    .divider-line {
        max-width: 80px;
    }
}

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

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

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

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

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}
