:root {
  --brand: #062f3b;
  --brand-dark: #032532;
  --brand-soft: #a9cdf8;
  --brand-pale: #eef7ff;
  --text: #12313d;
  --muted: #637681;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(6, 47, 59, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

.container {
  max-width: none;
  padding-left: 10%;
  padding-right: 10%;
}

.site-nav {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(6, 47, 59, 0.08);
  backdrop-filter: blur(14px);
}

.navbar-brand span {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0;
}

.navbar-brand img {
  border-radius: 50%;
}

.nav-link {
  color: var(--text);
  font-weight: 650;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand);
}

.btn {
  border-radius: 8px;
  font-weight: 750;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 12px 24px rgba(6, 47, 59, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #0b4354;
  border-color: #0b4354;
}

.nav-cta {
  padding: 0.55rem 1rem;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 74px;
  color: var(--white);
  background: var(--brand);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 37, 50, 0.94) 0%, rgba(3, 37, 50, 0.78) 44%, rgba(3, 37, 50, 0.16) 100%),
    url("hero.webp") center right / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  max-width: 680px;
  margin: 0 0 1.25rem;
  font-size: clamp(2.45rem, 6vw, 5.1rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-offer {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.75rem;
  padding: 1.05rem 1.2rem;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.94);
  border-left: 5px solid var(--brand-soft);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(169, 205, 248, 0.34);
}

.hero-offer strong {
  display: flex;
  align-items: baseline;
  gap: 0.38rem;
  flex-wrap: wrap;
  font-size: 1.08rem;
}

.hero-offer strong span {
  color: #0b5ed7;
  font-size: 1.45rem;
  line-height: 1;
}

.hero-offer span {
  color: #365362;
}

.section-pad {
  padding: 5.5rem 0;
}

.quick-stats {
  background: var(--brand-pale);
}

.stat-card {
  height: 100%;
  padding: 1.65rem;
  background: var(--white);
  border: 1px solid rgba(6, 47, 59, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat-card span {
  display: block;
  color: var(--brand);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 850;
  line-height: 1;
}

.stat-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-weight: 650;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-heading h2,
.home-panel h2,
.packages-section h2,
.site-footer h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.packages-section p,
.home-panel p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.test-card {
  position: relative;
  display: flex;
  min-height: 268px;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.5rem;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(6, 47, 59, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(6, 47, 59, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.test-card > * {
  position: relative;
  z-index: 1;
}

.test-photo {
  width: 100%;
  height: 96px;
  margin-bottom: 1rem;
  object-fit: cover;
  border: 1px solid rgba(169, 205, 248, 0.72);
  border-radius: 8px;
}

.test-card:hover,
.test-card:focus {
  color: var(--text);
  border-color: rgba(6, 47, 59, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.test-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 0.85rem;
  place-items: center;
  color: var(--brand);
  background: var(--brand-pale);
  border: 1px solid rgba(169, 205, 248, 0.78);
  border-radius: 8px;
}

.test-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.test-card span {
  width: fit-content;
  padding: 0.35rem 0.65rem;
  color: var(--brand);
  background: var(--brand-pale);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 850;
}

.test-card strong {
  margin: 1.25rem 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.test-card small {
  color: var(--brand);
  font-weight: 850;
}

.why-section {
  background: #f7fbff;
}

.feature-card {
  min-height: 104px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem;
  color: var(--brand-dark);
  background: var(--white);
  border: 1px solid rgba(6, 47, 59, 0.08);
  border-radius: 8px;
  font-size: 1.02rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(6, 47, 59, 0.08);
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: var(--brand);
  background: var(--brand-pale);
  border: 1px solid rgba(169, 205, 248, 0.78);
  border-radius: 8px;
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

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

.home-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--white);
  background: var(--brand);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-panel h2,
.home-panel p {
  color: var(--white);
}

.home-panel p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
}

.home-panel .btn {
  flex: 0 0 auto;
  color: var(--brand);
}

.packages-section {
  background: var(--brand-pale);
}

.packages-section h2 {
  max-width: 620px;
}

.packages-section p {
  margin-top: 0;
}

.site-footer {
  padding: 3.5rem 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--brand-dark);
}

.site-footer img {
  object-fit: contain;
}

.site-footer h2 {
  margin-top: 0.75rem;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.site-footer p {
  margin: 0.35rem 0 0;
}

.footer-label {
  color: var(--brand-soft);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-phone {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--white);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 850;
}

.footer-phone:hover {
  color: var(--brand-soft);
}

.footer-address {
  max-width: 430px;
  margin: 1rem 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.65;
}

.call-float,
.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  z-index: 20;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  transition: transform 180ms ease;
}

.call-float {
  bottom: 5.25rem;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(6, 47, 59, 0.28);
}

.whatsapp-float {
  bottom: 1.1rem;
  background: #25d366;
  box-shadow: 0 14px 30px rgba(7, 67, 45, 0.28);
}

.call-float:hover,
.call-float:focus,
.whatsapp-float:hover,
.whatsapp-float:focus {
  color: var(--white);
  transform: translateY(-3px);
}

.call-float svg,
.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  animation: soft-rise 520ms ease both;
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .test-card,
  .call-float,
  .whatsapp-float {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .container {
    padding-left: 7%;
    padding-right: 7%;
  }

  .site-nav .container {
    align-items: center;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(3, 37, 50, 0.94) 0%, rgba(3, 37, 50, 0.78) 54%, rgba(3, 37, 50, 0.62) 100%),
      url("hero.webp") center / cover no-repeat;
  }

  .hero-section h1 {
    max-width: 590px;
  }

  .home-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar-brand span {
    font-size: 1rem;
  }

  .navbar-brand img {
    width: 40px;
    height: 40px;
  }

  .hero-section .row {
    min-height: 92vh !important;
    padding-top: 2rem !important;
  }

  .hero-offer {
    width: 100%;
  }

  .btn-lg {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  .section-pad {
    padding: 4rem 0;
  }

  .section-heading {
    margin-bottom: 2rem;
    text-align: left;
  }

  .stat-card,
  .test-card,
  .feature-card {
    box-shadow: 0 8px 22px rgba(6, 47, 59, 0.08);
  }

  .test-card {
    min-height: 286px;
  }

  .call-float,
  .whatsapp-float {
    right: 0.85rem;
    width: 54px;
    height: 54px;
  }

  .call-float {
    bottom: 4.9rem;
  }

  .whatsapp-float {
    bottom: 0.85rem;
  }

  .footer-address {
    margin-left: 0;
  }
}
