:root {
  --ink: #171717;
  --muted: #5e646e;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #dedbd2;
  --green: #0f6b57;
  --green-dark: #094a3d;
  --blue: #204f8f;
  --gold: #d79a2b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 178px;
  height: auto;
}

.academy-site .site-header {
  background: rgba(255, 255, 255, 0.94);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: var(--ink);
  padding: 10px 14px;
  border-radius: 7px;
  border: 1px solid var(--ink);
  line-height: 1;
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.nav-cta-whatsapp {
  background: var(--green);
  border-color: var(--green);
}

.nav-cta-whatsapp:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
}

.button-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero,
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(44px, 8vw, 98px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(15, 107, 87, 0.12), transparent 44%),
    radial-gradient(circle at 80% 30%, rgba(215, 154, 43, 0.22), transparent 28%),
    var(--paper);
}

.home-hero {
  min-height: 82vh;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-text {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: transparent;
}

.full {
  width: 100%;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel div,
.announcement-card,
.intro-grid article,
.course-card,
.timeline article,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 23, 23, 0.07);
}

.hero-panel div {
  padding: 24px;
}

.announcement-card {
  padding: 30px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.announcement-card h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.announcement-card p {
  color: var(--muted);
}

.announcement-card a {
  display: inline-flex;
  width: max-content;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 900;
}

.academy-highlights {
  display: grid;
  gap: 9px;
  margin: 4px 0 18px;
}

.academy-highlights span {
  padding-top: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.academy-highlights strong {
  margin-right: 4px;
  color: var(--blue);
}

.metric {
  display: block;
  color: var(--blue);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.label {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.training-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--green-dark);
}

.training-banner h2 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
}

.training-banner .eyebrow {
  color: #cbe8df;
}

.training-banner .button.primary {
  flex: 0 0 auto;
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  background: #fff;
}

.intro-grid,
.course-grid,
.timeline {
  display: grid;
  gap: 18px;
}

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

.intro-grid article {
  padding: 22px;
}

.intro-grid p,
.course-card p,
.timeline p,
.split p,
.contact p,
.section-heading p {
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

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

.course-card {
  padding: 26px;
}

.course-card.featured {
  border-color: rgba(15, 107, 87, 0.5);
  box-shadow: 0 20px 55px rgba(15, 107, 87, 0.14);
}

.tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

li + li {
  margin-top: 10px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
  background: #eef5f2;
}

.project-list {
  display: grid;
  gap: 12px;
}

.project-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.16);
}

.project-list span {
  color: var(--muted);
}

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

.timeline article {
  padding: 22px;
}

.timeline span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: center;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: #17201d;
}

.contact .eyebrow,
.contact p {
  color: #cbe8df;
}

.contact-card {
  padding: 24px;
}

.contact-card .button + .button {
  margin-top: 12px;
}

.location-section {
  background: #fff;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.map-card,
.address-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 23, 23, 0.07);
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.address-card {
  padding: 26px;
}

.address-card p {
  color: var(--muted);
}

.compact-list {
  margin: 18px 0 22px;
}

.compact-list div {
  grid-template-columns: 90px 1fr;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(15, 107, 87, 0.16);
}

.small {
  margin: 16px 0 0;
  font-size: 14px;
}

.site-footer {
  padding: 26px clamp(18px, 5vw, 72px);
  color: #cbe8df;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer p,
.site-footer span {
  margin: 0;
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.site-footer a:hover {
  color: #f2c05c;
}

.site-footer span {
  color: rgba(203, 232, 223, 0.82);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-controls {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-actions .nav-cta {
    flex: 1 1 200px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .home-hero,
  .intro,
  .split,
  .location-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .course-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero,
  .home-hero {
    min-height: auto;
  }

  .brand-logo {
    width: 164px;
  }

  .training-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(40px, 12vw, 64px);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-logo {
    width: 150px;
  }

  nav {
    gap: 14px;
    font-size: 14px;
  }

  .hero,
  .home-hero,
  .section,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .project-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .map-card iframe {
    min-height: 320px;
  }

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

  .header-actions {
    flex-direction: column;
  }

  .header-actions .nav-cta {
    width: 100%;
  }
}
