:root {
  --navy-950: #07152d;
  --navy-900: #0b1f43;
  --navy-800: #102b57;
  --navy-700: #153a6f;
  --gold: #f1b84a;
  --gold-dark: #c98f22;
  --white: #ffffff;
  --mist: #eef5ff;
  --ink: #172033;
  --muted: #64718a;
  --line: rgba(255, 255, 255, .18);
  --shadow: 0 24px 70px rgba(3, 12, 28, .18);
  --radius: 8px;
  --container: 1160px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.section {
  padding: 92px 0;
}

.section.dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.section.soft {
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy-900);
  line-height: 1.08;
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.hero h1,
.page-hero h1,
.cta-band h2 {
  color: var(--white);
}

h1 {
  font-size: clamp(2.55rem, 6vw, 5.3rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

p {
  margin: 0;
  color: var(--muted);
}

.dark p,
.hero p,
.page-hero p,
.cta-band p {
  color: rgba(255, 255, 255, .78);
}

.lead {
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(3, 12, 28, .18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #ffd978);
  color: var(--navy-950);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.btn-light {
  background: var(--white);
  color: var(--navy-900);
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(7, 21, 45, .84);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold), #fff1b7);
  color: var(--navy-950);
  box-shadow: 0 14px 28px rgba(241, 184, 74, .22);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text span {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

.nav-links a {
  position: relative;
  padding: 12px 13px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .82);
  font-size: .94rem;
  font-weight: 750;
  transition: background .25s ease, color .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--navy-950);
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, rgba(7, 21, 45, .94), rgba(16, 43, 87, .82)), url("../images/hero-campus.svg") center/cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(7, 21, 45, 0), #f8fbff 88%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .72fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding: 72px 0 118px;
}

.hero-copy {
  max-width: 780px;
}

.hero-copy .lead {
  max-width: 670px;
  margin-top: 22px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-pill {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .86);
  font-size: .92rem;
  font-weight: 750;
  backdrop-filter: blur(14px);
}

.hero-card,
.glass-card {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  padding: 26px;
}

.admission-panel {
  overflow: hidden;
  background: rgba(255, 255, 255, .14);
}

.panel-top {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.panel-top strong {
  display: block;
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.panel-top h2 {
  margin-top: 8px;
  font-size: 2rem;
}

.quick-list {
  display: grid;
  gap: 12px;
  padding: 22px 24px 24px;
}

.quick-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .86);
  list-style: none;
}

.quick-list li::before {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-950);
  font-size: .62rem;
  font-weight: 900;
  content: "OK";
}

.stats-strip {
  position: relative;
  z-index: 5;
  margin-top: -70px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat {
  padding: 30px 24px;
  border-right: 1px solid #e7edf6;
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--navy-900);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.grid-3,
.grid-4,
.split,
.contact-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.split {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 48px;
}

.feature-card,
.course-card,
.testimonial-card,
.story-card,
.faq-item,
.info-card,
.gallery-item,
.form-card {
  border: 1px solid #e3ebf5;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 45px rgba(9, 27, 56, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover,
.course-card:hover,
.testimonial-card:hover,
.story-card:hover,
.gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(241, 184, 74, .62);
  box-shadow: 0 24px 56px rgba(9, 27, 56, .14);
}

.feature-card,
.testimonial-card,
.story-card,
.info-card {
  padding: 26px;
}

.icon-box {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 900;
}

.feature-card p,
.course-card p,
.testimonial-card p,
.story-card p,
.info-card p {
  margin-top: 12px;
}

.course-card {
  overflow: hidden;
}

.course-media {
  min-height: 170px;
  background: linear-gradient(135deg, rgba(11, 31, 67, .92), rgba(21, 58, 111, .72)), url("../images/course-showcase.svg") center/cover;
}

.course-body {
  padding: 24px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--navy-800);
  font-size: .78rem;
  font-weight: 850;
}

.story-card {
  color: var(--white);
  background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .06));
  border-color: rgba(255, 255, 255, .17);
}

.story-card h3,
.story-card p {
  color: var(--white);
}

.story-card .story-number {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 950;
  line-height: 1;
}

.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 3rem;
  font-weight: 900;
  line-height: .7;
  content: "\"";
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.avatar {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold);
  font-weight: 900;
}

.person strong {
  display: block;
  color: var(--navy-900);
}

.person span {
  color: var(--muted);
  font-size: .9rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-700));
  box-shadow: var(--shadow);
}

.cta-band::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(241, 184, 74, .26), rgba(255, 255, 255, 0) 42%);
  content: "";
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .section-actions {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #eef5ff;
  color: var(--navy-900);
  transition: transform .25s ease;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.faq-answer p {
  padding: 0 24px 22px;
}

.contact-grid {
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.info-card {
  display: flex;
  gap: 16px;
}

.form-card {
  padding: 28px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--navy-900);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(241, 184, 74, .16);
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  font-weight: 800;
}

.form-status.error {
  color: #b42318;
}

.form-status.success {
  color: #087443;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 76px;
  background: linear-gradient(135deg, rgba(7, 21, 45, .96), rgba(21, 58, 111, .86)), url("../images/gallery-campus.svg") center/cover no-repeat;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.breadcrumb {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
}

.breadcrumb a {
  color: var(--gold);
}

.content-panel {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  list-style: none;
}

.check-list li::before {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-950);
  font-size: .58rem;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
  content: "OK";
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-step {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--gold);
  font-weight: 950;
}

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

.gallery-item {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: var(--navy-900);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  min-height: 230px;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, rgba(7, 21, 45, .05), rgba(7, 21, 45, .82));
  color: var(--white);
  font-weight: 900;
}

.map-frame {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}

.footer {
  color: rgba(255, 255, 255, .74);
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 34px;
  padding: 62px 0;
}

.footer h3,
.footer h4 {
  color: var(--white);
}

.footer p {
  margin-top: 14px;
  color: rgba(255, 255, 255, .7);
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, .72);
  transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .62);
  font-size: .92rem;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  gap: 10px;
}

.float-btn,
.back-top {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(3, 12, 28, .22);
  color: var(--white);
  font-weight: 950;
  cursor: pointer;
  transition: transform .25s ease, opacity .25s ease;
}

.float-btn:hover,
.back-top:hover {
  transform: translateY(-3px);
}

.float-whatsapp {
  background: #25d366;
}

.float-call {
  background: var(--gold-dark);
}

.back-top {
  opacity: 0;
  pointer-events: none;
  background: var(--navy-900);
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

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

@media (max-width: 1020px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: rgba(7, 21, 45, .98);
    transform: translateY(-120%);
    transition: transform .28s ease;
  }

  .menu-open .nav-links {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 15px 12px;
  }

  .hero-inner,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 56px;
  }

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

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

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

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .brand-text {
    font-size: .92rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 46px 0 104px;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .stats-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .gallery-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    margin-top: -42px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid #e7edf6;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .cta-band {
    padding: 32px 24px;
  }

  .page-hero {
    padding: 64px 0 58px;
  }

  .content-panel,
  .form-card {
    padding: 24px;
  }

  .timeline-item {
    grid-template-columns: 48px 1fr;
  }

  .timeline-step {
    width: 48px;
    height: 48px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .float-btn,
  .back-top {
    width: 46px;
    height: 46px;
  }
}

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

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