body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --bg: #f7f4ef;
  --white: #ffffff;
  --text: #14202b;
  --muted: #6d7681;
  --line: rgba(20, 32, 43, 0.1);
  --primary: #af2f2f;
  --primary-dark: #8f2424;
  --navy: #122131;
  --navy-soft: #1b2f45;
  --gold: #cfb27a;
  --glass: rgba(255, 255, 255, 0.14);
  --shadow-lg: 0 30px 80px rgba(17, 30, 45, 0.16);
  --shadow-md: 0 18px 40px rgba(17, 30, 45, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1280px;
  --transition: 0.35s ease;
}

.dept-hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #f7f4ef, #ffffff);
}

.dept-hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  margin-top: 16px;
}

.dept-hero p {
  max-width: 620px;
  margin-top: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.topbar {
  background: linear-gradient(90deg, #ab2d2d 0%, #c03a36 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-right a {
  opacity: 0.92;
  transition: opacity var(--transition);
}

.topbar-right a:hover {
  opacity: 1;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(20, 32, 43, 0.05);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--primary) 0%, #d1534d 100%);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 24px rgba(175, 47, 47, 0.24);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #263341;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
  cursor: pointer;
}

.btn {
  letter-spacing: 0.04em;
}

.btn-primary {
  background: linear-gradient(135deg, #c9302c, #e04a45);
  box-shadow: 0 10px 30px rgba(201,48,44,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #d05149 100%);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(175, 47, 47, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #bc443f 100%);
}

.btn-outline {
  border-color: rgba(18, 33, 49, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
}

.btn-outline:hover {
  border-color: rgba(18, 33, 49, 0.24);
}

.btn-outline-dark {
  border-color: rgba(18, 33, 49, 0.15);
  background: transparent;
  color: var(--navy);
}

.btn-glass {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: transparent;
}

.btn-large {
  padding: 16px 28px;
  font-size: 15px;
}

.glass {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(18, 33, 49, 0.1);
  background: rgba(255, 255, 255, 0.72);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
  display: block;
}

.mobile-nav {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.25s ease;
}

.mobile-nav.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
}

    .mobile-nav.open {
        display: flex;
    }

.hero {
  position: relative;
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: var(--white);
  background: #0f1d2c;
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slider {
  overflow: hidden;
}

.hero-slide {
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.1s ease,
    transform 7s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 19, 30, 0.65) 0%, rgba(10, 19, 30, 0.35) 45%, rgba(10, 19, 30, 0.10) 100%), linear-gradient(180deg, rgba(12, 20, 32, 0.05) 0%, rgba(12, 20, 32, 0.20) 100%);
    z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 130px);
  padding: 80px 0 110px;
}

.eyebrow,
.section-kicker,
.mini-label,
.floating-label,
.news-tag,
.light-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 24px;
}

p {
  font-weight: 300;
  color: #666;
  line-height: 1.7;
}

h1 {
  letter-spacing: -0.03em;
}

h2 {
  letter-spacing: -0.02em;
}

p {
  letter-spacing: 0.01em;
}

.hero h1 {
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 220px));
  gap: 18px;
}

.metric {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.metric strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition:
    background var(--transition),
    transform var(--transition);
}

.slider-control:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.slider-control.prev {
  left: 26px;
}

.slider-control.next {
  right: 26px;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.dot.active {
  background: var(--white);
  transform: scale(1.2);
}

.trust-band {
  position: relative;
  margin-top: -1px;
  background:
    radial-gradient(circle at top left, rgba(207, 178, 122, 0.18), transparent 34%),
    linear-gradient(180deg, #faf7f2 0%, #f6f1ea 100%);
  border-top: 1px solid rgba(20, 32, 43, 0.05);
  border-bottom: 1px solid rgba(20, 32, 43, 0.05);
}

.trust-band-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 180px;
}

.dept-filter {
  display: flex;
  gap: 16px;
  background: white;
  padding: 18px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.dept-filter input,
.dept-filter select {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
}

.mini-label,
.section-kicker {
  color: var(--primary);
}

.sub-hero {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #f7f4ef, #ffffff);
}

.sub-hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  margin-top: 16px;
}

.sub-hero p {
  max-width: 600px;
  margin-top: 16px;
} 

.trust-copy h2,
.section-heading h2,
.split-content h2,
.cta-text h2 {
  margin: 12px 0 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.98;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.trust-points span {
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(18, 33, 49, 0.08);
  box-shadow: 0 10px 22px rgba(18, 33, 49, 0.05);
  font-size: 14px;
  font-weight: 500;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

    .section-heading.centered {
        .doctor-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            align-items: start; /* 🔥 important */
        }

        .card-image {
            width: 100%;
            height: 240px;
            object-fit: cover;
            object-position: 50% 20%;
        }

        .department-card {
            display: flex;
            flex-direction: column;
        }

        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

.section-heading p,
.split-content p,
.signature-card p,
.department-card p,
.experience-card p,
.news-content p,
.cta-text p,
.footer-copy {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.signature-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.signature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 33, 49, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.signature-card:hover,
.department-card:hover,
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.signature-card,
.department-card,
.news-card {
  transition: all 0.35s ease;
}

.signature-card:hover,
.department-card:hover,
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.12);
}
.signature-card.featured {
  grid-row: span 2;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(175, 47, 47, 0.94), rgba(124, 32, 32, 0.98)),
    var(--primary);
  color: var(--white);
}

.signature-card.featured p,
.signature-card.featured a {
  color: rgba(255, 255, 255, 0.84);
}

.signature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  font-size: 26px;
  background: rgba(18, 33, 49, 0.05);
  color: var(--primary);
}

.signature-card.featured .signature-icon {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.department-card a {
    display: inline-block;
    margin-top: 14px;
    font-weight: 600;
    color: var(--primary);
}

.contact-block {
    margin-top: 20px;
}

    .contact-block h3 {
        margin-bottom: 6px;
    }

    .contact-block.highlight {
        background: #f8f4ef;
        padding: 16px;
        border-radius: 16px;
    }

.contact-form {
    background: #fff;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 16px;
}

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border-radius: 10px;
        border: 1px solid #ddd;
    }

.map-wrap {
    margin-top: 20px;
}

.external-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: var(--primary);
}

.signature-card.image-only {
    background: url('/images/diamond.png') center/cover no-repeat;
    min-height: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.doctor-filter {
  display: flex;
  gap: 16px;
  background: white;
  padding: 18px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start; /* 🔥 important */
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: 50% 20%;
}

.department-card {
    display: flex;
    flex-direction: column;
}

.doctor-card {
  background: white;
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.doctor-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
}

.doctor-card span {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin: 6px 0;
}

.doctor-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 600;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.booking-form {
  background: white;
  padding: 30px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: white;
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.info-card.highlight {
  background: var(--primary);
  color: white;
}

.signature-card h3,
.department-card h3,
.experience-card h3,
.news-content h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.signature-card a,
.news-content a {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 700;
}

.signature-card.featured a {
  color: var(--white);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
}

.image-stack {
  position: relative;
}

.img-main {
  min-height: 640px;
  width: 100%;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
}

.floating-card {
  position: absolute;
  right: -18px;
  bottom: 34px;
  max-width: 310px;
  padding: 24px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(18, 33, 49, 0.06);
  backdrop-filter: blur(18px);
}

.floating-card strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
}

.feature-list {
  margin: 34px 0 0;
  display: grid;
  gap: 22px;
}

.feature-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 18px;
  align-items: start;
}

.feature-bullet {
  width: 12px;
  height: 12px;
  margin-top: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #da635c);
  box-shadow: 0 0 0 8px rgba(175, 47, 47, 0.08);
}

.feature-item h4 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--navy);
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .department-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .department-grid {
        grid-template-columns: 1fr;
    }
}

.department-card {
  position: relative;
  min-height: 230px;
  padding: 34px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 1)),
    var(--white);
  border-radius: 26px;
  border: 1px solid rgba(18, 33, 49, 0.06);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.department-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.dept-number {
  display: inline-block;
  margin-bottom: 20px;
  color: rgba(18, 33, 49, 0.28);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 22px;
}

.experience-card {
  min-height: 280px;
  border-radius: 28px;
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
}

.experience-card.dark {
  background: linear-gradient(180deg, #142334 0%, #102030 100%);
  color: var(--white);
}

.experience-card.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.experience-card.light {
  background: linear-gradient(180deg, #ffffff 0%, #faf7f2 100%);
  border: 1px solid rgba(18, 33, 49, 0.06);
}

.image-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(18, 33, 49, 0.06), rgba(18, 33, 49, 0.42)),
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
  overflow: hidden;
}

.image-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 30px;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(18, 33, 49, 0.72));
}

.image-card-overlay p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-panel {
  padding-top: 40px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(207, 178, 122, 0.22), transparent 32%),
    linear-gradient(135deg, #9b2929 0%, #b93232 45%, #742020 100%);
  box-shadow: var(--shadow-lg);
}

.cta-box::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-text h2,
.cta-text p,
.light-kicker {
  color: var(--white);
}

.cta-text p {
  color: rgba(255, 255, 255, 0.84);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  overflow: hidden;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 33, 49, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card img {
  height: 270px;
  width: 100%;
  object-fit: cover;
}

.news-content {
  padding: 26px 26px 30px;
}

.news-tag {
  color: var(--primary);
}

.footer {
  margin-top: 50px;
  background: #111e2b;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  padding: 70px 0 46px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 26px;
}

.footer h4 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 16px;
}

.footer a,
.footer p,
.footer-copy {
  display: block;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-metrics,
  .department-grid,
  .news-grid,
  .signature-grid,
  .experience-grid,
  .split-layout,
  .trust-band-inner,
  .cta-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-points {
    justify-content: flex-start;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .img-main {
    min-height: 480px;
  }

  .signature-card.featured {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 82px 0;
  }

  .topbar-inner {
    padding: 8px 0;
    align-items: flex-start;
  }

  .topbar-left,
  .topbar-right {
    gap: 10px;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .brand-subtitle {
    font-size: 24px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    min-height: 86vh;
    padding: 62px 0 108px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 68px);
    line-height: 0.95;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .slider-control {
    width: 48px;
    height: 48px;
    font-size: 28px;
    top: auto;
    bottom: 80px;
    margin-top: 0;
  }

  .slider-control.prev {
    left: 16px;
  }

  .slider-control.next {
    right: 16px;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -40px 16px 0;
    max-width: none;
  }

  .cta-box {
    padding: 34px 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

    /* FORCE 1 PER ROW */
    .department-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .job-list {
        display: flex;
        flex-direction: column; /* 👈 THIS is the key */
        gap: 20px;
    }

    .department-card {
        overflow: visible !important;
    }

    .card-image {
        width: 100%;
        height: 320px;
        object-fit: cover;
        object-position: 50% 20%;
        border-radius: 16px 16px 0 0;
    }
}