:root {
  --ink: #151515;
  --muted: #5f646d;
  --line: #e7e0d4;
  --paper: #ffffff;
  --soft: #f6f2ea;
  --charcoal: #22262b;
  --charcoal-2: #111418;
  --orange: #f7941d;
  --gold: #ffc247;
  --amber-soft: #fff3d7;
  --shadow: 0 20px 50px rgba(20, 20, 20, 0.12);
  --radius: 8px;
  --header-height: 136px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(18px);
}

.header-top {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--charcoal-2);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(247, 148, 29, 0.25);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 1.25rem;
  letter-spacing: 0;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #353940;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-strip a {
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.contact-strip a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.main-nav {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid rgba(21, 21, 21, 0.08);
  background: var(--charcoal-2);
}

.main-nav a {
  color: #fff;
  padding: 15px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius);
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--amber-soft);
  cursor: pointer;
  place-items: center;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(17, 20, 24, 0.84), rgba(17, 20, 24, 0.36)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=80")
      center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 20%, rgba(255, 194, 71, 0.22), transparent 34%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-copy p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 16px 30px rgba(247, 148, 29, 0.28);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(17, 20, 24, 0.74);
  box-shadow: var(--shadow);
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.hero-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.8rem;
  line-height: 1.1;
}

.hero-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 40px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading.centered .eyebrow::after {
  content: "";
  width: 34px;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
}

.section-heading p,
.content-block p,
.contact-info p {
  color: var(--muted);
  font-size: 1.02rem;
}

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

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

.value-card,
.service-card,
.training-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 20, 24, 0.07);
}

.value-card {
  padding: 30px;
}

.icon-badge,
.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--ink);
  background: var(--amber-soft);
  border-radius: var(--radius);
}

.icon-badge svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card p,
.service-card p,
.training-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-section {
  background: linear-gradient(180deg, var(--soft), #fff);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.highlight-stack {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(88%, 420px);
  display: grid;
  gap: 10px;
}

.highlight-stack div {
  padding: 15px 16px;
  display: grid;
  gap: 2px;
  color: #fff;
  background: rgba(17, 20, 24, 0.9);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
}

.highlight-stack span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.services-section {
  background:
    linear-gradient(135deg, rgba(255, 194, 71, 0.16), rgba(255, 255, 255, 0.78)),
    var(--soft);
}

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

.service-card {
  min-height: 238px;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 148, 29, 0.5);
  box-shadow: 0 22px 48px rgba(247, 148, 29, 0.15);
}

.service-icon {
  color: #fff;
  background: var(--charcoal);
  font-size: 1.25rem;
  font-weight: 900;
}

.training-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 20, 24, 0.93), rgba(17, 20, 24, 0.78)),
    url("https://images.unsplash.com/photo-1518709268805-4e9042af2176?auto=format&fit=crop&w=1600&q=80")
      center / cover;
}

.training-section .content-block p {
  color: rgba(255, 255, 255, 0.76);
}

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

.training-card {
  min-height: 210px;
  padding: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(10px);
}

.training-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: var(--radius);
  font-weight: 900;
}

.training-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.training-card p {
  color: rgba(255, 255, 255, 0.72);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.info-list div {
  padding: 18px;
  display: grid;
  gap: 4px;
  background: var(--soft);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
}

.info-list span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.contact-form label span {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9d3c8;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(247, 148, 29, 0.14);
}

.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: #c93333;
  box-shadow: 0 0 0 4px rgba(201, 51, 51, 0.12);
}

.field-error {
  min-height: 18px;
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.recaptcha-wrap {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.recaptcha-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.full {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: #2f6f3f;
  font-weight: 800;
}

.form-message.error {
  color: #b42318;
}

.site-footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--charcoal-2);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text span {
  color: #fff;
}

.footer-inner p {
  max-width: 430px;
  margin: 0;
}

.footer-inner > span {
  white-space: nowrap;
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .contact-strip {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    min-height: auto;
    display: grid;
    gap: 0;
    padding: 10px 20px 22px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.2);
  }

  .menu-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 96px;
  }

  .hero-grid,
  .split-layout,
  .split-layout.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .about-visual img {
    min-height: 420px;
  }

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

  .footer-inner > span {
    white-space: normal;
  }
}

@media (max-width: 680px) {
  .container,
  .header-top {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text span {
    font-size: 0.68rem;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 82px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .value-grid,
  .service-grid,
  .training-panel,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 34px;
  }

  .hero-panel,
  .value-card,
  .service-card,
  .contact-form {
    padding: 22px;
  }

  .highlight-stack {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .about-visual img {
    min-height: 300px;
  }
}
