/* ===================================================
   McMurray Dental Care — Main Stylesheet
   =================================================== */

/* === CSS VARIABLES === */
:root {
  --primary:       #c8d566;
  --primary-dark:  #a8b840;
  --primary-light: #dde882;
  --bg:            #d4de82;   /* Main page / services background */
  --bg-light:      #f5f0e0;   /* Hero & location sections */
  --bg-about:      #c5d454;   /* About right panel */
  --dark:          #2a2a2a;
  --text:          #444;
  --muted:         #777;
  --white:         #fff;
  --border:        rgba(42,42,42,.14);
  --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);
  --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; }
body  {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
p { font-size: 1.2rem !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;
}
.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(--dark); border-color: var(--primary); }
.btn-accent:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-2px); }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  background: rgba(245,240,224,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,213,102,.25);
  transition: var(--t);
}
.navbar.scrolled { background: rgba(245,240,224,.98); 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 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;
}
.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 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;
  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);
}
.nav-mobile a:hover { background: rgba(42,42,42,.06); }
.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: 1fr 1fr;
  min-height: 100vh;
  padding-top: 72px;
  background: var(--bg-light);
}
.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(200,213,102,.28);
  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);
  font-style: italic; font-weight: 400;
  color: var(--muted); margin-bottom: 1rem;
}
.hero-desc { font-size: .95rem; color: var(--muted); margin-bottom: 2.5rem; max-width: 380px; line-height: 1.7; }
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; }

.hero-right { position: relative; overflow: hidden; }
.hero-right img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* =====================================================
   ABOUT
   ===================================================== */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 580px; }
.about-left { overflow: hidden; }
.about-left img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.about-left:hover img { transform: scale(1.04); }

.about-right {
  background: var(--bg-about);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 3rem;
  padding-right: max(3rem, calc((100vw - 1280px) / 2 + 2rem));
}
.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; }

/* =====================================================
   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: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 1280px; margin: 0 auto 3.5rem;
}

.srv-card {
  flex: 1 1 260px;
  position: relative;
  height: 480px;
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  background-color: #1a1a1a;
  will-change: flex;
  transition: flex .65s cubic-bezier(.4,0,.2,1);
}
.srv-card:hover { flex: 1.18 1 285px; }

.srv-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .65s cubic-bezier(.4,0,.2,1), opacity .65s cubic-bezier(.4,0,.2,1);
  z-index: 1;
  opacity: .85;
}
.srv-card:hover .srv-bg { transform: scale(1.04); opacity: .6; }

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

.srv-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 28px 28px;
  background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.55) 50%, transparent 100%);
  box-sizing: border-box;
  z-index: 3;
  display: flex; flex-direction: column;
}
.srv-body h3 {
  color: var(--white); font-size: 1.3rem; font-weight: 700;
  margin: 0; line-height: 1.2;
}
.srv-desc {
  color: rgba(255,255,255,.85); font-size: .9rem; line-height: 1.55;
  margin: 0 0 14px 0;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .55s cubic-bezier(.4,0,.2,1), opacity .55s cubic-bezier(.4,0,.2,1), margin-top .55s cubic-bezier(.4,0,.2,1);
}
.srv-card:hover .srv-desc { max-height: 160px; opacity: 1; margin-top: 12px; }

.srv-link {
  display: inline-block;
  padding: 9px 20px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 100px;
  font-size: .92rem; font-weight: 700;
  align-self: flex-start;
  opacity: 0; transform: translateY(6px); margin-top: 0;
  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-light); }
.srv-card:hover .srv-link { opacity: 1; transform: translateY(0); margin-top: 0; }

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

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials { background: var(--dark); padding: 6rem 2rem; }
.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: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 2rem;
  transition: var(--t);
}
.t-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.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: var(--bg-light); }
.location-map { overflow: hidden; }
.location-map iframe { width: 100%; height: 100%; min-height: 460px; border: none; }

.location-info {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 3rem;
  padding-right: max(3rem, calc((100vw - 1280px) / 2 + 2rem));
}
.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(200,213,102,.3);
  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; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: #1c1c1c; color: rgba(255,255,255,.72); }
.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 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; }

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-story { padding: 6rem 2rem; background: var(--bg-light); }
.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: 4/3; object-fit: cover; }

.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: var(--bg-light); border-radius: var(--radius); padding: 2.5rem 2rem; }
.value-icon {
  width: 52px; height: 52px;
  background: rgba(200,213,102,.3);
  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); }

/* =====================================================
   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; }
.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(200,213,102,.25);
}
.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(200,213,102,.35);
  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%; }
}

/* =====================================================
   FADE-UP ANIMATION
   ===================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }
.fade-up:nth-child(5) { transition-delay: .32s; }
.fade-up:nth-child(6) { transition-delay: .40s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .services-grid      { gap: 14px; }
  .srv-card           { height: 400px; }
  .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; }
}

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

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

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

  /* Services */
  .services            { padding: 4rem 1.5rem; }
  .services-grid       { flex-direction: column; gap: 12px; }
  .srv-card            { flex: none; width: 100%; height: 360px; }
  .srv-card:hover      { flex: none; }

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

  /* Location */
  .location            { grid-template-columns: 1fr; }
  .location-map iframe { min-height: 300px; }
  .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         { 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; }

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

@media (max-width: 480px) {
  .hero-actions        { flex-direction: column; gap: .75rem; }
  .hero-actions .btn   { width: 100%; }
  .cta-banner .cta-actions { flex-direction: column; align-items: center; }
  .team-grid           { grid-template-columns: 1fr; }
}
