/* ==========================================================================
   Endovascular Theme — Main Stylesheet
   Author: Ahsan Salman / Digilogiks
   Version: 1.0.0
   ========================================================================== */

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #2b2b2b;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #C8102E; text-decoration: none; transition: color 0.2s; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 {
    color: #1B2A4E;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
}
p { color: #4a4a4a; margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
button { font-family: inherit; cursor: pointer; }

/* Accessibility */
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link {
    position: absolute; top: -100px; left: 0;
    background: #1B2A4E; color: white; padding: 12px 20px;
    z-index: 999999; font-weight: 600;
}
.skip-link:focus { top: 0; }

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

/* Buttons */
.btn {
    display: inline-block; padding: 15px 32px; font-size: 15px; font-weight: 600;
    border-radius: 2px; transition: all 0.2s; cursor: pointer;
    border: 2px solid transparent; text-align: center; line-height: 1.2;
}
.btn-primary { background: #C8102E; color: white; border-color: #C8102E; }
.btn-primary:hover { background: #a00d24; border-color: #a00d24; text-decoration: none; color: white; }
.btn-outline-light { background: transparent; color: white; border-color: white; }
.btn-outline-light:hover { background: white; color: #1B2A4E; text-decoration: none; }
.btn-outline-dark { background: transparent; color: #1B2A4E; border-color: #1B2A4E; }
.btn-outline-dark:hover { background: #1B2A4E; color: white; text-decoration: none; }


/* ==========================================================================
   2. Header
   ========================================================================== */

/* Header — transparent floats over hero; solid is fixed at top */
.site-header {
    position: absolute; top: 0; left: 0; right: 0; z-index: 100;
    transition: all 0.3s ease; padding: 18px 0;
}
.site-header.scrolled {
    position: fixed; background: #ffffff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06); padding: 12px 0;
}
/* Solid header — stays fixed at top, content needs padding below */
.site-header.header-solid {
    position: fixed; background: #ffffff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06); padding: 12px 0;
}
/* When header is solid, push the page content down so it doesn't slide under */
body.has-solid-header .site-main { padding-top: 90px; }

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

/* Logo */
.site-branding { line-height: 1; }
.logo { display: inline-block; text-decoration: none; line-height: 1; }
.logo:hover { text-decoration: none; }
.logo-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    display: flex; align-items: baseline; gap: 1px;
}
.logo-e { color: #C8102E; font-size: 36px; }
.logo-ndo { color: #C8102E; font-size: 18px; letter-spacing: 0.5px; }
.logo-v { color: #1B2A4E; font-size: 36px; margin-left: 6px; }
.logo-ascular { color: #C8102E; font-size: 18px; letter-spacing: 0.5px; }
.logo-solutions {
    display: block; font-family: 'Inter', sans-serif;
    font-size: 10px; letter-spacing: 4px; color: #1B2A4E;
    font-weight: 500; margin-top: -2px; margin-left: 36px;
}
/* Transparent header colors */
.site-header.header-transparent:not(.scrolled) .logo-e,
.site-header.header-transparent:not(.scrolled) .logo-ndo,
.site-header.header-transparent:not(.scrolled) .logo-ascular { color: #ff7080; }
.site-header.header-transparent:not(.scrolled) .logo-v,
.site-header.header-transparent:not(.scrolled) .logo-solutions { color: white; }

/* WordPress custom logo */
.custom-logo-link { display: inline-block; }
.custom-logo { max-height: 50px; width: auto; }

/* Navigation */
.main-nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.main-nav a {
    color: #1B2A4E; font-size: 14px; font-weight: 600;
    padding: 8px 0; display: inline-block; transition: color 0.2s;
}
.main-nav a:hover { color: #C8102E; text-decoration: none; }
.site-header.header-transparent:not(.scrolled) .main-nav a { color: white; }
.site-header.header-transparent:not(.scrolled) .main-nav a:hover { color: #ff7080; }

/* Sub-menu */
.main-nav .sub-menu {
    position: absolute; top: 100%; left: 0;
    background: white; padding: 12px 0; min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden; transition: all 0.2s;
    border-radius: 2px; flex-direction: column; gap: 0;
}
.main-nav li { position: relative; }
.main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; }
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu a { padding: 8px 20px; color: #1B2A4E !important; display: block; }
.main-nav .sub-menu a:hover { background: #f7f3eb; color: #C8102E !important; }

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none; background: none; border: none; padding: 8px;
    flex-direction: column; gap: 5px; cursor: pointer;
}
.mobile-menu-toggle span {
    display: block; width: 24px; height: 2px; background: #1B2A4E;
    transition: all 0.3s;
}
.site-header.header-transparent:not(.scrolled) .mobile-menu-toggle span { background: white; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: #1B2A4E; z-index: 99;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-inner { padding: 100px 30px 40px; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0 0 30px; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu a { display: block; color: white; padding: 16px 0; font-size: 18px; font-weight: 600; }
.mobile-menu a:hover { color: #ff7080; text-decoration: none; }
.mobile-cta { display: inline-block; margin-top: 20px; }


/* ==========================================================================
   3. Section Defaults
   ========================================================================== */

section.section { padding: 100px 0; }
.two-col, .two-col-reverse {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.col-image { position: relative; }
.col-image img {
    width: 100%; height: 100%; object-fit: cover;
    aspect-ratio: 5/6; border-radius: 2px;
}
h2.section-title { font-size: 42px; margin-bottom: 24px; line-height: 1.15; }
.lead-paragraph { font-size: 17px; color: #4a4a4a; line-height: 1.75; margin-bottom: 20px; }


/* ==========================================================================
   4. Generic Page Default (used until front-page.php is built in Phase 2)
   ========================================================================== */

.page-default { min-height: calc(100vh - 400px); }
.page-default h1 { font-size: 36px; margin-bottom: 24px; }
.page-default .entry-content { font-size: 17px; line-height: 1.8; }


/* ==========================================================================
   4.5. Homepage Sections
   ========================================================================== */

/* HERO */
.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}
.hero-image {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(20,32,60,0.92) 0%, rgba(20,32,60,0.82) 45%, rgba(20,32,60,0.55) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 100px; width: 100%; }
.hero-content { max-width: 760px; }
.hero-kicker {
    display: inline-block;
    color: #ff7080;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #C8102E;
}
.hero h1 {
    font-size: 50px; color: white; line-height: 1.12;
    margin-bottom: 22px; font-weight: 700;
    letter-spacing: -0.025em;
}
.hero-sub {
    font-size: 19px; line-height: 1.55;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    max-width: 620px;
    font-weight: 400;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ABOUT INTRO */
.about-intro { background: white; }
.about-intro p { font-size: 17px; line-height: 1.8; color: #4a4a4a; margin-bottom: 20px; }
.about-intro p:last-of-type { margin-bottom: 32px; }

/* WHY IR */
.why-ir { background: #f7f3eb; }
.why-ir .lead-paragraph { margin-bottom: 20px; }
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}
.benefit-tile {
    background: white;
    padding: 20px 22px;
    border-left: 3px solid #C8102E;
    border-radius: 2px;
}
.benefit-tile strong {
    display: block;
    color: #1B2A4E;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}
.benefit-tile span {
    color: #6a6a6a;
    font-size: 13px;
    line-height: 1.5;
}

/* CONDITIONS */
.conditions { background: white; }
.conditions-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.conditions-header p { font-size: 17px; line-height: 1.7; }

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.condition-card {
    background: white;
    border: 1px solid #e6e2d8;
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.condition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(20,32,60,0.12);
    border-color: #C8102E;
    text-decoration: none;
}
.condition-image {
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    position: relative;
}
.condition-image-placeholder { background: #f7f3eb; }
.condition-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(20,32,60,0.1) 0%, rgba(20,32,60,0.3) 100%);
}
.condition-body {
    padding: 22px 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.condition-body h3 {
    font-size: 17px;
    color: #1B2A4E;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 700;
}
.condition-body p {
    font-size: 13.5px;
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.condition-link {
    color: #C8102E;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding-top: 14px;
    border-top: 1px solid #f0ece2;
    transition: all 0.2s;
}
.condition-card:hover .condition-link {
    letter-spacing: 1.2px;
}

/* SPECIALIST */
.specialist { background: #f7f3eb; }
.specialist h2 { margin-bottom: 8px; }
.specialist-credentials {
    font-size: 14px; color: #C8102E; font-weight: 600;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2dac9;
}
.specialist p { font-size: 16px; line-height: 1.8; margin-bottom: 18px; color: #4a4a4a; }

/* FACILITY */
.facility { background: white; }
.facility-carousel { position: relative; aspect-ratio: 5/6; overflow: hidden; border-radius: 2px; }
.carousel-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.carousel-slide.active { opacity: 1; }
.carousel-dots {
    position: absolute; bottom: 20px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 2;
}
.carousel-dot {
    width: 28px; height: 3px; background: rgba(255,255,255,0.4);
    cursor: pointer; transition: background 0.2s;
    border: none; padding: 0;
}
.carousel-dot.active { background: white; }

.facility-content h2 { margin-bottom: 24px; }
.facility-content p { font-size: 16px; line-height: 1.8; margin-bottom: 20px; color: #4a4a4a; }
.address-block {
    background: #f7f3eb;
    padding: 28px 30px;
    border-left: 3px solid #C8102E;
    margin-top: 32px;
}
.address-block-title {
    font-size: 12px; color: #C8102E; font-weight: 700;
    letter-spacing: 1.5px; margin-bottom: 10px;
    text-transform: uppercase;
}
.address-block-text {
    font-size: 18px; color: #1B2A4E; font-weight: 700;
    line-height: 1.5; margin-bottom: 10px;
}
.address-block-meta {
    font-size: 14px; color: #4a4a4a; line-height: 1.6;
}
.address-block-meta a { color: #1B2A4E; font-weight: 600; }

/* REFERRAL */
.referral { background: #1B2A4E; color: white; }
.referral .container { max-width: 880px; }
.referral-content { text-align: center; }
.referral h2 { color: white; font-size: 38px; margin-bottom: 20px; }
.referral p {
    color: rgba(255,255,255,0.85);
    font-size: 17px; line-height: 1.75;
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.referral-buttons {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}


/* ==========================================================================
   4.6. Inner Page Hero (used by About, Diagnostics, FAQ, Contact, etc.)
   ========================================================================== */

.page-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}
.page-hero-image {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(20,32,60,0.92) 0%, rgba(20,32,60,0.85) 100%);
}
body:not(.has-transparent-header) .page-hero,
body.has-solid-header .page-hero {
    /* When header is solid (fixed at top), push the hero down to account for header height */
    padding-top: 90px;
}
.page-hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; width: 100%; }
/* When transparent header is in use, give inner page hero text more room to clear the floating header */
body.has-transparent-header .page-hero .container { padding-top: 140px; }
.page-hero-content { max-width: 800px; }
.page-hero h1 {
    font-size: 48px; color: white; line-height: 1.12;
    margin-bottom: 18px; font-weight: 700;
    letter-spacing: -0.025em;
}
.page-hero .hero-kicker { color: #ff7080; }
.page-hero .hero-sub {
    font-size: 18px; line-height: 1.55;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
}


/* ==========================================================================
   4.7. About Page sections
   ========================================================================== */

.about-difference { background: white; }
.about-howitworks { background: #f7f3eb; }
.about-candidate { background: white; }

.about-howitworks .prose p { margin-bottom: 16px; line-height: 1.8; font-size: 16px; }

.candidate-list {
    list-style: none;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 36px;
}
.candidate-list li {
    padding: 14px 0 14px 32px;
    border-bottom: 1px solid #e2dac9;
    font-size: 15px;
    color: #1B2A4E;
    position: relative;
    font-weight: 500;
}
.candidate-list li::before {
    content: ''; position: absolute; left: 0; top: 18px;
    width: 16px; height: 2px; background: #C8102E;
}


/* ==========================================================================
   4.8. Diagnostics page (uses why-ir style for benefits-list)
   ========================================================================== */

.diag-intro { background: white; }
.diag-service .benefits-list strong { color: #1B2A4E; font-weight: 600; }


/* ==========================================================================
   4.9. FAQ Page
   ========================================================================== */

.faq-page { background: white; }
.faq-container { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
    border-bottom: 1px solid #e2dac9;
}
.faq-question {
    padding: 24px 50px 24px 0;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    color: #1B2A4E;
    list-style: none;
    position: relative;
    display: block;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    color: #C8102E;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s;
}
.faq-item[open] .faq-question::after {
    content: '–';
}
.faq-answer {
    padding: 0 0 24px;
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.75;
}
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }


/* ==========================================================================
   4.10. Contact Page
   ========================================================================== */

.contact-page { background: white; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.contact-info-col h2 { margin-bottom: 16px; }
.contact-info-col .lead-paragraph { margin-bottom: 32px; }

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-info-item {
    padding: 20px 24px;
    background: #f7f3eb;
    border-left: 3px solid #C8102E;
}
.contact-info-item strong {
    display: block;
    font-size: 11px;
    color: #C8102E;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 700;
}
.contact-info-item span,
.contact-info-item a {
    color: #1B2A4E;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
    display: block;
}
.contact-info-item a { display: inline-block; }
.contact-info-item a:hover { color: #C8102E; }
.contact-map-link {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #C8102E !important;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.contact-form-col { }
.contact-form-wrap {
    background: #f7f3eb;
    padding: 40px;
    border-radius: 2px;
}
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea,
.contact-form-wrap select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #d4cdbe;
    border-radius: 2px;
    font-family: inherit;
    color: #1B2A4E;
    background: white;
    margin-bottom: 12px;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus {
    outline: none;
    border-color: #C8102E;
}
.contact-form-wrap label {
    font-size: 13px;
    font-weight: 600;
    color: #1B2A4E;
    margin-bottom: 6px;
    display: block;
}
.contact-form-wrap button,
.contact-form-wrap input[type="submit"] {
    background: #C8102E;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 2px;
}
.contact-form-wrap button:hover,
.contact-form-wrap input[type="submit"]:hover {
    background: #a00d24;
}


/* ==========================================================================
   4.11. Standby pages (Patient Experience, For Doctors)
   ========================================================================== */

.standby-section { background: #f7f3eb; min-height: 50vh; }
.standby-container {
    text-align: center;
    max-width: 720px;
    padding: 60px 24px;
}
.standby-container .section-title { margin-bottom: 24px; }
.standby-container .lead-paragraph { margin-bottom: 40px; }


/* ==========================================================================
   4.12. Image placeholders (when no image set)
   ========================================================================== */

.condition-image-placeholder,
.page-hero-image-placeholder {
    background: linear-gradient(135deg, #1B2A4E 0%, #2a3a64 100%);
    position: relative;
}
.condition-image-placeholder::before,
.page-hero-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(200,16,46,0.18) 0, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0, transparent 50%);
}


/* ==========================================================================
   4.13. Single Condition / Single Procedure
   ========================================================================== */

.condition-content, .procedure-content { background: white; }
.condition-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}
.condition-main .prose p,
.procedure-block .prose p { font-size: 17px; line-height: 1.8; color: #4a4a4a; margin-bottom: 18px; }
.condition-main h3,
.procedure-block h3 {
    font-size: 24px;
    color: #1B2A4E;
    margin: 36px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #C8102E;
    display: inline-block;
}
.condition-symptoms, .condition-treatment {
    margin-top: 40px;
    padding: 24px 28px;
    background: #f7f3eb;
    border-left: 3px solid #C8102E;
}
.condition-symptoms h3, .condition-treatment h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #C8102E;
    border-bottom: none;
    padding-bottom: 0;
    display: block;
}
.procedure-benefits {
    background: #f7f3eb;
    padding: 28px 32px;
    margin: 32px 0;
}
.procedure-benefits .prose p { color: #1B2A4E; }

.condition-sidebar { position: sticky; top: 100px; }
.sidebar-cta {
    background: #1B2A4E;
    padding: 30px;
    color: white;
    border-radius: 2px;
    margin-bottom: 30px;
}
.sidebar-cta h4 { color: white; font-size: 18px; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.sidebar-cta .btn { width: 100%; padding: 14px 20px; }

.sidebar-related {
    background: white;
    border: 1px solid #e6e2d8;
    padding: 24px 26px;
}
.sidebar-related h4 {
    font-size: 12px;
    color: #C8102E;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 700;
}
.sidebar-related ul { list-style: none; padding: 0; margin: 0; }
.sidebar-related li { padding: 10px 0; border-bottom: 1px solid #f0ece2; }
.sidebar-related li:last-child { border-bottom: none; }
.sidebar-related a { color: #1B2A4E; font-size: 14px; font-weight: 600; }
.sidebar-related a:hover { color: #C8102E; text-decoration: none; }


/* ==========================================================================
   5. Footer
   ========================================================================== */

.site-footer { background: #14203c; color: white; padding: 70px 0 32px; }
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px; margin-bottom: 50px;
}
.footer-about p {
    color: rgba(255,255,255,0.8); font-size: 14px;
    line-height: 1.75; margin-top: 20px; margin-bottom: 16px;
}
.footer-about .logo-e,
.footer-about .logo-ndo,
.footer-about .logo-ascular { color: #ff7080; }
.footer-about .logo-v,
.footer-about .logo-solutions { color: white; }

.footer-col h4 {
    color: white; font-size: 13px; font-weight: 700;
    letter-spacing: 2px; margin-bottom: 22px; text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 6px 0; }
.footer-col a {
    color: rgba(255,255,255,0.75); font-size: 14px; transition: color 0.2s;
}
.footer-col a:hover { color: white; text-decoration: none; }

.footer-address { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.7; }
.footer-address strong { color: white; }
.footer-contact-line { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,0.85); }
.footer-contact-line a { color: white; }
.footer-contact-line a:hover { color: #ff7080; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px;
    display: flex; justify-content: space-between; flex-wrap: wrap;
    gap: 12px; font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: white; text-decoration: none; }
.footer-legal-links span { margin: 0 6px; }


/* ==========================================================================
   6. Mobile Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .conditions-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 968px) {
    /* Layout */
    section.section { padding: 70px 0; }
    .two-col, .two-col-reverse { grid-template-columns: 1fr; gap: 40px; }
    .two-col-reverse .col-image { order: -1; }
    h2.section-title { font-size: 30px; }
    .main-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .header-cta { display: none; }

    /* Hero */
    .hero { min-height: 580px; }
    .hero .container { padding-top: 120px; padding-bottom: 80px; }
    .hero-kicker { font-size: 11px; margin-bottom: 18px; }
    .hero h1 { font-size: 36px; margin-bottom: 18px; }
    .hero-sub { font-size: 17px; margin-bottom: 30px; }

    /* Why IR — benefits */
    .benefits-grid { grid-template-columns: 1fr; }

    /* Conditions */
    .conditions-grid { grid-template-columns: 1fr 1fr; }

    /* Referral */
    .referral h2 { font-size: 28px; }

    /* Page hero */
    .page-hero { min-height: 360px; }
    .page-hero h1 { font-size: 32px; }

    /* About candidate list */
    .candidate-list { grid-template-columns: 1fr; gap: 4px; }

    /* Contact grid */
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrap { padding: 28px; }

    /* Single Condition/Procedure */
    .condition-container { grid-template-columns: 1fr; gap: 40px; }
    .condition-sidebar { position: static; }
}
@media (max-width: 580px) {
    .footer-grid { grid-template-columns: 1fr; }
    h2.section-title { font-size: 26px; }
    .container { padding: 0 20px; }
    .hero h1 { font-size: 28px; }
    .hero-sub { font-size: 15px; }
    .conditions-grid { grid-template-columns: 1fr; }
    .referral h2 { font-size: 24px; }
}
