/* Orbis Educational Services — landing page */
:root {
  --brand: #920000;
  --brand-dark: #6b0000;
  --brand-light: #c41e1e;
  --brand-deep: #720000;
  --accent: #f25507;
  --accent-light: #ff914d;
  --accent-hover: #d94a06;
  --cream: #f6eac7;
  --cream-soft: #fff5eb;
  --peach: #ff914d;
  --ink: #2d2d2d;
  --ink-muted: #5a5a5a;
  --surface: #ffffff;
  --surface-soft: #faf6f0;
  --surface-warm: antiquewhite;
  --border: rgba(146, 0, 0, 0.12);
  --shadow-sm: 0 2px 8px rgba(146, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(146, 0, 0, 0.12);
  --shadow-lg: 0 20px 50px rgba(146, 0, 0, 0.15);
  --gradient-brand: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 55%, var(--accent) 100%);
  --gradient-warm: linear-gradient(180deg, var(--surface-warm) 0%, var(--cream-soft) 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 76px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(146, 0, 0, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 56ch;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--brand);
  transition: top 0.3s ease, box-shadow 0.3s ease;
}

.nav.is-scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-menu .link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-menu .link:hover {
  color: var(--brand);
  background: rgba(146, 0, 0, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  padding: 0.65rem 1.35rem;
  box-shadow: 0 4px 14px rgba(146, 0, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(146, 0, 0, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 16px rgba(242, 85, 7, 0.35);
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  padding: 0.65rem 1rem;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.go-back-button-nav {
  display: none;
}

.nav-menu-btn {
  display: none;
  font-size: 1.75rem;
  color: var(--ink);
  cursor: pointer;
  padding: 0.35rem;
}

/* Hero */
.hero {
  padding-top: var(--nav-h);
  padding-bottom: 4rem;
  background: var(--gradient-warm);
}

.hero-banner {
  width: min(1120px, 92vw);
  margin: 1.5rem auto 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(146, 0, 0, 0.15);
}

.hero-banner img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--ink);
}

.hero-content h1 span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  max-width: 42ch;
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.benefit i {
  flex-shrink: 0;
  font-size: 1.35rem;
  color: var(--accent);
  margin-top: 0.1rem;
}

.benefit strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.benefit span {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

/* Demo form card */
.demo-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(146, 0, 0, 0.12);
  overflow: hidden;
}

.demo-card-header {
  background: var(--gradient-brand);
  color: #fff;
  padding: 1.75rem 1.75rem 1.25rem;
  text-align: center;
}

.demo-card-header img {
  height: 56px;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.demo-card-header h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.demo-card-header p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.35rem;
}

.demo-form {
  padding: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.input-group {
  position: relative;
  margin-bottom: 0.75rem;
}

.input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.input-field,
.input-select {
  width: 100%;
  height: 48px;
  padding: 0 1rem 0 2.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(146, 0, 0, 0.15);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus,
.input-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(146, 0, 0, 0.1);
}

.input-select {
  appearance: none;
  cursor: pointer;
}

.submit {
  width: 100%;
  height: 50px;
  margin-top: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-brand);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}

.submit:hover {
  box-shadow: 0 6px 20px rgba(146, 0, 0, 0.35);
}

#message-class-scheduled {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

#message-class-scheduled i {
  font-size: 3.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

#message-class-scheduled h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

#message-class-scheduled p {
  color: var(--ink-muted);
}

/* Courses */
.courses-section {
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--surface-warm) 100%);
  border-top: 4px solid var(--brand);
  border-bottom: 4px solid var(--accent);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.course-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(146, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.course-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(146, 0, 0, 0.25);
}

.course-card--kids .course-card-image::after {
  background: linear-gradient(180deg, transparent 40%, rgba(146, 0, 0, 0.55) 100%);
}

.course-card--teens .course-card-image::after {
  background: linear-gradient(180deg, transparent 40%, rgba(242, 85, 7, 0.6) 100%);
}

.course-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.course-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.course-card-body {
  padding: 1.75rem 2rem 2rem;
}

.course-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(146, 0, 0, 0.1);
}

.course-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.course-icon--kids {
  background: rgba(146, 0, 0, 0.12);
  color: var(--brand);
}

.course-icon--teens {
  background: rgba(242, 85, 7, 0.15);
  color: var(--accent);
}

.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.course-card .age-range {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.course-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.course-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--ink);
}

.course-features li i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--brand);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual blockquote {
  position: absolute;
  inset: auto 0 0 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.4;
  color: #fff;
  padding: 1.75rem;
  background: linear-gradient(0deg, rgba(107, 0, 0, 0.92) 0%, rgba(146, 0, 0, 0.75) 60%, transparent 100%);
}

.about-text p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

#read-more-about-us,
#read-more-methodology {
  display: none;
}

#read-more-button,
#read-more-button-methodology {
  margin-top: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(146, 0, 0, 0.08);
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

#read-more-button:hover,
#read-more-button-methodology:hover {
  background: rgba(146, 0, 0, 0.14);
}

/* Methodology */
.methodology-section {
  background: var(--cream-soft);
  border-top: 4px solid var(--accent);
}

.methodology-header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.methodology-lead {
  margin-top: 0.5rem;
}

.methodology-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.pillar-card {
  background: var(--surface);
  border: 2px solid rgba(146, 0, 0, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(146, 0, 0, 0.22);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(146, 0, 0, 0.1);
  color: var(--brand);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pillar-card:nth-child(2) .pillar-icon {
  background: rgba(242, 85, 7, 0.12);
  color: var(--accent);
}

.pillar-card:nth-child(3) .pillar-icon {
  background: rgba(146, 0, 0, 0.1);
  color: var(--brand);
}

.pillar-card:nth-child(4) .pillar-icon {
  background: rgba(242, 85, 7, 0.12);
  color: var(--accent);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.methodology-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.methodology-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--brand);
}

.methodology-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.methodology-text p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.methodology-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow-sm);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--ink);
}

.highlight-item i {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.methodology-tools-wrap {
  padding-top: 2rem;
  border-top: 2px solid rgba(146, 0, 0, 0.1);
}

.methodology-tools-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 1.25rem;
  text-align: center;
}

.methodology-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 2px solid rgba(146, 0, 0, 0.1);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.tool-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.tool-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tool-icon--gimkit {
  background: rgba(146, 0, 0, 0.12);
  color: var(--brand);
}

.tool-icon--blooket {
  background: rgba(242, 85, 7, 0.15);
  color: var(--accent);
}

.tool-icon--wordwall {
  background: rgba(146, 0, 0, 0.12);
  color: var(--brand);
}

.tool-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.tool-card span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-dark);
}

.tool-card small {
  display: block;
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 400;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-list i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(146, 0, 0, 0.12);
  color: var(--brand);
  border-radius: 12px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.15rem;
}

.contact-list a,
.contact-list p {
  font-size: 0.95rem;
  color: var(--ink);
}

.contact-list a:hover {
  color: var(--brand);
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background 0.2s, box-shadow 0.2s;
}

.whatsapp-cta:hover {
  background: #1ebe5a;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.instagram-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(146, 0, 0, 0.12);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.instagram-panel h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-dark);
}

.instagram-panel h3 i {
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--gradient-brand);
  color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Responsive nav */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .methodology-body,
  .contact-grid,
  .courses-grid {
    grid-template-columns: 1fr;
  }

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

  .methodology-tools {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
    max-height: 280px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    inset: 0;
    top: 0;
    background: linear-gradient(180deg, #fff 0%, var(--cream-soft) 100%);
    backdrop-filter: blur(16px);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;
  }

  .nav-menu.responsive {
    display: flex;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .nav-menu .link {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
  }

  .nav-menu-btn {
    display: block;
    z-index: 101;
    color: var(--brand);
  }

  .go-back-button-nav {
    display: inline-flex;
    margin-top: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: var(--nav-h);
  }

  .hero-banner {
    margin-top: 1rem;
    margin-bottom: 2rem;
  }

  .hero-banner img {
    aspect-ratio: 16 / 10;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (min-width: 769px) {
  #read-more-button,
  #read-more-button-methodology {
    display: none !important;
  }

  #read-more-about-us,
  #read-more-methodology {
    display: inline !important;
  }

  #dots,
  #dots-m {
    display: none !important;
  }

  .methodology-highlights {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .methodology-pillars {
    grid-template-columns: 1fr;
  }

  .methodology-visual {
    order: -1;
  }

  .methodology-highlights {
    display: none;
  }

  .methodology-highlights.is-visible {
    display: flex;
  }
}
