/* ============================================
   Blue Beam Radiology — Custom Styles
   ============================================ */

/* CSS Custom Properties */
:root {
    --navy-900: #0a1628;
    --navy-800: #1e3a5f;
    --navy-700: #2a4a6f;
    --navy-600: #3d5f80;
    --navy-500: #5a7fa0;
    --gold-600: #a07820;
    --gold-500: #c8952e;
    --gold-400: #d4a843;
    --gold-300: #e0c060;
    --gold-200: #f0d890;
    --gold-100: #faf0d0;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08), 0 1px 2px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.1), 0 2px 4px rgba(10, 22, 40, 0.06);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12), 0 4px 12px rgba(10, 22, 40, 0.08);
    --shadow-xl: 0 24px 60px rgba(10, 22, 40, 0.15), 0 8px 20px rgba(10, 22, 40, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

/* 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.6;
    color: var(--slate-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
    transition: var(--transition);
}

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

.nav-container {
    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-weight: 700;
    font-size: 1.1rem;
    color: var(--navy-800);
}

.nav-logo-icon {
    flex-shrink: 0;
}

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

.nav-links a {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color var(--transition);
    position: relative;
}

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

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

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

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

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--navy-800) !important;
    font-weight: 600 !important;
    background: var(--gold-100);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    transition: background var(--transition), transform var(--transition) !important;
}

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

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

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

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--navy-800);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #0a1628 40%, #1a3a5c 70%, #2a4a6f 100%);
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(200, 149, 46, 0.25) 0%, transparent 70%);
    animation: heroFloat 8s ease-in-out infinite;
}

.hero-gradient-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(90, 127, 160, 0.3) 0%, transparent 70%);
    animation: heroFloat 10s ease-in-out infinite reverse;
}

.hero-gradient-3 {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 30%;
    height: 40%;
    background: radial-gradient(ellipse, rgba(200, 149, 46, 0.15) 0%, transparent 70%);
    animation: heroFloat 12s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 149, 46, 0.15);
    border: 1px solid rgba(200, 149, 46, 0.3);
    color: var(--gold-300);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

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

.hero-headline br {
    display: block;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: color var(--transition);
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
    color: rgba(255, 255, 255, 0.8);
}

@keyframes scrollBounce {
    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: var(--font-sans);
    font-size: 0.938rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
}

.btn-primary:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 149, 46, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-800);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Section Styles
   ============================================ */
.section-tag {
    display: inline-block;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-500);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.063rem;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 560px;
}

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

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

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--slate-50);
}

.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: all var(--transition);
    border: 1px solid var(--slate-200);
}

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

.service-icon {
    margin-bottom: 20px;
}

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

.service-card p {
    font-size: 0.938rem;
    color: var(--slate-500);
    line-height: 1.65;
}

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

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

.about-image {
    position: relative;
}

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

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

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

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

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

.about-stat .stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 4px;
}

.about-stat .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--slate-700);
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--gold-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check svg {
    color: var(--gold-600);
}

/* ============================================
   Patient Info Section
   ============================================ */
.patients {
    padding: 100px 0;
    background: var(--slate-50);
}

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

.patient-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
}

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

.patient-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.patient-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    flex-shrink: 0;
}

.patient-card-header h3 {
    font-size: 1.063rem;
    font-weight: 700;
    color: var(--navy-800);
}

.patient-list {
    display: grid;
    gap: 12px;
}

.patient-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.938rem;
    color: var(--slate-600);
    line-height: 1.5;
}

.patient-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold-500);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 9px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-gradient-1 {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(200, 149, 46, 0.2) 0%, transparent 70%);
}

.cta-gradient-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(90, 127, 160, 0.2) 0%, transparent 70%);
}

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

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.063rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 48px;
}

.contact-info .section-title {
    text-align: left;
}

.contact-text {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: grid;
    gap: 24px;
}

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

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

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item p {
    font-size: 0.938rem;
    color: var(--slate-600);
    line-height: 1.6;
}

.contact-item a {
    color: var(--navy-800);
    font-weight: 600;
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--gold-500);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--slate-200);
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.938rem;
    color: var(--slate-700);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(200, 149, 46, 0.15);
}

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

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

.form-success .success-icon {
    width: 72px;
    height: 72px;
    background: var(--gold-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 10px;
}

.form-success p {
    font-size: 0.938rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* Map */
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--navy-900);
    padding: 64px 0 0;
}

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

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

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

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-400);
    margin-bottom: 20px;
}

.footer-links ul {
    display: grid;
    gap: 12px;
}

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

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

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

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

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

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

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

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

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.3s; }

.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-phone {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .hero {
        padding: 120px 20px 80px;
        min-height: auto;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .services {
        padding: 72px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about {
        padding: 72px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-accent {
        right: 16px;
        bottom: -16px;
    }
    
    .about-stat {
        left: 16px;
        top: -12px;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .patients {
        padding: 72px 0;
    }
    
    .patient-grid {
        grid-template-columns: 1fr;
    }
    
    .cta {
        padding: 72px 0;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .contact {
        padding: 72px 0 48px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info .section-title {
        text-align: center;
    }
    
    .contact-text {
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer {
        padding: 48px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 100px 16px 60px;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .service-card {
        padding: 28px 22px;
    }
    
    .patient-card {
        padding: 28px 22px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
    }
}
