/* Burecom, shared styles.
   Tokens and components used by every page. Page-only styles live in assets/css/pages/{view}.css.
   Breakpoints used across the site: 600px, 720px, 1180px (header switches to the menu button), 1200px. */

:root {
  --green: #016D41;
  --deep: #0A2B1D;
  --paper: #F5F3EC;
  --soft: #E6EFE8;
  --line: #DDE3DC;
  --line-paper: #C9D3CC;
  --line-deep: #285640;
  --line-faint: #EEF1EC;
  --ink: #12271D;
  --body: #4B5A52;
  --body-dark: #BFD0C5;
  --mint: #8FCBA5;
  --mist: #E2F0E6;
  --error: #B3261E;
  --placeholder: #8A968F;

  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Figtree', system-ui, sans-serif;

  --max: 1320px;
  --side: clamp(20px, 4vw, 56px);
  --section-y: clamp(64px, 10vw, 144px);
  --radius: 28px;
  --radius-input: 12px;
  --header-h: 84px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; }
img { max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--deep); }
h1, h2, h3, p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 12px 20px; border-radius: 999px; background: var(--green); color: #FFFFFF; font-weight: 600; }
.skip-link:focus { top: 12px; color: #FFFFFF; }

@keyframes bu-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes bu-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes bu-dot { 0%, 100% { transform: scale(.4); opacity: .35; } 45% { transform: scale(1); opacity: 1; } }
.anim-in { animation: bu-in .8s ease .05s backwards; }
.anim-in-late { animation: bu-in .9s ease .15s backwards; }
.anim-pop { animation: bu-in .5s ease both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; }
.section { padding: var(--section-y) var(--side); scroll-margin-top: var(--header-h); }
.section--paper { background: var(--paper); }
.section--green { position: relative; background: var(--green); color: #FFFFFF; overflow: hidden; }
.section--deep { position: relative; background: var(--deep); color: #FFFFFF; overflow: hidden; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.split--440 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack--start { align-items: flex-start; }

/* Type */
.h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6vw, 88px); line-height: 1; letter-spacing: -0.03em; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -0.025em; }
.h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.01em; }
.lead { margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: var(--body); }
.intro { margin: 0; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--body); max-width: 540px; }
.text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }
.on-dark .lead, .on-dark .intro { color: var(--mist); }

/* Buttons: pills, 56px large and 48px small. Never disabled. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border: 0; border-radius: 999px;
  font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--sm { height: 48px; padding: 0 24px; font-size: 16px; }
.btn--primary { background: var(--green); color: #FFFFFF; }
.btn--primary:hover { background: var(--deep); color: #FFFFFF; }
.btn--outline { border: 1.5px solid var(--ink); background: #FFFFFF; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #FFFFFF; }
/* On green or deep grounds */
.btn--light { background: var(--green); color: #FFFFFF; }
.btn--light:hover { background: #FFFFFF; color: var(--green); }
.btn--white { background: #FFFFFF; color: var(--green); }
.btn--white:hover { background: var(--deep); color: #FFFFFF; }
.btn--ghost { border: 1.5px solid #FFFFFF; background: transparent; color: #FFFFFF; }
.btn--ghost:hover { background: #FFFFFF; color: var(--deep); }
.btn--block { display: flex; width: 100%; }

/* Text link: ink, 2px green underline, offset 7px */
.link {
  align-self: flex-start;
  font-size: 17px; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 7px;
  transition: color .2s;
}
.link:hover { color: var(--green); }
.link--green { color: var(--green); text-decoration-color: currentColor; }
.link--green:hover { color: var(--deep); }
.on-dark .link { color: #FFFFFF; text-decoration-color: #FFFFFF; }
.on-dark .link:hover { color: var(--mint); }

/* Loader dots inside buttons */
.dots { display: none; gap: 7px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: bu-dot 1s ease-in-out infinite both; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
.is-loading .dots { display: flex; }
.is-loading .btn__label { display: none; }

/* Media: images and cards 28px, arch tops */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media--arch { border-radius: 999px 999px var(--radius) var(--radius); }
.media--4x3 { aspect-ratio: 4 / 3; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; font-weight: 500; color: var(--body); }
.crumbs a { color: var(--body); }
.crumbs a:hover { color: var(--green); }
.crumbs__sep { color: var(--line-paper); }
.crumbs [aria-current] { color: var(--ink); }

/* Page hero used by inner pages: paper ground, text left, arch image right */
.page-hero { background: var(--paper); padding: var(--section-y) var(--side); }
.page-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.page-hero__media { width: 100%; max-width: 580px; justify-self: center; aspect-ratio: 4 / 4.4; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.input {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-input); background: #FFFFFF;
  font-family: var(--sans); font-size: 17px; font-weight: 400; color: var(--ink); outline: 0;
  transition: border-color .2s;
}
textarea.input { height: auto; padding: 14px 16px; line-height: 1.5; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 4 4-4' fill='none' stroke='%23016D41' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center;
}
.input:focus { border-color: var(--green); }
.input[aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: 14px; font-weight: 600; color: var(--error); }
.form__note { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 400; color: var(--body); }
.form__fail { margin: 0; font-size: 15px; font-weight: 600; color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: #FFFFFF; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.2vw, 40px); }
.form-title { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.015em; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.form-done__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.form-done__text { margin: 0; font-size: 17px; color: var(--body); }
.form-done .btn { height: 50px; padding: 0 24px; font-size: 16px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 40; background: #FFFFFF; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 43, 29, 0.06); }
.site-nav { max-width: var(--max); height: var(--header-h); margin: 0 auto; padding: 0 var(--side); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav__logo { display: block; flex: none; }
.site-nav__logo img { height: 50px; width: auto; }
.site-nav__links { display: flex; align-items: stretch; align-self: stretch; gap: clamp(4px, 1.4vw, 24px); font-size: 16px; font-weight: 500; }
.site-nav__item {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 0 6px; border: 0; background: transparent;
  font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink); transition: color .2s;
}
.site-nav__item:hover, .site-nav__item.is-active, .site-nav__item[aria-expanded="true"] { color: var(--green); }
.site-nav__tools { display: flex; align-items: center; gap: 20px; flex: none; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; }
.lang-switch a { display: flex; align-items: center; height: 36px; padding: 0 8px; color: var(--body); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lang-switch a:hover { color: var(--green); }
.lang-switch a[aria-current] { color: var(--green); text-decoration: underline; }
.lang-switch__sep { width: 1px; height: 14px; background: var(--line); }
.menu-button { display: none; align-items: center; height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; background: #FFFFFF; color: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 600; }

/* Desktop drop-down panel */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(10, 43, 29, 0.08); animation: bu-drop .22s ease both; }
.mega__inner { max-width: var(--max); margin: 0 auto; padding: 40px var(--side) 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 48px; }
.mega__intro { display: flex; flex-direction: column; gap: 14px; padding-right: 24px; border-right: 1px solid var(--line); }
.mega__title { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.mega__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.mega__all { align-self: flex-start; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mega__all:hover { color: var(--deep); }
.mega__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 32px; align-content: start; }
.mega__links a { display: block; padding: 10px 0; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-faint); transition: color .2s; }
.mega__links a:hover { color: var(--green); }

/* Mobile menu panel */
.mobile-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 85px); flex-direction: column; justify-content: space-between; gap: 28px; background: #FFFFFF; padding: 8px var(--side) 28px; overflow-y: auto; }
.mobile-menu__group { border-bottom: 1px solid var(--line); }
.mobile-menu__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border: 0; background: transparent; font-family: var(--serif); font-size: 32px; line-height: 1.1; color: var(--ink); text-align: left; }
.mobile-menu__toggle svg, .footer-col__toggle svg { flex: none; transition: transform .25s; }
.mobile-menu__toggle[aria-expanded="true"] svg, .footer-col__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-menu__links { display: flex; flex-direction: column; padding: 0 0 18px; }
.mobile-menu__links a { padding: 9px 0; font-size: 17px; font-weight: 500; color: var(--body); }
.mobile-menu__links a:hover { color: var(--green); }
.mobile-menu__contact { display: block; color: var(--ink); font-family: var(--serif); font-size: 32px; line-height: 1.1; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__cta { flex: none; height: 58px; font-size: 17px; }

@media (max-width: 1179.98px) {
  .site-nav__links, .site-nav__partner, .mega { display: none !important; }
  .menu-button { display: flex; }
  .site-header.is-menu-open .mobile-menu { display: flex; }
}

/* ===== Footer ===== */
.site-footer { background: var(--deep); color: var(--paper); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 7vw, 96px) var(--side) 36px; display: flex; flex-direction: column; gap: clamp(48px, 5vw, 72px); }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: clamp(40px, 4vw, 56px); border-bottom: 1px solid var(--line-deep); }
.site-footer__about { display: flex; flex-direction: column; gap: 20px; max-width: 420px; }
.site-footer__about img { width: 200px; height: auto; }
.site-footer__about p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body-dark); }
.site-footer__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn--cream { border: 1.5px solid var(--paper); background: transparent; color: var(--paper); }
.btn--cream:hover { background: var(--paper); color: var(--deep); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 40px clamp(24px, 3vw, 48px); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col__title { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--mint); }
.footer-col__toggle { display: none; }
.footer-col__links { display: flex; flex-direction: column; gap: 12px; }
.footer-col__links a, .footer-col span { font-size: 15px; line-height: 1.4; color: var(--paper); transition: color .2s; }
.footer-col span { line-height: 1.5; }
.footer-col__links a:hover { color: var(--mint); }
.site-footer__legal { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line-deep); font-size: 13px; line-height: 1.6; color: var(--body-dark); }
.site-footer__legal p { margin: 0; max-width: 880px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__bottom a { color: var(--body-dark); transition: color .2s; }
.site-footer__bottom a:hover { color: #FFFFFF; }

@media (max-width: 719.98px) {
  .site-footer__cols { gap: 0; }
  .footer-col--fold { gap: 0; border-bottom: 1px solid var(--line-deep); }
  .footer-col--fold .footer-col__title { display: none; }
  .footer-col__toggle {
    width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 0; border: 0; background: transparent; font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--paper); text-align: left;
  }
  .footer-col--fold .footer-col__links { display: none; padding-bottom: 18px; }
  .footer-col--fold.is-open .footer-col__links { display: flex; }
  .footer-col--hq .footer-col__title { margin: 24px 0 4px; }
}

/* ===== Newsletter band ===== */
.news-band { position: relative; background: var(--deep); color: #FFFFFF; padding: var(--section-y) var(--side); overflow: hidden; scroll-margin-top: var(--header-h); }
.news-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.news-band__veil { position: absolute; inset: 0; background: rgba(10, 43, 29, 0.66); }
.news-band__inner { position: relative; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.news-band__inner .h2 { color: #FFFFFF; }
.news-band__inner .lead { color: var(--mist); max-width: 520px; line-height: 1.6; }
.subscribe { width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 12px; }
.subscribe__form { width: 100%; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #FFFFFF; }
.subscribe__input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-family: var(--sans); font-size: 17px; color: var(--ink); outline: 0; }
.subscribe__button { flex: none; min-width: 136px; height: 52px; padding: 0 24px; font-size: 16px; }
.subscribe__done { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; color: #FFFFFF; }
.subscribe__error { font-size: 15px; font-weight: 600; color: #FFFFFF; }
.dots--sm i { width: 8px; height: 8px; }
