@font-face {
  font-family: Vazir;
  src: url('/vazirmatn.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}

:root {
  --navy: #122e40;
  --teal: #00675f;
  --teal-dark: #00524b;
  --mint: #e7f4f0;
  --canvas: #f4f8fa;
  --muted: #465d6c;
  --line: #cfdfdf;
  --width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: white; color: var(--navy); font: 16px/1.85 Vazir, Tahoma, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #a0520d; outline-offset: 4px; }
[hidden] { display: none !important; }
p { color: var(--muted); margin: 0 0 16px; }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.45; }
h1 { font-size: clamp(2.55rem, 5.2vw, 4.55rem); font-weight: 850; }
h2 { font-size: clamp(1.65rem, 3.7vw, 2.55rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 750; }

.shell, .section, footer { width: min(var(--width), calc(100% - 56px)); margin-inline: auto; }
.contact-strip { background: var(--navy); color: white; font-size: .875rem; }
.contact-strip .shell, .masthead { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.contact-strip a { display: inline-flex; align-items: center; min-height: 38px; }
.masthead { min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; line-height: 1.25; }
.brand small { display: block; font-size: .75rem; font-weight: 550; color: var(--muted); margin-top: 5px; }
.brand-mark { display: grid; place-items: center; border-radius: 11px 11px 11px 2px; width: 46px; height: 46px; background: var(--teal); color: white; font-size: 1.8rem; }
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 35px); font-size: .94rem; font-weight: 650; }
nav a:hover, .contact-strip a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button, .outline {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--teal);
  border: 1px solid var(--teal);
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
}
.button:hover { background: var(--teal-dark); }
.outline { color: var(--teal-dark); background: white; }
.outline:hover { background: var(--mint); }

.hero { background: linear-gradient(110deg, #e8f5f1 12%, #f2f7fb 78%); border-block: 1px solid #deebeb; }
.hero-inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(24px, 6vw, 85px); padding-block: clamp(30px, 5vw, 66px); }
.eyebrow { color: var(--teal-dark); font-size: .9rem; font-weight: 730; margin-bottom: 10px; }
.hero-copy > p:not(.eyebrow) { max-width: 38ch; font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.hero-picture { position: relative; overflow: hidden; border-radius: 22px 22px 6px 22px; margin: 0; background: #cfe6e1; aspect-ratio: 1.45; }
.hero-picture img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 43%; }
.hero-picture figcaption { position: absolute; inset: auto 12px 12px auto; background: white; color: var(--muted); padding: 3px 10px; border-radius: 5px; font-size: .78rem; }

.section { margin-block: clamp(48px, 7vw, 92px); }
.section-head { margin-bottom: 23px; }
.cards, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.card { display: flex; flex-direction: column; padding: clamp(18px, 3vw, 31px); border: 1px solid var(--line); border-top: 4px solid #5c9d9b; border-radius: 12px; background: white; box-shadow: 0 8px 18px #122e400a; }
.card.featured { border-top-color: var(--teal); background: #f4faf8; }
.card h3 { margin-bottom: 8px; }
.card p { min-height: 3.7em; }
.price { color: var(--teal-dark); font-size: clamp(1.85rem, 3vw, 2.5rem); line-height: 1.4; font-weight: 850; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.price small { font-size: .9rem; font-weight: 620; }
.card ul { color: var(--muted); padding: 0; list-style: none; margin-block: 14px 22px; }
.card li { margin-block: 4px; }
.card li::before { content: '✓'; color: var(--teal-dark); margin-inline-end: 8px; }
.card button { width: 100%; margin-top: auto; }
.fine { margin-top: 16px; font-size: .9rem; }
.intro { border-inline-start: 4px solid #5c9d9b; border-radius: 8px; padding: clamp(18px, 3vw, 36px); background: var(--canvas); }
.intro p { max-width: 80ch; margin-bottom: 0; }
.intro h2 { font-size: clamp(1.45rem, 3vw, 2rem); }

.quiz, .faq, .booking { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(22px, 5vw, 65px); }
.quiz, .booking { padding: clamp(18px, 5vw, 52px); border-radius: 15px; }
.quiz { background: var(--mint); }
#quiz-form { background: white; border: 1px solid var(--line); padding: clamp(14px, 3vw, 27px); border-radius: 12px; }
fieldset { margin: 0 0 16px; padding: 0; border: 0; min-inline-size: 0; }
legend { padding: 0; font-weight: 700; }
fieldset label { display: flex; align-items: center; min-height: 44px; gap: 10px; cursor: pointer; }
fieldset input { margin: 0; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
#quiz-result:not(:empty) { margin-top: 12px; padding: 11px; background: var(--mint); border-radius: 7px; }
.steps article { border-top: 2px solid var(--line); padding-top: 12px; }
.steps b { display: block; color: var(--teal-dark); margin-bottom: 6px; }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 48px; font-weight: 700; padding-block: 10px; }
details p { margin: 0 0 12px; }
.booking { background: var(--navy); color: white; align-items: start; }
.booking p, .booking small { color: #dce9f1; }
.location { display: flex; gap: 8px; }
.availability { border: 1px solid #64828f; border-radius: 10px; padding: 18px; }
.availability p:last-child { margin-bottom: 0; }
#pilot-attribution bdi { display: inline-block; color: white; font-weight: 800; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 27px; border-top: 1px solid var(--line); padding: 20px 0 35px; }
footer p { margin: 0; }
footer div { display: flex; flex-wrap: wrap; gap: 13px; margin-inline-start: auto; font-size: .9rem; }
footer small { width: 100%; color: var(--muted); }
.skip { position: absolute; top: -100px; }
.skip:focus { top: 4px; background: white; z-index: 6; padding: 10px; }
.mobile-cta { display: none; }

@media (max-width: 820px) {
  .shell, .section, footer { width: calc(100% - 36px); }
  .card p { min-height: 5.55em; }
}
@media (max-width: 680px) {
  html { scroll-padding-bottom: 80px; }
  .masthead { flex-wrap: wrap; gap: 5px 10px; padding-block: 12px 4px; }
  nav { order: 3; width: 100%; justify-content: space-between; gap: 6px; border-top: 1px solid var(--line); }
  nav a { display: inline-flex; align-items: center; min-height: 45px; font-size: .875rem; }
  .brand { font-size: 1.2rem; }
  .brand small { font-size: .72rem; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.45rem; }
  .header-action { min-height: 44px; padding-inline: 9px; font-size: .85rem; }
  .hero-inner, .cards, .steps, .quiz, .faq, .booking { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 24px; }
  .hero-picture { aspect-ratio: 1.6; border-radius: 14px; }
  .card p { min-height: 0; }
  footer { padding-bottom: calc(85px + env(safe-area-inset-bottom)); }
  footer div { margin-inline-start: 0; }
  .mobile-cta { display: flex; position: fixed; z-index: 5; inset: auto 12px calc(9px + env(safe-area-inset-bottom)) 12px; box-shadow: 0 4px 15px #122e4055; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
