:root {
  --bg: #eef4f7;
  --surface: #ffffff;
  --ink: #111a22;
  --muted: #5d6872;
  --line: #d7e2e8;
  --teal: #176da8;
  --teal-dark: #0a2740;
  --gold: #72b6df;
  --clay: #0e5f97;
  --brand-dark: #07111a;
  --brand-mid: #123653;
  --brand-light: #78c0e8;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--teal);
}

a,
button,
.btn,
.service-card,
.credential-grid span,
.hero-photo,
.brand-logo img,
.accordion-button {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

:focus-visible {
  outline: 3px solid rgba(120, 192, 232, 0.78);
  outline-offset: 3px;
}

.site-header {
  background: rgba(247, 251, 253, 0.94);
  border-bottom: 1px solid rgba(23, 109, 168, 0.16);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 32px rgba(17, 26, 34, 0.06);
}

.navbar {
  padding: 0.7rem 0;
}

.navbar-brand {
  display: grid;
  width: min(300px, calc(100% - 74px));
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
}

.brand-logo img {
  display: block;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  width: 100%;
}

.brand-logo:hover img {
  filter: drop-shadow(0 8px 18px rgba(23, 109, 168, 0.15));
}

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

.navbar-brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.nav-link {
  position: relative;
  color: var(--ink);
  font-weight: 650;
  padding-right: 0.8rem;
  padding-left: 0.8rem;
}

.navbar-toggler {
  border-color: rgba(23, 109, 168, 0.24);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(120, 192, 232, 0.28);
}

.navbar-toggler-icon {
  filter: none;
}

.nav-link::after {
  position: absolute;
  right: 0.5rem;
  bottom: 0.25rem;
  left: 0.5rem;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

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

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(23, 109, 168, 0.22);
}

.btn-primary {
  background: var(--teal);
  border-color: var(--teal);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.btn-outline-dark {
  border-color: var(--brand-mid);
  color: var(--ink);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  color: #fff;
  background: var(--brand-mid);
}

.btn .bi {
  margin-right: 0.45rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 4.8rem 0 3.7rem;
  background:
    linear-gradient(rgba(23, 109, 168, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 109, 168, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 70% 22%, rgba(120, 192, 232, 0.22), transparent 28rem),
    linear-gradient(110deg, rgba(247, 251, 253, 0.98) 0%, rgba(238, 244, 247, 0.94) 54%, rgba(213, 231, 240, 0.88) 100%);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

.hero-copy {
  animation: riseIn 520ms ease both;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 15ch;
  font-size: 3.25rem;
  font-weight: 850;
}

h2 {
  font-size: 2.5rem;
  font-weight: 820;
}

h3 {
  font-size: 1.2rem;
  font-weight: 780;
}

.hero-text {
  max-width: 39rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-media {
  position: relative;
  display: block;
  width: min(100%, 520px);
  margin-left: auto;
}

.hero-media-mobile {
  display: none;
}

.hero-media::before {
  position: absolute;
  inset: -1.1rem 1.2rem 1.1rem -1.2rem;
  z-index: 0;
  background: linear-gradient(135deg, rgba(23, 109, 168, 0.18), rgba(120, 192, 232, 0.08));
  border: 1px solid rgba(23, 109, 168, 0.14);
  border-radius: 12px;
  content: "";
}

.hero-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: min(68vh, 650px);
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(17, 26, 34, 0.22);
  animation: photoIn 620ms ease 120ms both;
}

.hero-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(32, 32, 29, 0.26);
}

.hero-badge {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.75rem 0.95rem;
  color: #fff;
  background: rgba(7, 17, 26, 0.84);
  border: 1px solid rgba(120, 192, 232, 0.42);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(7, 17, 26, 0.24);
  font-size: 0.88rem;
  font-weight: 760;
  backdrop-filter: blur(10px);
}

.hero-badge .bi {
  color: var(--brand-light);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.25rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(23, 109, 168, 0.16);
}

.trust-list dt {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 850;
}

.trust-list .bi {
  color: var(--teal);
}

.trust-list dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-list div {
  position: relative;
}

.trust-list div::before {
  display: block;
  width: 2rem;
  height: 3px;
  margin-bottom: 0.55rem;
  background: var(--gold);
  content: "";
}

.section {
  padding: 5.2rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 1.65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 26, 34, 0.04);
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--brand-light));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 109, 168, 0.34);
  box-shadow: 0 18px 45px rgba(32, 32, 29, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card h3 {
  min-height: 2.7rem;
  margin-bottom: 0.7rem;
}

.service-icon {
  display: inline-flex;
  width: 2.65rem;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--brand-dark));
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(23, 109, 168, 0.18);
  font-size: 1.25rem;
}

.about-section {
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 50%, #eef7fc 50%, #eef7fc 100%);
}

.about-media {
  display: block;
}

.about-media-mobile {
  display: none;
}

.about-media img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(23, 109, 168, 0.14);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(17, 26, 34, 0.18);
}

.about-content {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 109, 168, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(17, 26, 34, 0.08);
  backdrop-filter: blur(10px);
}

.about-section p {
  color: var(--muted);
  font-size: 1.06rem;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.credential-grid span {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  font-weight: 750;
  box-shadow: inset 0 0 0 1px rgba(23, 109, 168, 0.06);
}

.credential-grid span:hover {
  transform: translateX(4px);
  background: #eaf6fd;
}

.credential-grid .bi {
  color: var(--teal);
}

.supervision-section {
  color: #fff;
  background:
    radial-gradient(circle at 72% 22%, rgba(120, 192, 232, 0.24), transparent 24rem),
    linear-gradient(135deg, var(--brand-dark), var(--brand-mid) 58%, #176da8);
}

.feature-panel,
.topics-list {
  height: 100%;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.feature-panel .eyebrow {
  color: var(--brand-light);
}

.topics-list ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
  padding-left: 0;
  list-style: none;
}

.topics-list li {
  display: flex;
  gap: 0.55rem;
  padding-left: 0.2rem;
}

.topics-list .bi {
  flex: 0 0 auto;
  color: var(--brand-light);
  margin-top: 0.18rem;
}

.faq-section {
  background: #fbfaf7;
}

.accordion-item {
  background: #fff;
  border-color: var(--line);
}

.accordion-button {
  color: var(--ink);
  font-weight: 780;
}

.accordion-button:not(.collapsed) {
  color: var(--teal-dark);
  background: #e8f5fc;
  box-shadow: none;
}

.accordion-button:hover {
  background: #f4f0e8;
}

.contact-section {
  padding: 4rem 0;
  background: #dcecf4;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(23, 109, 168, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(17, 26, 34, 0.08);
}

.contact-box p {
  max-width: 640px;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  gap: 0.8rem;
}

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

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

.floating-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  min-height: 3.4rem;
  padding: 0.85rem 1rem;
  color: #fff;
  background: #1f8f5f;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(31, 143, 95, 0.3);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
  color: #fff;
  background: #16754d;
  transform: translateY(-3px);
}

.floating-whatsapp .bi {
  margin-right: 0.45rem;
}

@keyframes riseIn {
  from {
    transform: translateY(16px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes photoIn {
  from {
    transform: translateY(18px) scale(0.985);
  }

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

@media (max-width: 991.98px) {
  .site-header {
    position: static;
  }

  .navbar > .container {
    justify-content: center;
  }

  .navbar-toggler,
  .navbar-collapse {
    display: none !important;
  }

  .navbar-brand {
    width: min(300px, 88vw);
    margin-right: 0;
  }

  .hero-section {
    padding: 3.4rem 0;
  }

  .hero-media {
    margin-right: auto;
    margin-left: 0;
  }

  .hero-media-desktop {
    display: none;
  }

  .hero-media-mobile {
    display: block;
    width: 100%;
    margin: 0 0 1.35rem;
  }

  .hero-media-mobile .hero-photo {
    height: 320px;
    object-position: center 20%;
  }

  .hero-photo {
    margin: 0;
    width: 100%;
    max-width: 560px;
  }

  h1 {
    max-width: 12ch;
    font-size: 3.2rem;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .about-section {
    background: #fff;
  }

  .about-media-desktop {
    display: none;
  }

  .about-media-mobile {
    display: block;
    margin: 0 0 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: 2.2rem;
  }

  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .hero-media::before,
  .hero-badge {
    display: none;
  }

  .hero-media-mobile .hero-photo {
    height: 280px;
  }

  .hero-media-mobile {
    margin-bottom: 1.8rem;
  }

  .about-content,
  .contact-box {
    padding: 1.25rem;
  }

  .trust-list,
  .credential-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .floating-whatsapp {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
