:root {
  --ink: #081628;
  --ink-2: #10233b;
  --muted: #5a6676;
  --line: rgba(8, 22, 40, 0.18);
  --line-soft: rgba(8, 22, 40, 0.1);
  --line-strong: rgba(8, 22, 40, 0.34);
  --section-grid: minmax(280px, 0.9fr) minmax(420px, 1.3fr) minmax(280px, 0.85fr);
  --paper: #ffffff;
  --soft: #f6f7f8;
  --gold: #dba84b;
  --gold-dark: #b98122;
  --hero: #061322;
  --shadow: 0 24px 70px rgba(8, 22, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f9fb;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 380px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 16, 29, 0.98) 0%, rgba(5, 16, 29, 0.9) 42%, rgba(5, 16, 29, 0.56) 70%, rgba(5, 16, 29, 0.35) 100%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2400&q=90") center right / cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.12), transparent 34%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(48px, 8vw, 130px);
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  padding: 36px 0 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(38px, 3.1vw, 52px);
  line-height: 1.08;
  font-weight: 800;
}

.hero__lead {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn--gold {
  min-width: 240px;
  background: linear-gradient(135deg, #f0c66f, var(--gold));
  color: #101723;
  box-shadow: 0 16px 36px rgba(219, 168, 75, 0.22);
}

.btn--ghost {
  min-width: 210px;
  border-color: var(--gold);
  color: #fff;
  background: rgba(5, 16, 29, 0.35);
}

.btn--dark {
  width: 100%;
  background: var(--ink);
  color: #fff;
}

.btn--wide {
  margin-top: 12px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 760px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 700;
}

.icon,
.case-card__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon svg {
  width: 36px;
  height: 36px;
}

.practice {
  padding-top: 22px;
}

.practice h2 {
  margin-bottom: 18px;
  font-size: 22px;
  line-height: 1.2;
}

.practice ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.practice li {
  position: relative;
  padding-left: 28px;
}

.practice li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 11px;
  width: 6px;
  height: 6px;
  border: 2px solid var(--gold);
  border-radius: 999px;
}

.split-section,
.booking-section,
.contact-section {
  display: grid;
  width: min(1440px, 100%);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #fff;
}

.split-section {
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.panel {
  min-height: 360px;
  padding: 42px clamp(30px, 5vw, 76px);
}

.panel--experience {
  border-right: 1px solid var(--line-strong);
}

.panel h2,
.contact-copy h2 {
  max-width: 560px;
  margin-bottom: 24px;
  font-size: clamp(28px, 2.2vw, 36px);
  line-height: 1.16;
  font-weight: 800;
}

.contact-copy h2 {
  font-size: clamp(27px, 2vw, 34px);
}

.panel h3 {
  margin-bottom: 28px;
  font-size: 22px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.case-card {
  min-width: 0;
  padding: 0 36px;
  border-right: 1px solid var(--line);
}

.case-card:first-child {
  padding-left: 0;
}

.case-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.case-card__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border: 1px solid rgba(219, 168, 75, 0.36);
  border-radius: 999px;
  background: #f7f0e4;
  color: var(--ink-2);
  font-size: 30px;
}

.case-card h4 {
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.3;
}

.case-card p {
  margin-bottom: 0;
  color: var(--ink-2);
  font-size: 15px;
}

.price-table {
  margin: 16px 0 18px;
  border: 1px solid var(--line-strong);
}

.price-table__row {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
}

.price-table__row:last-child {
  border-bottom: 0;
}

.price-table__row span {
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid var(--line);
  font-size: 15px;
}

.price-table__row span:last-child {
  justify-content: center;
  border-right: 0;
  text-align: center;
}

.price-table__row--head {
  min-height: 54px;
  font-weight: 800;
}

.note {
  color: var(--ink-2);
  font-size: 15px;
}


.eyebrow--dark {
  color: var(--gold-dark);
}

.booking-section {
  display: grid;
  grid-template-columns: var(--section-grid);
  gap: 0;
  width: min(1440px, 100%);
  margin: 0 auto;
  border-top: 0;
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.booking-copy,
.calendar-card,
.booking-slots {
  padding: 44px clamp(28px, 4vw, 72px);
}

.booking-copy {
  border-right: 1px solid var(--line-strong);
}

.booking-copy h2 {
  max-width: 430px;
  margin-bottom: 18px;
  font-size: clamp(28px, 2vw, 34px);
  line-height: 1.16;
  font-weight: 800;
}

.booking-copy p:not(.eyebrow) {
  max-width: 390px;
  color: var(--ink-2);
  font-size: 17px;
}

.calendar-card {
  border-right: 1px solid var(--line-strong);
}

.calendar-card__header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.calendar-card__header strong,
.calendar-card__header span {
  display: block;
}

.calendar-card__header strong {
  font-size: 22px;
}

.calendar-card__header span {
  color: var(--muted);
  font-size: 14px;
}

.calendar-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-grid > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.calendar-day:hover {
  border-color: var(--gold);
}

.calendar-day--active {
  border-color: var(--gold);
  background: linear-gradient(135deg, #f0c66f, var(--gold));
  color: #101723;
}

.calendar-day--busy {
  background: #f3f5f7;
  color: var(--muted);
}

.calendar-day--muted {
  cursor: default;
  color: #b2bbc6;
  background: #f7f8fa;
}

.booking-slots {
  display: flex;
  flex-direction: column;
}

.booking-slots__label {
  margin-bottom: 6px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-slots h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.slot-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.slot-button--free:hover,
.slot-button--selected {
  border-color: var(--gold);
  background: rgba(219, 168, 75, 0.12);
}

.slot-button--busy {
  cursor: not-allowed;
  color: #8b96a3;
  background: #f1f3f5;
  text-decoration: line-through;
}

.booking-summary {
  min-height: 72px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 15px;
}

.booking-slots__action {
  margin-top: auto;
}

.contact-section {
  position: relative;
  isolation: isolate;
  grid-template-columns: var(--section-grid);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(5, 16, 29, 0.78) 0%, rgba(5, 16, 29, 0.68) 48%, rgba(5, 16, 29, 0.52) 100%),
    linear-gradient(180deg, rgba(206, 219, 232, 0.12), rgba(5, 16, 29, 0.34)),
    url("./assets/contact-planner-bg-light.jpg") center / cover;
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.contact-copy,
.contact-form,
.quick-contact {
  padding: 44px clamp(28px, 4vw, 72px);
}


.contact-copy {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-section .contact-copy h2,
.contact-section .quick-contact h2 {
  color: #fff;
}

.contact-copy p {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  position: relative;
  display: block;
}

.contact-form span:not(.file-box__icon) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  outline: none;
}

input {
  height: 52px;
  padding: 0 18px;
}

textarea {
  min-height: 128px;
  resize: vertical;
  padding: 15px 18px;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(219, 168, 75, 0.14);
}

input::placeholder,
textarea::placeholder {
  color: #7f8995;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #778292;
}

.contact-form input[name="name"],
.contact-form input[name="phone"],
.contact-form input[name="email"],
.contact-form textarea {
  font-size: 15px;
}

.contact-form__message {
  grid-row: span 2;
}

.file-box {
  display: flex !important;
  grid-column: span 1;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.file-box input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-box .file-box__icon {
  position: static;
  width: 38px;
  height: 38px;
  clip: auto;
  border: 0;
  color: var(--ink-2);
}

.file-box span:last-child {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  color: var(--muted);
  font-size: 13px;
}

.file-box strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.contact-form__submit {
  grid-column: 1 / -1;
  min-height: 56px;
}

.quick-contact {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-contact h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.quick-contact ul {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.quick-contact li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.quick-contact svg {
  width: 20px;
  height: 20px;
  color: var(--gold-dark);
}

.quick-contact__notice {
  max-width: 430px;
  margin: auto 0 0;
  padding: 0 0 2px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1180px) {
  .hero__inner,
  .split-section,
  .contact-section {
    width: 100%;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-inline: 32px;
  }

  .practice {
    max-width: 760px;
    padding-top: 0;
  }

  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }



  .booking-section {
    grid-template-columns: 1fr;
  }

  .booking-copy,
  .calendar-card {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }


  .panel--experience,
  .contact-copy,
  .quick-contact {
    border: 0;
  }

  .panel--pricing {
    border-top: 1px solid var(--line-strong);
  }

  .contact-form,
  .quick-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    background-position: 68% center;
  }

  .hero__inner {
    padding: 38px 20px 34px;
  }

  h1 {
    font-size: 38px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions,
  .trust-row,
  .case-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .btn,
  .btn--gold,
  .btn--ghost {
    width: 100%;
    min-width: 0;
  }

  .trust-row {
    gap: 18px;
  }

  .panel,
  .contact-copy,
  .contact-form,
  .quick-contact {
    padding: 34px 20px;
  }


  .booking-copy,
  .calendar-card,
  .booking-slots {
    padding: 34px 20px;
  }

  .calendar-card__header {
    grid-template-columns: 36px 1fr 36px;
  }

  .calendar-nav {
    width: 36px;
    height: 36px;
  }

  .calendar-grid {
    gap: 6px;
  }

  .calendar-day {
    font-size: 13px;
  }

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


  .case-card {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-card:first-child {
    padding-top: 0;
  }

  .case-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .price-table__row {
    grid-template-columns: 1fr 0.72fr;
  }

  .price-table__row span {
    min-height: 44px;
    padding: 0 12px;
    border-right: 1px solid var(--line);
    font-size: 12px;
  }

  .price-table__row span:last-child {
    justify-content: center;
    border-top: 0;
    border-right: 0;
    text-align: center;
  }

  .contact-form__message,
  .file-box {
    grid-column: auto;
  }
}
