:root {
  --teal: #20aaa3;
  --teal-dark: #087b78;
  --teal-deep: #063e3d;
  --teal-ink: #073c3b;
  --teal-soft: #e8f7f5;
  --orange: #d8752b;
  --orange-soft: #fff2e8;
  --ink: #102c2d;
  --text: #3d5050;
  --muted: #6d7d7d;
  --line: #dfe9e7;
  --soft: #f4f8f7;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(6, 62, 61, 0.08);
  --shadow-lg: 0 24px 70px rgba(6, 62, 61, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon.small { width: 18px; height: 18px; }
.icon.tiny { width: 16px; height: 16px; }
.icon.large { width: 34px; height: 34px; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

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

.utility-bar {
  min-height: 37px;
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
}

.utility-inner {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-inner,
.utility-links,
.utility-inner a,
.utility-inner > span {
  display: flex;
  align-items: center;
}

.utility-links {
  gap: 23px;
}

.utility-inner a,
.utility-inner > span {
  gap: 7px;
}

.utility-inner a {
  transition: color 0.2s ease;
}

.utility-inner a:hover {
  color: #7fe2dc;
}

.whatsapp-dot {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  background: #37c56e;
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(10, 86, 83, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 97px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  width: 220px;
  flex: 0 0 220px;
}

.brand img {
  width: 100%;
  height: 66px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.7vw, 30px);
}

.main-nav > a:not(.mobile-referti) {
  position: relative;
  padding: 38px 0 33px;
  color: #173132;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav > a:not(.mobile-referti)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 25px;
  height: 2px;
  background: var(--teal);
  transition: right 0.25s ease;
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after {
  right: 0;
}

.header-referti,
.mobile-referti {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--teal);
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(32, 170, 163, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-referti {
  min-height: 52px;
  padding: 0 20px;
  font-size: 14px;
}

.header-referti:hover,
.mobile-referti:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(8, 123, 120, 0.24);
}

.mobile-referti,
.menu-toggle {
  display: none;
}

.hero {
  min-height: 655px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  overflow: hidden;
  background: #fbfcfb;
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 58px 0 118px;
  background: linear-gradient(90deg, #fff 0%, #fff 82%, rgba(255,255,255,0.88) 100%);
}

.hero-copy::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -105px;
  width: 150px;
  background: #fff;
  clip-path: polygon(0 0, 32% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.hero-copy-inner {
  width: min(590px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #79e0d9;
}

.hero h1 {
  margin: 0;
  color: var(--teal-ink);
  font-size: clamp(50px, 4.25vw, 72px);
  line-height: 1.07;
  letter-spacing: -0.045em;
  font-weight: 850;
}

.hero h1 span {
  color: var(--ink);
}

.hero-lead {
  max-width: 565px;
  margin: 28px 0 0;
  color: #4c5c5d;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 33px;
}

.button {
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 26px rgba(32, 170, 163, 0.24);
}

.button-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 15px 32px rgba(8, 123, 120, 0.28);
}

.button-outline {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: #fff;
}

.button-outline:hover {
  background: var(--teal-soft);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: #698080;
  font-size: 13px;
}

.hero-trust svg {
  color: var(--orange);
}

.hero-trust strong {
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 655px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0)), url("assets/laboratorio-hero.webp") center center / cover no-repeat;
}

.hours-card {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 57px;
  z-index: 5;
  width: min(460px, calc(100% - 50px));
  padding: 24px 26px 17px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(15px);
}

.hours-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 19px;
}

.icon-warm {
  color: var(--orange);
  display: grid;
  place-items: center;
}

.hours-row {
  min-height: 65px;
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.75fr;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  color: #4c5f5f;
  font-size: 13px;
}

.hours-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.hours-row svg {
  color: var(--teal);
}

.hours-row b {
  color: var(--ink);
  text-align: right;
}

.hero-swoop {
  position: absolute;
  z-index: 2;
  left: 8%;
  right: -6%;
  bottom: -140px;
  height: 225px;
  background: linear-gradient(105deg, var(--teal-deep), #075b58);
  border-radius: 130px 0 0 0;
  transform: rotate(-3.5deg);
  transform-origin: left bottom;
}

.quick-strip {
  position: relative;
  z-index: 7;
  background: var(--teal-deep);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-grid > a {
  min-height: 108px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
  transition: background 0.2s ease;
}

.quick-grid > a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.quick-grid > a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.quick-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #75ded8;
  background: rgba(255, 255, 255, 0.09);
}

.quick-grid small,
.quick-grid strong {
  display: block;
}

.quick-grid small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-grid strong {
  font-size: 15px;
}

.quick-grid > a > svg {
  color: rgba(255,255,255,0.42);
  transition: transform 0.2s ease;
}

.quick-grid > a:hover > svg {
  transform: translateX(4px);
  color: #fff;
}

.whatsapp-letter {
  font-size: 16px;
  font-weight: 900;
}

.section {
  padding: 105px 0;
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading.narrow {
  max-width: 650px;
}

.section-heading h2,
.about-copy h2,
.work-section h2,
.reports-cta h2,
.exams-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 320px;
  padding: 31px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e4ecea;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(6, 62, 61, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(32, 170, 163, 0.35);
  box-shadow: var(--shadow-sm);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 15px;
}

.service-icon.orange {
  color: var(--orange);
  background: var(--orange-soft);
}

.service-card h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 20px;
}

.service-card > p {
  margin: 0;
  color: #647575;
  font-size: 14px;
  line-height: 1.75;
}

.service-note {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  border-top: 1px solid #edf2f1;
}

.about-section {
  position: relative;
  background: #fff;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  height: 130px;
  border-left: 26px solid rgba(32, 170, 163, 0.08);
  border-top: 26px solid rgba(32, 170, 163, 0.08);
  border-radius: 0 0 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(55px, 7vw, 100px);
  align-items: center;
}

.about-copy h2 {
  margin-bottom: 25px;
}

.about-copy > p:not(.eyebrow) {
  margin: 0 0 17px;
  color: #5d6d6d;
  font-size: 16px;
}

.about-highlights {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-highlights div {
  min-height: 96px;
  padding: 17px 14px;
  background: var(--soft);
  border-radius: 14px;
}

.about-highlights strong,
.about-highlights span {
  display: block;
}

.about-highlights strong {
  color: var(--teal-dark);
  font-size: 24px;
  line-height: 1.2;
}

.about-highlights span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.areas-panel {
  position: relative;
  padding: 38px;
  background: linear-gradient(145deg, var(--teal-deep), #075a58);
  border-radius: 32px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.areas-panel::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -110px;
  width: 270px;
  height: 270px;
  border: 55px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.panel-kicker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
  color: #80e0da;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.areas-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.areas-list article {
  min-height: 190px;
  padding: 23px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.areas-list article > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #73dcd6;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
}

.areas-list h3 {
  margin: 17px 0 6px;
  font-size: 17px;
}

.areas-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
  line-height: 1.6;
}

.exams-section {
  position: relative;
  background: linear-gradient(130deg, var(--teal-deep), #075b58 65%, #087b78);
  color: #fff;
  overflow: hidden;
}

.exams-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  left: -230px;
  top: -230px;
  border: 80px solid rgba(255,255,255,0.035);
  border-radius: 50%;
}

.exams-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 65px;
  align-items: start;
}

.exams-intro {
  position: sticky;
  top: 145px;
}

.exams-section h2 {
  color: #fff;
  margin-bottom: 18px;
}

.exams-intro > p:not(.eyebrow) {
  color: rgba(255,255,255,0.69);
  font-size: 15px;
}

.search-box {
  min-height: 62px;
  margin-top: 27px;
  padding: 0 16px 0 19px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-dark);
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.17);
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}

.search-box input::placeholder {
  color: #91a09f;
}

.search-box button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #708080;
  background: #edf4f3;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.exam-count {
  margin-top: 15px;
  color: rgba(255,255,255,0.58);
  font-size: 12px;
}

.exam-count strong {
  color: #fff;
  font-size: 15px;
}

.exam-results {
  max-height: 690px;
  padding-right: 11px;
  overflow: auto;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
  scrollbar-width: thin;
}

.exam-results ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.exam-results li {
  min-height: 58px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  font-size: 11px;
  line-height: 1.4;
}

.exam-results li svg {
  flex: 0 0 auto;
  color: #75ddd7;
}

.text-button {
  min-height: 48px;
  margin: 18px auto 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.text-button:hover {
  background: rgba(255,255,255,0.08);
}

.no-results {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
}

.no-results > svg {
  color: #7edfd9;
}

.no-results h3 {
  margin: 12px 0 4px;
}

.no-results p {
  max-width: 380px;
  margin: 0;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

.work-section {
  background: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(55px, 8vw, 110px);
  align-items: center;
}

.work-section h2 {
  margin-bottom: 22px;
}

.work-lead {
  color: #385354;
  font-size: 19px;
  line-height: 1.6;
}

.work-section p:not(.eyebrow) {
  margin-bottom: 25px;
}

.work-card {
  position: relative;
  padding: 40px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.work-card-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: var(--orange-soft);
  border-radius: 17px;
}

.work-card h3 {
  margin: 22px 0;
  color: var(--ink);
  font-size: 22px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.check-grid span {
  min-height: 40px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #315253;
  background: #fff;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
}

.check-grid svg {
  color: var(--teal);
}

.work-card > p {
  margin: 22px 0 0 !important;
  padding-top: 18px;
  color: #718080;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.preparation-section {
  background: var(--soft);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps-grid article {
  position: relative;
  min-height: 260px;
  padding: 28px 25px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.steps-grid article > span {
  position: absolute;
  top: 10px;
  right: 14px;
  color: rgba(32,170,163,0.1);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.steps-grid article > svg {
  color: var(--teal-dark);
}

.steps-grid h3 {
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: 18px;
}

.steps-grid p {
  margin: 0;
  color: #718080;
  font-size: 13px;
}

.medical-note {
  max-width: 830px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #788887;
  text-align: center;
  font-size: 11px;
}

.medical-note svg {
  color: var(--orange);
  flex: 0 0 auto;
}

.reports-cta {
  padding: 56px 0;
  color: #fff;
  background: linear-gradient(110deg, var(--teal), var(--teal-dark));
}

.reports-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
}

.reports-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
}

.reports-cta .eyebrow {
  margin-bottom: 7px;
  color: rgba(255,255,255,0.72);
}

.reports-cta h2 {
  color: #fff;
  font-size: 34px;
}

.reports-cta p:last-child {
  margin: 5px 0 0;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}

.button-white {
  color: var(--teal-dark);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.87fr 1.13fr;
  gap: 25px;
}

.contact-cards {
  display: grid;
  gap: 10px;
}

.contact-cards > a {
  min-height: 91px;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-cards > a:hover {
  transform: translateX(4px);
  background: #fff;
  border-color: rgba(32,170,163,0.3);
}

.contact-cards > a > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 12px;
}

.contact-cards small,
.contact-cards strong,
.contact-cards p {
  display: block;
  margin: 0;
}

.contact-cards small {
  color: #879392;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-cards strong {
  color: var(--ink);
  font-size: 14px;
}

.contact-cards p {
  color: #758383;
  font-size: 11px;
}

.contact-cards > a > svg {
  color: #a5b1b0;
}

.directors {
  margin-top: 3px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.directors p {
  display: grid;
  gap: 2px;
  margin: 0;
  color: var(--ink);
  font-size: 11px;
}

.directors p + p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.directors span {
  color: #738080;
}

.directors a {
  color: var(--teal-dark);
}

.map-wrap {
  position: relative;
  min-height: 490px;
  background: var(--soft);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 490px;
  display: block;
  border: 0;
  filter: saturate(0.85) contrast(1.02);
}

.map-wrap > a {
  position: absolute;
  left: 22px;
  bottom: 22px;
  min-height: 45px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: var(--teal-deep);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 800;
}

.site-footer {
  color: rgba(255,255,255,0.72);
  background: #052f2f;
}

.footer-main {
  padding: 68px 0 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 0.85fr;
  gap: 48px;
}

.logo-plate {
  width: 215px;
  padding: 11px 14px;
  background: #fff;
  border-radius: 12px;
}

.footer-brand p {
  margin: 18px 0 0;
  font-size: 13px;
}

.footer-main h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-main > div:not(.footer-brand) > a,
.footer-main > div:not(.footer-brand) > p {
  display: block;
  margin: 0 0 9px;
  font-size: 12px;
}

.footer-main a:hover {
  color: #6dd9d2;
}

.footer-main strong {
  color: rgba(255,255,255,0.88);
  font-weight: 700;
}

.footer-bottom {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom > p {
  margin: 0;
  font-size: 10.5px;
}

.powered-by {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.48);
  font-size: 10px;
}

.powered-by a {
  display: block;
  width: 105px;
}

.powered-by img {
  width: 100%;
  height: 42px;
  object-fit: contain;
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 18px;
  }

  .brand {
    width: 184px;
    flex-basis: 184px;
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav > a:not(.mobile-referti) {
    font-size: 12.5px;
  }

  .header-referti {
    padding: 0 14px;
  }

  .hero-copy-inner {
    margin-left: 30px;
  }

  .hours-card {
    right: 25px;
  }
}

@media (max-width: 960px) {
  html {
    scroll-padding-top: 78px;
  }

  .utility-bar {
    display: none;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand {
    width: 180px;
    flex-basis: 180px;
  }

  .brand img {
    height: 53px;
  }

  .header-referti {
    margin-left: auto;
    min-height: 44px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--soft);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 16px 24px 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 35px rgba(6,62,61,0.13);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a:not(.mobile-referti) {
    padding: 13px 4px;
    border-bottom: 1px solid #edf2f1;
    font-size: 14px;
  }

  .main-nav > a:not(.mobile-referti)::after {
    display: none;
  }

  .mobile-referti {
    min-height: 48px;
    margin-top: 15px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 72px 0 75px;
  }

  .hero-copy::after {
    display: none;
  }

  .hero-copy-inner {
    width: min(720px, calc(100% - 48px));
    margin-inline: auto;
  }

  .hero h1 br {
    display: none;
  }

  .hero-visual {
    min-height: 510px;
  }

  .hero-swoop {
    display: none;
  }

  .hours-card {
    right: 24px;
    bottom: 24px;
  }

  .quick-grid > a {
    padding-inline: 18px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .exams-layout,
  .work-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .exams-intro {
    position: static;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    width: 148px;
    flex-basis: 148px;
  }

  .brand img {
    height: 45px;
  }

  .header-referti {
    width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 0;
  }

  .header-referti svg {
    width: 21px;
  }

  .main-nav {
    top: 72px;
  }

  .hero-copy {
    padding: 60px 0 62px;
  }

  .hero-copy-inner {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: clamp(40px, 12.5vw, 58px);
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
    background-position: 62% center;
  }

  .hours-card {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 16px;
    padding: 20px 17px 12px;
  }

  .hours-row {
    grid-template-columns: 1.35fr 0.7fr;
    gap: 8px;
  }

  .hours-row > span:nth-child(2) {
    display: none;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid > a {
    min-height: 86px;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2,
  .about-copy h2,
  .work-section h2,
  .exams-section h2 {
    font-size: 36px;
  }

  .services-grid,
  .areas-list,
  .steps-grid,
  .exam-results ul,
  .check-grid,
  .about-highlights {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 290px;
  }

  .areas-panel,
  .work-card {
    padding: 25px;
    border-radius: 22px;
  }

  .areas-list article {
    min-height: 160px;
  }

  .exam-results {
    max-height: 610px;
  }

  .reports-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .reports-icon {
    margin-inline: auto;
  }

  .contact-cards strong {
    word-break: break-word;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 390px;
  }

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

  .footer-bottom {
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid rgba(216, 117, 43, 0.75);
  outline-offset: 3px;
}
