/* Design DNA: Form hero with workshop finder fields under bold playful robotics headline; electric blue + sunshine yellow; confident STEM education mood */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@600;700;800&family=Nunito+Sans:wght@400;600;700&display=swap');

:root {
  --bg: #f7f9fc;
  --text: #0B1F3A;
  --muted: #5a6b82;
  --accent: #1E6FFF;
  --accent2: #FFD60A;
  --line: #dce4ef;
  --radius: 14px;
  --maxw: 1180px;
  --shadow: 0 8px 32px rgba(11, 31, 58, 0.08);
  --font-head: 'Exo 2', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #1558cc; }

.ar-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.ar-header {
  background: linear-gradient(135deg, #fff 0%, #eef4ff 60%, #fff9db 100%);
  border-bottom: 2px solid var(--accent2);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(30, 111, 255, 0.1);
}

.ar-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}

.ar-logo__icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

.ar-logo span { color: var(--accent); }

.ar-nav { display: flex; align-items: center; gap: 28px; }

.ar-nav__list {
  display: flex;
  list-style: none;
  gap: 6px;
}

.ar-nav__link {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.ar-nav__link:hover,
.ar-nav__link--active {
  background: rgba(30, 111, 255, 0.1);
  color: var(--accent);
}

.ar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ar-btn:hover { transform: translateY(-2px); }

.ar-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(30, 111, 255, 0.35);
}

.ar-btn--primary:hover { box-shadow: 0 6px 24px rgba(30, 111, 255, 0.45); color: #fff; }

.ar-btn--yellow {
  background: var(--accent2);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(255, 214, 10, 0.4);
}

.ar-btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.ar-btn--outline:hover { background: rgba(30, 111, 255, 0.08); color: var(--accent); }

.ar-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.ar-burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero Form */
.ar-hero {
  padding: 64px 0 80px;
  background: linear-gradient(160deg, #0B1F3A 0%, #123a6e 50%, #1E6FFF 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ar-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 214, 10, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.ar-hero__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ar-hero__badge {
  display: inline-block;
  background: var(--accent2);
  color: var(--text);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ar-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.ar-hero__title em {
  font-style: normal;
  color: var(--accent2);
}

.ar-hero__text {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 480px;
}

.ar-hero__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 214, 10, 0.5);
}

.ar-form-hero {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  color: var(--text);
}

.ar-form-hero__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.ar-form-hero__sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.ar-form__group { margin-bottom: 16px; }

.ar-form__label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text);
}

.ar-form__input,
.ar-form__select,
.ar-form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
}

.ar-form__input:focus,
.ar-form__select:focus,
.ar-form__textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.ar-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ar-form__textarea { min-height: 120px; resize: vertical; }

/* Sections */
.ar-section { padding: 72px 0; }

.ar-section--alt { background: #fff; }

.ar-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.ar-section__tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.ar-section__title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.ar-section__desc { color: var(--muted); }

/* Features */
.ar-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ar-feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ar-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.ar-feature__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent), #4d9aff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.ar-feature__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ar-feature__text { color: var(--muted); font-size: 0.95rem; }

/* Steps */
.ar-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.ar-step {
  text-align: center;
  position: relative;
}

.ar-step__num {
  width: 56px;
  height: 56px;
  background: var(--accent2);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 12px rgba(255, 214, 10, 0.5);
}

.ar-step__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ar-step__text { color: var(--muted); font-size: 0.95rem; }

/* Stats */
.ar-stats {
  background: var(--text);
  color: #fff;
  padding: 56px 0;
}

.ar-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.ar-stat__num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent2);
  line-height: 1;
  margin-bottom: 6px;
}

.ar-stat__label { opacity: 0.85; font-size: 0.95rem; }

/* CTA */
.ar-cta {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.ar-cta__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.ar-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 31, 58, 0.92) 0%, rgba(11, 31, 58, 0.6) 100%);
}

.ar-cta__content {
  position: relative;
  z-index: 1;
  padding: 48px;
  max-width: 560px;
}

.ar-cta__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.ar-cta__text { color: rgba(255, 255, 255, 0.9); margin-bottom: 24px; }

/* Page Hero */
.ar-page-hero {
  background: linear-gradient(135deg, #0B1F3A, #1E6FFF);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.ar-page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.ar-page-hero__sub { opacity: 0.9; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* About */
.ar-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ar-about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ar-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.ar-value {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--accent);
}

.ar-value__title {
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 8px;
}

.ar-value__text { color: var(--muted); font-size: 0.95rem; }

/* Workshops */
.ar-workshops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ar-workshop {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ar-workshop:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.ar-workshop__img { height: 200px; object-fit: cover; width: 100%; }

.ar-workshop__body { padding: 24px; }

.ar-workshop__tag {
  display: inline-block;
  background: rgba(30, 111, 255, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.ar-workshop__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.ar-workshop__meta {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.ar-workshop__text { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }

/* Projects */
.ar-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ar-project {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.ar-project__img { height: 220px; object-fit: cover; width: 100%; }

.ar-project__body { padding: 24px; }

.ar-project__student {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.ar-project__title {
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 8px;
}

.ar-project__text { color: var(--muted); font-size: 0.95rem; }

.ar-story {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--line);
  margin-top: 48px;
}

.ar-story__quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.ar-story__author { font-weight: 700; color: var(--accent); }

/* Contact */
.ar-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.ar-contact-info { display: flex; flex-direction: column; gap: 24px; }

.ar-contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}

.ar-contact-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ar-contact-card__icon {
  width: 36px;
  height: 36px;
  background: rgba(30, 111, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ar-contact-card p { color: var(--muted); }

.ar-hours {
  list-style: none;
}

.ar-hours li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.ar-hours li:last-child { border-bottom: none; }

.ar-contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Privacy */
.ar-privacy {
  background: #fff;
  border-radius: var(--radius);
  padding: 48px;
  border: 1px solid var(--line);
  max-width: 800px;
  margin: 0 auto;
}

.ar-privacy h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
}

.ar-privacy h2:first-child { margin-top: 0; }

.ar-privacy p,
.ar-privacy li { color: var(--muted); margin-bottom: 12px; }

.ar-privacy ul { padding-left: 20px; margin-bottom: 16px; }

/* Footer */
.ar-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 0;
}

.ar-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ar-footer__brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}

.ar-footer__brand span { color: var(--accent2); }

.ar-footer__desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }

.ar-footer__title {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.ar-footer__list { list-style: none; }

.ar-footer__list li { margin-bottom: 10px; }

.ar-footer__list a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.ar-footer__list a:hover { color: var(--accent2); }

.ar-footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Cookie */
.ar-cookie {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--text);
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  max-width: calc(100% - 48px);
  font-size: 0.9rem;
}

.ar-cookie a { color: var(--accent2); text-decoration: underline; }

.ar-cookie__btn {
  background: var(--accent2);
  color: var(--text);
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.ar-cookie--hidden { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .ar-burger { display: flex; }

  .ar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transition: right 0.3s;
    z-index: 150;
  }

  .ar-nav--open { right: 0; }

  .ar-nav__list { flex-direction: column; width: 100%; }

  .ar-nav__link { padding: 12px 0; }

  .ar-hero__grid,
  .ar-about-grid,
  .ar-contact-grid { grid-template-columns: 1fr; }

  .ar-features,
  .ar-steps,
  .ar-workshops,
  .ar-projects,
  .ar-values { grid-template-columns: 1fr 1fr; }

  .ar-stats__grid { grid-template-columns: repeat(2, 1fr); }

  .ar-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .ar-section { padding: 48px 0; }

  .ar-hero { padding: 40px 0 56px; }

  .ar-form__row { grid-template-columns: 1fr; }

  .ar-features,
  .ar-steps,
  .ar-workshops,
  .ar-projects,
  .ar-values,
  .ar-stats__grid { grid-template-columns: 1fr; }

  .ar-footer__grid { grid-template-columns: 1fr; }

  .ar-cta__content { padding: 32px 24px; }

  .ar-privacy { padding: 28px 20px; }

  .ar-cookie {
    flex-direction: column;
    border-radius: var(--radius);
    text-align: center;
    padding: 18px 20px;
  }
}
