:root {
  --ink: #13202a;
  --muted: #607080;
  --line: #d9e4ea;
  --paper: #f7fbfc;
  --white: #ffffff;
  --teal: #087f8c;
  --teal-dark: #075c67;
  --cyan-soft: #e6f6f7;
  --steel: #2f4c5b;
  --amber: #d69a2d;
  --shadow: 0 24px 70px rgba(24, 49, 63, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(247, 251, 252, 0.92);
  border-bottom: 1px solid rgba(217, 228, 234, 0.78);
  backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease, background 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(24, 49, 63, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--steel));
  font-weight: 800;
}

.logo-slot {
  font-size: 12px;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 700;
}

.nav-links > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active,
.nav-item:hover > a {
  color: var(--teal-dark);
  background: var(--cyan-soft);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.social-links,
.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.social-links a:hover {
  background: var(--cyan-soft);
  transform: translateY(-1px);
}

.nav-item {
  position: relative;
}

.has-menu > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 330px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.submenu::before {
  position: absolute;
  top: -12px;
  right: 0;
  left: 0;
  height: 12px;
  content: "";
}

.has-menu:hover .submenu,
.has-menu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.submenu a {
  display: grid;
  gap: 4px;
  padding: 13px;
  border-radius: 8px;
}

.submenu strong {
  font-size: 14px;
}

.submenu span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--teal);
}

.btn {
  padding: 0 20px;
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.header-cta:focus-visible,
.nav-links a:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(214, 154, 45, 0.45);
  outline-offset: 3px;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(8, 127, 140, 0.25);
}

.primary:hover {
  background: var(--teal-dark);
}

.secondary {
  color: var(--teal-dark);
  background: var(--cyan-soft);
}

.full {
  width: 100%;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: stretch;
  min-height: calc(100vh - 74px);
  padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 58px) 34px;
  gap: clamp(28px, 5vw, 72px);
  overflow: hidden;
}

.cover-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.95fr);
  min-height: calc(100vh - 74px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 58px);
  overflow: hidden;
}

.cover-copy {
  max-width: 720px;
}

.cover-gallery {
  display: block;
  min-height: 610px;
}

.cover-gallery figure {
  position: relative;
  min-height: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 46px rgba(24, 49, 63, 0.12);
}

.cover-gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease, filter 240ms ease;
}

.cover-gallery figure:hover img {
  filter: saturate(1.02);
  transform: scale(1.045);
}

.cover-main {
  height: 100%;
}

.cover-main figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: var(--white);
  background: rgba(19, 32, 42, 0.72);
  backdrop-filter: blur(12px);
}

.cover-main span {
  color: #dbe9ed;
  font-size: 13px;
}

.cover-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: var(--white);
}

.feature-link {
  display: grid;
  min-height: 260px;
  grid-template-rows: auto 1fr auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-link:hover {
  border-color: rgba(8, 127, 140, 0.34);
  box-shadow: 0 20px 44px rgba(24, 49, 63, 0.1);
  transform: translateY(-4px);
}

.feature-link img {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
  transition: transform 520ms ease, filter 220ms ease;
}

.feature-link:hover img {
  filter: saturate(1) contrast(1);
  transform: scale(1.04);
}

.feature-link h2 {
  margin: 24px 28px 12px;
  font-size: 30px;
}

.feature-link p {
  margin: 0 28px 28px;
  color: var(--muted);
  line-height: 1.6;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.58fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: end;
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 58px) clamp(38px, 6vw, 74px);
  background: linear-gradient(180deg, var(--white), var(--paper));
}

.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(40px, 5.5vw, 74px);
}

.page-specialist {
  min-height: calc(100vh - 74px);
}

.hero::before {
  position: absolute;
  top: 9%;
  right: 44%;
  width: 190px;
  height: 190px;
  content: "";
  border: 1px solid rgba(8, 127, 140, 0.17);
  border-radius: 50%;
  transform: translateY(var(--parallax-y, 0));
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 780px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.hero-copy {
  max-width: 650px;
  color: var(--steel);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-metrics div {
  padding: 18px 16px 18px 0;
}

.hero-metrics div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 17px;
}

.hero-metrics span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-media {
  position: relative;
  align-self: center;
  margin: 0;
  min-height: 540px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--line);
}

.hero-media img {
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: 48% center;
  transform: scale(1.02);
  transition: transform 800ms ease;
}

.hero-media:hover img {
  transform: scale(1.055);
}

.hero-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  max-width: 360px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: var(--white);
  background: rgba(19, 32, 42, 0.72);
  backdrop-filter: blur(12px);
}

.hero-badge strong {
  font-size: 15px;
}

.hero-badge span {
  color: #dbe9ed;
  font-size: 13px;
}

.section {
  padding: clamp(62px, 8vw, 112px) clamp(18px, 4vw, 58px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(240px, 0.12fr);
  max-width: 1040px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  align-items: end;
  gap: 42px;
  color: var(--white);
  background: var(--steel);
}

.intro-band .section-kicker {
  color: #9ce0e3;
}

.intro-band p {
  margin: 0;
  color: #d8e8ed;
  font-size: 18px;
  line-height: 1.75;
}

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

.service-grid article {
  position: relative;
  min-height: 228px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-grid article::after {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 96px;
  height: 96px;
  content: "";
  border-radius: 50%;
  background: rgba(8, 127, 140, 0.08);
  transition: transform 220ms ease;
}

.service-grid article:hover {
  border-color: rgba(8, 127, 140, 0.34);
  box-shadow: 0 20px 44px rgba(24, 49, 63, 0.1);
  transform: translateY(-4px);
}

.service-grid article:hover::after {
  transform: scale(1.3);
}

.service-grid p,
.specialist-copy p,
.timeline p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.service-icon {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--amber);
  font-weight: 800;
}

.specialist {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
  padding: clamp(62px, 8vw, 112px) clamp(18px, 4vw, 58px);
  background: var(--white);
}

.specialist-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.specialist-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.specialist-copy {
  max-width: 640px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--steel);
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 5px var(--cyan-soft);
}

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

.gallery figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--steel);
}

.gallery img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.96);
  transition: filter 260ms ease, transform 520ms ease;
}

.gallery figure:hover img {
  filter: saturate(0.98) contrast(1);
  transform: scale(1.045);
}

.gallery figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(19, 32, 42, 0) 40%, rgba(19, 32, 42, 0.78));
}

.gallery figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.process {
  background: var(--white);
}

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

.timeline div {
  padding: 30px;
  border-left: 3px solid var(--teal);
  background: var(--paper);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.timeline div:hover {
  box-shadow: 0 18px 38px rgba(24, 49, 63, 0.09);
  transform: translateY(-3px);
}

.timeline span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--steel);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 42px;
  padding: clamp(62px, 8vw, 112px) clamp(18px, 4vw, 58px);
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--steel));
}

.preparation {
  background: linear-gradient(180deg, var(--paper), #eef7f8);
}

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

.prep-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.prep-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact .section-kicker,
.contact p {
  color: #cfedf0;
}

.contact-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-panel dl {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}

.contact-panel div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-panel dt {
  color: #aee5e8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 5px 0 0;
  font-weight: 700;
}

.map-section {
  background: var(--white);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 24px;
  align-items: stretch;
}

.map-card {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 20px 52px rgba(24, 49, 63, 0.1);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.map-details {
  display: grid;
  align-content: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.map-details p {
  color: var(--muted);
  line-height: 1.65;
}

.map-details .btn {
  justify-self: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 58px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
  color: var(--teal-dark);
}

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

.whatsapp-popup {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 30;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  width: min(360px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid rgba(134, 239, 172, 0.42);
  border-radius: 26px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, #16a34a 0%, #079669 48%, #087f8c 100%);
  box-shadow: 0 26px 74px rgba(7, 150, 105, 0.34);
  transform: translateY(18px);
  animation: popupIn 520ms ease 900ms forwards;
  opacity: 0;
}

.whatsapp-popup::before {
  position: absolute;
  inset: -7px;
  z-index: -1;
  content: "";
  border-radius: 32px;
  background: rgba(34, 197, 94, 0.24);
  animation: popupPulse 2.6s ease-in-out infinite;
}

.whatsapp-popup.is-hidden {
  display: none;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.popup-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.22);
}

.popup-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: #12a150;
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(19, 32, 42, 0.18);
}

.whatsapp-popup strong {
  display: block;
  padding-right: 22px;
  font-size: 17px;
}

.whatsapp-popup p {
  margin: 6px 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.5;
}

.whatsapp-popup .btn {
  min-height: 42px;
  border-radius: 999px;
  color: #087f45;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(19, 32, 42, 0.14);
}

.whatsapp-popup .btn:hover {
  color: #065f46;
  background: #eafff1;
}

@keyframes popupIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popupPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.72;
    transform: scale(1.02);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-grid .reveal:nth-child(2),
.gallery .reveal:nth-child(2),
.timeline .reveal:nth-child(2),
.prep-grid .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.service-grid .reveal:nth-child(3),
.gallery .reveal:nth-child(3),
.timeline .reveal:nth-child(3),
.prep-grid .reveal:nth-child(3) {
  transition-delay: 150ms;
}

.service-grid .reveal:nth-child(4),
.gallery .reveal:nth-child(4) {
  transition-delay: 220ms;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .nav-links {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-top: 8px;
  }

  .site-header.nav-open .nav-links > a,
  .site-header.nav-open .nav-item > a {
    justify-content: space-between;
    padding: 14px 0;
    min-height: auto;
    border-radius: 0;
    border-top: 1px solid var(--line);
  }

  .nav-item {
    display: grid;
  }

  .submenu {
    position: static;
    width: auto;
    padding: 0 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .submenu::before {
    display: none;
  }

  .submenu a {
    margin-left: 14px;
    padding: 10px 12px;
    background: rgba(230, 246, 247, 0.7);
  }

  .hero,
  .cover-hero,
  .specialist,
  .contact,
  .intro-band,
  .page-hero,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .cover-gallery {
    min-height: 520px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .hero-media img {
    min-height: 420px;
  }

  .hero-metrics,
  .service-grid,
  .timeline,
  .prep-grid,
  .cover-links {
    grid-template-columns: 1fr;
  }

  .hero-metrics div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media,
  .hero-media img {
    min-height: 330px;
  }

  .cover-gallery {
    min-height: 360px;
  }

  .cover-gallery figure {
    min-height: 360px;
  }

  .section,
  .specialist,
  .contact,
  .page-hero,
  .cover-hero {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .service-grid article {
    min-height: auto;
    padding: 24px;
  }

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

  .gallery figure {
    min-height: 320px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
