:root {
  --green-dark: #0b3d2e;
  --green-deeper: #082b20;
  --green-mid: #10513c;
  --accent: #10b981;
  --accent-dark: #0ea271;
  --gold: #d4af37;
  --gold-light: #e9c963;
  --bg: #f6f8f6;
  --card: #ffffff;
  --text: #23302a;
  --muted: #5c6b63;
  --border: #dde5e0;
  --header-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

/* ---------- Sticky header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 61, 46, 0.97);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 4px 16px rgba(8,43,32,0.25);
}
.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  height: var(--header-h);
}
.brand {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--gold); }
nav.main-nav { display: flex; align-items: center; gap: 4px 20px; }
nav.main-nav a {
  color: #e6efe9;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
nav.main-nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
nav.main-nav a.active { color: var(--gold-light); border-bottom-color: var(--gold); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Layout ---------- */
main { max-width: 1040px; margin: 0 auto; padding: 36px 20px 56px; }
main > * + * { margin-top: 1.2em; }

h1 { color: var(--green-dark); font-size: 2.1rem; line-height: 1.25; }
h2 { color: var(--green-dark); font-size: 1.45rem; margin-top: 2em; border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 4px; }
h3 { color: var(--green-mid); font-size: 1.12rem; margin-top: 1.5em; }
p, li { color: var(--text); }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: 0.45em; }
.section-heading { text-align: center; margin-top: 2.6em; }
.section-heading h2 { border-bottom: none; padding-bottom: 0; margin-top: 0; font-size: 1.7rem; }
.section-heading p { color: var(--muted); max-width: 640px; margin: 8px auto 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 300px at 85% -20%, rgba(16,185,129,0.35), transparent 60%),
    linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: #fff;
  border-radius: 18px;
  padding: 64px 44px;
  margin-top: 0;
}
.hero h1 { color: #fff; font-size: 2.6rem; max-width: 620px; }
.hero p { color: #dfe9e3; max-width: 640px; font-size: 1.06rem; margin-top: 14px; }
.hero .gold { color: var(--gold); }
.hero .btn { margin-top: 22px; }

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 1.4em;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(8,43,32,0.05);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(8,43,32,0.10); }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card a { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.card a:hover { color: var(--accent); text-decoration: underline; }
section.card h2 { border: none; padding: 0; margin-top: 0; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 10px;
  margin-top: 12px;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-gold { background: var(--gold); color: var(--green-deeper); }
.btn-gold:hover { background: var(--gold-light); color: var(--green-deeper); }

/* ---------- Notice / legal ---------- */
.notice {
  background: #fdf6e0;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 0.95rem;
}
.notice p { color: #4a4125; }
.ext-link, .legal-cite { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.ext-link:hover, .legal-cite:hover { color: var(--accent); }
.ext-link::after { content: " \2197"; font-size: 0.85em; }

/* ---------- Contact form ---------- */
.contact-section { max-width: 620px; margin: 0 auto; }
.contact-section .form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 1px 3px rgba(8,43,32,0.05);
}
.form-group { margin-top: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--green-dark); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: #fbfdfc;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group .error-msg { display: none; color: #dc2626; font-size: 0.84rem; margin-top: 5px; }
.form-group.invalid input,
.form-group.invalid textarea { border-color: #dc2626; }
.form-group.invalid .error-msg { display: block; }
.form-feedback { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 8px; font-size: 0.93rem; }
.form-feedback.success { display: block; background: #e7f8f1; border: 1px solid var(--accent); color: #0b6e4f; }
.form-feedback.error { display: block; background: #fdeaea; border: 1px solid #dc2626; color: #a11c1c; }
button.btn { border: 0; cursor: pointer; font-size: 1rem; }
button.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--green-deeper);
  color: #c8d6ce;
  padding: 40px 20px 32px;
  font-size: 0.9rem;
}
.footer-inner { max-width: 1040px; margin: 0 auto; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 16px; }
.footer-inner a { color: #e6efe9; text-decoration: none; }
.footer-inner a:hover { color: var(--accent); }
.footer-inner p { color: #9db3a8; margin-top: 6px; }

/* ---------- Mobile nav ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--green-dark);
    padding: 8px 0 14px;
    box-shadow: 0 12px 20px rgba(8,43,32,0.3);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 24px; border-bottom: none; }
  nav.main-nav a:hover, nav.main-nav a.active { background: rgba(255,255,255,0.06); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  h1 { font-size: 1.7rem; }
  .hero { padding: 40px 26px; }
  .hero h1 { font-size: 2rem; }
}

/* =========================================================
   Contact page — "Red mode" Chyto theme (scoped to .contact-page)
   Blends Chyto red/crimson with the dark-green/gold brand.
   ========================================================= */
.contact-page {
  --cx-red: #e11d48;
  --cx-crimson: #dc2626;
  --cx-red-dark: #9f1239;
  --cx-red-soft: rgba(225, 29, 72, 0.12);
}

/* Gradient hero */
.contact-page .cx-hero {
  margin-top: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  color: #fff;
  padding: 72px 48px;
  background:
    radial-gradient(700px 320px at 88% -10%, rgba(212, 175, 55, 0.35), transparent 60%),
    radial-gradient(900px 420px at 10% 110%, rgba(11, 61, 46, 0.75), transparent 65%),
    linear-gradient(130deg, var(--cx-red-dark) 0%, var(--cx-red) 45%, var(--cx-crimson) 100%);
  box-shadow: 0 18px 44px rgba(225, 29, 72, 0.28);
}
.contact-page .cx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 240px at 30% 0%, rgba(255, 255, 255, 0.14), transparent 60%);
  pointer-events: none;
}
.contact-page .cx-hero-inner { position: relative; z-index: 1; max-width: 660px; }
.contact-page .cx-hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffe4ea;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.contact-page .cx-hero h1 {
  color: #fff;
  font-size: 2.7rem;
  line-height: 1.15;
  margin: 0;
}
.contact-page .cx-gold { color: var(--gold-light); }
.contact-page .cx-hero-sub {
  color: #ffe9ed;
  font-size: 1.08rem;
  max-width: 560px;
  margin-top: 16px;
}
.contact-page .cx-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contact-page .cx-badge {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 7px 16px;
}

/* Glassy form card */
.contact-page .cx-section { max-width: 640px; margin: -34px auto 0; position: relative; z-index: 2; }
.contact-page .cx-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(225, 29, 72, 0.18);
  border-radius: 20px;
  padding: 36px 34px;
  box-shadow:
    0 12px 40px rgba(159, 18, 57, 0.16),
    0 2px 8px rgba(8, 43, 32, 0.06);
}
.contact-page .cx-card-title {
  color: var(--cx-red-dark);
  font-size: 1.5rem;
  margin: 0;
}
.contact-page .cx-card-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 4px;
  margin-bottom: 10px;
}

/* Big, friendly inputs */
.contact-page .form-group { margin-top: 26px; }
.contact-page .form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--cx-red-dark);
  letter-spacing: 0.2px;
}
.contact-page .form-group input,
.contact-page .form-group textarea {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 16px;
  font: inherit;
  font-size: 1.02rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.contact-page .form-group textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.6;
}
.contact-page .form-group input::placeholder,
.contact-page .form-group textarea::placeholder { color: #a8b3ad; }
.contact-page .form-group input:hover,
.contact-page .form-group textarea:hover { border-color: #f3b6c5; }
.contact-page .form-group input:focus,
.contact-page .form-group textarea:focus {
  outline: none;
  border-color: var(--cx-red);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(225, 29, 72, 0.18),
    0 4px 16px rgba(225, 29, 72, 0.12);
}
.contact-page .form-group .error-msg { display: none; color: var(--cx-crimson); font-size: 0.85rem; margin-top: 6px; font-weight: 600; }
.contact-page .form-group.invalid input,
.contact-page .form-group.invalid textarea {
  border-color: var(--cx-crimson);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}
.contact-page .form-group.invalid .error-msg { display: block; }

/* Form feedback banners */
.contact-page .form-feedback { display: none; margin-top: 18px; padding: 13px 18px; border-radius: 12px; font-size: 0.94rem; font-weight: 600; }
.contact-page .form-feedback.success { display: block; background: #e7f8f1; border: 1px solid var(--accent); color: #0b6e4f; }
.contact-page .form-feedback.error { display: block; background: #fdecec; border: 1px solid var(--cx-crimson); color: #a11c1c; }

/* Big gradient Send button */
.contact-page .cx-send-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  margin-top: 30px;
  padding: 0 30px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  background: linear-gradient(135deg, var(--cx-red) 0%, var(--cx-crimson) 100%);
  box-shadow:
    0 8px 22px rgba(225, 29, 72, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
}
.contact-page .cx-send-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 12px 30px rgba(225, 29, 72, 0.45),
    0 0 0 6px rgba(225, 29, 72, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: cx-pulse 1.6s ease-in-out infinite;
}
.contact-page .cx-send-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.35);
}
.contact-page .cx-send-btn:active:not(:disabled) { transform: translateY(0); }
.contact-page .cx-send-btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  filter: saturate(0.6);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}
@keyframes cx-pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(225, 29, 72, 0.45), 0 0 0 6px rgba(225, 29, 72, 0.14), inset 0 1px 0 rgba(255,255,255,0.25); }
  50% { box-shadow: 0 12px 30px rgba(225, 29, 72, 0.55), 0 0 0 10px rgba(225, 29, 72, 0.08), inset 0 1px 0 rgba(255,255,255,0.25); }
}

/* Spinner (visible only while sending) */
.contact-page .cx-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cx-spin 0.7s linear infinite;
}
.contact-page .cx-send-btn.sending .cx-spinner { display: inline-block; }
.contact-page .cx-send-btn.sending { animation: none; }
@keyframes cx-spin { to { transform: rotate(360deg); } }

/* ---------- Success modal ---------- */
.contact-page .cx-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 43, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.contact-page .cx-modal-backdrop.open { opacity: 1; }
.contact-page .cx-modal {
  position: relative;
  background: #fff;
  border-radius: 24px;
  max-width: 460px;
  width: 100%;
  padding: 44px 34px 36px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(159, 18, 57, 0.35);
  overflow: hidden;
  transform: translateY(14px) scale(0.97);
  transition: transform 0.2s ease;
}
.contact-page .cx-modal-backdrop.open .cx-modal { transform: translateY(0) scale(1); }
.contact-page .cx-modal h2 {
  color: var(--cx-red-dark);
  font-size: 1.45rem;
  margin-top: 18px;
  border: none;
  padding: 0;
}
.contact-page .cx-modal p { color: var(--muted); margin-top: 10px; font-size: 1rem; }
.contact-page .cx-modal-btn {
  margin-top: 26px;
  min-height: 50px;
  padding: 0 42px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--cx-red), var(--cx-crimson));
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.contact-page .cx-modal-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 26px rgba(225, 29, 72, 0.45);
}
.contact-page .cx-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  background: none;
  border: 0;
  font-size: 1.7rem;
  line-height: 1;
  color: #9aa8a1;
  cursor: pointer;
  padding: 6px;
  transition: color 0.15s;
}
.contact-page .cx-modal-close:hover { color: var(--cx-red); }
.contact-page .cx-modal-close:focus-visible,
.contact-page .cx-modal-btn:focus-visible { outline: 3px solid rgba(225, 29, 72, 0.4); outline-offset: 2px; }

/* Animated checkmark */
.contact-page .cx-check-wrap { display: flex; justify-content: center; }
.contact-page .cx-check-circle {
  stroke: var(--cx-red);
  stroke-dasharray: 202;
  stroke-dashoffset: 202;
  animation: cx-draw 0.55s ease-out forwards;
}
.contact-page .cx-check-mark {
  stroke: var(--cx-red);
  stroke-dasharray: 42;
  stroke-dashoffset: 42;
  animation: cx-draw 0.35s ease-out 0.5s forwards;
}
@keyframes cx-draw { to { stroke-dashoffset: 0; } }

/* Confetti-ish dots */
.contact-page .cx-confetti { position: absolute; inset: 0; pointer-events: none; }
.contact-page .cx-confetti i {
  position: absolute;
  top: -10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  animation: cx-fall 2.4s ease-in 0.4s forwards;
}
.contact-page .cx-confetti i:nth-child(1)  { left: 6%;  background: var(--cx-red);    animation-delay: 0.3s; }
.contact-page .cx-confetti i:nth-child(2)  { left: 14%; background: var(--gold);      animation-delay: 0.55s; transform: rotate(25deg); }
.contact-page .cx-confetti i:nth-child(3)  { left: 22%; background: var(--cx-crimson); animation-delay: 0.4s; }
.contact-page .cx-confetti i:nth-child(4)  { left: 31%; background: var(--gold-light);animation-delay: 0.75s; transform: rotate(-15deg); width: 6px; height: 6px; }
.contact-page .cx-confetti i:nth-child(5)  { left: 40%; background: var(--cx-red);    animation-delay: 0.5s; }
.contact-page .cx-confetti i:nth-child(6)  { left: 50%; background: var(--cx-red-dark);animation-delay: 0.85s; transform: rotate(40deg); width: 6px; height: 6px; }
.contact-page .cx-confetti i:nth-child(7)  { left: 59%; background: var(--gold);      animation-delay: 0.45s; }
.contact-page .cx-confetti i:nth-child(8)  { left: 67%; background: var(--cx-crimson);animation-delay: 0.7s;  transform: rotate(-30deg); }
.contact-page .cx-confetti i:nth-child(9)  { left: 75%; background: var(--gold-light);animation-delay: 0.35s; width: 6px; height: 6px; }
.contact-page .cx-confetti i:nth-child(10) { left: 83%; background: var(--cx-red);    animation-delay: 0.65s; transform: rotate(20deg); }
.contact-page .cx-confetti i:nth-child(11) { left: 90%; background: var(--cx-crimson);animation-delay: 0.9s;  width: 6px; height: 6px; }
.contact-page .cx-confetti i:nth-child(12) { left: 96%; background: var(--gold);      animation-delay: 0.5s; transform: rotate(-40deg); }
@keyframes cx-fall {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  12%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(340px) rotate(220deg); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page .cx-send-btn:hover:not(:disabled),
  .contact-page .cx-send-btn.sending,
  .contact-page .cx-spinner,
  .contact-page .cx-confetti i,
  .contact-page .cx-check-circle,
  .contact-page .cx-check-mark { animation: none; }
  .contact-page .cx-check-circle,
  .contact-page .cx-check-mark { stroke-dashoffset: 0; }
  .contact-page .cx-modal-backdrop,
  .contact-page .cx-modal { transition: none; transform: none; }
}

/* Contact page responsive */
@media (max-width: 820px) {
  .contact-page .cx-hero { padding: 48px 26px; border-radius: 0 0 20px 20px; }
  .contact-page .cx-hero h1 { font-size: 2rem; }
  .contact-page .cx-section { padding: 0 20px; }
  .contact-page .cx-card { padding: 28px 22px; }
  .contact-page .cx-modal { padding: 36px 24px 30px; }
  .contact-page .cx-modal h2 { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .contact-page .cx-hero h1 { font-size: 1.65rem; }
  .contact-page .cx-hero-badges { gap: 8px; }
  .contact-page .cx-badge { font-size: 0.78rem; padding: 6px 12px; }
}
