@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&family=Fraunces:wght@500;600&display=swap");

:root {
  --orange: #f2a536;
  --orange-dark: #e2931a;
  --navy: #0a2d4e;
  --ink: #1f2a3a;
  --muted: #6c7a90;
  --sand: #f7f5f1;
  --line: #d6dbe3;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(14, 23, 41, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #ffffff 0%, #f5f2ee 40%, #f2f4f8 100%);
  overflow-x: hidden;
}

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

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

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--orange);
  box-shadow: 0 10px 30px rgba(177, 108, 0, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 4vw;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12rem;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #1b3a57;
  box-shadow: inset 0 0 0 2px #f9e1a5;
}

.brand-name {
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #1b3a57;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #1b3a57;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #1b3a57;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  color: #1b3a57;
  text-transform: uppercase;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
}

.lang-switch img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  border: 1px solid rgba(27, 58, 87, 0.3);
}

.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  background: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(242, 165, 54, 0.25), transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.hero-text h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.4rem, 3.5vw, 3.1rem);
  color: #1b3a57;
  margin: 0 0 1rem;
}

.hero-subtitle {
  color: var(--muted);
  max-width: 420px;
  line-height: 1.6;
}

.logo-row {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  margin-top: 2.5rem;
}

.logo-row img {
  height: 26px;
  width: auto;
  filter: grayscale(0.2);
}

.hero-photo {
  background: linear-gradient(135deg, #f6f7fb, #eef1f6);
  padding: 1rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-photo img {
  border-radius: 24px;
  height: 360px;
  width: 100%;
  object-fit: cover;
}

.values {
  background: linear-gradient(135deg, var(--orange) 0%, #f5b44c 100%);
  color: #1b3a57;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.values::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.15) 0,
    rgba(255, 255, 255, 0.15) 1px,
    transparent 1px,
    transparent 24px
  );
  opacity: 0.4;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.value-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
}

.value-title h3 {
  margin: 0;
  letter-spacing: 0.1rem;
}

.dot {
  width: 9px;
  height: 9px;
  background: #1b3a57;
  border-radius: 50%;
}

.values p {
  max-width: 430px;
  line-height: 1.6;
}

.feature {
  padding: 4rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.feature-text h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin: 0.6rem 0 1rem;
}

.feature-text p {
  color: var(--muted);
  line-height: 1.7;
}

.section-tag {
  font-size: 0.78rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: #1b3a57;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-tag::before {
  content: "";
  width: 22px;
  height: 2px;
  background: #1b3a57;
}

.feature-media img {
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.retrofit {
  background: linear-gradient(135deg, #0a2d4e 0%, #0f355e 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.retrofit::before {
  content: "";
  position: absolute;
  top: 30px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.retrofit .feature-text p,
.retrofit .section-tag,
.retrofit h2 {
  color: var(--white);
}

.retrofit .section-tag::before {
  background: var(--white);
}

.banner img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.course {
  padding: 4rem 0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.course-text h2 {
  margin: 0.6rem 0 1rem;
}

.course-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  color: var(--muted);
}

.course-text li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.2rem;
}

.course-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.course-media img {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.ghost {
  border: 1px solid #1b3a57;
  background: transparent;
  color: #1b3a57;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
}

.contact {
  background: linear-gradient(135deg, var(--orange) 0%, #f7b95d 100%);
  padding: 3rem 0 2rem;
  position: relative;
}

.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 60%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-map img {
  border-radius: 18px;
  border: 6px solid rgba(255, 255, 255, 0.6);
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.contact-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
}

.contact-socials img {
  width: 16px;
  height: 16px;
}

.contact-logo {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  align-items: center;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.whatsapp img {
  width: 22px;
  height: 22px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .course-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    position: absolute;
    top: 70px;
    right: 4vw;
    background: #f9c36c;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none;
  }

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

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 0.8rem 6vw;
  }

  .hero {
    padding: 3rem 0 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-socials {
    flex-direction: row;
    justify-content: center;
  }

  .contact-logo {
    justify-content: center;
  }
}
