:root {
  --primary: #054e5d;
  --primary-2: #0b6777;
  --accent: #57bf97;
  --accent-soft: #e8f7f1;
  --coral: #e09b8b;
  --warm: #948777;
  --ink: #17343b;
  --muted: #65777b;
  --light: #f6f8f8;
  --white: #fff;
  --line: #dce7e5;
  --shadow: 0 20px 60px rgba(5, 78, 93, 0.12);
  --shadow-sm: 0 10px 28px rgba(5, 78, 93, 0.08);
  --radius: 20px;
  --radius-sm: 13px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Poppins,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.68;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--primary-2);
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: min(1200px, calc(100% - 38px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 9999;
  padding: 10px 16px;
  background: #fff;
  color: #000;
}
.skip-link:focus {
  left: 10px;
}
.top-strip {
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
}
.top-strip .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-strip .group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.top-strip a {
  color: #fff;
}
.top-strip .topbar-report-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.25;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.top-strip .topbar-report-link:hover,
.top-strip .topbar-report-link:focus-visible {
  background: #fff;
  color: var(--primary);
}
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(5, 78, 93, 0.08);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.logo img {
  width: 235px;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}
.navmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.navmenu > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}
.navmenu li {
  position: relative;
}
.navmenu a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
  color: #27434a;
  font-weight: 650;
  font-size: 0.91rem;
  border-radius: 9px;
}
.navmenu a:hover,
.navmenu a.active {
  color: var(--primary);
  background: var(--accent-soft);
}
.navmenu .dropdown > ul {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  display: none;
  min-width: 235px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 30;
}
.navmenu .dropdown:hover > ul,
.navmenu .dropdown.open > ul {
  display: block;
}
.navmenu .dropdown ul a {
  padding: 10px 12px;
}
.mobile-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 1.7rem;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions .header-action-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: none;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.header-actions .header-action-icon:first-child {
  border-color: #9bcdb9;
  background: #f5fbf8;
  color: #168457;
}
.header-actions .header-action-icon:last-child {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.header-actions .header-action-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 17px rgba(5, 78, 93, 0.16);
}
.header-actions .header-action-icon:first-child:hover {
  border-color: #168457;
  background: #eaf7f1;
  color: #0f7048;
}
.header-actions .header-action-icon:last-child:hover {
  border-color: #073f49;
  background: #073f49;
}
.header-actions .header-action-icon:focus-visible {
  outline: 3px solid rgba(87, 191, 151, 0.32);
  outline-offset: 3px;
}
.header-actions .header-action-icon i {
  display: block;
}
.btn,
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 9px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: #033d49;
  color: #fff;
}
.btn-secondary {
  background: var(--accent);
  color: #063a38;
}
.btn-secondary:hover {
  background: #46ae87;
  color: #063a38;
}
.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: #b9d5cf;
}
.btn-outline:hover {
  background: var(--accent-soft);
}
.btn-light {
  background: #fff;
  color: var(--primary);
}
.btn-sm {
  padding: 9px 13px;
  font-size: 0.86rem;
}
.section {
  padding: 82px 0;
}
.light-background {
  background: var(--light);
}
.dark-background {
  background: var(--primary);
  color: #fff;
}
.section-title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}
.section-title .subtitle,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.section-title h2,
.page-title h1,
.hero h1,
.content-title {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  color: var(--primary);
  margin: 0 0 14px;
}
.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}
.dark-background .section-title h2,
.dark-background .section-title .subtitle {
  color: #fff;
}
.dark-background .section-title p {
  color: rgba(255, 255, 255, 0.78);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 142px 0 82px;
  background: linear-gradient(132deg, #f5f8f8 0%, #eef8f4 58%, #fff 100%);
}
.hero:before {
  content: "";
  position: absolute;
  width: 570px;
  height: 570px;
  border-radius: 50%;
  right: -260px;
  top: -260px;
  background: rgba(87, 191, 151, 0.15);
}
.hero:after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  left: -120px;
  bottom: -120px;
  border: 50px solid rgba(224, 155, 139, 0.1);
}
.hero .row {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 55px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 5.7vw, 5.15rem);
  line-height: 0.98;
  color: var(--primary);
  margin: 0 0 22px;
}
.hero .lead {
  font-size: 1.13rem;
  color: #52686e;
  max-width: 720px;
}
.hero-cta {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.hero-stat {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}
.hero-stat strong {
  display: block;
  font-family: Montserrat, sans-serif;
  color: var(--primary);
  font-size: 1.12rem;
}
.hero-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 3px;
}
.hero-image {
  position: relative;
  min-height: 515px;
  border-radius: 30px;
  background: linear-gradient(145deg, #d5f1e6, #fff0ec);
  box-shadow: var(--shadow);
  border: 1px solid rgba(5, 78, 93, 0.1);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}
.hero-image:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 24% 20%,
      rgba(87, 191, 151, 0.58),
      transparent 32%
    ),
    radial-gradient(circle at 78% 65%, rgba(5, 78, 93, 0.2), transparent 35%);
}
.hero-image:after {
  content: "AUTHENTIC LAB PHOTOGRAPHY";
  position: absolute;
  left: 28px;
  top: 25px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}
.photo-brief {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
}
.photo-brief strong {
  display: block;
  color: var(--primary);
  margin-bottom: 4px;
}
.floating-card {
  position: absolute;
  right: -18px;
  top: 54px;
  background: #fff;
  padding: 18px;
  border-radius: 17px;
  box-shadow: var(--shadow);
  max-width: 230px;
  border-left: 4px solid var(--accent);
}
.floating-card strong {
  color: var(--primary);
  display: block;
}
.floating-card span {
  font-size: 0.83rem;
  color: var(--muted);
}
.about-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}
.content-title {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1.08;
  color: var(--primary);
  margin: 0 0 18px;
}
.lead {
  font-size: 1.08rem;
}
.muted {
  color: var(--muted);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 26px;
}
.stat-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.stat-card strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 1.75rem;
  color: var(--primary);
}
.stat-card span {
  color: var(--muted);
  font-size: 0.84rem;
}
.visual-panel {
  min-height: 410px;
  border-radius: 25px;
  background: linear-gradient(145deg, #ddf3eb, #fff5f2);
  border: 1px solid #cce3dc;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.visual-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(87, 191, 151, 0.54),
      transparent 30%
    ),
    radial-gradient(circle at 75% 70%, rgba(5, 78, 93, 0.18), transparent 35%);
}
.visual-panel .photo-brief {
  position: relative;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: 0.25s;
}
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #afd9cc;
}
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 1.45rem;
}
.service-item h3 {
  font-family: Montserrat, sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  margin: 18px 0 9px;
}
.service-item p {
  color: var(--muted);
  margin: 0;
}
.service-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 17px;
  font-weight: 750;
}
.why-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}
.why-visual-panel {
  padding: 0;
  background: #dbe5e1;
}
.why-visual-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  object-position: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 17px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--shadow-sm);
}
.feature-item .icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}
.feature-item h3 {
  font-family: Montserrat, sans-serif;
  color: var(--primary);
  font-size: 1.1rem;
  margin: 0 0 6px;
}
.feature-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 35px;
  padding: 0;
}
.portfolio-filters li {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  background: #fff;
}
.portfolio-filters li.active {
  background: var(--primary);
  color: #fff;
}
.portfolio-list {
  display: grid;
  gap: 28px;
}
.portfolio-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.portfolio-card .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.portfolio-card:nth-child(even) .project-visual {
  order: 2;
}
.project-visual {
  min-height: 305px;
  border-radius: 18px;
  background: linear-gradient(145deg, #d9f2e9, #fff1ed);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  overflow: hidden;
}
.project-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 25%,
      rgba(87, 191, 151, 0.5),
      transparent 32%
    ),
    radial-gradient(circle at 75% 70%, rgba(5, 78, 93, 0.18), transparent 38%);
}
.journey-step-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-visual--full {
  min-height: 305px;
  height: 305px;
  aspect-ratio: auto;
  padding: 0;
}
.project-visual--full .journey-step-image {
  object-fit: cover;
}
.project-details {
  padding: 10px;
}
.project-category {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 850;
}
.project-details h3 {
  font-family: Montserrat, sans-serif;
  font-size: 1.65rem;
  color: var(--primary);
  margin: 14px 0 9px;
}
.project-details p {
  color: var(--muted);
}
.scope-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.scope-tags span {
  padding: 6px 9px;
  background: #f2f5f4;
  border-radius: 8px;
  color: #536a70;
  font-size: 0.76rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 23px;
}
.team-member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.member-img {
  height: 260px;
  background: linear-gradient(145deg, #dff4ec, #fbeeea);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 3rem;
  position: relative;
}
.member-img:after {
  content: "PORTRAIT PLACEHOLDER";
  position: absolute;
  bottom: 16px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}
.member-info {
  padding: 20px;
}
.member-info h4 {
  font-family: Montserrat, sans-serif;
  color: var(--primary);
  margin: 0 0 4px;
}
.member-info > span {
  font-size: 0.82rem;
  color: var(--warm);
  font-weight: 700;
}
.member-info p {
  font-size: 0.86rem;
  color: var(--muted);
}
.care-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.care-card {
  grid-column: auto;
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.care-icon {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(82, 178, 143, 0.42);
  border-radius: 14px;
  background: linear-gradient(145deg, #f4fbf8 0%, #def3eb 100%);
  box-shadow: 0 8px 18px rgba(0, 63, 70, 0.08);
  color: var(--primary);
  font-size: 1.25rem;
}
.care-icon::after {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.care-icon i {
  line-height: 1;
}
.care-card strong {
  display: block;
  margin: 20px 0 8px;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.35;
}
.care-card span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}
.google-reviews {
  margin-top: 72px;
  padding: 34px 0 6px;
  border-top: 1px solid var(--line);
}
.google-reviews-heading,
.google-reviews-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.google-review-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.google-review-label i {
  color: #4285f4;
  font-size: 1rem;
}
.google-reviews-heading h3 {
  margin: 8px 0 0;
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}
.google-rating {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 12px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.google-rating strong {
  grid-row: span 2;
  color: var(--primary);
  font-family: Montserrat, sans-serif;
  font-size: 2.45rem;
  line-height: 1;
}
.google-rating small {
  color: var(--muted);
  font-size: 0.75rem;
}
.review-stars {
  display: flex;
  gap: 3px;
  color: #f4b400;
  font-size: 0.77rem;
}
.review-marquee {
  overflow: hidden;
  margin: 30px calc((100vw - min(100vw - 48px, 1240px)) / -2) 0;
  padding: 4px 0 8px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}
.review-track {
  display: flex;
  width: max-content;
  animation: google-review-marquee 42s linear infinite;
  will-change: transform;
}
.review-marquee:hover .review-track,
.review-marquee:focus-within .review-track {
  animation-play-state: paused;
}
.review-group {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}
.google-review-card {
  width: min(360px, calc(100vw - 58px));
  min-height: 215px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.review-author {
  color: var(--primary);
  font-weight: 750;
}
.review-card-top > i {
  color: #4285f4;
  font-size: 1.05rem;
}
.review-source {
  display: block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.google-review-card blockquote {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}
.google-reviews-footer {
  margin-top: 22px;
}
.google-reviews-footer > span {
  color: var(--muted);
  font-size: 0.76rem;
}
.google-reviews-footer .btn-outline {
  gap: 9px;
  margin-left: auto;
}
@keyframes google-review-marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .review-marquee {
    overflow-x: auto;
    mask-image: none;
  }
  .review-track {
    animation: none;
  }
  .review-group[aria-hidden="true"] {
    display: none;
  }
}
@media (max-width: 1080px) {
  .care-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .care-card,
  .care-card:nth-child(4) {
    grid-column: auto;
  }
  .care-card:nth-child(5) {
    grid-column: 1 / -1;
    width: calc(50% - 9px);
    justify-self: center;
  }
}
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 750;
  color: var(--primary);
}
.faq details p {
  color: var(--muted);
  margin: 0 0 17px;
}
.cta-band {
  background: linear-gradient(115deg, var(--primary), #0c6674);
  color: #fff;
  border-radius: 25px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 {
  font-family: Montserrat, sans-serif;
  margin: 0 0 6px;
}
.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}
.page-title {
  padding: 64px 0 44px;
  background: linear-gradient(135deg, #f5f8f8, #eaf7f2);
  border-bottom: 1px solid var(--line);
}
.page-title .breadcrumbs {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.page-title .breadcrumbs a {
  font-weight: 700;
}
.page-title h1 {
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1;
  color: var(--primary);
  margin: 0 0 14px;
}
.page-title p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.05rem;
}
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: start;
}
.service-hero {
  min-height: 390px;
  border-radius: 23px;
  background: linear-gradient(145deg, #d9f2e9, #fff2ed);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  overflow: hidden;
  margin-bottom: 30px;
}
.service-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 25%,
      rgba(87, 191, 151, 0.55),
      transparent 30%
    ),
    radial-gradient(circle at 75% 70%, rgba(5, 78, 93, 0.18), transparent 38%);
}
.service-description h2,
.service-content h2 {
  font-family: Montserrat, sans-serif;
  color: var(--primary);
  font-size: 2rem;
}
.service-description h3,
.service-content h3 {
  font-family: Montserrat, sans-serif;
  color: var(--primary);
  margin-top: 30px;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 25px 0;
}
.mini-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.mini-card i {
  font-size: 1.35rem;
  color: var(--primary);
}
.mini-card h4 {
  font-family: Montserrat, sans-serif;
  color: var(--primary);
  margin: 10px 0 5px;
}
.mini-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.process-timeline {
  display: grid;
  gap: 12px;
}
.process-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: #f7faf9;
  border-radius: 0 14px 14px 0;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
}
.process-step h4 {
  font-family: Montserrat, sans-serif;
  color: var(--primary);
  margin: 0 0 4px;
}
.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 110px;
}
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h4 {
  font-family: Montserrat, sans-serif;
  color: var(--primary);
  margin: 0 0 14px;
}
.certificate-only-card {
  display: grid;
  min-height: 430px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}
.certificate-only-link {
  display: block;
  width: min(100%, 340px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(3, 34, 38, 0.22);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}
.certificate-only-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 0.71;
  object-fit: contain;
}
.certificate-only-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(4, 38, 42, 0.2);
}
.certificate-only-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.sidebar-list li,
.sidebar-list a {
  color: var(--muted);
}
.sidebar-list a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-widget {
  background: var(--primary);
  color: #fff;
}
.cta-widget h4 {
  color: #fff;
}
.cta-widget p {
  color: rgba(255, 255, 255, 0.78);
}
.contact-details {
  display: grid;
  gap: 16px;
}
.detail-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 15px;
  align-items: start;
}
.detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 1.2rem;
}
.detail-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  font-weight: 800;
}
.detail-value {
  display: block;
  color: var(--primary);
  font-weight: 700;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.field {
  display: grid;
  gap: 7px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-weight: 700;
  color: #29484f;
  font-size: 0.86rem;
}
.field .consent-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  line-height: 1.4;
  cursor: pointer;
}
.field .consent-label input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbdad7;
  border-radius: 9px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(87, 191, 151, 0.18);
  border-color: var(--accent);
}
.form-note,
.form-status {
  font-size: 0.78rem;
  color: var(--muted);
}
.form-status {
  min-height: 1.2em;
  margin-top: 10px;
  font-weight: 600;
}
.form-status.is-success {
  color: #176b4d;
}
.form-status.is-error {
  color: #a52a2a;
}
.form-card button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.7;
}
.online-payment-section {
  padding: 0 0 24px;
}
.online-payment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.online-payment-card h2 {
  margin: 3px 0 2px;
  color: var(--primary);
  font-size: 1.45rem;
}
.online-payment-card p {
  margin: 0;
  color: var(--muted);
}
.online-payment-card .btn-primary {
  flex: 0 0 auto;
}
@media (max-width: 700px) {
  .online-payment-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }
  .online-payment-card .btn-primary {
    width: 100%;
  }
}
.legal-content {
  max-width: 920px;
  margin-inline: auto;
}
.legal-content h2,
.legal-content h3 {
  font-family: Montserrat, sans-serif;
  color: var(--primary);
}
.legal-content .info-box {
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 14px 14px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.value-icon {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  margin-inline: auto;
  place-items: center;
  border: 1px solid rgba(82, 178, 143, 0.48);
  border-radius: 50%;
  background: linear-gradient(145deg, #f6fcf9 0%, #dff3eb 100%);
  box-shadow:
    0 9px 22px rgba(0, 63, 70, 0.1),
    inset 0 0 0 5px rgba(255, 255, 255, 0.58);
  color: var(--primary);
}
.value-icon::after {
  position: absolute;
  right: 1px;
  bottom: 3px;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.value-icon i {
  font-size: 1.45rem;
  line-height: 1;
}
.value-card strong {
  display: block;
  font-family: Montserrat, sans-serif;
  color: var(--primary);
  margin-top: 16px;
}
.value-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 4px;
}
.timeline {
  display: grid;
  gap: 16px;
  margin-top: 25px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: #f8faf9;
}
.timeline-year {
  font-family: Montserrat, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}
.timeline-item h4 {
  margin: 0 0 4px;
  color: var(--primary);
}
.timeline-item p {
  margin: 0;
  color: var(--muted);
}
.footer {
  background: #073e49;
  color: #fff;
  padding-top: 58px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.15fr;
  gap: 35px;
}
.footer-logo img {
  width: 245px;
  filter: brightness(0) invert(1);
}
.footer p,
.footer li,
.footer a {
  color: rgba(255, 255, 255, 0.75);
}
.footer h4 {
  font-family: Montserrat, sans-serif;
  margin-top: 0;
  color: #fff;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer .footer-direction-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 11px 16px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #063e46;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}
.footer .footer-direction-btn:hover {
  background: #72c8a8;
  color: #063e46;
  transform: translateY(-2px);
}
.footer .footer-direction-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.footer-badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.footer-badges span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
}
.footer-bottom {
  margin-top: 45px;
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.78rem;
}
.mobile-cta {
  display: none;
}
.error-page {
  text-align: center;
  padding: 110px 0;
}
.error-number {
  font-family: Montserrat, sans-serif;
  font-size: 9rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 900;
}
@media (max-width: 1080px) {
  .navmenu > ul,
  .header-actions {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .navmenu.mobile-open > ul {
    display: flex;
    position: absolute;
    left: 19px;
    right: 19px;
    top: 82px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .navmenu.mobile-open .dropdown > ul {
    position: static;
    box-shadow: none;
    margin: 4px 0 5px;
    background: #f8faf9;
  }
  .hero .row,
  .about-grid,
  .split-grid,
  .contact-grid,
  .why-intro {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 72px;
  }
  .hero-image {
    min-height: 420px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .container {
    width: min(100% - 26px, 1200px);
  }
  .top-strip .container {
    padding: 7px 0;
  }
  .top-strip .group:first-child span:nth-child(2) {
    display: none;
  }
  .logo img {
    width: 190px;
  }
  .section {
    padding: 62px 0;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero-stats,
  .stats-row,
  .feature-grid,
  .feature-cards,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-card .row {
    grid-template-columns: 1fr;
  }
  .portfolio-card:nth-child(even) .project-visual {
    order: initial;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .mobile-cta {
    position: fixed;
    display: grid;
    grid-template-columns: 1fr 1fr;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
  }
  .mobile-cta a {
    padding: 13px;
    text-align: center;
    font-weight: 800;
    color: #fff;
  }
  .mobile-cta a:first-child {
    background: #1ca66a;
  }
  .mobile-cta a:last-child {
    background: var(--primary);
  }
  body {
    padding-bottom: 50px;
  }
  .floating-card {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 14px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
  }
  .error-number {
    font-size: 6rem;
  }
}

/* Heritage Clinical Editorial redesign */
:root {
  --primary: #073f45;
  --primary-2: #0b5960;
  --accent: #4eaa83;
  --accent-soft: #eaf4ef;
  --coral: #b06f58;
  --warm: #7c756a;
  --ink: #17363a;
  --muted: #637174;
  --light: #f7f5f0;
  --line: #d9dfdc;
  --shadow: 0 12px 34px rgba(7, 63, 69, 0.08);
  --shadow-sm: 0 4px 16px rgba(7, 63, 69, 0.06);
  --radius: 10px;
  --radius-sm: 7px;
}
body {
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: #fffdf9;
  line-height: 1.7;
}
h1,
h2,
h3,
.section-title h2,
.page-title h1,
.hero h1,
.content-title,
.service-item h3,
.project-details h3,
.member-info h4,
.cta-band h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}
.container {
  width: min(1240px, calc(100% - 48px));
}
.top-strip {
  background: #073f45;
  font-size: 0.78rem;
}
.top-strip .container {
  min-height: 34px;
}
.header {
  background: rgba(255, 253, 249, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}
.header-inner {
  min-height: 88px;
  gap: 28px;
}
.logo img {
  width: 250px;
  max-height: 66px;
}
.navmenu > ul {
  gap: 6px;
}
.navmenu a {
  padding: 11px 9px;
  border-radius: 0;
  font-weight: 600;
}
.navmenu a:hover,
.navmenu a.active {
  background: transparent;
  color: var(--primary);
  box-shadow: inset 0 -2px var(--accent);
}
.navmenu .dropdown > ul {
  border-radius: 4px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul a.active {
  background: var(--accent-soft);
  box-shadow: none;
}
.btn,
.btn-primary,
.btn-secondary,
.btn-outline {
  border-radius: 5px;
  padding: 12px 20px;
  box-shadow: none;
  white-space: nowrap;
}
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  transform: none;
}
.btn-primary {
  background: var(--primary);
}
.btn-secondary {
  background: var(--accent);
  color: #062f31;
}
.btn-outline {
  background: transparent;
  border-color: #9eb9b4;
}
.section {
  padding: 90px 0;
}
.light-background {
  background: var(--light);
}
.section-title {
  margin-bottom: 54px;
}
.section-title .subtitle,
.eyebrow {
  letter-spacing: 0.15em;
  font-size: 0.72rem;
}
.section-title h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.04;
}
.hero {
  padding: 44px 0 0;
  background: #f8f6f1;
}
.hero:before,
.hero:after,
.hero-image:before,
.hero-image:after,
.visual-panel:before,
.project-visual:before {
  display: none;
}
.hero .row {
  grid-template-columns: 0.98fr 1.02fr;
  gap: 46px;
  align-items: stretch;
}
.hero .row > div:first-child {
  padding: 34px 0 52px;
}
.hero h1 {
  font-size: clamp(3.1rem, 4.8vw, 4.75rem);
  font-weight: 500;
  line-height: 0.96;
  max-width: 680px;
}
.hero .lead {
  font-size: 1.05rem;
  max-width: 640px;
  color: #56666a;
}
.hero-image {
  min-height: 520px;
  border-radius: 0;
  background-color: #dbe5e1;
  background-image: url("../img/hero-gk1-reception-welcome-cropped-v3.webp");
  background-position: left center;
  background-size: auto 94%;
  background-repeat: no-repeat;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.photo-brief {
  display: none !important;
}
.floating-card {
  display: none;
}
.hero-stats {
  gap: 0;
  border: 0;
}
.hero-stat {
  padding: 17px 20px;
  background: transparent;
  border: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: none;
}
.hero-stat:last-child {
  border-right: 0;
}
.hero-stat strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}
.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.hero-stat {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 112px;
  padding: 18px;
}
.hero-stat-badge {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 154px;
  place-items: center;
  overflow: hidden;
  padding: 8px 12px;
  background: transparent;
}
.hero-stat-badge img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 136px;
  object-fit: contain;
}
.hero-stat-accreditation {
  grid-column: auto;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 4px;
  min-height: 154px;
  padding: 10px 10px 12px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  background: transparent;
}
.hero-stat:nth-child(2) {
  border-right: 0;
}
.hero-stat-accreditation-mark {
  display: block;
  width: min(100%, 190px);
  height: 112px;
  object-fit: contain;
  filter: none;
}
.hero-stat-accreditation > strong {
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
}
.hero-stat-badge:nth-child(2) img {
  transform: none;
}
.service-grid {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-item {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 34px 28px;
  box-shadow: none;
  background: #fffdf9;
}
.service-item:nth-child(3n) {
  border-right: 0;
}
.service-item:hover {
  transform: none;
  box-shadow: none;
  background: var(--light);
}
.service-icon,
.icon-wrapper,
.detail-icon {
  border-radius: 50%;
}
.visual-panel,
.service-hero {
  background: #dbe5e1 url("../img/hero-pathologist.webp") center/cover no-repeat;
  border-radius: 5px;
  box-shadow: none;
  border: 0;
}
.project-visual {
  background: #e7eeeb;
  border-radius: 5px;
  box-shadow: none;
  border: 0;
}
.patient-service-section .service-item {
  --service-icon-color: #08775f;
  --service-icon-bg: #e7f6ef;
}
.patient-service-section .service-item:nth-child(2) {
  --service-icon-color: #176d81;
  --service-icon-bg: #e7f3f6;
}
.patient-service-section .service-item:nth-child(3) {
  --service-icon-color: #a65a50;
  --service-icon-bg: #fbefec;
}
.patient-service-section .service-item:nth-child(4) {
  --service-icon-color: #a66b24;
  --service-icon-bg: #fbf2e4;
}
.patient-service-section .service-item:nth-child(5) {
  --service-icon-color: #346b56;
  --service-icon-bg: #ebf4ef;
}
.patient-service-section .service-item:nth-child(6) {
  --service-icon-color: #515d8d;
  --service-icon-bg: #eef0f8;
}
.patient-service-section .service-icon {
  position: relative;
  width: 58px;
  height: 58px;
  overflow: visible;
  border: 1px solid color-mix(in srgb, var(--service-icon-color) 24%, white);
  border-radius: 18px;
  background: var(--service-icon-bg);
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.54),
    0 9px 20px rgba(5, 78, 93, 0.08);
  color: var(--service-icon-color);
  font-size: 1.42rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}
.patient-service-section .service-icon::after {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 16px;
  height: 16px;
  border: 3px solid #fffdf9;
  border-radius: 50%;
  background: var(--service-icon-color);
  content: "";
}
.patient-service-section .service-icon i {
  position: relative;
  z-index: 1;
  line-height: 1;
}
.patient-service-section .service-item:hover .service-icon {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.64),
    0 13px 25px rgba(5, 78, 93, 0.13);
}
.feature-grid {
  gap: 0;
  border: 1px solid var(--line);
}
.feature-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 26px;
}
.feature-item:nth-child(even) {
  border-right: 0;
}
.feature-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.portfolio-list {
  gap: 0;
}
.portfolio-card {
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--line);
  box-shadow: none;
  padding: 30px 0;
}
.portfolio-card:last-child {
  border-bottom: 1px solid var(--line);
}
.mini-card,
.stat-card,
.value-card,
.sidebar-widget,
.form-card,
.team-member {
  border-radius: 6px;
  box-shadow: none;
}
.cta-band {
  border-radius: 6px;
  background: var(--primary);
}
.page-title {
  padding: 74px 0 58px;
  background: #f3f5f1;
}
.page-title h1 {
  font-weight: 500;
}
.service-hero {
  min-height: 430px;
}
.sidebar {
  top: 130px;
}
.form-card {
  border-top: 4px solid var(--accent);
}
.field input,
.field select,
.field textarea {
  border-radius: 4px;
  background: #fffdf9;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(78, 170, 131, 0.22);
  outline-offset: 1px;
}
.footer {
  background: #07373d;
}
.footer-badges span {
  border-radius: 3px;
}
.member-img {
  display: none;
}
.team-member {
  border-top: 3px solid var(--accent);
}
body.menu-open {
  overflow: hidden;
}
@media (max-width: 1080px) {
  .hero .row {
    grid-template-columns: 1fr;
  }
  .hero .row > div:first-child {
    padding: 20px 0 48px;
  }
  .hero-image {
    min-height: 480px;
    margin-inline: -24px;
  }
  .service-item:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
  .service-item:nth-child(even) {
    border-right: 0;
  }
  .navmenu.mobile-open > ul {
    top: 88px;
    border-radius: 4px;
    max-height: calc(100vh - 120px);
    overflow: auto;
  }
}
@media (max-width: 700px) {
  .container {
    width: min(100% - 30px, 1240px);
  }
  .top-strip .container {
    min-height: 42px;
  }
  .top-strip .group:first-child {
    display: none;
  }
  .top-strip .group {
    gap: 10px;
  }
  .top-strip .group:last-child {
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .top-strip .topbar-report-link {
    padding: 4px 8px;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .header-inner {
    min-height: 76px;
  }
  .logo img {
    width: 190px;
  }
  .hero {
    padding-top: 42px;
  }
  .hero h1 {
    font-size: 3.05rem;
    line-height: 0.96;
  }
  .hero .lead {
    font-size: 1rem;
  }
  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-cta a {
    width: 100%;
  }
  .care-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .care-card,
  .care-card:nth-child(4),
  .care-card:nth-child(5) {
    grid-column: auto;
    width: 100%;
    min-height: 0;
    padding: 22px;
  }
  .google-reviews {
    margin-top: 52px;
    padding-top: 28px;
  }
  .google-reviews-heading,
  .google-reviews-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .google-rating {
    padding: 0;
    border: 0;
  }
  .review-marquee {
    margin-inline: -15px;
    mask-image: linear-gradient(
      to right,
      transparent,
      #000 3%,
      #000 97%,
      transparent
    );
  }
  .google-reviews-footer {
    gap: 14px;
  }
  .google-reviews-footer .btn-outline {
    width: 100%;
    margin-left: 0;
  }
  .certificate-only-card {
    min-height: 0;
    padding: 0;
  }
  .certificate-only-link {
    width: min(100%, 290px);
  }
  .hero-image {
    min-height: 390px;
    margin-inline: -15px;
    background-position: left center;
    background-size: auto 94%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 96px;
    padding: 17px 18px;
  }
  .hero-stat-badge {
    grid-template-columns: 1fr;
    min-height: 142px;
    padding: 8px 16px;
  }
  .hero-stat-badge img {
    max-width: 210px;
    height: 124px;
  }
  .hero-stat-accreditation {
    grid-column: auto;
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 0;
  }
  .hero-stat-accreditation-mark {
    width: min(100%, 210px);
    height: 112px;
  }
  .hero-stat:last-child {
    border-bottom: 0;
  }
  .service-grid {
    display: block;
  }
  .service-item {
    border-right: 0 !important;
  }
  .section {
    padding: 68px 0;
  }
  .section-title {
    text-align: left;
    margin-bottom: 38px;
  }
  .feature-grid {
    display: block;
  }
  .feature-item {
    border-right: 0;
    border-bottom: 1px solid var(--line) !important;
  }
  .feature-item:last-child {
    border-bottom: 0 !important;
  }
  .mobile-cta {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
  }
  .mobile-cta a {
    padding: 12px;
  }
  .mobile-cta a:first-child {
    background: #198b62;
  }

  /* Compact, overflow-safe home hero on phones. */
  .hero {
    padding-top: 24px;
    overflow: hidden;
  }
  .hero .row {
    width: calc(100vw - 30px);
    max-width: calc(100vw - 30px);
    margin-inline: auto;
    gap: 18px;
  }
  .hero .row > div:first-child {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 8px 0 12px;
  }
  .hero-image {
    order: -1;
    min-height: 280px;
    margin: 0 -15px 10px;
    background-position: left center;
    background-size: cover;
  }
  .hero h1 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(2.35rem, 12vw, 3rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }
  .hero .lead {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 0.96rem;
    line-height: 1.6;
  }
  .hero-cta {
    width: 100%;
    margin: 20px 0 24px;
  }
  .hero-cta a {
    min-width: 0;
    padding-inline: 12px;
    white-space: normal;
    text-align: center;
  }
  .hero-stats {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    align-items: stretch;
    margin-bottom: 2px;
  }
  .hero-stat,
  .hero-stat-badge,
  .hero-stat-accreditation {
    min-width: 0;
    min-height: 104px;
    padding: 6px 3px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .hero-stat:last-child {
    border-right: 0;
  }
  .hero-stat-badge img {
    width: 100%;
    max-width: 112px;
    height: 96px;
  }
  .hero-stat-accreditation {
    gap: 0;
  }
  .hero-stat-accreditation-mark {
    width: 100%;
    max-width: 115px;
    height: 76px;
  }
  .hero-stat-accreditation > strong {
    font-size: 0.68rem;
    text-align: center;
  }
  .hero-image {
    min-height: 300px;
    margin-inline: -15px;
    background-position: left center;
    background-size: cover;
  }
}

/* Stable, click-friendly Test Library dropdown. */
@media (min-width: 1081px) {
  .navmenu .dropdown > ul {
    top: 100%;
    right: 0;
    left: auto;
    width: max-content;
    min-width: 430px;
    max-width: min(520px, calc(100vw - 32px));
  }

  .navmenu .dropdown ul a {
    white-space: normal;
    line-height: 1.45;
  }
}

@media (max-width: 1080px) {
  .navmenu.mobile-open .dropdown > ul {
    width: 100%;
    min-width: 0;
  }
}
/* Shared callback form used by the homepage and Test Library modals. */
.form-card-embed {
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.callback-form-embed {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  background: transparent;
}
@media (max-width: 620px) {
  .callback-form-embed {
    height: 590px;
  }
}
