:root {
  --forge-red: #d91f1f;
  --ember-red: #f04444;
  --deep-forge-red: #9f1414;
  --forge-black: #171717;
  --near-black: #0b0b0b;
  --charcoal-gray: #2a2a2a;
  --signature-gray: #8a8a8a;
  --paper: #f7f7f4;
  --white: #ffffff;
  --border: #deded8;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.12);
  --page-width: 1600px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--forge-black);
  font-family: "Montserrat", "Noto Sans Armenian", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body[data-lang="hy"] {
  font-family: "Noto Sans Armenian", "Montserrat", Arial, sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(240, 68, 68, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--forge-black);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(247, 247, 244, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner,
.footer-inner,
.section-inner {
  width: min(100% - 40px, var(--content-width));
  margin: 0 auto;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand img,
.footer-brand img {
  width: 190px;
  height: auto;
}

.header-descriptor {
  justify-self: center;
  margin: 0;
  color: var(--signature-gray);
  font-size: 0.95rem;
  font-weight: 400;
  text-align: center;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social a {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  color: var(--forge-black);
  font-size: 0.74rem;
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.footer-social a:hover {
  border-color: var(--forge-red);
  background: var(--forge-red);
  color: var(--white);
}

.language-switch {
  display: inline-flex;
  justify-self: end;
  margin-left: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  background: var(--white);
}

.language-button {
  min-width: 42px;
  height: 38px;
  border: 0;
  border-right: 1px solid rgba(23, 23, 23, 0.1);
  background: transparent;
  color: var(--charcoal-gray);
  font-size: 0.76rem;
  font-weight: 800;
}

.language-button:last-child {
  border-right: 0;
}

.language-button.is-active {
  background: var(--forge-black);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 28px;
  width: min(100% - 40px, var(--content-width));
  margin: 0 auto;
  padding: 48px 0 72px;
}

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

.section h2,
.booking-card h1 {
  margin: 0;
  line-height: 1.03;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.badge-list li {
  border: 1px solid rgba(217, 31, 31, 0.22);
  border-radius: 8px;
  background: rgba(217, 31, 31, 0.06);
  color: var(--deep-forge-red);
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 800;
}

.lesson-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--deep-forge-red);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.lesson-link:hover {
  color: var(--forge-red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--forge-red);
  color: var(--white);
}

.button-primary:hover {
  background: var(--deep-forge-red);
}

.button-secondary {
  border-color: rgba(23, 23, 23, 0.18);
  background: var(--white);
  color: var(--forge-black);
}

.button-secondary:hover {
  border-color: var(--forge-red);
  color: var(--forge-red);
}

.hero-visual {
  display: none;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.booking-card {
  min-width: 0;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-top: 6px solid var(--forge-red);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-panel {
  padding: clamp(24px, 3.2vw, 56px);
}

.booking-heading {
  margin-bottom: 22px;
}

.booking-heading p:last-child {
  max-width: 920px;
  margin: 18px 0 0;
  color: var(--signature-gray);
  font-size: clamp(1.05rem, 1.45vw, 1.55rem);
}

.booking-title {
  max-width: none;
  font-size: clamp(1.8rem, 2.55vw, 2.75rem);
  font-weight: 800;
}

.accent-text {
  color: var(--deep-forge-red);
}

.booking-widget {
  margin-top: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfbf8;
  padding: clamp(18px, 2vw, 28px);
}

.booking-toolbar {
  display: block;
  margin-bottom: 20px;
}

.booking-widget-label {
  margin: 0;
  color: var(--forge-black);
  font-size: 1.25rem;
  font-weight: 800;
}

.slot-picker {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.slot-column {
  min-width: 0;
}

.slot-column-title {
  margin: 0 0 10px;
  color: var(--charcoal-gray);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.date-list,
.time-list {
  display: grid;
  gap: 8px;
}

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

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

.slot-option {
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 8px;
  background: var(--white);
  color: var(--forge-black);
  padding: 10px 12px;
  text-align: left;
}

.slot-option:hover,
.slot-option.is-selected {
  border-color: rgba(217, 31, 31, 0.55);
  background: rgba(217, 31, 31, 0.07);
}

.slot-option.is-selected {
  color: var(--deep-forge-red);
  box-shadow: inset 0 0 0 1px rgba(217, 31, 31, 0.28);
}

.slot-option strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.slot-option span {
  display: block;
  margin-top: 2px;
  color: var(--signature-gray);
  font-size: 0.78rem;
}

.slot-empty {
  margin: 0;
  border: 1px dashed rgba(23, 23, 23, 0.18);
  border-radius: 8px;
  color: var(--signature-gray);
  padding: 14px;
  font-size: 0.92rem;
}

.lead-form {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--charcoal-gray);
  font-size: 0.84rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  background: var(--white);
  color: var(--forge-black);
  padding: 11px 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.lead-form input::placeholder {
  color: #a5a5a5;
}

.consent-row {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px !important;
  margin-top: 16px;
  color: var(--charcoal-gray);
  font-weight: 600 !important;
}

.consent-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--forge-red);
}

.booking-submit {
  width: 100%;
  margin-top: 20px;
}

.booking-submit:disabled,
.slot-option:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.booking-message {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: var(--deep-forge-red);
  font-size: 0.92rem;
  font-weight: 700;
}

.booking-dialog {
  width: min(100% - 32px, 460px);
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--forge-black);
  padding: 0;
  box-shadow: 0 24px 70px rgba(11, 11, 11, 0.28);
}

.booking-dialog::backdrop {
  background: rgba(11, 11, 11, 0.58);
}

.booking-dialog-panel {
  border-top: 6px solid var(--forge-red);
  padding: 26px;
}

.booking-dialog h3 {
  margin: 0;
  color: var(--forge-black);
  font-size: 1.35rem;
  line-height: 1.1;
}

.booking-dialog p {
  margin: 12px 0 0;
  color: var(--charcoal-gray);
}

.booking-dialog .button {
  margin-top: 20px;
}

.booking-note {
  margin: 14px 0 0;
  color: var(--signature-gray);
  font-size: 0.88rem;
}

.booking-note a {
  color: var(--deep-forge-red);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.booking-note a:hover {
  color: var(--forge-red);
}

.mailto-fallback {
  display: inline-flex;
  margin-top: 10px;
  color: var(--deep-forge-red);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  padding: 76px 0;
}

.first-lesson {
  background: var(--near-black);
  color: var(--white);
}

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

.section h2 {
  max-width: 760px;
  font-size: 3rem;
  font-weight: 800;
}

.first-lesson h2 {
  max-width: none;
  font-size: 2.65rem;
  white-space: nowrap;
}

.first-lesson .eyebrow {
  color: var(--ember-red);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #1d1d1d;
  padding: 22px;
}

.card-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  border-radius: 8px;
  background: var(--forge-red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.info-card h3 {
  margin: 18px 0 10px;
  font-size: 1.35rem;
}

.info-card p {
  margin: 0;
  color: #d8d8d8;
}

.route-section {
  background: var(--paper);
}

.route-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 46px;
  align-items: center;
}

.route-copy p:last-child {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--charcoal-gray);
  font-size: 1.04rem;
}

.route-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 8px;
  background: var(--white);
  padding: 14px 16px;
}

.route-steps span {
  color: var(--forge-red);
  font-size: 0.82rem;
  font-weight: 800;
}

.route-steps strong {
  min-width: 0;
  font-size: 1.2rem;
}

.site-footer {
  background: var(--forge-black);
  color: var(--white);
  padding: 34px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.footer-brand {
  justify-self: start;
}

.footer-inner p {
  justify-self: center;
  margin: 0;
  color: #d4d4d4;
  font-size: 0.95rem;
  text-align: center;
}

.footer-social {
  justify-self: end;
  margin-left: 0;
}

.footer-social a {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 12px;
    padding: 12px 0;
  }

  .brand img,
  .footer-brand img {
    width: 170px;
  }

  .language-switch {
    margin-left: 0;
  }

  .card-grid,
  .route-inner {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: 2.35rem;
  }

  .first-lesson h2 {
    font-size: 2.15rem;
  }

  .footer-inner {
    gap: 12px;
  }

  .footer-social {
    width: auto;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .hero {
    width: min(100% - 28px, var(--content-width));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
  }

  .header-descriptor {
    width: 100%;
    font-size: 0.84rem;
  }

  .brand,
  .footer-brand,
  .language-switch,
  .footer-social {
    justify-self: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero {
    gap: 22px;
    padding: 30px 0 52px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    display: none;
  }

  .booking-panel {
    padding: 18px;
  }

  .booking-title {
    font-size: 1.85rem;
  }

  .slot-picker,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .time-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .date-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .date-list .slot-option {
    flex: 0 0 150px;
    scroll-snap-align: start;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    display: block;
  }

  .section h2 {
    font-size: 2rem;
  }

  .first-lesson h2 {
    white-space: normal;
  }

  .info-card {
    padding: 18px;
  }

  .route-steps li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .route-steps strong {
    font-size: 1.05rem;
  }
}

@media (max-width: 380px) {
  .brand img,
  .footer-brand img {
    width: 154px;
  }

  .language-button {
    min-width: 38px;
    font-size: 0.72rem;
  }

  .booking-title {
    font-size: 1.65rem;
  }

  .time-list {
    grid-template-columns: 1fr;
  }

  .badge-list li {
    width: 100%;
  }
}
