/* OK Lingua – Design System */
:root {
  --green: #4F7A3A;
  --green-dark: #3d5f2c;
  --green-light: #eaf1e3;
  --navy: #0F2A44;
  --navy-soft: #1c3a5a;
  --cream: #f5f0e7;
  --cream-soft: #faf7f1;
  --text: #1f2d3d;
  --text-muted: #5b6b7d;
  --border: #e6dfd2;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15,42,68,.05);
  --shadow-md: 0 6px 20px rgba(15,42,68,.08);
  --radius: 10px;
  --radius-lg: 18px;
  --container: 1200px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-sans);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); box-shadow: var(--shadow-md); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-outline-green { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline-green:hover { background: var(--green); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand img { height: 52px; width: auto; }
.main-nav {
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.main-nav a {
  color: var(--navy);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
}
.main-nav a:hover { background: var(--green-light); color: var(--green-dark); text-decoration: none; }
.main-nav a.active { color: var(--green-dark); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 4px; font-size: 13px; font-weight: 600; }
.lang-switch a {
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.lang-switch a.active { color: var(--green-dark); background: var(--green-light); }
.burger {
  display: none;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.burger span {
  display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s;
}

/* Hero */
.hero {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, var(--cream-soft) 0%, #fff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 span { display: block; color: var(--green); }
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 20px 0 28px;
  max-width: 480px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15,42,68,.15);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }

/* Page hero (inner pages) */
.page-hero {
  padding: 64px 0 40px;
  background: var(--cream-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 16px auto 0;
}
.page-hero.center { text-align: center; }

/* Sections */
section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-lead { text-align: center; color: var(--text-muted); max-width: 720px; margin: 0 auto 40px; font-size: 1.05rem; }

/* Icon grid */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px 20px;
  margin-top: 40px;
}
.icon-item { text-align: center; }
.icon-item .icon {
  width: 44px; height: 44px; margin: 0 auto 12px; color: var(--green);
}
.icon-item h4 { font-size: 1rem; margin: 0 0 6px; font-family: var(--font-sans); color: var(--navy); font-weight: 600; }
.icon-item p { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* Card grid (3-up pillars) */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.pillar {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar .icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--green); }
.pillar h3 { font-family: var(--font-sans); font-size: 1.15rem; color: var(--navy); }
.pillar p { color: var(--text-muted); font-size: .95rem; }

/* Audience cards (5-up) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green); }
.audience-card .icon { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--green); }
.audience-card h4 { font-family: var(--font-sans); font-size: 1.02rem; color: var(--navy); margin-bottom: 8px; }
.audience-card p { color: var(--text-muted); font-size: .88rem; margin: 0; }

/* Quote */
.quote {
  background: var(--cream);
  padding: 60px 0;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  color: var(--navy);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}
.quote-mark { color: var(--green); font-size: 2rem; line-height: 1; }

/* Two-col about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-portrait img { aspect-ratio: 4/5; object-fit: cover; }
.about-text h2 { color: var(--green); font-size: 1.4rem; margin-bottom: 20px; font-family: var(--font-sans); font-weight: 600; }

/* Qualifications */
.qual-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.qual-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: .98rem;
}
.qual-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
}
.qual-block {
  background: var(--cream-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.qual-block h3 { font-family: var(--font-sans); font-size: 1.15rem; color: var(--navy); margin-bottom: 4px; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 620px; margin: 0 auto 24px; }
.cta-band .btn-primary { background: var(--green); }
.cta-band .btn-primary:hover { background: #5f8f47; }

/* Forms */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 20px; }
.form-row.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row label .req { color: #c04a3a; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--cream-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s, background .15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text-muted); }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); }
.form-actions { text-align: center; margin-top: 8px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: .95rem;
}
.notice.success { background: var(--green-light); color: var(--green-dark); border: 1px solid var(--green); }
.notice.error { background: #fbe9e6; color: #9a2f22; border: 1px solid #e8b3aa; }

/* Contact block */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact-info {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info h3 { font-family: var(--font-sans); color: var(--navy); font-size: 1.1rem; }
.contact-info dl { margin: 0; }
.contact-info dt { font-weight: 600; color: var(--navy); margin-top: 14px; font-size: .9rem; }
.contact-info dd { margin: 2px 0 0; color: var(--text-muted); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 56px 0 24px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  margin: 0 0 14px;
  font-weight: 600;
}
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; font-size: .93rem; }
.footer-brand p { font-size: .93rem; color: rgba(255,255,255,.65); max-width: 300px; }
.footer-brand .footer-logo {
  background: #fff; padding: 10px 14px; border-radius: 8px; display: inline-block; margin-bottom: 12px;
}
.footer-brand .footer-logo img { height: 44px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* Prose */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 40px; }
.prose p { font-size: 1.02rem; color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 12px; flex-direction: column;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 14px; }
  .burger { display: block; }
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-portrait { max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qual-list { grid-template-columns: 1fr; }
  .form-row.grid-2 { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 22px; }
  section { padding: 48px 0; }
  .header-actions .btn { display: none; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 40px; }
  .lang-switch { font-size: 12px; }
  .lang-switch a { padding: 4px 6px; }
}
