/* SchoolNET CAFE — B2B institutional homepage. Mobile-first. */

:root {
  --navy: #0b2d4d;
  --teal: #0e7c7b;
  --gold: #c9922a;
  --gold2: #d9a23b;
  --ink: #1f2937;
  --paper: #ffffff;
  --offwhite: #f4f6f7;
  --muted: #5c6b73;
  --heading-font: 'Poppins', system-ui, -apple-system, sans-serif;
  --body-font: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: var(--heading-font);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

a { color: var(--teal); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  padding: 0.75rem 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.logo .cafe {
  color: var(--gold2);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.main-nav {
  display: none;
  width: 100%;
  order: 3;
}

.main-nav.open {
  display: block;
}

.main-nav ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #e6ecef;
  text-decoration: none;
  font-family: var(--heading-font);
  font-size: 0.95rem;
  padding: 0.4rem 0.25rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--heading-font);
  padding: 0.35rem 0.7rem;
  min-height: 32px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover { background: var(--gold2); }

.btn-outline {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-outline-teal {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0 3.5rem;
  text-align: center;
}

.hero h1 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  color: #cfe0e6;
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* ---------- Problem ---------- */
.section {
  padding: 3rem 0;
}

.section-offwhite { background: var(--offwhite); }
.section-navy { background: var(--navy); color: #fff; }
.section-teal { background: var(--teal); color: #fff; }

.section-navy h2, .section-teal h2 { color: #fff; }

.problem-text {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: var(--ink);
}

.section-label {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--teal);
  text-align: center;
  margin-bottom: 0.5rem;
  display: block;
}

.section-navy .section-label, .section-teal .section-label { color: var(--gold2); }

.section h2 {
  text-align: center;
  margin-bottom: 1.75rem;
}

/* ---------- Solution grid ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.solution-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid #e2e8ea;
  display: block;
  min-height: 44px;
}

.solution-item .icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
}

.solution-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.solution-item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Social proof ---------- */
.quote-block {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.quote-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 0.7rem;
  color: #fff;
}

.quote-block blockquote {
  font-size: 1.15rem;
  font-style: italic;
  margin: 0 0 1rem;
}

.quote-attribution {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.9rem;
}

.quote-attribution span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ---------- How it works ---------- */
.steps-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.6rem;
}

.step p {
  font-family: var(--heading-font);
  font-size: 0.9rem;
  color: var(--ink);
  margin: 0;
}

/* ---------- SAIYSC ---------- */
.saiysc-text {
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  font-size: 1.02rem;
}

.saiysc-wrap { text-align: center; }

/* ---------- Closing CTA ---------- */
.closing-cta {
  text-align: center;
}

.closing-cta p {
  color: #cfe0e6;
  margin-bottom: 1.25rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #cfe0e6;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-name {
  font-family: var(--heading-font);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  margin: 0.15rem 0;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: #cfe0e6;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  opacity: 0.75;
  text-align: center;
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 200;
  text-decoration: none;
}

.wa-float svg { width: 28px; height: 28px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Tablet / desktop ---------- */
@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .main-nav {
    display: block;
    width: auto;
    order: 2;
  }

  .main-nav ul {
    flex-direction: row;
    gap: 1.5rem;
    margin: 0;
  }

  .main-nav a { min-height: auto; padding: 0; }

  .hero h1 { font-size: 2.75rem; }
  .hero p { font-size: 1.15rem; }

  .hero-buttons { flex-direction: row; justify-content: center; }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .step { flex: 1; padding: 0 0.5rem; }
}

@media (min-width: 1024px) {
  .solution-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
