/* ==========================================================================
   Al-SHIFA Dental Clinic — Main Styles
   Premium medical / hygienic / trustworthy
   ========================================================================== */

:root {
  --primary: #118C8B;
  --primary-deep: #086B6B;
  --medical-blue: #3A8DDE;
  --soft-blue: #EAF5FC;
  --light-pink: #FCECEF;
  --soft-pink: #F8DDE5;
  --mint: #E8F7F4;
  --white: #FFFFFF;
  --text: #1F2937;
  --text-secondary: #667085;
  --bg-light: #F8FBFC;
  --border: #E5EEF2;
  --shadow: 0 8px 30px rgba(8, 107, 107, 0.08);
  --shadow-sm: 0 4px 16px rgba(8, 107, 107, 0.06);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 24px;
  --header-h: 78px;
  --topbar-h: 42px;
  --font-heading: "Manrope", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mobile-bar-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-deep);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Focus */
:focus-visible {
  outline: 3px solid var(--medical-blue);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn i {
  transition: transform 0.25s var(--ease);
}

.btn:hover i.fa-arrow-right {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(17, 140, 139, 0.28);
}

.btn--primary:hover {
  background: var(--primary-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary-deep);
}

.btn--outline:hover {
  background: var(--mint);
  color: var(--primary-deep);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--primary-deep);
}

.btn--white {
  background: #fff;
  color: var(--primary-deep);
}

.btn--white:hover {
  background: var(--mint);
  color: var(--primary-deep);
}

.btn--sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Top bar */
.top-bar {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  min-height: var(--topbar-h);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--topbar-h);
}

.top-bar__left,
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
}

.top-bar__item:hover {
  color: #fff;
}

.top-bar__divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}

.clinic-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.clinic-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7DFFB3;
  box-shadow: 0 0 0 3px rgba(125, 255, 179, 0.25);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(17, 140, 139, 0.3);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--primary-deep);
}

.brand__sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  display: block;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-radius: 10px;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--primary-deep);
  background: var(--mint);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section--tight {
  padding: 3.5rem 0;
}

.section--soft {
  background: var(--bg-light);
}

.section--mint {
  background: var(--mint);
}

.section--pink {
  background: var(--light-pink);
}

.section--blue {
  background: var(--soft-blue);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 18ch;
  margin-bottom: 0.85rem;
}

.section__title--wide {
  max-width: 24ch;
}

.section__lead {
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 0;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section__head-text {
  max-width: 640px;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(58, 141, 222, 0.12), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(17, 140, 139, 0.1), transparent 35%),
    var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--primary-deep);
}

.breadcrumb__sep {
  opacity: 0.5;
}

/* Home Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(232, 247, 244, 0.9), transparent),
    radial-gradient(ellipse 40% 50% at 5% 70%, rgba(234, 245, 252, 0.85), transparent),
    linear-gradient(180deg, #FFFFFF 0%, #F8FBFC 100%);
  padding: 3.5rem 0 4rem;
}

.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;
}

.hero__shape--1 {
  width: 320px;
  height: 320px;
  background: var(--mint);
  top: -80px;
  right: 18%;
}

.hero__shape--2 {
  width: 180px;
  height: 180px;
  background: var(--soft-blue);
  bottom: 10%;
  left: 5%;
}

.hero__shape--3 {
  width: 90px;
  height: 90px;
  border: 2px solid rgba(17, 140, 139, 0.2);
  top: 30%;
  left: 42%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--mint);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  max-width: 12ch;
}

.hero__title span {
  display: block;
  color: var(--primary-deep);
}

.hero__text {
  font-size: 1.08rem;
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.hero__chip i {
  color: var(--primary);
}

.hero__chip--rating i {
  color: #F5B301;
}

.hero__media {
  position: relative;
}

.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--soft-blue);
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: -12px;
  bottom: 28px;
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 220px;
}

.hero__badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--primary-deep);
  display: grid;
  place-items: center;
}

.hero__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text);
}

.hero__badge span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Trust strip */
.trust-strip {
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.trust-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--primary-deep);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.trust-card__icon--blue {
  background: var(--soft-blue);
  color: var(--medical-blue);
}

.trust-card__icon--pink {
  background: var(--light-pink);
  color: #C45D7A;
}

.trust-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.trust-card p {
  font-size: 0.88rem;
  margin: 0;
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--soft-blue);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__icon {
  position: absolute;
  left: 1rem;
  bottom: -18px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  color: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  font-size: 1.1rem;
}

.service-card__body {
  padding: 2rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-card__body p {
  font-size: 0.95rem;
  flex: 1;
}

.service-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-deep);
}

.service-card__link i {
  transition: transform 0.25s var(--ease);
}

.service-card__link:hover i {
  transform: translateX(3px);
}

/* About / split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split__media {
  position: relative;
}

.split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
  background: var(--soft-blue);
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__float {
  position: absolute;
  right: -12px;
  bottom: 24px;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.split__float strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--primary-deep);
  font-size: 1.35rem;
}

.split__float span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.feature-list {
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text);
  font-size: 0.98rem;
}

.feature-list i {
  color: var(--primary);
  margin-top: 0.3rem;
}

/* Doctor */
.doctor-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.doctor-card__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--mint);
}

.doctor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-card__tag {
  display: inline-block;
  background: var(--light-pink);
  color: #9B4A5E;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.team-card__photo {
  aspect-ratio: 1;
  background: var(--soft-blue);
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__body {
  padding: 1.35rem;
}

.team-card__body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-card__role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

/* Why choose */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--primary-deep);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.why-card:nth-child(2n) .why-card__icon {
  background: var(--soft-blue);
  color: var(--medical-blue);
}

.why-card:nth-child(3n) .why-card__icon {
  background: var(--light-pink);
  color: #C45D7A;
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-grid--masonry {
  grid-auto-rows: 12px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--soft-blue);
  cursor: pointer;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(8, 107, 107, 0.7));
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery-item:hover .gallery-item__overlay,
.gallery-item:focus-visible .gallery-item__overlay {
  opacity: 1;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Reviews */
.rating-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto;
}

.rating-panel__stars {
  color: #F5B301;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.rating-panel__score {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.rating-panel__meta {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 35%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(8, 107, 107, 0.25);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  max-width: 18ch;
  margin-inline: auto;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 42ch;
  margin: 0 auto 1.75rem;
}

.cta-band .btn-group {
  justify-content: center;
}

/* Map / contact */
.map-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--soft-blue);
  min-height: 360px;
  position: relative;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.map-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 30% 40%, rgba(17, 140, 139, 0.12), transparent 45%),
    var(--soft-blue);
}

.map-placeholder i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.map-placeholder h3 {
  margin-bottom: 0.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-list {
  display: grid;
  gap: 1.15rem;
  margin: 1.5rem 0;
}

.contact-list__item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact-list__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--primary-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-list__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-list__item a,
.contact-list__item span {
  color: var(--text);
  font-weight: 600;
}

.social-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--primary-deep);
}

.social-row a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Forms */
.appt-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font: inherit;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  background: var(--bg-light);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(17, 140, 139, 0.15);
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: #C45D7A;
}

.field-error {
  color: #C45D7A;
  font-size: 0.85rem;
  margin: 0;
}

.form-note {
  font-size: 0.88rem;
  margin: 1rem 0 1.25rem;
}

.form-alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-alert--error {
  background: var(--light-pink);
  color: #9B4A5E;
}

.form-alert--success {
  background: var(--mint);
  color: var(--primary-deep);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Service detail */
.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.detail-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--soft-blue);
  margin-bottom: 2rem;
}

.detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-block {
  margin-bottom: 2rem;
}

.content-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.content-block ol,
.content-block ul.check {
  display: grid;
  gap: 0.65rem;
}

.content-block ol {
  list-style: decimal;
  padding-left: 1.25rem;
}

.content-block ol li,
.content-block ul.check li {
  color: var(--text-secondary);
}

.content-block ul.check li {
  display: flex;
  gap: 0.6rem;
  list-style: none;
}

.content-block ul.check i {
  color: var(--primary);
  margin-top: 0.25rem;
}

.patient-note {
  background: var(--soft-blue);
  border-left: 4px solid var(--medical-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.15rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
}

.sticky-cta {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sticky-cta h3 {
  font-size: 1.15rem;
}

/* Footer */
.site-footer {
  background: #0B3F3F;
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 0;
  margin-top: 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.brand--footer .brand__name {
  color: #fff;
}

.brand--footer .brand__sub {
  color: rgba(255, 255, 255, 0.65);
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.75);
  margin: 1rem 0 0.35rem;
  font-weight: 600;
}

.footer__doctor {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.footer__heading {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.15rem;
}

.footer__links {
  display: grid;
  gap: 0.55rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact {
  display: grid;
  gap: 0.9rem;
}

.footer__contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.85);
}

.footer__contact a:hover {
  color: #fff;
}

.footer__contact i {
  margin-top: 0.3rem;
  color: #7fd4d3;
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer__social a,
.footer__social-muted {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer__social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer__social-muted {
  opacity: 0.45;
  cursor: default;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 1100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease);
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.06);
}

.whatsapp-float__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Mobile bar — hidden on desktop */
.mobile-bar {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 30, 35, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Thank you */
.thank-you {
  text-align: center;
  padding: 4rem 0;
  max-width: 560px;
  margin: 0 auto;
}

.thank-you__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--primary-deep);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}

/* Unverified service badge */
.badge-soft {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background: var(--light-pink);
  color: #9B4A5E;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
