/* ==========================================================================
   Imbewu Wounds & Ostomy Services — public site styles
   Palette and typography carried over from the original website.
   ========================================================================== */

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.25;
  font-weight: 600;
  overflow-wrap: break-word;
}

a { text-decoration: none; color: inherit; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
ul { list-style: none; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Design tokens ---------- */
:root {
  --blue: #2D5D7B;
  --blue-dark: #1E4260;
  --blue-deep: #1A3545;
  --teal: #4F8A8B;
  --teal-light: #6AA8A9;
  --seed: #37A93C;          /* drawn from the logo, used sparingly */
  --seed-dark: #1B7A34;
  --whatsapp: #25D366;
  --grey-bg: #F7F9FA;
  --grey-mid: #E3EAEF;
  --grey-text: #5A6872;
  --white: #FFFFFF;
  --text: #1F2A30;
  --gold: #E0A32E;
  --shadow-sm: 0 2px 12px rgba(45,93,123,0.08);
  --shadow-md: 0 6px 28px rgba(45,93,123,0.12);
  --shadow-lg: 0 12px 48px rgba(45,93,123,0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --header-h: 74px;
}

/* ---------- Layout utilities ---------- */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.section-pad { padding: 84px 0; }
.section-pad-sm { padding: 56px 0; }
.text-center { text-align: center; }
.bg-grey { background: var(--grey-bg); }
.bg-white { background: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 620px;
  margin: 0 auto 48px;
}

.page-head .section-sub { margin-left: 0; margin-right: 0; margin-bottom: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  min-height: 52px;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }

.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--grey-bg); transform: translateY(-1px); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.14); border-color: var(--white); }

.btn-teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-teal:hover { background: #3D7071; border-color: #3D7071; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #1EBE5D; border-color: #1EBE5D; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,0.3); }

.btn-sm { padding: 10px 20px; font-size: 0.87rem; min-height: 42px; }
.btn-sm svg { width: 15px; height: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45,93,123,0.09);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.brand-mark {
  width: 46px; height: 46px;
  background: #fff;
  border: 1px solid var(--grey-mid);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 5px;
  flex-shrink: 0;
  box-shadow: 0 1px 5px rgba(45,93,123,0.07);
}
.brand-mark img { max-height: 100%; width: auto; object-fit: contain; }
.brand-mark .brand-initial {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--seed-dark);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.brand-tagline {
  font-size: 0.67rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.87rem;
  font-weight: 500;
  color: #46535C;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); background: rgba(45,93,123,0.07); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-wa {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--whatsapp);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 50px;
  border: 1.5px solid rgba(37,211,102,0.35);
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.header-wa:hover { background: rgba(37,211,102,0.08); border-color: var(--whatsapp); }
.header-wa svg { width: 16px; height: 16px; }

.hamburger {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--grey-mid);
  border-radius: 10px;
  cursor: pointer;
  color: var(--blue);
  flex-shrink: 0;
}
.hamburger svg { width: 22px; height: 22px; }

/* ---------- Mobile navigation ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,38,48,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 1001;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  background: #fff;
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -12px 0 40px rgba(20,38,48,0.16);
}
body.nav-open .mobile-nav { transform: translateX(0); }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--grey-mid);
  gap: 12px;
}
.mobile-nav-close {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--grey-mid);
  background: none;
  border-radius: 10px;
  cursor: pointer;
  color: var(--blue);
  flex-shrink: 0;
}
.mobile-nav-close svg { width: 20px; height: 20px; }

.mobile-nav-links { padding: 8px 22px; }
.mobile-nav-links a {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 15px 0;
  border-bottom: 1px solid var(--grey-mid);
}
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a.active { color: var(--blue); font-weight: 600; }

.mobile-nav-cta { padding: 12px 22px 28px; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.mobile-nav-contact {
  padding: 18px 22px;
  background: var(--grey-bg);
  border-top: 1px solid var(--grey-mid);
  font-size: 0.86rem;
  color: var(--grey-text);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-contact a { color: var(--blue); font-weight: 600; word-break: break-word; }

main { padding-top: var(--header-h); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #EEF4F8 0%, #F7FAFB 50%, #EFF6F6 100%);
  overflow: hidden;
  padding: 76px 0 68px;
}
.hero::before, .hero::after { content: ''; position: absolute; pointer-events: none; }
.hero::before {
  top: -80px; right: -120px; width: 560px; height: 560px;
  background: radial-gradient(ellipse at center, rgba(79,138,139,0.12) 0%, transparent 70%);
}
.hero::after {
  bottom: -100px; left: -60px; width: 400px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(45,93,123,0.07) 0%, transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,138,139,0.1);
  border: 1px solid rgba(79,138,139,0.25);
  color: var(--teal);
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--seed); border-radius: 50%; flex-shrink: 0; }
.hero h1 {
  font-size: clamp(1.85rem, 4.1vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.022em;
}
.hero-sub { font-size: 1.08rem; color: var(--grey-text); margin-bottom: 34px; max-width: 30em; }
.hero-btns { display: flex; gap: 13px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid rgba(45,93,123,0.1);
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon {
  width: 38px; height: 38px;
  background: var(--white);
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 18px; height: 18px; color: var(--teal); }
.trust-label { font-family: 'Poppins', sans-serif; font-size: 0.79rem; font-weight: 600; color: var(--text); line-height: 1.35; }
.trust-label span { display: block; font-weight: 400; color: var(--grey-text); font-size: 0.72rem; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, #D5E7F2, #C5DFE0);
  aspect-ratio: 4 / 5;
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-card {
  position: absolute;
  bottom: 22px;
  left: -24px;
  background: var(--white);
  border-radius: 14px;
  padding: 15px 19px;
  box-shadow: var(--shadow-lg);
  max-width: 235px;
}
.hero-card-stars { color: var(--gold); font-size: 0.8rem; margin-bottom: 3px; letter-spacing: 1px; }
.hero-card-name { font-family: 'Poppins', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--text); }
.hero-card-role { font-size: 0.75rem; color: var(--teal); font-weight: 600; margin-bottom: 5px; }
.hero-card-note { font-size: 0.72rem; color: var(--grey-text); letter-spacing: 0.02em; }

/* ---------- Page heads (inner pages) ---------- */
.page-head {
  background: linear-gradient(160deg, #EEF4F8, #EFF6F6);
  padding: 62px 0 52px;
}
.page-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 18em; letter-spacing: -0.02em; margin-bottom: 16px; }
.page-head p { font-size: 1.05rem; color: var(--grey-text); max-width: 34em; }

/* ---------- Emergency banner ---------- */
.emergency-banner {
  background: linear-gradient(90deg, rgba(79,138,139,0.09), rgba(45,93,123,0.06));
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.emergency-banner svg { width: 24px; height: 24px; color: var(--teal); flex-shrink: 0; }
.emergency-banner p { font-size: 0.92rem; color: var(--grey-text); }
.emergency-banner strong { color: var(--blue); }
.emergency-banner a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: block;
}
a.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(45,93,123,0.2); }
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(45,93,123,0.1), rgba(79,138,139,0.1));
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; color: var(--blue); }
.service-card h3 { font-size: 1.06rem; font-weight: 700; color: var(--text); margin-bottom: 11px; }
.service-card ul { display: flex; flex-direction: column; gap: 6px; }
.service-card ul li {
  font-size: 0.88rem;
  color: var(--grey-text);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.service-card ul li::before { content: '—'; color: var(--teal); font-weight: 600; flex-shrink: 0; }

/* ---------- Detailed services ---------- */
.service-detail-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.service-detail-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.service-detail-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(45,93,123,0.1), rgba(79,138,139,0.1));
  border-radius: 14px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.service-detail-icon svg { width: 30px; height: 30px; color: var(--blue); }
.service-detail-header h3 { font-size: 1.22rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.service-detail-header p { font-size: 0.93rem; color: var(--grey-text); }
.service-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin-bottom: 26px; }
.service-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--grey-text); }
.service-feature::before { content: '·'; color: var(--teal); font-weight: 700; font-size: 1.4rem; line-height: 1; flex-shrink: 0; }

/* ---------- Timeline (homepage journey) ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.timeline-step { text-align: center; padding: 0 18px; position: relative; }
.timeline-num {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(45,93,123,0.25);
}
.timeline-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 9px; color: var(--text); }
.timeline-step p { font-size: 0.9rem; color: var(--grey-text); }

/* ---------- First visit steps ---------- */
.visit-steps { display: flex; flex-direction: column; gap: 22px; }
.visit-step-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 26px;
  align-items: flex-start;
}
.step-number {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(45,93,123,0.25);
}
.step-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step-content p { font-size: 0.93rem; color: var(--grey-text); }
.step-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.step-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(79,138,139,0.08);
  border: 1px solid rgba(79,138,139,0.2);
  padding: 4px 12px;
  border-radius: 50px;
}
.reassurance-card {
  background: linear-gradient(135deg, rgba(45,93,123,0.05), rgba(79,138,139,0.05));
  border: 1px solid rgba(79,138,139,0.16);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
  margin-top: 42px;
}
.reassurance-card svg { width: 46px; height: 46px; color: var(--teal); margin: 0 auto 14px; }
.reassurance-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.reassurance-card p { font-size: 0.95rem; color: var(--grey-text); max-width: 46em; margin: 0 auto; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-mid);
  display: flex;
  flex-direction: column;
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 13px; letter-spacing: 1px; }
.testimonial-text { font-size: 0.95rem; color: var(--grey-text); font-style: italic; margin-bottom: 20px; line-height: 1.8; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.author-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.88rem; color: var(--text); }
.author-detail { font-size: 0.78rem; color: var(--grey-text); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 56px; align-items: center; }
.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, #D5E7F2, #C5DFE0);
  aspect-ratio: 4 / 5;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.about-content p { color: var(--grey-text); margin-bottom: 18px; }
.credential-block {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 28px;
}
.credential-block h4 {
  font-size: 0.95rem; font-weight: 700; color: var(--blue);
  margin-bottom: 14px; display: flex; align-items: center; gap: 9px;
}
.credential-block h4 svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
.credential-list { display: flex; flex-direction: column; gap: 9px; }
.credential-list li { font-size: 0.88rem; color: var(--grey-text); display: flex; align-items: flex-start; gap: 9px; }
.credential-list li::before { content: '✓'; color: var(--seed); font-weight: 700; flex-shrink: 0; }

.split-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.mission-block {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
}
.mission-block h3 { font-size: 1.25rem; margin-bottom: 12px; }
.mission-block p { font-size: 0.96rem; opacity: 0.93; font-style: italic; }
.aid-block {
  background: rgba(79,138,139,0.06);
  border: 1px solid rgba(79,138,139,0.2);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
}
.aid-block svg { width: 28px; height: 28px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.aid-block h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.aid-block p { font-size: 0.9rem; color: var(--grey-text); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #1E4260 50%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(ellipse, rgba(79,138,139,0.3) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; padding: 66px 0; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,0.82); margin-bottom: 32px; font-size: 1.04rem; }
.cta-btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   ARTICLES
   ========================================================================== */

.articles-toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
/* A flex item will not shrink below its content width unless min-width is
   cleared. Without this the category row makes the whole page scroll
   sideways on a phone instead of scrolling inside itself. */
.articles-toolbar > * { min-width: 0; }
.article-search { display: flex; gap: 8px; flex: 1 1 280px; max-width: 420px; min-width: 0; }
.article-search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-mid);
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.93rem;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.article-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,93,123,0.09); }

.category-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.category-chip {
  font-family: 'Poppins', sans-serif;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--grey-text);
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
}
.category-chip:hover { border-color: var(--teal); color: var(--teal); }
.category-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* --- Article cards ------------------------------------------------------
   The thumbnail sits in a fixed 16:10 frame so the grid stays tidy, and the
   image fills it with object-fit: cover. Because cover scales proportionally
   the picture is never stretched or squashed, whatever shape it started as.
   ---------------------------------------------------------------------- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.articles-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.article-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(45,93,123,0.2); }

.article-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #DEEBF3, #CFE4E4);
  overflow: hidden;
}
.article-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.article-card-media .media-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: rgba(45,93,123,0.35);
}
.article-card-media .media-placeholder svg { width: 42px; height: 42px; }

.article-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--blue);
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}
.article-card-badge.is-featured { background: var(--seed); color: #fff; }

.article-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.article-card-meta {
  font-size: 0.76rem;
  color: var(--grey-text);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.article-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.article-card h3 a:hover { color: var(--blue); }
.article-card p { font-size: 0.89rem; color: var(--grey-text); margin-bottom: 16px; flex-grow: 1; }
.article-card-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-card-link svg { width: 15px; height: 15px; transition: transform var(--transition); }
.article-card:hover .article-card-link svg { transform: translateX(3px); }

/* --- Featured article (homepage / listing lead) --- */
.article-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.article-feature-media {
  aspect-ratio: 16 / 11;
  background: linear-gradient(150deg, #DEEBF3, #CFE4E4);
  overflow: hidden;
}
.article-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.article-feature-body { padding: 34px 34px; display: flex; flex-direction: column; justify-content: center; }
.article-feature-body h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 12px; line-height: 1.32; }
.article-feature-body p { color: var(--grey-text); margin-bottom: 20px; }

/* --- Single article page --- */
.article-header { background: linear-gradient(160deg, #EEF4F8, #EFF6F6); padding: 46px 0 40px; }
.article-breadcrumb { font-size: 0.83rem; color: var(--grey-text); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.article-breadcrumb a { color: var(--blue); font-weight: 600; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-breadcrumb span.sep { color: var(--grey-mid); }

.article-title { font-size: clamp(1.7rem, 3.8vw, 2.6rem); letter-spacing: -0.022em; margin-bottom: 16px; max-width: 20em; }
.article-meta {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.86rem;
  color: var(--grey-text);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; color: var(--teal); }
.article-category-pill {
  background: rgba(79,138,139,0.12);
  color: var(--teal);
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 50px;
}

/* --- Featured image on the article page ---------------------------------
   Three shapes, chosen server-side from the stored dimensions. In every case
   the aspect ratio is preserved exactly; only the frame around it changes.
   ---------------------------------------------------------------------- */
.article-hero-image { margin: 0 0 34px; }
.article-hero-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }

.article-hero-image.is-portrait {
  display: flex;
  justify-content: center;
  background: linear-gradient(160deg, #EEF4F8, #EFF6F6);
  border-radius: var(--radius);
  padding: 22px;
}
.article-hero-image.is-portrait img {
  width: auto;
  max-width: 100%;
  max-height: 620px;
  object-fit: contain;
}
.article-hero-image.is-panorama img { max-height: 460px; object-fit: cover; }
.article-hero-image figcaption { font-size: 0.8rem; color: var(--grey-text); margin-top: 10px; text-align: center; }

/* --- Article body typography --- */
.article-body { font-size: 1.05rem; color: #33424B; line-height: 1.85; }
.article-body > * + * { margin-top: 1.15em; }
.article-body p { max-width: 40em; }
.article-body h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--text);
  margin-top: 2em;
  margin-bottom: 0.1em;
  letter-spacing: -0.015em;
}
.article-body h3 { font-size: 1.15rem; color: var(--text); margin-top: 1.7em; margin-bottom: 0.1em; }
.article-body h4 { font-size: 1.02rem; color: var(--blue); margin-top: 1.5em; }
.article-body ul, .article-body ol { padding-left: 1.4em; max-width: 40em; }
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0.25em;
  top: 0.72em;
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
.article-body ol { list-style: decimal; }
.article-body ol li { margin-bottom: 0.5em; padding-left: 0.25em; }
.article-body ol li::marker { color: var(--teal); font-weight: 700; }
.article-body a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--teal); }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body blockquote {
  border-left: 4px solid var(--teal);
  background: rgba(79,138,139,0.06);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--blue-dark);
  font-size: 1.06rem;
  max-width: 40em;
}
.article-body blockquote p { max-width: none; }
.article-body hr { border: none; border-top: 1px solid var(--grey-mid); margin: 2.4em 0; }

/* Images inside article content: always proportional, never cropped. */
.article-body img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 640px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-left: auto;
  margin-right: auto;
}
.article-body figure { margin: 1.8em 0; text-align: center; }
.article-body figcaption { font-size: 0.83rem; color: var(--grey-text); margin-top: 9px; font-style: italic; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  display: block;
  overflow-x: auto;
}
.article-body th, .article-body td { border: 1px solid var(--grey-mid); padding: 10px 13px; text-align: left; }
.article-body th { background: var(--grey-bg); font-weight: 700; color: var(--text); }
.article-body code {
  background: var(--grey-bg);
  border: 1px solid var(--grey-mid);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.9em;
}
.article-body pre { background: var(--grey-bg); border: 1px solid var(--grey-mid); border-radius: var(--radius-sm); padding: 16px; overflow-x: auto; }
.article-body pre code { border: none; background: none; padding: 0; }

.article-footer {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--grey-mid);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.article-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.article-share span { font-size: 0.84rem; color: var(--grey-text); font-weight: 600; }
.share-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--grey-mid);
  color: var(--grey-text);
  background: none;
  cursor: pointer;
  transition: all var(--transition);
}
.share-btn:hover { border-color: var(--blue); color: var(--blue); background: rgba(45,93,123,0.05); }
.share-btn svg { width: 17px; height: 17px; }

.related-section { background: var(--grey-bg); }

/* --- Pagination --- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--grey-mid);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-text);
  background: var(--white);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .disabled { opacity: 0.4; pointer-events: none; }

.empty-state {
  text-align: center;
  padding: 60px 24px;
  background: var(--white);
  border: 1px dashed var(--grey-mid);
  border-radius: var(--radius);
}
.empty-state svg { width: 46px; height: 46px; color: var(--teal); margin: 0 auto 16px; }
.empty-state h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.empty-state p { color: var(--grey-text); font-size: 0.94rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.contact-form-card > p { font-size: 0.92rem; color: var(--grey-text); margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.form-group .optional { color: var(--grey-text); font-weight: 400; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--grey-bg);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45,93,123,0.09);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6872' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.form-group .field-error { color: #B4342B; font-size: 0.82rem; margin-top: 6px; }
.form-group input.has-error, .form-group textarea.has-error, .form-group select.has-error { border-color: #B4342B; }

.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.privacy-note {
  font-size: 0.79rem;
  color: var(--grey-text);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
  padding: 12px 14px;
  background: rgba(79,138,139,0.05);
  border-radius: var(--radius-sm);
}
.privacy-note svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 0.92rem;
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.form-alert svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; }
.form-alert.success { background: rgba(55,169,60,0.1); border: 1px solid rgba(55,169,60,0.3); color: #1B7A34; }
.form-alert.error { background: rgba(180,52,43,0.08); border: 1px solid rgba(180,52,43,0.25); color: #B4342B; }

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--grey-text);
  font-size: 0.8rem;
}
.form-divider::before, .form-divider::after { content: ''; height: 1px; background: var(--grey-mid); flex: 1; }

.contact-info-card { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.contact-info-item-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(45,93,123,0.1), rgba(79,138,139,0.1));
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info-item-icon svg { width: 21px; height: 21px; color: var(--blue); }
.contact-info-item-icon.wa { background: rgba(37,211,102,0.12); }
.contact-info-item-icon.wa svg { color: var(--whatsapp); }
.contact-info-item h3 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--grey-text);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}
.contact-info-item a, .contact-info-item p { font-size: 0.96rem; color: var(--text); }
.contact-info-item a { color: var(--blue); font-weight: 600; word-break: break-word; }
.contact-info-item a:hover { text-decoration: underline; }
.contact-info-item .wa-link { color: var(--whatsapp); }

.map-card {
  background: linear-gradient(160deg, #D5E7F2, #C5DFE0);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  border: 1px solid var(--grey-mid);
}
.map-card svg { width: 36px; height: 36px; color: rgba(45,93,123,0.55); }
.map-card p { font-size: 0.86rem; color: rgba(45,93,123,0.75); font-weight: 600; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { background: var(--blue-deep); color: rgba(255,255,255,0.8); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 40px; }
.footer-brand .brand-mark { background: rgba(255,255,255,0.95); border-color: transparent; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tagline { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-top: 16px; }
.footer-practice { margin-top: 10px !important; font-size: 0.78rem !important; color: rgba(255,255,255,0.35) !important; }

.footer-col h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.footer-contact-link svg { width: 15px; height: 15px; color: var(--teal-light); flex-shrink: 0; margin-top: 4px; }
.footer-contact-link a { color: rgba(255,255,255,0.78); word-break: break-word; }
.footer-contact-link a:hover { color: #fff; text-decoration: underline; }

.footer-social { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.78);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,0.18); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-disclaimer { max-width: 560px; line-height: 1.65; }
.footer-admin-link { color: rgba(255,255,255,0.3); }
.footer-admin-link:hover { color: rgba(255,255,255,0.6); text-decoration: underline; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(37,211,102,0.4);
  z-index: 900;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  /* Between the tablet and desktop breakpoints the brand, six nav items and
     two buttons no longer fit on one line. The WhatsApp button steps aside
     here — it is still reachable in the hero, the footer and the floating
     button — so the booking button is never clipped. */
  .header-wa { display: none; }
  .main-nav a { padding: 9px 11px; font-size: 0.845rem; }
  .brand-tagline { font-size: 0.63rem; }
}

@media (max-width: 1040px) {
  .main-nav a { padding: 9px 9px; font-size: 0.82rem; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 52px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns, .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-image-frame { max-width: 330px; aspect-ratio: 1 / 1; }
  .hero-card { left: 50%; transform: translateX(-50%); bottom: -18px; text-align: center; }
  .hero-visual { margin-bottom: 24px; }

  .services-grid, .testimonials-grid, .split-2col, .contact-grid { grid-template-columns: 1fr; }
  .service-features { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-image { max-width: 380px; margin: 0 auto; }

  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { display: none; }
  .timeline-step { display: flex; gap: 18px; text-align: left; padding: 0; }
  .timeline-num { width: 52px; height: 52px; font-size: 1.05rem; flex-shrink: 0; margin: 0; }

  .article-feature { grid-template-columns: 1fr; }
  .article-feature-media { aspect-ratio: 16 / 9; }
  .article-feature-body { padding: 26px 24px 30px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 700px) {
  .container { padding: 0 18px; }
  .section-pad { padding: 54px 0; }
  .section-pad-sm { padding: 40px 0; }
  .page-head { padding: 42px 0 38px; }

  .articles-grid, .articles-grid.cols-2 { grid-template-columns: 1fr; }
  .articles-toolbar { flex-direction: column; align-items: stretch; }
  .article-search { max-width: none; }
  .category-filters {
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    /* Both of these are required: min-width lets the row shrink inside the
       toolbar, and max-width stops it growing past the screen. Together they
       keep the scrolling inside this strip instead of on the whole page. */
    min-width: 0;
    max-width: 100%;
    scrollbar-width: thin;
  }

  .service-detail-card { padding: 26px 22px; }
  .service-detail-header { flex-direction: column; gap: 14px; }
  .visit-step-card { flex-direction: column; gap: 16px; padding: 26px 22px; }
  .contact-form-card { padding: 26px 22px; }
  .cta-inner { padding: 50px 0; }
  .cta-btns .btn { width: 100%; }

  .hero-trust {
    gap: 14px;
    flex-direction: column;
    /* Stacked badges align to one another rather than each centring on its own
       width, which left the icons in a ragged column. The group as a whole is
       still centred under the heading. */
    align-items: flex-start;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .emergency-banner { flex-direction: column; align-items: flex-start; gap: 10px; }

  .article-body { font-size: 1rem; }
  .article-hero-image.is-portrait { padding: 12px; }
  .article-hero-image.is-portrait img { max-height: 420px; }
  .article-footer { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }

  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 26px; height: 26px; }
}

@media (max-width: 380px) {
  .brand-tagline { display: none; }
  .brand-name { font-size: 0.95rem; }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  #site-header, .mobile-nav, .nav-overlay, .wa-float, footer, .cta-band, .article-share { display: none !important; }
  main { padding-top: 0; }
  body { color: #000; }
  .article-body { font-size: 11pt; }
}

/* ==========================================================================
   MAP & CONTACT LINES
   ========================================================================== */
.map-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-mid);
  background: linear-gradient(150deg, #DEEBF3, #CFE4E4);
  line-height: 0;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: var(--map-height, 360px);
  border: 0;
}

.contact-info-note {
  font-size: 0.78rem !important;
  color: var(--grey-text) !important;
  margin-top: 3px;
}
.footer-contact-note {
  display: block;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.38);
  margin-top: 2px;
}

@media (max-width: 700px) {
  .map-section-head { flex-direction: column; align-items: stretch; }
  .map-section-head .btn { width: 100%; }
  .map-embed iframe { height: min(var(--map-height, 360px), 300px); }
}
