/* ==========================================================================
   RYCP Rwanda Community - Main Stylesheet
   Green and white brand palette drawn from the RYCP logo, with warm yellow,
   sky blue and orange used sparingly as accents.
   Mobile first. Breakpoints: 640px, 900px, 1200px.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Brand colors */
  --green-950: #072616;
  --green-900: #0c3520;
  --green-800: #11492c;
  --green-700: #166534;
  --green-600: #1a8043;
  --green-500: #23a457;
  --green-100: #d9f0e2;
  --green-50: #f1faf4;

  --yellow: #f5b301;
  --orange: #ef7622;
  --blue: #2b95d0;

  /* Neutrals */
  --ink: #16231b;
  --body: #45544b;
  --soft: #6b7a70;
  --line: #e2ece6;
  --mist: #f6f9f7;
  --white: #ffffff;

  /* Type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rhythm */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(12, 53, 32, 0.06);
  --shadow: 0 12px 32px rgba(12, 53, 32, 0.10);
  --shadow-lg: 0 24px 60px rgba(12, 53, 32, 0.16);

  --header-h: 72px;
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 87.5%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  color: var(--ink);
  line-height: 1.2;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.2rem); }
h4 { font-size: 0.98rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }

ul { padding-left: 1.2em; margin: 0 0 1em; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--green-100); color: var(--green-900); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4.5vw, 2rem);
}

.section { padding-block: clamp(3.6rem, 8.5vw, 6rem); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--green-900); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255, 255, 255, 0.82); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}
.section--dark .eyebrow { color: #8fd8ad; }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1rem; }

.grid { display: grid; gap: 1.5rem; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(26, 128, 67, 0.32);
}
.btn--primary:hover {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(22, 101, 52, 0.4);
}

.btn--yellow {
  background: var(--yellow);
  color: var(--green-950);
  box-shadow: 0 10px 24px rgba(245, 179, 1, 0.3);
}
.btn--yellow:hover { background: #ffc41f; color: var(--green-950); }

.btn--outline {
  border-color: var(--green-600);
  color: var(--green-700);
  background: transparent;
}
.btn--outline:hover { background: var(--green-50); color: var(--green-800); }

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.btn--ghost-light:hover {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--white);
}

/* ---------- Top bar ---------- */

.topbar {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  display: none;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}
.topbar a { color: rgba(255, 255, 255, 0.9); display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--yellow); }
.topbar svg { width: 15px; height: 15px; }
.topbar-contacts { display: flex; gap: 1.4rem; }

@media (min-width: 900px) { .topbar { display: block; } }

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(12, 53, 32, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}
.brand img { height: 46px; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-links a:hover { color: var(--green-700); background: var(--green-50); }
.nav-links a[aria-current="page"] {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-cta { display: none; }

@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; min-height: 44px; padding: 0.6rem 1.3rem; }
  .nav-toggle { display: none !important; }
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--green-800);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }

.mobile-menu__scrim {
  position: absolute;
  inset: 0;
  background: rgba(7, 38, 22, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
  border: 0;
  width: 100%;
}
.mobile-menu.is-open .mobile-menu__scrim { opacity: 1; }

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(340px, 88vw);
  background: var(--white);
  padding: 1.2rem 1.4rem 2rem;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.28, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.mobile-menu__head img { height: 40px; width: auto; }

.mobile-menu__close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--mist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
}
.mobile-menu__close svg { width: 20px; height: 20px; }

.mobile-menu nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu nav a {
  display: block;
  padding: 0.9rem 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--mist);
  border-radius: 6px;
}
.mobile-menu nav a:hover { color: var(--green-700); }
.mobile-menu nav a[aria-current="page"] { color: var(--green-700); }

.mobile-menu__cta { margin-top: 1.6rem; display: grid; gap: 0.8rem; }

.mobile-menu__contact {
  margin-top: auto;
  padding-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--soft);
}
.mobile-menu__contact a { display: block; padding: 0.2rem 0; }

body.menu-open { overflow: hidden; }

/* ---------- Hero slider ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--green-900);
}

.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero__slide.is-active {
  opacity: 1;
  animation: heroZoom 9s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(12deg, rgba(7, 38, 22, 0.9) 12%, rgba(7, 38, 22, 0.62) 48%, rgba(7, 38, 22, 0.3) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.hero__badge::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  flex: none;
}

.hero h1 {
  color: var(--white);
  max-width: 17ch;
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  margin-bottom: 0.5em;
}
.hero h1 .accent { color: var(--yellow); }

.hero p {
  max-width: 54ch;
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.4rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero__actions .btn {
  min-height: 42px;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}
.hero__actions .btn svg { width: 15px; height: 15px; }

/* Inner page hero */
.page-hero {
  position: relative;
  background: var(--green-900);
  color: var(--white);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(15deg, rgba(7, 38, 22, 0.94), rgba(7, 38, 22, 0.55));
}
.page-hero .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(4.2rem, 9vw, 6.5rem);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.4em; }
.page-hero p { max-width: 60ch; color: rgba(255, 255, 255, 0.85); font-size: 1rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.75); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb li:not(:first-child)::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumb [aria-current] { color: var(--yellow); font-weight: 600; }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--green-100);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  color: var(--green-600);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }

.card--yellow .card__icon { background: #fff7e0; color: #c78e00; }
.card--blue .card__icon { background: #e8f4fb; color: var(--blue); }
.card--orange .card__icon { background: #fdeee2; color: var(--orange); }

.card h3 { margin-bottom: 0.45em; }
.card p { font-size: 0.97rem; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.94rem;
  margin-top: 0.9rem;
}
.card__link svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.2s ease;
}
.card__link:hover svg { transform: translateX(4px); }

/* Photo cards */
.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.photo-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.photo-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-card:hover .photo-card__img img { transform: scale(1.06); }
.photo-card__body { padding: 1.4rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.photo-card__body p { font-size: 0.96rem; }
.photo-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-800);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat { text-align: center; padding: 1.4rem 0.8rem; }
.stat__num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  margin-top: 0.55rem;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

/* ---------- Split sections ---------- */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev > .split__media { order: 2; }
}

.split__media { position: relative; }
.split__media > img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
}
.split__media::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  z-index: -1;
}

.split__chip {
  position: absolute;
  bottom: 1.1rem;
  left: 1.1rem;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
}
.split__chip svg { width: 26px; height: 26px; color: var(--green-600); flex: none; }
.split__chip strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.2; }
.split__chip span { font-size: 0.8rem; color: var(--soft); }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist svg {
  width: 21px; height: 21px;
  color: var(--green-600);
  flex: none;
  margin-top: 3px;
}
.checklist strong { color: var(--ink); }

/* ---------- Value cards ---------- */

.value-pill {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.value-pill svg { width: 22px; height: 22px; color: var(--green-600); flex: none; }

/* ---------- Story / quote ---------- */

.story {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-900);
  color: var(--white);
}
.story__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}
.story__inner {
  position: relative;
  z-index: 2;
  padding: clamp(2.2rem, 6vw, 4rem);
  max-width: 720px;
}
.story__inner .eyebrow { color: #8fd8ad; }
.story__inner h2 { color: var(--white); }
.story__inner p { color: rgba(255, 255, 255, 0.88); font-size: 1rem; }
.story__quote {
  border-left: 4px solid var(--yellow);
  padding-left: 1.2rem;
  margin: 1.6rem 0;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--white);
}
.story__author { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.4rem; }
.story__author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex: none;
}
.story__author strong { display: block; color: var(--white); }
.story__author span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }

/* ---------- Pricing ---------- */

.pricing { align-items: stretch; }

.price-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.price-card--featured {
  border-color: var(--green-600);
  box-shadow: var(--shadow);
}

.price-card__flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card__tier {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.price-card__dot { width: 12px; height: 12px; border-radius: 50%; }
.tier-bronze .price-card__dot { background: #c07a3d; }
.tier-silver .price-card__dot { background: #9aa5ad; }
.tier-gold .price-card__dot { background: var(--yellow); }
.tier-bronze .price-card__tier { color: #a3652f; }
.tier-silver .price-card__tier { color: #66727b; }
.tier-gold .price-card__tier { color: #b28200; }

.price-card__amount {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.2vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.price-card__amount small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--soft);
  letter-spacing: 0;
}
.price-card__per { color: var(--soft); font-size: 0.88rem; margin-bottom: 1.3rem; }

.price-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
}
.price-card__list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--body); }
.price-card__list svg { width: 19px; height: 19px; color: var(--green-600); flex: none; margin-top: 3px; }
.price-card__list .is-inherit { color: var(--soft); font-weight: 600; }
.price-card .btn { margin-top: auto; width: 100%; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .form-field--full { grid-column: 1 / -1; }
}

.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form-field label .req { color: var(--orange); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px; /* fixed, not rem: keeps inputs >=16px so mobile Safari doesn't auto-zoom on focus */
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { min-height: 130px; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(35, 164, 87, 0.15);
}

.form-field .hint { font-size: 0.82rem; color: var(--soft); margin-top: 0.35rem; }

.form-success {
  display: none;
  background: var(--green-50);
  border: 1.5px solid var(--green-100);
  color: var(--green-800);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  margin-top: 1.2rem;
}
.form-success.is-visible { display: flex; gap: 0.7rem; align-items: flex-start; }
.form-success svg { width: 22px; height: 22px; flex: none; color: var(--green-600); margin-top: 2px; }

.form-error {
  display: none;
  background: #fdeee2;
  border: 1.5px solid #f4c19a;
  color: #9a3b12;
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  margin-top: 1.2rem;
}
.form-error.is-visible { display: flex; gap: 0.7rem; align-items: flex-start; }
.form-error svg { width: 22px; height: 22px; flex: none; color: var(--orange); margin-top: 2px; }

.btn:disabled, .btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Accordion / FAQ ---------- */

.accordion { display: grid; gap: 0.9rem; }
.accordion details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg {
  width: 20px; height: 20px;
  color: var(--green-600);
  flex: none;
  transition: transform 0.25s ease;
}
.accordion details[open] summary svg { transform: rotate(180deg); }
.accordion details > div { padding: 0 1.3rem 1.2rem; font-size: 0.97rem; }

/* ---------- Partners ---------- */

.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
.partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
}
.partner-chip svg { width: 18px; height: 18px; color: var(--green-600); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-800);
  color: var(--white);
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  padding: clamp(2.4rem, 6vw, 4rem);
  display: grid;
  gap: 1.6rem;
  text-align: center;
  justify-items: center;
}
.cta-band__inner h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta-band__inner p { color: rgba(255, 255, 255, 0.85); max-width: 55ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- News / media ---------- */

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--soft);
  margin-bottom: 0.5rem;
}
.news-meta svg { width: 15px; height: 15px; color: var(--green-600); }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

/* ---------- Circular gallery (Creative Industry) ---------- */

.circular-gallery-wrap { margin-top: 1rem; }
.circular-gallery {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--green-950);
  cursor: grab;
  display: none;
}
.circular-gallery.is-active { display: block; }
.circular-gallery:active { cursor: grabbing; }
.circular-gallery:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; }
.circular-gallery canvas { display: block; width: 100%; height: 100%; }
@media (min-width: 900px) { .circular-gallery { height: 480px; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(7, 38, 22, 0.82));
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Lightbox ---------- */

body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.lightbox.is-open { visibility: visible; opacity: 1; pointer-events: auto; }

.lightbox__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(7, 38, 22, 0.92);
  cursor: zoom-out;
}

.lightbox__body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 5vw, 3rem);
}

.lightbox__figure {
  margin: 0;
  max-width: min(90vw, 1100px);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: var(--green-950);
}
.lightbox__caption {
  margin-top: 0.9rem;
  color: var(--white);
  font-size: 0.95rem;
  text-align: center;
  max-width: 60ch;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__close svg,
.lightbox__nav svg { width: 22px; height: 22px; }

.lightbox__close { top: clamp(0.8rem, 3vw, 1.6rem); right: clamp(0.8rem, 3vw, 1.6rem); }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.6rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.6rem); }

.lightbox__counter {
  position: absolute;
  bottom: clamp(0.8rem, 3vw, 1.6rem);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav svg { width: 18px; height: 18px; }
}

/* Downloads */
.download-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.download-row:hover { border-color: var(--green-100); box-shadow: var(--shadow); }
.download-row__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.download-row__icon svg { width: 22px; height: 22px; }
.download-row strong { color: var(--ink); display: block; font-size: 0.98rem; }
.download-row span { font-size: 0.83rem; color: var(--soft); }
.download-row .btn { margin-left: auto; min-height: 42px; padding: 0.5rem 1.1rem; font-size: 0.88rem; flex: none; }

/* ---------- Contact ---------- */

.contact-info { display: grid; gap: 1rem; }
.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.contact-info__item svg { width: 22px; height: 22px; color: var(--green-600); flex: none; margin-top: 3px; }
.contact-info__item strong { display: block; color: var(--ink); margin-bottom: 0.15rem; }
.contact-info__item p, .contact-info__item a { font-size: 0.95rem; margin: 0; }

.map-frame {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: block;
}

.socials { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.social-btn {
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-btn:hover { background: var(--green-600); color: var(--white); transform: translateY(-3px); }
.social-btn svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.78); transition: color 0.2s ease; }
.site-footer a:hover { color: var(--yellow); }

.footer-main {
  display: grid;
  gap: 2.4rem;
  padding-block: clamp(3rem, 7vw, 4.5rem) 2.5rem;
}
@media (min-width: 640px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; } }

.footer-brand img { height: 52px; width: auto; background: var(--white); padding: 6px 10px; border-radius: 12px; }
.footer-brand p { margin-top: 1.1rem; max-width: 34ch; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }

.footer-news p { margin-bottom: 1rem; }
.footer-news form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.footer-news input {
  flex: 1 1 180px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  font-family: inherit;
  font-size: 16px; /* fixed, not rem: keeps input >=16px so mobile Safari doesn't auto-zoom on focus */
}
.footer-news input::placeholder { color: rgba(255, 255, 255, 0.5); }
.footer-news input:focus { outline: none; border-color: var(--yellow); }
.footer-news .btn { min-height: 48px; }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { background: var(--yellow); color: var(--green-950); border-color: var(--yellow); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
}
.footer-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 800;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--green-600);
  color: var(--white);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-700); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Misc ---------- */

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  z-index: 1000;
  background: var(--green-800);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: var(--white); }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}
