:root {
  --blue: #0b3d70;
  --blue-2: #17699a;
  --teal: #16a5a4;
  --teal-2: #0a7f85;
  --mint: #e9fbf8;
  --cream: #fffaf0;
  --white: #ffffff;
  --text: #17324a;
  --muted: #63768a;
  --line: rgba(11, 61, 112, 0.13);
  --shadow: 0 24px 60px rgba(11, 61, 112, 0.14);
  --soft-shadow: 0 14px 35px rgba(11, 61, 112, 0.10);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6fdff 0%, #ffffff 45%, #eefafa 100%);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(11, 61, 112, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  color: var(--text);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
  background: var(--mint);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 94px 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 61, 112, 0.95) 0%, rgba(8, 126, 131, 0.88) 58%, rgba(22, 165, 164, 0.86) 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 38px;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.5;
}

.hero-bg-one {
  width: 330px;
  height: 330px;
  left: -120px;
  top: 80px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-bg-two {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -120px;
  background: rgba(255, 250, 240, 0.2);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 52px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: 0.24s ease;
}

.btn-primary {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.btn-full {
  width: 100%;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue-2));
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.hero-card {
  position: relative;
}

.logo-frame {
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
}

.logo-frame img {
  width: min(100%, 520px);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 28px;
}

.hero-mini-card {
  position: absolute;
  left: -24px;
  bottom: 24px;
  width: min(250px, 58%);
  padding: 18px;
  border: 1px solid rgba(11, 61, 112, 0.12);
  border-radius: 24px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.hero-mini-card span {
  display: block;
  color: var(--teal-2);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-mini-card strong {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 1.05rem;
  line-height: 1.2;
}

.intro {
  padding-top: 64px;
  padding-bottom: 64px;
}

.intro-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.intro .section-kicker,
.services .section-kicker,
.curriculum .section-kicker,
.location .section-kicker,
.contact .section-kicker {
  color: var(--teal-2);
  border-color: rgba(22, 165, 164, 0.18);
  background: var(--mint);
}

.intro h2,
.section-heading h2,
.location h2,
.contact h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.intro p,
.section-heading p,
.location p,
.contact p {
  color: var(--muted);
  font-size: 1.03rem;
}

.intro-box > p {
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading .section-kicker {
  margin-left: auto;
  margin-right: auto;
}

.services {
  background:
    radial-gradient(circle at 0% 20%, rgba(22, 165, 164, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fdfc 100%);
}

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

.service-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
  transition: 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -80px;
  top: -80px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(22, 165, 164, 0.18), rgba(11, 61, 112, 0.12));
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.service-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue-2));
  font-weight: 900;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--blue);
  font-size: 1.17rem;
  line-height: 1.25;
}

.service-card-wide {
  grid-column: span 2;
}

.curriculum {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(22, 165, 164, 0.16), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(11, 61, 112, 0.12), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #edfafa 100%);
}

.curriculum::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(22, 165, 164, 0.14);
  border-radius: 38px;
  pointer-events: none;
}

.curriculum .container {
  position: relative;
  z-index: 1;
}

.cv-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 24px;
  align-items: start;
}

.cv-panel {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.cv-panel::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(22, 165, 164, 0.09);
  border-radius: 24px;
  pointer-events: none;
}

.cv-panel-featured {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 253, 252, 0.97));
}

.cv-panel-head,
.cv-list {
  position: relative;
  z-index: 1;
}

.cv-panel-head {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.cv-panel-head > span {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue-2));
  box-shadow: 0 12px 28px rgba(22, 128, 152, 0.2);
  font-weight: 900;
}

.cv-panel-head p {
  margin: 0 0 4px;
  color: var(--teal-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cv-panel-head h3 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.12;
}

.cv-list {
  display: grid;
  gap: 14px;
}

.cv-item {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(11, 61, 112, 0.09);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(233, 251, 248, 0.95), rgba(255, 250, 240, 0.88));
}

.cv-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--teal), var(--blue-2));
}

.cv-date {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(11, 61, 112, 0.08);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.cv-content {
  min-width: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.cv-item-no-date {
  grid-template-columns: 1fr;
}

.location {
  background: linear-gradient(135deg, rgba(11, 61, 112, 0.96), rgba(8, 126, 131, 0.92));
}

.location-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.location-card h2,
.location-card p,
.location-card .section-kicker {
  color: var(--white);
}

.location-card .section-kicker {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.location-card p {
  margin-bottom: 0;
  opacity: 0.88;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
  align-items: center;
}

.contact-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-row span {
  color: var(--muted);
  font-weight: 900;
}

.contact-row a,
.contact-row strong {
  color: var(--blue);
  text-align: right;
}

.contact-card .btn {
  margin-top: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #1bbf66, #0d8f4d);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  font-weight: 900;
}

.footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.9);
  background: #082942;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 5px;
  border-radius: 18px;
  background: var(--white);
}

.footer strong {
  display: block;
  color: var(--white);
}

.footer p {
  margin: 4px 0 0;
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: 0.7s ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .intro-box,
  .cv-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 78px 0;
  }

  .hero-card {
    max-width: 620px;
    margin: 0 auto;
  }

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

  .service-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 740px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .navbar {
    min-height: 70px;
  }

  .brand span {
    display: none;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding: 56px 0 70px;
  }

  .hero::after,
  .curriculum::before {
    inset: 12px;
    border-radius: 26px;
  }

  .hero-actions,
  .location-card,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-mini-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .logo-frame {
    border-radius: 30px;
  }

  .intro-box,
  .location-card {
    padding: 26px;
  }

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

  .service-card-wide {
    grid-column: span 1;
  }

  .cv-panel {
    padding: 22px;
    border-radius: 28px;
  }

  .cv-panel-head {
    align-items: flex-start;
  }

  .cv-panel-head > span {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .cv-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 16px 16px 18px;
  }

  .cv-date {
    justify-content: flex-start;
  }

  .contact-row {
    flex-direction: column;
    gap: 4px;
  }

  .contact-row a,
  .contact-row strong {
    text-align: left;
  }

  .whatsapp-float {
    left: 14px;
    right: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }

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