/* ============================================
   Dr. Annet Sheffield DVM — Veterinary Clinic
   Vibrant Modern Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --navy: #0A1628;
    --navy-light: #132240;
    --navy-mid: #1a2d4a;
    --gold: #D4A843;
    --gold-light: #e8c46a;
    --gold-pale: #fdf3d8;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --cream: #faf9f6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --green: #16a34a;
    --red: #dc2626;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.10);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.14);
    --shadow-xl: 0 24px 60px rgba(10, 22, 40, 0.18);
    --shadow-gold: 0 8px 30px rgba(212, 168, 67, 0.30);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --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;
    font-size: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

/* --- Geometric Background Decorations --- */
.geo-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: var(--gold);
    top: -200px;
    right: -150px;
}

.geo-square {
    position: absolute;
    opacity: 0.03;
    background: var(--gold);
    transform: rotate(45deg);
}

.geo-square--1 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    left: -80px;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.03;
    border-style: solid;
    border-width: 0 80px 140px 80px;
    border-color: transparent transparent var(--gold) transparent;
    top: 40%;
    right: 5%;
    transform: rotate(-15deg);
}

.geo-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 30%;
    left: 8%;
    background-image: radial-gradient(circle, var(--gold) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.15;
}

/* --- Section Container --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --- Section Header --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
}

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

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

.text-gold {
    color: var(--gold);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 168, 67, 0.40);
}

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

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.nav-logo-text {
    letter-spacing: -0.01em;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

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

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

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

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 80% at 20% 80%, rgba(212, 168, 67, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 168, 67, 0.12);
    border: 1px solid rgba(212, 168, 67, 0.25);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

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

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

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.50);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
}

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

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

.hero-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 22, 40, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-img-wrapper img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    display: block;
}

.hero-float-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    animation: float-card 4s ease-in-out infinite;
}

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

.float-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(212, 168, 67, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-card-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}

.float-card-sub {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* --- Services Section --- */
.services {
    background: var(--cream);
    padding: 100px 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 168, 67, 0.15);
}

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

.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

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

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

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    border: 60px solid rgba(212, 168, 67, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

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

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

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

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

.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--navy);
    z-index: 2;
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-exp-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--gold);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    text-align: center;
    z-index: 2;
    box-shadow: var(--shadow-gold);
}

.about-exp-badge .exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.about-exp-badge .exp-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

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

.about-content .section-title {
    color: var(--white);
}

.about-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: rgba(212, 168, 67, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

/* --- Testimonials Section --- */
.testimonials {
    background: var(--cream);
    padding: 100px 0;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(212, 168, 67, 0.04), transparent);
    pointer-events: none;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 168, 67, 0.2);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--gold);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
}

.author-detail {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 2px;
}

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

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

.contact-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 168, 67, 0.10);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
}

.contact-value:hover {
    color: var(--gold);
}

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

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.12);
}

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

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

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

.form-success p {
    margin-top: 16px;
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Footer --- */
.footer {
    background: var(--navy);
    padding: 64px 0 0;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-links h4,
.footer-hours h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

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

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

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.88rem;
}

.footer-hours .day {
    color: rgba(255, 255, 255, 0.55);
}

.footer-hours .time {
    color: var(--gold);
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.40);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.40);
}

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

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-img-wrapper img {
        height: 560px;
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .about-img-main img {
        height: 480px;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        width: 100%;
        margin-top: 16px;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-img-wrapper img {
        height: 400px;
    }
    
    .hero-float-card {
        left: 10px;
        bottom: -10px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-img-main img {
        height: 400px;
    }
    
    .about-img-accent {
        width: 150px;
        height: 150px;
        right: -10px;
        bottom: -20px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
