/* Import License - public home page */
:root {
  --green-900: #13301f;
  --green-800: #1f5d3a;
  --green-700: #2b7a3f;
  --green-600: #2f8446;
  --green-100: #e8f3ea;
  --gold: #c9a227;
  --ink: #1f2a22;
  --muted: #5b6760;
  --line: #dde6df;
  --bg-tint: #f3f7f3;
  --white: #fff;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --ok: #1f7a45;
  --ok-bg: #e7f5ec;
  --radius: 12px;
  --wrap: 1320px;
  --serif: 'Merriweather', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); font-size: 15px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; margin: 0 0 .6em; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Slider ---------- */
.hero { position: relative; height: clamp(320px, 48vh, 440px); overflow: hidden; background: var(--green-900); }
.hero__slides, .hero__slide { position: absolute; inset: 0; margin: 0; }
.hero__slide { opacity: 0; transition: opacity 1s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%), linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,0) 45%); pointer-events: none; }
.hero__caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 48px; max-width: var(--wrap); margin: 0 auto; padding: 0 90px; }  /* room for the arrows */
.hero__caption h1 { color: #fff; font-weight: 900; font-size: clamp(1.35rem, 2.3vw, 2.2rem); max-width: 680px; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.hero__nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--green-800); font-size: 1rem; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.hero__nav:hover { background: #fff; }
.hero__nav--prev { left: 20px; }
.hero__nav--next { right: 20px; }
.hero__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; }
.hero__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero__dot.is-active { background: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font-family: var(--sans); font-weight: 600; font-size: .92rem; padding: .65rem 1.3rem; border-radius: 8px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { background: var(--green-100); }
.btn--outline { background: rgba(0,0,0,.15); color: #fff; border-color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.15); }
.btn--primary { background: var(--green-800); color: #fff; }
.btn--primary:hover { background: #174a2d; }
.btn--accent { background: var(--gold); color: #1e1a07; }
.btn--accent:hover { background: #b38f1d; }
.btn--block { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; scroll-margin-top: 72px; }
.section--tint { background: var(--bg-tint); }
.section-title { text-align: center; font-size: clamp(1.25rem, 1.8vw, 1.6rem); color: var(--green-800); }
.section-title--left { text-align: left; }
.section-intro { text-align: center; color: var(--muted); max-width: 720px; margin: -6px auto 28px; }
.prose { max-width: 980px; }
.prose h2 { color: var(--green-800); font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.prose p { color: #33403a; }

/* ---------- Login + registration ---------- */
.access-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.access-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: 0 10px 30px rgba(20,50,30,.07); scroll-margin-top: 100px; }
.access-card h2 { color: var(--green-800); font-size: 1.3rem; margin-bottom: .2em; }
.access-card__lead { color: var(--muted); margin: 0 0 1.2rem; }
.access-card--register { background: linear-gradient(160deg, var(--green-100), #fff 60%); display: flex; flex-direction: column; }
.access-card--register .btn { margin-top: auto; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1.6rem; }
.steps li { counter-increment: s; display: flex; gap: .8rem; align-items: center; padding: .55rem 0; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--green-800); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; flex-shrink: 0; }

.login-form label { display: block; font-weight: 600; font-size: .85rem; margin: 0 0 .35rem; }
.input-icon { position: relative; margin-bottom: 1rem; }
.input-icon > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon input { width: 100%; font: inherit; padding: .75rem .9rem .75rem 2.6rem; border: 1px solid #c9d3cc; border-radius: 8px; background: #fff; }
.input-icon--toggle input { padding-right: 3rem; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: .5rem .6rem; cursor: pointer; }
.login-form input:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(47,132,70,.2); }
.login-form input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180,35,24,.15); }
.captcha-row { display: flex; align-items: center; gap: 10px; margin-bottom: 1.3rem; flex-wrap: wrap; }
.captcha-row img { height: 46px; width: 150px; border: 1px solid var(--line); border-radius: 8px; background: #f1f5ef; }
.captcha-refresh { width: 46px; height: 46px; border: 1px solid #c9d3cc; border-radius: 8px; background: #fff; color: var(--green-800); cursor: pointer; }
.captcha-row input { width: 130px; font: inherit; font-size: 1rem; letter-spacing: .25em; padding: .6rem .8rem; border: 1px solid #c9d3cc; border-radius: 8px; }

.alert { border-radius: 8px; padding: .6rem .85rem; margin-bottom: 1rem; font-size: .86rem; }
.alert--error { background: var(--danger-bg); color: var(--danger); border: 1px solid #f5c2bd; }
.alert--ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #b7dfc4; }

/* ---------- Documents ---------- */
.doc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: flex; align-items: center; gap: 14px; font-weight: 500; }
.doc-card i { width: 40px; height: 40px; border-radius: 10px; background: var(--green-100); color: var(--green-800); display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.contact-address { font-style: normal; font-size: .95rem; line-height: 1.8; margin-bottom: 1rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .7rem; align-items: center; padding: .3rem 0; }
.contact-list i { color: var(--green-700); width: 18px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--bg-tint); }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }


/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .access-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero__nav { width: 40px; height: 40px; font-size: .9rem; }
  .hero__caption { bottom: 56px; padding: 0 72px; }
  .section { padding: 44px 0; scroll-margin-top: 64px; }
  .access-card { padding: 22px 18px; }
}
@media (max-width: 560px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .hero__nav { display: none; }
  .hero__caption { padding: 0 16px; }
  .btn { width: 100%; }
  .captcha-row input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide { transition: none; }
}
