:root {
  --bg: #f7f4ee;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --text: #182126;
  --muted: #66737e;
  --line: rgba(24, 33, 38, 0.12);
  --line-strong: rgba(24, 33, 38, 0.2);
  --teal: #0d786e;
  --teal-dark: #095b53;
  --coral: #d76f59;
  --lavender: #d8d2ef;
  --shadow: 0 24px 64px rgba(43, 53, 65, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, sans-serif;
  background:
    radial-gradient(circle at 10% 12%, rgba(13, 120, 110, 0.1), transparent 18%),
    radial-gradient(circle at 90% 18%, rgba(215, 111, 89, 0.1), transparent 16%),
    linear-gradient(180deg, #fcfbf8 0%, var(--bg) 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-markers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(24, 33, 38, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 33, 38, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.topline,
.panel-index,
.panel-name,
.eyebrow,
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
}

.accordion {
  display: grid;
  gap: 12px;
}

.panel {
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.panel-index {
  color: var(--teal);
}

.panel-name {
  color: var(--muted);
}

.panel-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms ease;
}

.panel-body > * {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease;
}

.panel.is-open .panel-body {
  grid-template-rows: 1fr;
}

.panel.is-open .panel-body > * {
  opacity: 1;
  visibility: visible;
  transition-delay: 120ms;
}

.hero-block,
.lanes-grid,
.contact-grid {
  padding: 0 22px 22px;
}

.hero-block {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
}

h1,
h2 {
  margin: 0;
  font-family: Outfit, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.92;
}

h2 {
  max-width: 12ch;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 0.98;
}

.lead,
.lane-card p,
.contact-copy p,
.form-note {
  color: var(--muted);
  line-height: 1.8;
}

.lead {
  max-width: 58ch;
  margin: 16px 0 0;
}

.hero-actions,
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
  will-change: transform;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 14px 30px rgba(13, 120, 110, 0.18);
}

.button.ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
}

.hero-visual,
.visual-card {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(216, 210, 239, 0.26);
  border: 1px solid var(--line);
}

.hero-visual img,
.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.lane-card {
  min-height: 230px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-label {
  margin: 0;
  color: var(--coral);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 18px;
}

.contact-copy,
.contact-form {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.contact-copy h2 {
  max-width: 13ch;
}

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

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

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(13, 120, 110, 0.36);
  box-shadow: 0 0 0 4px rgba(13, 120, 110, 0.08);
}

textarea {
  min-height: 148px;
  resize: vertical;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-note {
  min-height: 24px;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.tilt-card {
  will-change: transform;
  transition: transform 160ms ease;
}

@media (max-width: 1040px) {
  .hero-block,
  .lanes-grid,
  .contact-grid,
  .row.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(1380px, calc(100vw - 16px));
    padding: 8px 0 18px;
  }

  .topline,
  .panel-toggle {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-block,
  .lanes-grid,
  .contact-grid {
    padding: 0 16px 16px;
  }

  .panel-toggle {
    padding: 16px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4.4rem);
  }

  h2,
  .contact-copy h2 {
    max-width: none;
  }

  .button {
    width: 100%;
  }
}
