:root {
  color-scheme: light;
  --green: #075b50;
  --deep: #06473f;
  --gold: #b18a2f;
  --cream: #fbf9f0;
  --ink: #142e2a;
  --muted: #687873;
  --line: #dce7e0;
  --white: #fff;
  --shadow: 0 18px 50px #123a2b1a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f6f8f4;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #c49c42;
  outline-offset: 3px;
}
.wrap { width: min(1080px, calc(100% - 36px)); margin-inline: auto; }

.ticker-bar { background: var(--green); color: #fff; font-size: 12px; }
.ticker-inner { min-height: 36px; display: flex; align-items: center; gap: 14px; }
.ticker-viewport { min-width: 0; flex: 1; overflow: hidden; }
.ticker-track { display: flex; width: max-content; }
.ticker-copy { display: flex; flex: 0 0 auto; align-items: center; gap: 24px; padding-inline: 18px; white-space: nowrap; }
.ticker-separator { color: #f4d985; font-size: 10px; }
.ticker-toggle { padding: 4px 8px; color: #fff; background: transparent; border: 1px solid #ffffff80; border-radius: 5px; font: inherit; font-size: 10px; cursor: pointer; }
.ticker-toggle:hover { background: #ffffff1a; }
.ticker-bar.is-paused .ticker-track { animation-play-state: paused; }
.announcement { background: var(--deep); color: #eaf3ed; font-size: 12px; }
.announcement-inner { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.announcement a { color: #f4d985; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: announcement-scroll 32s linear infinite; }
  .ticker-viewport:hover .ticker-track,
  .ticker-viewport:focus-within .ticker-track { animation-play-state: paused; }
}
@keyframes announcement-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-inner { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 8px; }
  .ticker-viewport { width: 100%; overflow: visible; }
  .ticker-track { width: auto; flex-wrap: wrap; gap: 3px 18px; }
  .ticker-copy { display: contents; padding: 0; white-space: normal; }
  .ticker-copy + .ticker-copy { display: none; }
  .ticker-toggle { display: none; }
}
.site-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { color: var(--deep); font-size: 14px; line-height: 1.25; }
.brand small { color: var(--muted); font-size: 11px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 700; }
.nav-links > a:not(.button):hover, .email-link:hover, .steps-note a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: background-color .2s, transform .2s;
  cursor: pointer;
}
.button:hover { transform: translateY(-1px); }
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: var(--deep); }
.button-light { background: #fff; color: var(--green); border-color: #d2dfd7; }
.button-light:hover { background: #f2f7f2; }

.hero { padding: 56px 0 44px; background: linear-gradient(135deg, #f3f7ef, #fff 55%, #f6f1df); }
.hero-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 46px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { display: inline-block; width: 24px; height: 2px; margin: 0 9px 3px 0; background: var(--gold); content: ""; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { max-width: 570px; margin: 16px 0; color: var(--deep); font-size: clamp(40px, 5vw, 62px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
h1 span { color: var(--gold); }
.hero-lead { max-width: 520px; margin: 0 0 24px; color: #53655e; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.flyer { margin: 0; padding: 8px; overflow: hidden; background: #fff; border: 1px solid #e5e6d8; border-radius: 14px; box-shadow: var(--shadow); }
.flyer img { display: block; width: 100%; height: auto; border-radius: 8px; }
.flyer figcaption { padding: 10px 7px 2px; color: var(--muted); font-size: 11px; text-align: center; }

.section { padding: 58px 0; }
.section-heading { margin-bottom: 25px; }
.section-heading h2, .registration-intro h2 { margin: 8px 0 10px; color: var(--deep); font-size: clamp(29px, 3.5vw, 40px); font-weight: 600; line-height: 1.15; }
.section-heading > p:last-child, .registration-intro > p:not(.eyebrow) { max-width: 650px; margin: 0; color: var(--muted); font-size: 14px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { min-height: 170px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.card-icon { display: inline-grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: #e7f1e9; color: var(--green); font-size: 12px; font-weight: 850; }
.info-card h3 { margin: 13px 0 6px; color: var(--deep); font-size: 16px; }
.info-card p { margin: 0; color: var(--muted); font-size: 13px; }

.registration-section { background: #fff; border-block: 1px solid #edf1ec; scroll-margin-top: 18px; }
.registration-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 52px; }
.registration-intro { padding-top: 16px; }
.registration-intro h2 { max-width: 410px; margin-bottom: 15px; }
.privacy-note { display: flex; align-items: flex-start; gap: 11px; margin: 24px 0 17px; padding: 15px; background: #f5f7f2; border: 1px solid var(--line); border-radius: 9px; }
.privacy-note > span { display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; border-radius: 50%; background: #e2eee5; color: var(--green); font-size: 12px; font-weight: 900; }
.privacy-note p { margin: 0; color: #53655e; font-size: 12px; }
.email-link { color: var(--green); font-size: 13px; font-weight: 750; }
.registration-form { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 38px #123a2b0d; }
.form-heading { margin-bottom: 21px; }
.form-step { color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.form-heading h3 { margin: 5px 0 3px; color: var(--deep); font: 600 27px/1.2 Georgia, "Times New Roman", serif; }
.form-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.form-heading p span, .field label span, .consent > span > span { color: #a73c2d; }
.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field label { color: #263f36; font-size: 12px; font-weight: 750; }
.field input {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd8cf;
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
}
.field input::placeholder { color: #87938d; }
.field input:focus { border-color: var(--green); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 18px; color: #53655e; font-size: 11px; cursor: pointer; }
.consent input { width: 16px; height: 16px; flex: 0 0 16px; margin: 1px 0 0; accent-color: var(--green); }
.submit-button { width: 100%; }
.form-status { min-height: 0; margin: 0; color: var(--green); font-size: 12px; font-weight: 700; }
.form-status:not(:empty) { margin-top: 12px; padding: 11px; background: #edf6ef; border-radius: 7px; }
.form-footnote { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

.steps-section { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 13px; padding: 19px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.steps li > span { color: var(--gold); font: 700 24px/1 Georgia, "Times New Roman", serif; }
.steps h3 { margin: 0 0 6px; color: var(--deep); font-size: 14px; }
.steps li p { margin: 0; color: var(--muted); font-size: 12px; }
.steps-note { margin: 19px 0 0; color: var(--muted); font-size: 13px; }
.steps-note a { color: var(--green); font-weight: 750; }
.document-status { min-width: 0; margin: 3px 0 17px; padding: 15px; border: 1px solid var(--line); border-radius: 8px; }
.applicant-details { min-width: 0; margin: 0 0 16px; padding: 15px; border: 1px solid var(--line); border-radius: 8px; }
.applicant-details legend { padding-inline: 5px; color: var(--deep); font-size: 12px; font-weight: 800; }
.applicant-details .field:last-child { margin-bottom: 0; }
.document-status legend { padding-inline: 5px; color: var(--deep); font-size: 12px; font-weight: 800; }
.document-status > p { margin: 0 0 14px; color: var(--muted); font-size: 11px; }
.document-status .field:last-child { margin-bottom: 0; }
.field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd8cf;
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
}
.field select { min-height: 45px; }
.field textarea { resize: vertical; }
.field select:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid #c49c4240; }
.optional-label { color: var(--muted); font-size: 11px; font-weight: 500; }
.field-hint { align-self: center; margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.field-hint strong { color: var(--deep); }
.site-footer { padding: 20px 0; background: #073a33; color: #d4e4dc; font-size: 11px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-brand { font-size: 12px; font-weight: 750; }
.footer-brand img { width: 27px; height: 27px; object-fit: contain; }
.footer-inner > a:last-child { color: #f4d985; }
.floating-whatsapp {
  position: fixed;
  z-index: 5;
  right: max(18px, calc((100vw - 1160px) / 2));
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 17px;
  color: #fff;
  background: #087b54;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 6px 22px #123a2b40;
  transition: background-color .2s, transform .2s;
}
.floating-whatsapp:hover { background: #056642; transform: translateY(-2px); }
.floating-whatsapp svg { width: 25px; height: 25px; flex: 0 0 25px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.floating-whatsapp span, .floating-whatsapp strong, .floating-whatsapp small { display: block; }
.floating-whatsapp strong { font-size: 12px; line-height: 1.3; }
.floating-whatsapp small { color: #e5f5ed; font-size: 10px; line-height: 1.3; }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { max-width: 650px; }
  .flyer { width: min(100%, 560px); margin-inline: auto; }
  .registration-grid { grid-template-columns: 1fr; gap: 24px; }
  .registration-intro { padding-top: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { min-height: 90px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .announcement-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 0; padding-block: 7px; font-size: 10px; }
  .nav { min-height: 66px; }
  .brand { gap: 8px; }
  .brand img { width: 39px; height: 39px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 9px; }
  .nav-links { gap: 0; }
  .nav-links > a:not(.button) { display: none; }
  .nav-links .button { min-height: 40px; padding: 8px 11px; font-size: 11px; }
  .hero { padding: 38px 0 31px; }
  h1 { font-size: clamp(39px, 11vw, 49px); }
  .hero-lead { font-size: 14px; }
  .section { padding: 43px 0; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 0; padding: 18px; }
  .steps { grid-template-columns: 1fr; }
  .registration-form { padding: 21px 17px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-heading h3 { font-size: 25px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .floating-whatsapp { right: 14px; bottom: 14px; min-height: 50px; padding: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
