/* ============================================
   McDowell Family Pharmacy — Stylesheet
   Terracotta + Sand | Vibrant Modern
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --terracotta: #C05A3A;
    --terracotta-dark: #A04830;
    --terracotta-light: #D4845A;
    --sand: #F5E6D3;
    --sand-light: #FDF6EE;
    --sand-dark: #E8D5C0;
    --cream: #FFFAF5;
    --charcoal: #2A2220;
    --charcoal-light: #4A4040;
    --warm-gray: #8A7E7A;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(42, 34, 32, 0.08);
    --shadow-md: 0 8px 30px rgba(42, 34, 32, 0.12);
    --shadow-lg: 0 20px 60px rgba(42, 34, 32, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

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

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

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

/* Decorative background shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

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

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--terracotta);
    top: -200px;
    right: -150px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--terracotta-light);
    bottom: 20%;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--sand-dark);
    top: 50%;
    right: 5%;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--terracotta);
    bottom: 10%;
    right: 20%;
}

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

.nav.scrolled {
    background: rgba(255, 250, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.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: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--charcoal);
    z-index: 1001;
}

.nav-logo-icon {
    color: var(--terracotta);
}

.logo-accent {
    color: var(--terracotta);
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.938rem;
    color: var(--charcoal-light);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    border-radius: 1px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--terracotta);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--terracotta);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.938rem;
}

.nav-cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
}

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

.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(--charcoal);
    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
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 40%, #F0C4A8 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(192, 90, 58, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(212, 132, 90, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 60% 80%, rgba(232, 168, 124, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: var(--radius-lg);
}

.hero-shape-1 {
    width: 120px;
    height: 120px;
    background: var(--terracotta);
    opacity: 0.08;
    top: 15%;
    right: 8%;
    transform: rotate(15deg);
}

.hero-shape-2 {
    width: 80px;
    height: 80px;
    background: var(--sand-dark);
    opacity: 0.3;
    bottom: 25%;
    right: 15%;
    border-radius: 50%;
}

.hero-shape-3 {
    width: 60px;
    height: 60px;
    background: var(--terracotta-light);
    opacity: 0.12;
    top: 30%;
    left: 5%;
    transform: rotate(-20deg);
    border-radius: 50%;
}

.hero-content {
    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;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192, 90, 58, 0.1);
    border: 1px solid rgba(192, 90, 58, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--terracotta);
    margin-bottom: 24px;
}

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

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--charcoal);
}

.text-gradient {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--charcoal-light);
    margin-bottom: 36px;
    max-width: 520px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(192, 90, 58, 0.3);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(192, 90, 58, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--charcoal);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--sand-dark);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--charcoal-light);
}

.trust-item svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

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

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

.hero-img-accent {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(192, 90, 58, 0.2);
    pointer-events: none;
}

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

.float-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.float-card-text {
    display: flex;
    flex-direction: column;
}

.float-card-text strong {
    font-family: 'Outfit', sans-serif;
    font-size: 0.938rem;
    color: var(--charcoal);
}

.float-card-text span {
    font-size: 0.813rem;
    color: var(--warm-gray);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--cream);
    line-height: 0;
}

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

/* ============================================
   SECTION COMMON
   ============================================ */
.section-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 12px;
}

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

.text-accent {
    color: var(--terracotta);
}

.section-desc {
    font-size: 1.063rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    max-width: 600px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
    z-index: 1;
}

.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 {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--sand-dark);
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light));
    opacity: 0;
    transition: var(--transition);
}

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

.service-card:hover::before {
    opacity: 1;
}

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

.service-card:hover .service-icon {
    background: var(--accent, var(--terracotta));
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.938rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--terracotta);
}

.service-link:hover {
    gap: 10px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--sand-light);
    position: relative;
    z-index: 1;
}

.about-grid {
    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: 560px;
    object-fit: cover;
}

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

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

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--terracotta);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-experience-badge .exp-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.about-experience-badge .exp-text {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

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

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

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--sand-dark);
}

.stat-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--charcoal);
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
    z-index: 1;
}

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

.why-us-content .section-desc {
    margin-bottom: 40px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-item-marker {
    width: 12px;
    height: 12px;
    background: var(--terracotta);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
    position: relative;
}

.why-item-marker::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(192, 90, 58, 0.15);
}

.why-item h4 {
    font-size: 1.125rem;
    margin-bottom: 6px;
}

.why-item p {
    font-size: 0.938rem;
    color: var(--charcoal-light);
    line-height: 1.7;
}

.why-us-visual {
    position: relative;
}

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

.why-visual-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.why-visual-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--terracotta);
    opacity: 0.1;
    border-radius: var(--radius-lg);
    z-index: -1;
}

.why-stat-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
}

.why-stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.why-stat-card strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--charcoal);
}

.why-stat-card span {
    font-size: 0.813rem;
    color: var(--warm-gray);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 0 0;
    background: var(--sand-light);
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

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

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--sand);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, var(--terracotta));
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.938rem;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.contact-detail span,
.contact-detail a {
    font-size: 0.938rem;
    color: var(--charcoal-light);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--terracotta);
}

.contact-form-wrapper {
    max-width: 100%;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--sand-dark);
}

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

.form-note {
    font-size: 0.938rem;
    color: var(--warm-gray);
    margin-bottom: 28px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.938rem;
    color: var(--charcoal);
    background: var(--sand-light);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(192, 90, 58, 0.1);
}

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

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

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

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

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 20px;
}

.form-success h4 {
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.938rem;
    color: var(--charcoal-light);
    margin-bottom: 24px;
}

.map-section {
    padding: 0 0 80px;
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
}

.map-container iframe {
    width: 100%;
    height: 350px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    color: var(--sand);
    padding: 80px 0 0;
}

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

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

.footer-logo-icon {
    color: var(--terracotta-light);
}

.footer-desc {
    font-size: 0.938rem;
    color: rgba(245, 230, 211, 0.7);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.938rem;
    color: rgba(245, 230, 211, 0.7);
}

.footer-links a:hover {
    color: var(--terracotta-light);
}

.footer-contact p {
    font-size: 0.938rem;
    color: rgba(245, 230, 211, 0.7);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-contact a:hover {
    color: var(--terracotta-light);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 211, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(245, 230, 211, 0.5);
}

.footer-bottom a {
    color: rgba(245, 230, 211, 0.5);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-float-card {
        left: 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .why-us-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-img-secondary {
        right: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.125rem;
    }
    
    .nav-cta {
        justify-content: center;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-img-wrapper img {
        height: 400px;
    }
    
    .hero-float-card {
        bottom: -10px;
        left: 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-main img {
        height: 360px;
    }
    
    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }
    
    .about-img-secondary img {
        width: 100%;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .why-stat-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }
    
    .contact-form-card {
        padding: 28px;
    }
    
    .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;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}
