/* ============================================
   Jersey Advanced MRI & Diagnostic Center
   Custom Styles — Charcoal + Coral Editorial
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --charcoal: #1a1a2e;
    --charcoal-light: #2d2d44;
    --charcoal-mid: #3a3a52;
    --coral: #e8645a;
    --coral-dark: #d15248;
    --coral-light: #f08078;
    --cream: #faf8f6;
    --cream-dark: #f0ece6;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-muted: #6b6b80;
    --text-light: #9494a8;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.10);
    --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

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

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

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

/* ---- Skip Link ---- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--charcoal);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 500;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 16px;
}

/* ---- Typography ---- */
.serif {
    font-family: var(--font-serif);
}

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-coral {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
}

.btn-coral:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
}

.btn-dark {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

.btn-dark:hover {
    background: var(--charcoal-light);
    border-color: var(--charcoal-light);
}

.btn-outline-dark {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.btn-outline-dark:hover {
    background: var(--charcoal);
    color: var(--white);
}

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

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

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

.btn-xl {
    padding: 22px 44px;
    font-size: 1.0625rem;
}

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

/* ---- Section Eyebrow ---- */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--coral);
    border-radius: 2px;
}

/* ---- Section Title ---- */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 20px;
}

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

.section-header.center {
    text-align: center;
}

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

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 26, 46, 0.06);
    transition: all var(--transition);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* ---- Logo ---- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-primary {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
}

.logo-secondary {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---- Navigation ---- */
.site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--coral);
    background: rgba(232, 100, 90, 0.06);
}

.nav-cta {
    padding: 12px 24px;
    font-size: 0.875rem;
}

/* ---- Nav Toggle ---- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    position: absolute;
    left: 0;
    transition: all var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

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

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(232, 100, 90, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(232, 100, 90, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 28px;
}

.eyebrow-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--coral);
    border-radius: 2px;
}

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

.hero-sub {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 40px;
}

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

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.hero-image {
    position: relative;
}

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

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

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--coral);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.hero-stat-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-card .stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coral);
    line-height: 1;
}

.hero-stat-card .stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

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

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

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

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    border: 1px solid rgba(26, 26, 46, 0.05);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(232, 100, 90, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
    margin-bottom: 24px;
    transition: all var(--transition);
}

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

.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 14px;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 500;
    padding-left: 16px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--coral);
    border-radius: 50%;
}

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

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

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

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

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

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

.about-img-float img {
    width: 100%;
    display: block;
}

.about-content-col {
    padding-right: 20px;
}

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

.about-stats {
    display: flex;
    gap: 32px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid rgba(26, 26, 46, 0.08);
    border-bottom: 1px solid rgba(26, 26, 46, 0.08);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.about-stat:not(:last-child) .stat-num {
    border-right: 1px solid rgba(26, 26, 46, 0.1);
    padding-right: 32px;
    margin-right: 8px;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coral);
    line-height: 1;
}

.stat-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.about-stat-divider {
    display: none;
}

/* ---- Technology ---- */
.technology {
    padding: 100px 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.technology::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(232, 100, 90, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tech-content .section-eyebrow {
    color: var(--coral);
}

.tech-content .section-eyebrow::before {
    background: var(--coral);
}

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

.tech-body {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 48px;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tech-feature {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
}

.tech-feature-num {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--coral);
    opacity: 0.6;
    line-height: 1;
    padding-top: 4px;
}

.tech-feature-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.tech-feature p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.tech-image-col {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tech-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Patient Info ---- */
.patient-info {
    padding: 100px 0;
    background: var(--cream);
}

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

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border: 1px solid rgba(26, 26, 46, 0.05);
    transition: all var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.info-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(232, 100, 90, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.info-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.info-card-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.info-card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-card-list li {
    font-size: 0.9375rem;
    color: var(--text-dark);
    padding-left: 20px;
    position: relative;
}

.info-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 2px;
    background: var(--coral);
    border-radius: 2px;
}

.info-card-list li span {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

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

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.cta-content {
    flex: 1;
}

.cta-content .section-eyebrow {
    color: var(--white);
}

.cta-content .section-eyebrow::before {
    background: var(--white);
}

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

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex-shrink: 0;
}

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

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

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

.contact-info .section-eyebrow {
    margin-bottom: 16px;
}

.contact-body {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.contact-detail-icon {
    width: 52px;
    height: 52px;
    background: rgba(232, 100, 90, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 6px;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--coral);
    font-weight: 500;
    transition: color var(--transition);
}

.contact-detail-value a:hover {
    color: var(--coral-dark);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-map iframe {
    display: block;
}

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

.form-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--charcoal);
    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.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(26, 26, 46, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--white);
    transition: all var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(232, 100, 90, 0.1);
}

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

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

.form-privacy {
    font-size: 0.8125rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
}

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

.form-success svg {
    margin: 0 auto 20px;
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

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

.footer-brand .logo-secondary {
    color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 20px;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col-title {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-col a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--coral);
}

.footer-col address {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-phone {
    display: inline-block;
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--coral) !important;
}

.footer-phone:hover {
    color: var(--coral-light) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    max-width: 400px;
    text-align: right;
    line-height: 1.6;
}

/* ---- Mobile Menu ---- */
@media (max-width: 1023px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 80px 40px 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 999;
    }

    .site-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(26, 26, 46, 0.06);
        width: 100%;
    }

    .nav-cta {
        margin-top: 24px;
        justify-content: center;
        width: 100%;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(26, 26, 46, 0.5);
        z-index: 998;
    }

    .mobile-overlay.active {
        display: block;
    }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        max-width: 500px;
    }

    .hero {
        padding-top: 100px;
    }

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

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

    .about-image-stack {
        max-width: 480px;
    }

    .about-img-float {
        right: -20px;
        bottom: -20px;
    }

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

    .tech-image-col {
        max-width: 560px;
    }

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

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-text {
        margin: 0 auto;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }

    .footer-legal {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

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

    .hero-stat-card {
        left: 0;
        bottom: -16px;
    }

    .services {
        padding: 72px 0;
    }

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

    .service-card {
        padding: 32px 28px;
    }

    .about {
        padding: 72px 0;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .about-stat:not(:last-child) .stat-num {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        border-bottom: 1px solid rgba(26, 26, 46, 0.1);
        padding-bottom: 24px;
        margin-bottom: 0;
    }

    .about-img-float {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
        max-width: 280px;
    }

    .technology {
        padding: 72px 0;
    }

    .patient-info {
        padding: 72px 0;
    }

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

    .cta-section {
        padding: 72px 0;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .contact {
        padding: 72px 0;
    }

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

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

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

    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

/* ---- 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;
    }
}
