/* ============================================
   Arif Medical & Dental Complex
   Editorial clinical theme — navy / red / white
   ============================================ */

:root {
  --navy: #0b2545;
  --navy-2: #123863;
  --navy-tint: #eef2f7;
  --red: #b5122d;
  --red-2: #8f0e24;
  --white: #ffffff;
  --paper: #fbfbfa;
  --line: #e4e7ee;
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #14213a;
  --muted: #5c6b82;
  --muted-2: #8b96a8;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Segoe UI", sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.07), 0 1px 1px rgba(11, 37, 69, 0.04);
  --shadow-md: 0 14px 34px rgba(11, 37, 69, 0.12);

  --container: 1180px;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

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

.section {
  padding: 108px 0;
  position: relative;
}

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

.section--alt {
  background: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--red);
  display: inline-block;
}

.section-head {
  max-width: 620px;
  margin: 0 0 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.04rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--red-2);
  box-shadow: 0 10px 22px rgba(181, 18, 45, 0.28);
}

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

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn--outline-navy:hover {
  border-color: var(--navy);
  background: var(--navy-tint);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--navy:hover {
  background: var(--navy-2);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.btn--block {
  width: 100%;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--red);
  z-index: 1200;
  transition: width 0.1s linear;
}

/* ---------- Top strip ---------- */
.top-strip {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
}

.top-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 16px;
}

.top-strip__contacts {
  display: flex;
  gap: 24px;
}

.top-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}

.top-strip__item:hover {
  color: var(--white);
}

.top-strip__item svg {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.top-strip__tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.top-strip__tag svg {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, height 0.25s ease;
}

.navbar.is-scrolled {
  box-shadow: var(--shadow-sm);
  height: 66px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand__mark svg {
  width: 21px;
  height: 21px;
  color: var(--white);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
}

.brand__text span {
  font-size: 0.68rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--navy);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-panel {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--white);
  z-index: 1090;
  padding: 30px 24px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-panel a {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--navy);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-panel__actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 76px 0 96px;
}

.hero__texture {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}

.hero__badge svg {
  width: 15px;
  height: 15px;
  color: var(--red);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  color: #e8a9ae;
  font-weight: 500;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero__meta-item svg {
  width: 17px;
  height: 17px;
  color: var(--red);
  flex-shrink: 0;
}

/* hero visual — flat panel, no blobs / gradients */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__panel {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1.12;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 40px;
  text-align: center;
}

.hero__panel::before,
.hero__panel::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--red);
  border-style: solid;
}

.hero__panel::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.hero__panel::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.hero__panel-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__panel-icon svg {
  width: 42px;
  height: 42px;
  color: var(--red);
}

.hero__panel strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.hero__panel p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 240px;
}

.hero__panel-divider {
  width: 36px;
  height: 1px;
  background: var(--line-2);
}

.hero__panel-stats {
  display: flex;
  gap: 28px;
}

.hero__panel-stats div {
  text-align: center;
}

.hero__panel-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 600;
}

.hero__panel-stats span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 44px;
  padding-bottom: 44px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: none;
  padding-left: 0;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-item h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 3px;
}

.trust-item p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- About ---------- */
.about .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.about__visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  aspect-ratio: 4 / 4.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  gap: 18px;
}

.about__visual-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__visual-icon svg {
  width: 38px;
  height: 38px;
  color: var(--red);
}

.about__visual strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.about__visual p {
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 220px;
}

.about__visual-rule {
  width: 40px;
  height: 1px;
  background: var(--line);
}

.about__body p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 1.03rem;
}

.about__points {
  margin: 30px 0 36px;
  border-top: 1px solid var(--line);
}

.about__point {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.about__point span.num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 600;
  flex-shrink: 0;
  width: 22px;
}

.about__point strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.about__point p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 38px 32px;
  transition: background 0.25s ease;
}

.service-card:hover {
  background: var(--paper);
}

.service-card__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.service-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Why choose us ---------- */
.why {
  background: var(--navy);
  position: relative;
}

.why .container {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.why .section-head p {
  color: rgba(255, 255, 255, 0.62);
}

.why .eyebrow {
  color: #e8a9ae;
}

.why .eyebrow::before {
  background: #e8a9ae;
}

.why h2 {
  color: var(--white);
}

.why-list {
  border-top: 1px solid var(--line-2);
}

.why-item {
  display: flex;
  gap: 22px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
}

.why-item__num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--red);
  flex-shrink: 0;
  width: 32px;
}

.why-item h3 {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 5px;
}

.why-item p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.87rem;
}

/* ---------- Location ---------- */
.location .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: stretch;
}

.location__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-card {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  gap: 16px;
}

.location-card:last-child {
  border-bottom: 1px solid var(--line);
}

.location-card svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-card strong {
  display: block;
  font-family: var(--font-sans);
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.location-card p,
.location-card a {
  font-size: 0.89rem;
  color: var(--muted);
}

.location-card a:hover {
  color: var(--red);
}

.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
  position: relative;
  filter: grayscale(0.15) contrast(1.02);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  position: absolute;
  inset: 0;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--red);
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 64px 24px;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  max-width: 460px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
  font-size: 0.96rem;
}

.cta-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-banner .btn--navy:hover {
  background: #0a1f3c;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.62);
  padding-top: 76px;
}

.footer .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-2);
}

.footer__brand .brand__mark {
  background: rgba(255, 255, 255, 0.08);
}

.footer__brand .brand__text strong {
  color: var(--white);
}

.footer__brand p {
  margin-top: 18px;
  font-size: 0.89rem;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.45);
}

.footer h4 {
  font-family: var(--font-sans);
  color: var(--white);
  font-weight: 600;
  font-size: 0.94rem;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 13px;
}

.footer-links a {
  font-size: 0.89rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 17px;
  font-size: 0.89rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

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

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

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float svg {
  width: 27px;
  height: 27px;
  color: var(--white);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover {
  background: var(--red);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger .reveal:nth-child(1) { transition-delay: 0.04s; }
.stagger .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger .reveal:nth-child(4) { transition-delay: 0.22s; }
.stagger .reveal:nth-child(5) { transition-delay: 0.28s; }
.stagger .reveal:nth-child(6) { transition-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__badge, .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero__ctas, .hero__meta { justify-content: center; }
  .hero__visual { margin-top: 8px; }

  .about .container { grid-template-columns: 1fr; }
  .about__visual { max-width: 380px; margin: 0 auto; }

  .location .container { grid-template-columns: 1fr; }

  .why .container { grid-template-columns: 1fr; }

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

  .trust-strip .container { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .trust-item:nth-child(2n+1) { border-left: none; }

  .footer .container { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn span.mobile-hide { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .top-strip__contacts { gap: 14px; }
  .top-strip .container { font-size: 0.7rem; flex-wrap: wrap; row-gap: 6px; justify-content: center; text-align: center; }
  .top-strip__tag { display: none; }

  .hero { padding-top: 56px; padding-bottom: 64px; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .hero__meta { flex-direction: column; align-items: center; gap: 14px; }

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

  .trust-strip .container { grid-template-columns: 1fr; }
  .trust-item { border-left: none !important; padding-left: 0; }

  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; width: 100%; }
  .cta-banner__actions .btn { width: 100%; }

  .footer .container { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .wa-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 24px; height: 24px; }
  .to-top { right: 16px; bottom: 78px; width: 38px; height: 38px; }
}

@media (max-width: 400px) {
  .brand__text strong { font-size: 0.92rem; }
  .brand__text span { font-size: 0.6rem; }
}

/* ============================================
   MULTI-PAGE ADDITIONS
   (banners, dropdown nav, doctors, specialities,
    careers, gallery, CEO, states) — tokens only
   ============================================ */

/* ---------- Nav: dropdown ---------- */
.nav-links .has-dropdown {
  position: relative;
}

.nav-links .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  padding: 6px 0;
}

.nav-links .dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-links .has-dropdown:hover .dropdown-toggle svg,
.nav-links .has-dropdown:focus-within .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1120;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.is-tapped .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: background 0.18s ease, color 0.18s ease;
}

.dropdown-menu a:hover {
  background: var(--navy-tint);
  color: var(--red);
}

.mobile-panel .mobile-group-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 20px 0 4px;
  border-bottom: none;
}

.mobile-panel a.mobile-sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  padding: 12px 0 12px 16px;
  color: var(--muted);
}

/* ---------- Interior page banner + breadcrumb ---------- */
.page-banner {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 62px 0 58px;
}

.page-banner__texture {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.breadcrumb a:hover { color: var(--white); }
.breadcrumb span.sep { color: rgba(255, 255, 255, 0.3); }
.breadcrumb span.current { color: #e8a9ae; }

.page-banner h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.04rem;
  max-width: 560px;
}

/* ---------- Filter tabs (doctors) ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  transition: all 0.2s ease;
}

.filter-tab:hover { border-color: var(--navy); }

.filter-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.filter-tab .count {
  opacity: 0.55;
  font-size: 0.8rem;
  margin-left: 4px;
}

/* ---------- Doctors grid ---------- */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.doctor-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

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

.doctor-card__photo {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background: var(--navy-tint);
  overflow: hidden;
}

.doctor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-card__photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  opacity: 0.25;
}

.doctor-card__photo-fallback svg { width: 64px; height: 64px; }

.doctor-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(11, 37, 69, 0.9);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.doctor-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doctor-card__body h3 {
  font-size: 1.12rem;
  margin-bottom: 4px;
}

.doctor-card__specialty {
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.doctor-card__quals {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 8px;
  padding-bottom: 16px;
  flex: 1;
}

.doctor-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 18px;
}

.doctor-card__meta-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.83rem;
  color: var(--muted);
}

.doctor-card__meta-item svg {
  width: 15px;
  height: 15px;
  color: var(--red);
  flex-shrink: 0;
}

.doctor-card .btn { margin-top: auto; }

/* ---------- Specialities columns ---------- */
.spec-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.spec-group {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}

.spec-group__head {
  background: var(--navy);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.spec-group__head-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-group__head-icon svg { width: 24px; height: 24px; color: #e8a9ae; }

.spec-group__head h2 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.spec-group__head p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.spec-list { padding: 10px 30px 26px; }

.spec-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list .spec-item:last-child { border-bottom: none; }

.spec-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-item__icon svg { width: 18px; height: 18px; color: var(--red); }

.spec-item h3 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--navy);
  margin-bottom: 3px;
}

.spec-item p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Careers ---------- */
.careers-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 860px;
}

.career-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.career-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.career-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--navy-tint);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
}

.career-tag svg { width: 13px; height: 13px; color: var(--red); }

.career-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.career-card__desc {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 560px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy-tint);
  border: 1px solid var(--line);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(transparent, rgba(11, 37, 69, 0.85));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__caption { opacity: 1; }

.gallery-item__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  opacity: 0.2;
}

.gallery-item__fallback svg { width: 48px; height: 48px; }

/* ---------- CEO's message ---------- */
.ceo-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.ceo-portrait {
  position: sticky;
  top: 100px;
}

.ceo-portrait__frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  aspect-ratio: 4 / 4.7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ceo-portrait__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-portrait__fallback { color: var(--navy); opacity: 0.22; }
.ceo-portrait__fallback svg { width: 90px; height: 90px; }

.ceo-portrait__name {
  margin-top: 20px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}

.ceo-portrait__name strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
}

.ceo-portrait__name span {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 600;
}

.ceo-body__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 28px;
  position: relative;
  padding-left: 26px;
  border-left: 3px solid var(--red);
}

.ceo-body p {
  color: var(--muted);
  font-size: 1.04rem;
  margin-bottom: 18px;
}

.ceo-body__sign {
  margin-top: 30px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
}

.ceo-body__sign span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ---------- Values / mission grid (About) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  background: var(--white);
}

.value-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-card__icon svg { width: 22px; height: 22px; color: var(--red); }

.value-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Empty / loading states ---------- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
}

.empty-state svg {
  width: 44px;
  height: 44px;
  color: var(--muted-2);
  margin: 0 auto 14px;
}

.is-hydrating { opacity: 0.5; }

/* ---------- Responsive: additions ---------- */
@media (max-width: 1024px) {
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .ceo-layout { grid-template-columns: 1fr; gap: 36px; }
  .ceo-portrait { position: static; max-width: 380px; }
}

@media (max-width: 860px) {
  .spec-columns { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .doctors-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .career-card { grid-template-columns: 1fr; }
  .career-card .btn { width: 100%; }
  .page-banner { padding: 46px 0 44px; }
  .filter-tabs { gap: 8px; }
  .filter-tab { padding: 9px 16px; font-size: 0.82rem; }
}
