:root {
  --ink: #162032;
  --muted: #5b6778;
  --paper: #fffaf3;
  --surface: #ffffff;
  --line: #dce5ee;
  --red: #d7494c;
  --gold: #f2b84b;
  --blue: #3267b1;
  --green: #27826a;
  --shadow: 0 24px 80px rgba(20, 31, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 73, 76, 0.12), transparent 22%),
    linear-gradient(135deg, #fffdf8 0%, var(--paper) 100%);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1280px, calc(100% - 24px));
  margin: 14px auto 0;
  padding: 16px clamp(18px, 3.7vw, 30px);
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(220, 227, 234, 0.95);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand span:last-child {
  max-width: 340px;
  line-height: 1.15;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.86rem;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-weight: 600;
}

.header-action,
.primary-button,
.secondary-button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.header-action {
  white-space: nowrap;
}

.header-action,
.primary-button,
.contact-form button {
  color: white;
  background: var(--red);
}

.secondary-button {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  min-height: calc(92vh - 88px);
  margin: 24px auto 0;
  padding: clamp(42px, 6vw, 86px) clamp(20px, 4.5vw, 56px);
  background:
    linear-gradient(135deg, rgba(215, 73, 76, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(50, 103, 177, 0.12), transparent 38%);
  border: 1px solid rgba(220, 227, 234, 0.95);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.75rem, 5.4vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 14px 0 10px;
  font-size: 1.25rem;
}

.hero-text {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 22px;
  padding: 8px 12px;
  color: var(--green);
  background: rgba(39, 130, 106, 0.12);
  border: 1px solid rgba(39, 130, 106, 0.2);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.hero-highlights div {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(220, 227, 234, 0.9);
  border-radius: 14px;
}

.hero-highlights strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.hero-highlights span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-stats {
  gap: 28px;
  margin: 40px 0 0;
}

.hero-stats div {
  min-width: 92px;
  padding-top: 16px;
  border-top: 2px solid var(--line);
}

.hero-stats dt {
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.learning-board {
  position: relative;
  min-height: 560px;
  padding: 68px 28px 28px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(24, 33, 47, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(24, 33, 47, 0.06) 1px, transparent 1px),
    #f7fbff;
  background-size: 34px 34px;
  border: 1px solid #cfd9e5;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.board-top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  gap: 8px;
  height: 42px;
  align-items: center;
  padding: 0 18px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.board-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.board-dot.red {
  background: var(--red);
}

.board-dot.amber {
  background: var(--gold);
}

.board-dot.green {
  background: var(--green);
}

.phrase-card,
.notebook,
.course-card,
.method article,
.schedule-table,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.phrase-card {
  position: absolute;
  width: min(270px, 44%);
  padding: 18px;
  box-shadow: 0 16px 38px rgba(24, 33, 47, 0.12);
}

.phrase-card p {
  margin: 18px 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
}

.phrase-card strong {
  color: var(--muted);
}

.phrase-card.german {
  top: 90px;
  left: 38px;
  transform: rotate(-4deg);
}

.phrase-card.french {
  top: 190px;
  right: 44px;
  transform: rotate(5deg);
}

.phrase-card.spanish {
  bottom: 96px;
  left: 84px;
  transform: rotate(3deg);
}

.flag {
  display: block;
  width: 54px;
  height: 34px;
  border: 1px solid rgba(24, 33, 47, 0.16);
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(24, 33, 47, 0.08);
}

.flag.de {
  background: linear-gradient(#161616 0 33.33%, #d7272d 33.33% 66.66%, #f4cc45 66.66%);
}

.flag.fr {
  background: linear-gradient(90deg, #244f9e 0 33.33%, #fff 33.33% 66.66%, #dc3f48 66.66%);
}

.flag.es {
  background: linear-gradient(#c82632 0 25%, #f5c244 25% 75%, #c82632 75%);
}

.notebook {
  position: absolute;
  right: 38px;
  bottom: 34px;
  width: min(310px, 52%);
  padding: 22px;
  background:
    repeating-linear-gradient(white, white 31px, #dbeaf5 32px),
    white;
}

.notebook span {
  color: var(--blue);
  font-weight: 800;
}

.notebook p {
  margin: 14px 0 0;
  line-height: 1.6;
}

.why-band,
.about,
.course-band,
.method,
.schedule,
.testimonials,
.gallery,
.contact {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 34px;
}

.section-note {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.feature-grid,
.course-grid,
.method-grid,
.testimonial-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.course-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.method-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.feature-grid article,
.course-card {
  padding: 26px;
  box-shadow: 0 16px 36px rgba(24, 33, 47, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-grid article {
  display: flex;
  min-height: 92px;
  align-items: center;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-weight: 800;
}

.feature-grid article:hover,
.course-card:hover,
.testimonial-grid blockquote:hover,
.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(24, 33, 47, 0.12);
}

.available-courses {
  margin-top: 28px;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(24, 33, 47, 0.07);
}

.available-courses h3 {
  margin-top: 0;
}

.available-courses div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.available-courses span {
  padding: 10px 14px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.available-courses p {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.course-card p,
.method p,
.schedule p,
.contact p,
.about-copy p,
.profile-panel p,
.testimonial-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.course-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.course-card li {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  font-weight: 600;
}

.method {
  background: #eff6f5;
}

.about {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.profile-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-photo {
  display: grid;
  min-height: 260px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(215, 73, 76, 0.18), transparent 46%),
    linear-gradient(315deg, rgba(39, 130, 106, 0.2), transparent 40%),
    #fffaf2;
  border: 1px dashed #b9c7d5;
  border-radius: 8px;
}

.profile-photo span {
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.about-copy {
  display: grid;
  gap: 14px;
  font-size: 1.08rem;
}

.method article {
  padding: 26px;
}

.method article span {
  color: var(--red);
  font-weight: 800;
}

.schedule,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.schedule-table {
  overflow: hidden;
}

.schedule-table div {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.8fr;
  gap: 14px;
  padding: 20px;
}

.schedule-table div + div {
  border-top: 1px solid var(--line);
}

.schedule-table span {
  color: var(--muted);
}

.testimonials {
  background: #f7fbff;
}

.testimonial-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonial-grid blockquote {
  margin: 0;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(24, 33, 47, 0.07);
}

.testimonial-grid span {
  color: var(--red);
  font-weight: 800;
}

.photo-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(50, 103, 177, 0.14), transparent 45%),
    white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(24, 33, 47, 0.07);
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.photo-card span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  color: white;
  background: rgba(24, 33, 47, 0.82);
  border-radius: 8px;
  font-weight: 800;
}

.contact {
  color: white;
  background: var(--ink);
}

.contact .eyebrow,
.contact p {
  color: #a9d8cc;
}

.contact-lead {
  margin-top: 24px;
  font-weight: 800;
}

.contact-list,
.mode-box {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  color: white;
}

.contact-list a,
.contact-list span,
.mode-box {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.mode-box strong {
  color: #a9d8cc;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(50, 103, 177, 0.12);
}

.contact-form button {
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(215, 73, 76, 0.2);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: white;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: white;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  font-size: 1.6rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.4);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero,
  .about-grid,
  .schedule,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .learning-board {
    min-height: 510px;
  }

  .feature-grid,
  .course-grid,
  .method-grid,
  .testimonial-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .header-action {
    display: none;
  }

  h1 {
    font-size: clamp(2.45rem, 15vw, 4rem);
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .learning-board {
    min-height: 610px;
    padding-inline: 16px;
  }

  .phrase-card {
    width: calc(100% - 42px);
  }

  .phrase-card.german {
    top: 74px;
    left: 22px;
  }

  .phrase-card.french {
    top: 220px;
    right: 20px;
  }

  .phrase-card.spanish {
    bottom: 168px;
    left: 20px;
  }

  .notebook {
    right: 20px;
    bottom: 24px;
    width: calc(100% - 40px);
  }

  .schedule-table div {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .course-grid,
  .method-grid,
  .testimonial-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
