/* ===================================================
   Excel Dental of Wexford — Main Stylesheet
   =================================================== */

/* === CSS VARIABLES === */
:root {
  --primary:       #cc3366;
  --primary-dark:  #a92550;
  --primary-light: #f3c7d6;
  --bg:            #f5f5f6;
  --bg-light:      #ffffff;
  --bg-about:      #f3c7d6;
  --surface:       #ffffff;
  --surface-alt:   #f8f5f6;
  --dark:          #252329;
  --text:          #414047;
  --muted:         #77747c;
  --white:         #fff;
  --border:        rgba(42,42,42,.14);
  --line-soft:     rgba(42,42,42,.09);
  --shadow-sm:     0 2px 8px rgba(0,0,0,.08);
  --shadow:        0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:     0 14px 44px rgba(0,0,0,.18);
  --shadow-xl:     0 22px 64px rgba(16, 24, 8, .24);
  --radius:        20px;
  --radius-sm:     10px;
  --radius-xs:     6px;
  --ease:          cubic-bezier(.4,0,.2,1);
  --t:             all .3s var(--ease);
  --font-h:        'Playfair Display', Georgia, serif;
  --font-b:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  {
  scroll-behavior: smooth;
  font-size: 17px;
}
body  {
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: #f7f6f7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
p { font-size: 1.3rem !important; }
h1,h2,h3,h4,h5 { font-family: var(--font-h); font-weight: 700; line-height: 1.15; color: var(--dark); }

/* === UTILITIES === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .8rem 2rem;
  border-radius: 100px;
  font-family: var(--font-b);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: var(--t);
  border: 1.5px solid transparent;
  white-space: nowrap;
  touch-action: manipulation;
}
.btn-dark    { background: var(--dark);  color: var(--white); border-color: var(--dark); }
.btn-dark:hover  { background: #3a3a3a; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--dark);  border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-light   { background: var(--white); color: var(--dark);  border-color: var(--white); }
.btn-light:hover { background: var(--bg-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent  { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-accent:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(204,51,102,.18);
  box-shadow: 0 6px 20px rgba(36, 45, 18, .08);
  transition: var(--t);
}
.navbar.scrolled { background: rgba(255,255,255,.99); box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--dark);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon { display: none; }
.nav-logo::before {
  content: '';
  display: block;
  width: 168px;
  height: 62px;
  flex: 0 0 auto;
  background: url('../assets/images/excel-dental-wexford-logo.png') center / contain no-repeat;
}
.nav-logo-text { display: none; }
.nav-logo-icon svg { width: 20px; height: 20px; }
.nav-logo-text .name {
  display: block;
  font-family: var(--font-h);
  font-size: 1rem; font-weight: 700;
  color: var(--dark); line-height: 1.1;
  white-space: nowrap;
}
.nav-logo-text .tagline {
  display: block;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted); line-height: 1;
}

/* Nav menu */
.nav-menu { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.nav-menu a {
  padding: .45rem .9rem;
  border-radius: var(--radius-xs);
  font-size: .95rem; font-weight: 500;
  color: var(--text);
  transition: var(--t);
}
.nav-menu a:hover,
.nav-menu a.active { background: rgba(42,42,42,.08); color: var(--dark); }
.nav-menu a { touch-action: manipulation; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.nav-phone {
  font-size: .95rem; font-weight: 600;
  color: var(--dark);
  display: flex; align-items: center; gap: .3rem;
}
.nav-phone:hover { text-decoration: underline; }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: .5rem;
  margin-left: auto;
  flex-direction: column; gap: 5px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: var(--t);
}

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem 1.5rem;
  flex-direction: column;
  gap: .3rem;
  z-index: 99;
  box-shadow: var(--shadow);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: .7rem 1rem;
  border-radius: var(--radius-xs);
  font-size: .95rem; font-weight: 500;
  color: var(--text); transition: var(--t);
  touch-action: manipulation;
}
.nav-mobile a:hover { background: rgba(42,42,42,.06); }
.nav-mobile a.btn-dark,
.nav-mobile a.btn-dark:hover { color: var(--white); }
.nav-mobile-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .6rem;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 0;
  padding-top: 72px;
  align-items: stretch;
  background:
    linear-gradient(140deg, #ffffff 0%, #fbf3f6 55%, #f8e9ef 100%);
}
.hero-left {
  display: flex;
  align-items: center;
  padding: 5rem 3rem 5rem;
  padding-left: max(3rem, calc((100vw - 1280px) / 2 + 2rem));
}
.hero-text { max-width: 500px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(204,51,102,.12);
  color: var(--dark);
  padding: .35rem 1rem;
  border-radius: 100px;
  font-size: .92rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 1.75rem;
}
.hero-h1 { font-size: clamp(2.8rem,5vw,4.5rem); color: var(--dark); margin-bottom: .5rem; }
.hero-h1 em { font-style: italic; font-weight: 400; }
.hero-tagline {
  font-family: var(--font-h);
  font-size: clamp(1rem,1.8vw,1.25rem) !important;
  font-style: italic; font-weight: 400;
  color: var(--muted); margin-bottom: 1rem;
}
.hero-desc { font-size: .98rem !important; color: var(--muted); margin-bottom: 2rem; max-width: 380px; line-height: 1.65; }
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; }

.hero-right { position: relative; min-width: 0; overflow: hidden; }
.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.22) 100%);
  pointer-events: none;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  filter: saturate(1.08) contrast(1.02);
}

/* =====================================================
   TRUST STRIP
   ===================================================== */
.trust-strip {
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 52%),
    linear-gradient(135deg, #cc3366 0%, #a92550 100%);
  padding: 1.25rem 2rem;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-item {
  border: 1px solid rgba(42,42,42,.16);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.25);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 10px 22px rgba(34,42,14,.15), inset 0 1px 0 rgba(255,255,255,.4);
}

.trust-item h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: .3rem;
}

.trust-item p {
  font-size: .92rem;
  color: rgba(42,42,42,.9);
  line-height: 1.55;
}

/* =====================================================
   ABOUT
   ===================================================== */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 580px; overflow-x: clip; }
.about-left { min-width: 0; overflow: hidden; background: #f8e9ef; }
.about-left img { display: block; width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: 62% center; transition: transform .7s ease; }
.about-left:hover img { transform: scale(1.04); }

.about-right {
  background: linear-gradient(170deg, #f8dce6 0%, #ffffff 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 3rem;
  padding-right: max(3rem, calc((100vw - 1280px) / 2 + 2rem));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 22px 0 36px rgba(125,31,66,.07);
}
.about-right h2 { font-size: clamp(1.75rem,3vw,2.6rem); margin-bottom: 1.5rem; max-width: 440px; }
.about-right p { font-size: .96rem; color: var(--dark); line-height: 1.8; max-width: 480px; margin-bottom: 2.5rem; opacity: .88; }

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.why-us {
  padding: 6rem 1erem;
  background:
    radial-gradient(circle at 85% 18%, rgba(204,51,102,.1) 0%, rgba(204,51,102,0) 42%),
    var(--bg-light);
}

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .7rem;
}

.why-us-intro {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.why-us-intro h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: .75rem;
}

.why-us-sub {
  font-size: 1.05rem !important;
  color: var(--muted);
  line-height: 1.6;
}

.why-us-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.25rem 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--t);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.why-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204,51,102,.12);
  border-radius: 12px;
  flex-shrink: 0;
}

.why-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--dark);
}

.why-card h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--dark);
}

.why-card p {
  font-size: 1.08rem !important;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services { padding: 7rem 2rem; }
/* Services page uses the same section inside its own wrapper */
.services-page-wrap .services { padding: 3rem 2rem 6rem; }
.services-intro { text-align: center; max-width: 560px; margin: 0 auto 4rem; }
.services-intro h2 { font-size: clamp(2rem,3.5vw,3rem); margin-bottom: 1rem; }
.services-intro p { color: var(--muted); font-size: 1.05rem; }

/* Flex-expand card grid (matches original WordPress design) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1280px; margin: 0 auto 3.5rem;
}

.srv-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 330px;
  border-radius: 6px; overflow: hidden;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid rgba(37,35,41,.12);
  box-shadow: 0 10px 24px rgba(37,35,41,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.srv-card:hover { box-shadow: 0 14px 28px rgba(37,35,41,.12); }

.srv-bg {
  position: relative;
  inset: auto;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  margin: 1.5rem auto 0;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  transition: transform .25s ease;
  opacity: 1;
}
.srv-card:hover .srv-bg { transform: scale(1.04); }

/* overlay not needed — gradient is on .srv-body */
.srv-overlay { display: none; }

.srv-body {
  position: relative;
  flex: 1;
  padding: 1rem 1.25rem 1.25rem;
  display: flex; flex-direction: column;
}
.srv-body h3 {
  color: var(--dark); font-size: 1.2rem; font-weight: 700;
  margin: 0; line-height: 1.2;
}
.srv-desc {
  color: var(--muted); font-size: .98rem !important; line-height: 1.55;
  margin: .55rem 0 1rem;
  max-height: none; overflow: visible; opacity: 1;
}
.srv-card:hover .srv-desc { opacity: 1; }

.srv-link {
  display: inline-block;
  padding: 9px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: 4px;
  font-size: .92rem; font-weight: 700;
  align-self: flex-start;
  opacity: 1; transform: none; margin-top: auto;
  transition: opacity .4s .08s cubic-bezier(.4,0,.2,1), transform .4s .08s cubic-bezier(.4,0,.2,1), background .25s ease;
}
.srv-link:hover { background: var(--primary-dark); }
.srv-card:hover .srv-link { opacity: 1; transform: none; margin-top: auto; }

.services-footer { text-align: center; }

/* =====================================================
   CARE OPTIONS
   ===================================================== */
.care-options {
  padding: 5.5rem 2rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f3f6 100%);
}

.care-options-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.3rem;
}

.care-options-main,
.virtual-consult {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 2.1rem 2rem;
  box-shadow: 0 18px 38px rgba(40, 36, 26, .14);
}

.care-options-main h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
  margin-bottom: .9rem;
}

.care-options-main > p {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.care-options-main ul {
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.care-options-main li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .97rem;
  color: var(--text);
}

.care-options-main li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: .52rem;
  background: var(--primary-dark);
  flex-shrink: 0;
}

.care-options-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.virtual-consult {
  background: linear-gradient(165deg, #202020 0%, #2d2d2d 100%);
  color: var(--white);
  border-color: rgba(255,255,255,.08);
  box-shadow: var(--shadow-xl);
}

.virtual-consult h3 {
  color: var(--white);
  font-size: 1.55rem;
  margin-bottom: .65rem;
}

.virtual-consult p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  line-height: 1.62;
  margin-bottom: 1rem;
}

.virtual-consult ol {
  margin: 0 0 1.4rem 1.2rem;
  color: rgba(255,255,255,.9);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.virtual-consult ol li {
  line-height: 1.55;
  font-size: .95rem;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials {
  background:
    radial-gradient(circle at 15% 18%, rgba(204,51,102,.12) 0%, rgba(204,51,102,0) 34%),
    linear-gradient(150deg, #1f1f1f 0%, #252525 60%, #1c1c1c 100%);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) .7px, transparent .7px);
  background-size: 9px 9px;
  opacity: .18;
  pointer-events: none;
}
.testimonials-header { text-align: center; margin-bottom: 3.5rem; }
.testimonials-header h2 { color: var(--white); font-size: clamp(1.75rem,3vw,2.5rem); margin-bottom: .75rem; }
.testimonials-header p  { color: rgba(255,255,255,.45); font-size: 1rem; }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.t-card {
  background: linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 2rem;
  backdrop-filter: blur(2px);
  box-shadow: 0 16px 28px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.13);
  transition: var(--t);
}
.t-card:hover { background: rgba(255,255,255,.13); transform: translateY(-5px); }
.t-stars { color: var(--primary); font-size: .95rem; letter-spacing: 2px; margin-bottom: 1.25rem; }
.t-text  { color: rgba(255,255,255,.8); font-size: .92rem; line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; }
.t-author { display: flex; align-items: center; gap: .75rem; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; color: var(--dark); flex-shrink: 0;
}
.t-name { font-size: .9rem; font-weight: 600; color: var(--white); }
.t-loc  { font-size: .9rem; color: rgba(255,255,255,.4); }

/* =====================================================
   LOCATION
   ===================================================== */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f3f6 100%);
}
.location-map { overflow: hidden; }
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.location-info {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 3rem;
  padding-right: max(3rem, calc((100vw - 1280px) / 2 + 2rem));
  background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.16) 100%);
}
.location-info h2 { font-size: clamp(1.75rem,3vw,2.75rem); margin-bottom: 2.5rem; max-width: 360px; }
.location-info h2 em { font-style: italic; font-weight: 400; }

.info-blocks { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2.5rem; }
.info-block  { display: flex; gap: 1.1rem; align-items: flex-start; }
.info-icon   {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(204,51,102,.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-label { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .35rem; }
.info-value { font-size: 1rem; color: var(--text); line-height: 1.6; }
.info-value a { color: var(--dark); font-weight: 600; }
.info-value a:hover { text-decoration: underline; }

.home-location .location-info {
  min-width: 0;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.home-location { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-x: clip; }
.home-location .location-map { min-width: 0; }
.home-location .eyebrow { color: var(--primary-dark); }
.home-location .location-info h2 { margin-bottom: 1.6rem; max-width: 480px; }
.visit-address { margin-bottom: 1.5rem; }
.visit-address address { font-size: 1.05rem; font-style: normal; line-height: 1.55; }
.visit-address address a { font-weight: 600; }
.visit-phone { display: inline-block; margin-top: .45rem; color: var(--primary-dark); font-weight: 700; }
.visit-hours { max-width: 520px; margin-bottom: 1.5rem; }
.visit-hours h3 { font-family: var(--font-b); font-size: 1rem; margin-bottom: .6rem; }
.visit-hours table { width: 100%; table-layout: fixed; border-collapse: collapse; background: rgba(255,255,255,.78); }
.visit-hours th,
.visit-hours td { padding: .48rem .7rem; border: 1px solid rgba(37,35,41,.12); text-align: left; font-size: .9rem; line-height: 1.35; }
.visit-hours th { width: 42%; font-weight: 600; }
.visit-hours tr:nth-child(even) { background: rgba(204,51,102,.045); }
.visit-appointment { align-self: flex-start; }
.home-location .location-map { min-height: 100%; }
.home-location .location-map iframe { display: block; min-height: 100%; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: linear-gradient(180deg, #1f1f1f 0%, #171717 100%);
  color: rgba(255,255,255,.72);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1.25fr 1.5fr;
  gap: 4rem; max-width: 1280px; margin: 0 auto;
  padding: 5rem 2rem 3.5rem;
}

/* Footer brand */
.footer-brand .f-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.footer-brand .f-logo-icon {
  width: 38px; height: 38px; background: var(--primary); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.footer-brand .f-logo-icon { display: none; }
.footer-brand .f-logo-text { display: none; }
.footer-brand .f-logo::before {
  content: '';
  display: block;
  width: 168px;
  height: 62px;
  flex: 0 0 auto;
  background: url('../assets/images/excel-dental-wexford-logo.png') center / contain no-repeat;
}
.footer-brand .f-logo-icon svg { width: 20px; height: 20px; }
.f-logo-text .name  { display: block; font-family: var(--font-h); font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.f-logo-text .care  { display: block; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.35); }
.footer-brand > p   { font-size: .95rem; line-height: 1.65; max-width: 230px; color: rgba(255,255,255,.48); margin-bottom: 1.75rem; }

.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.footer-social a:hover { background: rgba(255,255,255,.16); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,.6); }

/* Footer cols */
.footer-col h4 {
  font-family: var(--font-b); font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.38); margin-bottom: 1.5rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .85rem; }
.footer-col ul a { font-size: .95rem; color: rgba(255,255,255,.62); transition: var(--t); line-height: 1.5; }
.footer-col ul a:hover { color: var(--white); }
.footer-appt-btn { display: inline-flex; margin-top: 1.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 2rem;
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: .9rem; color: rgba(255,255,255,.28); }

/* =====================================================
   PAGE HEADER (inner pages)
   ===================================================== */
.page-header {
  background: var(--bg-light);
  padding: 9rem 2rem 5rem;
  text-align: center;
}
.page-header .tag {
  display: inline-block;
  font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); margin-bottom: .75rem;
}
.page-header h1 { font-size: clamp(2.5rem,5vw,4rem); margin-bottom: 1rem; }
.page-header p  { font-size: 1.1rem; color: var(--muted); max-width: 500px; margin: 0 auto; }

.sleep-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.sleep-content p,
.sleep-content li { font-size: 1rem !important; line-height: 1.75; }
.sleep-intro { padding-bottom: 2rem; }
.sleep-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .9rem; }
.sleep-content h3 { font-family: var(--font-b); font-size: 1rem; margin: 1.3rem 0 .6rem; }
.sleep-section { padding: 1.8rem 0; border-top: 1px solid var(--border); }
.sleep-content ul,
.sleep-content ol { margin: .5rem 0 0 1.25rem; list-style: disc; }
.sleep-content ol { list-style: decimal; }
.sleep-content li { padding-left: .2rem; margin: .35rem 0; }
.sleep-cta { margin-top: 1.5rem; padding: 2rem; background: #faeaf0; border-left: 4px solid var(--primary); }
.sleep-cta .cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }

@media (max-width: 600px) {
  .sleep-content { padding: 3rem 1.25rem 4rem; }
  .sleep-cta { padding: 1.4rem; }
}

/* =====================================================
   WEXFORD POLICY DOCUMENTS
   ===================================================== */
.legal-page {
  min-height: 100vh;
  background: var(--bg-light);
}
.legal-topbar {
  min-height: 72px;
  padding: 1rem max(2rem, calc((100vw - 1100px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.legal-topbar a { font-family: var(--font-h); font-weight: 700; color: var(--dark); }
.legal-topbar span { color: var(--muted); font-size: .85rem; }
.legal-document {
  max-width: 900px;
  margin: 0 auto;
  padding: 4.5rem 2rem 6rem;
  color: var(--text);
}
.legal-eyebrow {
  color: var(--primary-dark);
  font-size: .8rem !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .65rem;
}
.legal-document h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); margin-bottom: .75rem; }
.legal-effective { color: var(--muted); font-size: .95rem !important; margin-bottom: 1.5rem; }
.legal-scope {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--primary-dark);
  background: rgba(255,255,255,.55);
  font-size: .95rem !important;
  margin-bottom: 2.5rem;
}
.legal-document section { padding: 1.7rem 0; border-top: 1px solid var(--border); }
.legal-document h2 { font-size: 1.4rem; margin-bottom: .9rem; }
.legal-document h3 { font-family: var(--font-b); font-size: 1.05rem; margin: 1.4rem 0 .6rem; }
.legal-document p,
.legal-document li,
.legal-document address {
  font-size: 1rem !important;
  line-height: 1.75;
}
.legal-document p { margin: 0 0 .9rem; }
.legal-document ul { list-style: disc; margin: .4rem 0 1rem 1.35rem; }
.legal-document li { padding-left: .2rem; margin: .35rem 0; }
.legal-document address { font-style: normal; }
.legal-document a { color: #53611b; text-decoration: underline; text-underline-offset: .15em; }
.legal-document a:hover { color: var(--dark); }
.legal-related { display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

@media (max-width: 600px) {
  .legal-topbar { align-items: flex-start; flex-direction: column; padding: 1rem 1.25rem; }
  .legal-document { padding: 3rem 1.25rem 4rem; }
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-story { padding: 6rem 2rem; background: var(--bg-light); overflow-x: clip; }
.about-story-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-story-text h2 { font-size: clamp(1.75rem,3vw,2.5rem); margin-bottom: 1.5rem; }
.about-story-text p  { color: var(--text); line-height: 1.8; margin-bottom: 1.25rem; }
.about-story-img { border-radius: var(--radius); overflow: hidden; }
.about-story-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 24%; }

.values-section { padding: 6rem 2rem; }
.values-header  { text-align: center; max-width: 560px; margin: 0 auto 3rem; }
.values-header h2 { font-size: clamp(2rem,3vw,2.75rem); margin-bottom: 1rem; }
.values-header p  { color: var(--muted); }

.values-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.75rem; max-width: 1100px; margin: 0 auto;
}
.value-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbf3f6 100%);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--line-soft);
  box-shadow: 0 14px 28px rgba(46,42,32,.11);
}
.value-icon {
  width: 52px; height: 52px;
  background: rgba(204,51,102,.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.value-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.value-card p  { font-size: .9rem; color: var(--muted); line-height: 1.65; }

.team-section { padding: 6rem 2rem; background: var(--bg-light); }
.team-header   { text-align: center; max-width: 560px; margin: 0 auto 3.5rem; }
.team-header h2 { font-size: clamp(2rem,3vw,2.75rem); margin-bottom: 1rem; }
.team-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2rem; max-width: 1100px; margin: 0 auto;
}
.team-card { text-align: center; }
.team-photo {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; margin-bottom: 1.25rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3   { font-size: 1.15rem; margin-bottom: .35rem; }
.team-card .role { font-size: .95rem; color: var(--muted); }

/* =====================================================
   TEAM PROFILES PAGE
   ===================================================== */
.team-profiles-section {
  padding: 5rem 2rem 6rem;
  background: var(--bg);
}

.team-profiles-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.team-profiles-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.75rem;
}

.team-profiles-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: .8rem;
}

.team-profiles-intro p {
  color: var(--muted);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.profile-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbf3f6 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(46,42,32,.12);
  transition: var(--t);
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.profile-card--wide {
  grid-column: span 3;
}

.profile-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.profile-card-body {
  padding: 1.2rem 1.2rem 1.35rem;
}

.profile-role {
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}

.profile-name {
  font-size: 1.2rem;
  margin-bottom: .45rem;
}

.profile-card-body p {
  font-size: .96rem;
  color: var(--text);
  line-height: 1.72;
}

.about-team-highlight .team-profiles-intro {
  margin-bottom: 2rem;
}

.about-team-highlight .profile-grid {
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
}

.about-team-highlight .profile-card--wide {
  grid-column: auto;
}

.about-team-highlight .profile-card {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, .9fr);
  align-items: stretch;
}

.about-team-highlight .profile-image {
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
}

.about-team-highlight .profile-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =====================================================
   OFFICE GALLERY PAGE
   ===================================================== */
.office-video-section {
  padding: 2.5rem 2rem 1.5rem;
  background: var(--bg-light);
}

.office-video-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.office-video-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.4rem;
}

.office-video-intro h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: .6rem;
}

.office-video-intro p {
  color: var(--muted);
}

.office-video-wrap {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(46,42,32,.16);
}

.office-tour-video {
  width: 100%;
  max-height: 78vh;
  display: block;
  background: #000;
}

.office-gallery-section {
  padding: 3.5rem 2rem 6rem;
  background: var(--bg-light);
}

.office-gallery-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.office-gallery-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.8rem;
}

.office-gallery-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: .75rem;
}

.office-gallery-intro p {
  color: var(--muted);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.office-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(46,42,32,.12);
  transition: var(--t);
}

.office-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.office-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.office-card-body {
  padding: 1.25rem 1.3rem 1.45rem;
}

.office-card-title {
  font-size: 1.2rem;
  margin-bottom: .45rem;
}

.office-card-body p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text);
}

/* =====================================================
   SERVICES PAGE
   ===================================================== */
.services-list { padding: 4rem 2rem 6rem; max-width: 1100px; margin: 0 auto; }
.service-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.service-item:last-child { border-bottom: none; }
.service-item.rev { direction: rtl; }
.service-item.rev > * { direction: ltr; }

.srv-item-img  { border-radius: var(--radius); overflow: hidden; }
.srv-item-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s ease; }
.srv-item-img:hover img { transform: scale(1.04); }

.srv-item-text .stag { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .75rem; }
.srv-item-text h2 { font-size: clamp(1.5rem,2.5vw,2rem); margin-bottom: 1.25rem; }
.srv-item-text p  { font-size: .95rem; line-height: 1.78; color: var(--text); margin-bottom: 1.5rem; }
.srv-item-text ul {
  list-style: none; display: flex; flex-direction: column; gap: .5rem;
  margin-bottom: 2rem; padding-left: 0;
}
.srv-item-text ul li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .98rem; color: var(--text);
}
.srv-item-text ul li::before {
  content: '';
  display: inline-block; flex-shrink: 0;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary-dark); margin-top: .48rem;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
}
.contact-form-side {
  background: var(--bg-light);
  padding: 5rem 3rem;
  padding-left: max(3rem, calc((100vw - 1280px) / 2 + 2rem));
  display: flex; flex-direction: column; justify-content: center;
}
.contact-form-side h1 { font-size: clamp(2rem,3.5vw,2.75rem); margin-bottom: .75rem; }
.contact-form-side .sub { color: var(--muted); margin-bottom: 2.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.sms-consent { min-width: 0; border: 0; padding: 0; margin: 0; }
.sms-consent legend { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sms-consent-label { display: flex; align-items: flex-start; gap: .6rem; color: var(--muted); font-size: .85rem; font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1.55; cursor: pointer; }
.sms-consent-label input[type="checkbox"] { width: 1rem; height: 1rem; flex-shrink: 0; margin: .2rem 0 0; padding: 0; accent-color: var(--primary-dark); }
.sms-consent-label a { color: var(--primary-dark); text-decoration: underline; }
.form-group label {
  font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-b); font-size: 1rem;
  color: var(--dark); background: var(--white);
  transition: var(--t); outline: none; resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(204,51,102,.18);
}
.form-group textarea { min-height: 130px; }
.form-submit { margin-top: .5rem; }

.contact-info-side {
  background: var(--bg-about);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 3rem;
  padding-right: max(3rem, calc((100vw - 1280px) / 2 + 2rem));
}
.contact-info-side h2 { font-size: clamp(1.75rem,3vw,2.5rem); margin-bottom: 2.5rem; }
.contact-map { border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.contact-map iframe { width: 100%; height: 260px; border: none; }

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
  background: var(--dark); padding: 5rem 2rem; text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.75rem,3vw,2.75rem); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.55); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-banner .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   INDIVIDUAL SERVICE PAGE
   ===================================================== */

/* Hero banner with bg image */
.srv-page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding-top: 72px;
  overflow: hidden;
}
.srv-page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.55);
}
.srv-page-hero-body {
  position: relative;
  max-width: 1280px; width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem 4rem;
}
.srv-page-hero-body .breadcrumb {
  display: flex; align-items: center; gap: .45rem;
  font-size: .9rem; color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
}
.srv-page-hero-body .breadcrumb a { color: rgba(255,255,255,.6); transition: var(--t); }
.srv-page-hero-body .breadcrumb a:hover { color: var(--white); }
.srv-page-hero-body .breadcrumb span { color: rgba(255,255,255,.35); }
.srv-page-hero-body .stag {
  font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--primary-light); margin-bottom: .75rem;
}
.srv-page-hero-body h1 {
  font-size: clamp(2.4rem,5vw,3.75rem);
  color: var(--white); max-width: 680px; margin-bottom: 1rem;
}
.srv-page-hero-body .hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.72);
  max-width: 520px; line-height: 1.7;
}

/* Body layout */
.srv-page-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  max-width: 1180px; margin: 0 auto;
  padding: 6rem 2rem;
  align-items: start;
}
.srv-page-content .stag { font-size:.9rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:.75rem; }
.srv-page-content h2 { font-size: clamp(1.6rem,2.5vw,2.2rem); margin-bottom:1.25rem; }
.srv-page-content p { font-size:.96rem;line-height:1.8;color:var(--text);margin-bottom:1.25rem; }
.srv-page-content ul {
  margin: 1.25rem 0 2rem; padding: 0;
  display: flex; flex-direction: column; gap:.55rem;
}
.srv-page-content ul li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: 1rem; color: var(--text);
}
.srv-page-content ul li::before {
  content:'';display:inline-block;flex-shrink:0;
  width:7px;height:7px;border-radius:50%;
  background:var(--primary-dark);margin-top:.5rem;
}
.srv-page-actions { display:flex;gap:.85rem;flex-wrap:wrap;margin-top:.5rem; }

/* Sidebar */
.srv-page-sidebar { display:flex;flex-direction:column;gap:1.5rem; }
.srv-sidebar-img { border-radius:var(--radius);overflow:hidden; }
.srv-sidebar-img img { width:100%;aspect-ratio:4/3;object-fit:cover; }
.srv-info-card {
  background:var(--bg-light);border-radius:var(--radius);
  padding:1.75rem 1.5rem;border:1px solid var(--border);
}
.srv-info-card h4 {
  font-size:.9rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.12em;color:var(--muted);margin-bottom:1.1rem;
}
.srv-info-card ul { display:flex;flex-direction:column;gap:.6rem; margin:0; }
.srv-info-card ul li {
  display:flex;align-items:center;gap:.6rem;
  font-size:.97rem;color:var(--text);
}
.srv-info-card ul li::before {
  content:'✓';flex-shrink:0;
  width:18px;height:18px;border-radius:50%;
  background:rgba(204,51,102,.16);
  display:flex;align-items:center;justify-content:center;
  font-size:.65rem;font-weight:700;color:var(--dark);
}

/* Process steps */
.process-section { background:var(--bg-light);padding:5.5rem 2rem; }
.process-section .section-header {
  text-align:center;max-width:520px;margin:0 auto 3.5rem;
}
.process-section .section-header h2 { font-size:clamp(1.75rem,3vw,2.5rem);margin-bottom:.75rem; }
.process-section .section-header p  { color:var(--muted);font-size:.96rem; }
.process-steps {
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:2rem;max-width:1100px;margin:0 auto;
}
.process-step { text-align:center; }
.step-num {
  width:52px;height:52px;border-radius:50%;
  background:var(--dark);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-h);font-size:1.25rem;font-weight:700;
  margin:0 auto 1.1rem;
}
.process-step h3 { font-size:1rem;margin-bottom:.5rem; }
.process-step p  { font-size:.95rem;color:var(--muted);line-height:1.6; }

/* Related services */
.related-section { padding:5.5rem 2rem; }
.related-section .section-header { text-align:center;max-width:500px;margin:0 auto 3rem; }
.related-section .section-header h2 { font-size:clamp(1.75rem,3vw,2.5rem);margin-bottom:.75rem; }
.related-grid {
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:1.5rem;max-width:1100px;margin:0 auto;
}
.related-card {
  background:var(--bg-light);border-radius:var(--radius);
  overflow:hidden;transition:var(--t);
  border:1px solid var(--border);
}
.related-card:hover { transform:translateY(-4px);box-shadow:var(--shadow); }
.related-card-img { overflow:hidden;aspect-ratio:16/9; }
.related-card-img img { width:100%;height:100%;object-fit:cover;transition:transform .6s ease; }
.related-card:hover .related-card-img img { transform:scale(1.05); }
.related-card-body { padding:1.5rem; }
.related-card-body .stag { font-size:.9rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:.4rem; }
.related-card-body h3 { font-size:1rem;margin-bottom:.5rem; }
.related-card-body p  { font-size:.95rem;color:var(--muted);line-height:1.55;margin-bottom:1rem; }
.related-card-link { font-size:.95rem;font-weight:600;color:var(--dark);display:inline-flex;align-items:center;gap:.3rem; }
.related-card-link:hover { text-decoration:underline; }

/* Responsive overrides */
@media (max-width:900px) {
  .srv-page-body    { grid-template-columns:1fr;gap:2.5rem;padding:4rem 1.5rem; }
  .process-steps    { grid-template-columns:1fr 1fr; }
  .related-grid     { grid-template-columns:1fr 1fr; }
}
@media (max-width:600px) {
  .srv-page-hero    { min-height:380px; }
  .process-steps    { grid-template-columns:1fr; }
  .related-grid     { grid-template-columns:1fr; }
  .srv-page-actions { flex-direction:column; }
  .srv-page-actions .btn { width:100%; }
}

/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */
[data-reveal],
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s cubic-bezier(.4,0,.2,1),
    transform .7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
[data-reveal="fade-left"] { transform: translateX(-40px); }
[data-reveal="fade-right"] { transform: translateX(40px); }
[data-reveal="fade-scale"] { transform: scale(.94); }

[data-reveal].in-view,
.fade-up.in-view {
  opacity: 1;
  transform: none;
}

/* =====================================================
   HERO / PAGE HEADER ENTRANCE
   ===================================================== */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInSlow {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-text > *,
.page-header > *,
.srv-page-hero-body > * {
  animation: heroIn .7s cubic-bezier(.4,0,.2,1) both;
}
.hero-text > *:nth-child(1) { animation-delay: .10s; }
.hero-text > *:nth-child(2) { animation-delay: .22s; }
.hero-text > *:nth-child(3) { animation-delay: .34s; }
.hero-text > *:nth-child(4) { animation-delay: .46s; }
.hero-text > *:nth-child(5) { animation-delay: .58s; }
.page-header > *:nth-child(1) { animation-delay: .10s; }
.page-header > *:nth-child(2) { animation-delay: .24s; }
.page-header > *:nth-child(3) { animation-delay: .38s; }
.srv-page-hero-body > *:nth-child(1) { animation-delay: .10s; }
.srv-page-hero-body > *:nth-child(2) { animation-delay: .26s; }
.srv-page-hero-body > *:nth-child(3) { animation-delay: .42s; }

.hero-right img,
.srv-page-hero {
  animation: fadeInSlow 1.1s ease both;
}
.srv-page-hero-bg { animation: fadeInSlow 1.2s ease both; }

/* =====================================================
   AMBIENT / DECORATIVE MOTION
   ===================================================== */
@keyframes float {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(0, -18px, 0) scale(1.06); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,51,102,0); }
  50%      { box-shadow: 0 0 0 8px rgba(204,51,102,.12); }
}

.hero-left::before,
.cta-banner::before {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,51,102,.18) 0%, rgba(204,51,102,0) 70%);
  filter: blur(10px);
  opacity: .35;
  z-index: 0;
  pointer-events: none;
}
.hero-left { position: relative; }
.hero-left::before { top: 8%; left: -120px; animation: float 11s ease-in-out infinite; }
.cta-banner { position: relative; overflow: hidden; }
.cta-banner::before { bottom: -160px; right: -120px; animation: float 13s ease-in-out infinite; }
.hero-text,
.cta-banner > * { position: relative; z-index: 1; }

.info-icon,
.value-icon {
  animation: pulseGlow 4s ease-in-out infinite;
}
.value-icon:nth-of-type(even) { animation-delay: 2s; }

/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 200;
  transform-origin: 0 50%;
  transform: scaleX(0);
  will-change: transform;
  pointer-events: none;
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal],
  .fade-up,
  .hero-text > *,
  .page-header > *,
  .srv-page-hero-body > *,
  .hero-right img,
  .srv-page-hero,
  .srv-page-hero-bg {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .services-grid      { gap: 14px; }
  .services-grid      { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-inner        { grid-template-columns: 1fr; }
  .why-us-grid        { grid-template-columns: 1fr 1fr; }
  .care-options-inner { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr 1fr; }
  .values-grid        { grid-template-columns: 1fr 1fr; }
  .team-grid          { grid-template-columns: 1fr 1fr; }
  .footer-main        { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .profile-grid       { grid-template-columns: 1fr 1fr; }
  .profile-card--wide { grid-column: span 2; }
  .office-grid        { grid-template-columns: 1fr 1fr; }
  .office-video-section { padding: 2rem 1.5rem 1rem; }
}

@media (max-width: 1024px) {
  .nav-menu,
  .nav-actions .btn,
  .nav-phone           { display: none; }
  .nav-hamburger       { display: flex; }
}

@media (max-width: 768px) {
  html { font-size: 16px; }

  /* Hero */
  .hero                { grid-template-columns: 1fr; }
  .hero-right          { order: -1; width: 100%; height: 55vw; min-height: 280px; max-height: 420px; aspect-ratio: auto; }
  .hero-left           { padding: 3rem 1.5rem; }

  /* About */
  .about               { grid-template-columns: 1fr; }
  .about-left          { height: auto; min-height: 0; }
  .about-right         { padding: 3rem 1.5rem; }

  /* Trust strip */
  .trust-strip         { padding: 1rem 1.5rem; }

  /* Services */
  .services            { padding: 4rem 1.5rem; }
  .services-grid       { grid-template-columns: 1fr; gap: 12px; }
  .srv-card            { min-height: 0; width: 100%; }

  /* Why us + options */
  .why-us              { padding: 4rem 1.5rem; }
  .why-us-grid         { grid-template-columns: 1fr; }
  .care-options        { padding: 4rem 1.5rem; }
  .care-options-main,
  .virtual-consult     { padding: 1.6rem 1.25rem; }

  /* Testimonials */
  .testimonials        { padding: 4rem 1.5rem; }
  .testimonials-grid   { grid-template-columns: 1fr; }

  /* Location */
  .location            { grid-template-columns: 1fr; }
  .location-map iframe { min-height: 300px; }
  .home-location .location-map { min-height: 320px; }
  .home-location .location-map iframe { min-height: 320px; }
  .location-info       { padding: 3rem 1.5rem; }

  /* Footer */
  .footer-main         { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2.5rem; }
  .footer-bottom       { flex-direction: column; align-items: center; padding: 1.5rem; }

  /* Contact */
  .contact-layout      { grid-template-columns: 1fr; }
  .contact-form-side   { padding: 3rem 1.5rem; }
  .contact-info-side   { padding: 3rem 1.5rem; }
  .form-row            { grid-template-columns: 1fr; }

  /* Services page */
  .service-item        { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .service-item.rev    { direction: ltr; }

  /* About page */
  .about-story-inner   { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-story-img     { width: 100%; min-width: 0; }
  .about-story         { padding: 4rem 1.5rem; }
  .values-section,
  .team-section        { padding: 4rem 1.5rem; }
  .values-grid         { grid-template-columns: 1fr; }
  .team-grid           { grid-template-columns: 1fr 1fr; }
  .profile-grid        { grid-template-columns: 1fr; }
  .profile-card--wide  { grid-column: span 1; }
  .about-team-highlight .profile-card {
    grid-template-columns: 1fr;
  }
  .about-team-highlight .profile-image {
    min-height: 240px;
  }
  .team-profiles-section,
  .office-gallery-section { padding: 4rem 1.5rem; }
  .office-video-section { padding: 1.5rem 1.5rem .75rem; }
  .office-video-intro { margin-bottom: 1rem; }
  .office-tour-video { max-height: none; }
  .office-grid         { grid-template-columns: 1fr; }

  /* Page header */
  .page-header         { padding: 7rem 1.5rem 4rem; }
  .cta-banner          { padding: 4rem 1.5rem; }
}

@media (max-width: 480px) {
  p { font-size: clamp(1.08rem, 4.3vw, 1.3rem) !important; }
  .btn { white-space: normal; font-size: .9rem; padding: .7rem 1.2rem; }
  .hero-actions        { flex-direction: column; gap: .75rem; }
  .hero-actions .btn   { width: 100%; }
  .hero-right          { height: 45vw; min-height: 200px; max-height: 320px; }
  .cta-banner .cta-actions { flex-direction: column; align-items: center; }
  .team-grid           { grid-template-columns: 1fr; }
}

@media (hover: none) and (pointer: coarse) {
  .srv-card:hover .srv-bg { transform: none; }
}

@media (max-width: 360px) {
  .container { padding: 0 1rem; }
  .nav-inner { padding: 0 1rem; }
  .hero-left { padding: 2rem 1rem; }
  .about-right { padding: 2rem 1rem; }
  .location-info { padding: 2rem 1.5rem; }
}
