/* ==========================================================================
   Arizona Air — Landing page styles
   Two-tone: near-black ink + warm orange accent
   ========================================================================== */

:root {
  /* Brand — two tones */
  --ink: #0a0a0a;
  --ink-2: #171717;
  --ink-3: #262626;
  --accent: #f97316;
  --accent-hover: #ea580c;

  /* Neutrals */
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #0a0a0a;
  --text-muted: #525252;
  --text-soft: #737373;
  --line: #e5e5e5;
  --line-strong: #d4d4d4;

  /* Status (kept minimal) */
  --error: #b91c1c;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10,10,10,.04);
  --shadow: 0 8px 24px -10px rgba(10,10,10,.10);
  --shadow-lg: 0 24px 48px -16px rgba(10,10,10,.18);
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Smooth-scroll anchor offset for sticky header */
[id] { scroll-margin-top: 80px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
p  { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 2.4vw + 1rem, 2.25rem);
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: -0.025em;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.trust-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  justify-content: center;
}
.trust-bar__item { white-space: nowrap; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.02em;
  text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo__mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.logo--small { font-size: 16px; }
.logo--small .logo__mark { width: 26px; height: 26px; border-radius: 7px; }
.logo__accent { color: var(--accent); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 16px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.header-phone:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: var(--ink-2); color: #fff; }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.08); color: #fff; }

.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading .btn__spinner { display: block; position: absolute; }
.btn.is-loading { position: relative; pointer-events: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  padding: 88px 0 96px;
  background: var(--ink);
}

.hero .hero__eyebrow { color: rgba(255,255,255,.55); }
.hero .hero__headline { color: #fff; }
.hero .hero__sub { color: rgba(255,255,255,.72); }
.hero .hero__phone-note { color: rgba(255,255,255,.55); }
.hero .hero__phone-note a {
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.25);
}
.hero .hero__phone-note a:hover { color: var(--accent); border-color: var(--accent); }

.hero__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.hero__copy {
  margin-bottom: 48px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero__headline {
  font-size: clamp(2.1rem, 3.6vw + 1rem, 3.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: .55em;
  line-height: 1.05;
}
.hl {
  color: var(--accent);
  font-weight: 700;
}

.hero__sub {
  font-size: clamp(1.05rem, .4vw + 1rem, 1.15rem);
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.6;
}

.hero__phone-note {
  text-align: center;
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}
.hero__phone-note a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.hero__phone-note a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   Form card
   ========================================================================== */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 64px -20px rgba(0,0,0,.5), 0 8px 24px -8px rgba(0,0,0,.25);
  padding: 36px;
  border: 1px solid rgba(255,255,255,.06);
  text-align: left;
  max-width: 540px;
  margin: 0 auto;
}
.form-card__header { margin-bottom: 24px; text-align: center; }
.form-card__title {
  font-size: 1.4rem;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -.02em;
}
.form-card__sub {
  font-size: .95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.form { display: grid; gap: 16px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.req { color: var(--accent); margin-left: 2px; }
.field input,
.field textarea {
  font-family: inherit;
  font-size: 16px; /* prevents iOS auto-zoom on focus */
  line-height: 1.4;
  width: 100%;
  padding: 13px 14px;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: #a3a3a3; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10,10,10,.08);
}
.field textarea { resize: vertical; min-height: 96px; padding-top: 12px; }

.field select {
  font-family: inherit;
  font-size: 16px;
  width: 100%;
  padding: 13px 40px 13px 14px;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23525252' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--ink);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10,10,10,.08);
}
.field select option[value=""][disabled] { color: #a3a3a3; }
.field.is-invalid select {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(185,28,28,.10);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(185,28,28,.10);
}
.field__error {
  display: none;
  font-size: 13px;
  color: var(--error);
}
.field.is-invalid .field__error { display: block; }

/* SMS consent checkbox */
.field--consent {
  margin-top: 4px;
}
.consent-label {
  display: flex;
  gap: 12px;
  cursor: pointer;
  position: relative;
  align-items: flex-start;
}
.consent-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.consent-check {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  display: grid;
  place-items: center;
  color: transparent;
  transition: background .15s, border-color .15s, color .15s;
  margin-top: 2px;
}
.consent-checkbox:checked + .consent-check {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.consent-checkbox:focus-visible + .consent-check {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.field.is-invalid .consent-check {
  border-color: var(--error);
}
.consent-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.consent-body strong {
  font-weight: 600;
  display: block;
}
.consent-fine {
  display: block;
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.55;
}
.consent-fine a {
  color: var(--ink);
  font-weight: 500;
  text-underline-offset: 2px;
}
.consent-fine a:hover { color: var(--accent); }

/* Success state */
.form-success {
  text-align: center;
  padding: 12px 6px 6px;
  animation: fadeIn .35s ease;
}
.form-success__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}
.form-success h3 {
  font-size: 1.3rem;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -.02em;
}
.form-success p {
  color: var(--text-muted);
  margin: 0 0 20px;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Value section
   ========================================================================== */
.value { padding: 88px 0; background: var(--bg); border-top: 1px solid var(--line); }
.value__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.value__card {
  background: var(--surface);
  padding: 28px;
  transition: background .2s;
}
.value__card:hover { background: #fcfcfc; }
.value__icon {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
}
.value__card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.015em;
}
.value__card p  {
  font-size: .95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { padding: 88px 0; background: var(--surface); border-top: 1px solid var(--line); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0;
}
.review blockquote {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
}
.review figcaption {
  font-size: 13px;
  color: var(--text-soft);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.review figcaption strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 88px 0; background: var(--bg); border-top: 1px solid var(--line); }
.faq__inner { max-width: 720px; }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform .2s;
  margin-right: 4px;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq__item p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: .97rem;
  line-height: 1.6;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 88px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 2.4vw + 1rem, 2.25rem);
  margin-bottom: 12px;
  letter-spacing: -.025em;
}
.cta-band p {
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.cta-band__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-band .btn--primary {
  background: #fff;
  color: var(--ink);
}
.cta-band .btn--primary:hover { background: #f5f5f5; color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 56px 0 88px;
  font-size: 14px;
  border-top: 1px solid var(--ink-3);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.site-footer .logo { color: #fff; }
.site-footer .logo:hover { color: #fff; }
.site-footer .logo__mark {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.site-footer__tag { color: rgba(255,255,255,.5); margin-top: 10px; }
.site-footer__meta p { margin: 0 0 6px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--accent); }
.site-footer__copy { color: rgba(255,255,255,.4); margin-top: 14px !important; font-size: 12.5px; }

/* ==========================================================================
   Sticky mobile call bar
   ========================================================================== */
.mobile-call {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  min-height: 52px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(10,10,10,.45);
}
.mobile-call:hover,
.mobile-call:active { color: #fff; }
.mobile-call:active { transform: translateY(1px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .hero { padding: 64px 0 80px; }
  .value__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  /* Trust bar: hide on small screens — info repeats in footer */
  .trust-bar { display: none; }

  /* Header */
  .site-header__inner { padding: 12px 20px; }
  .header-phone span { display: none; }
  .header-phone {
    padding: 11px;
    min-width: 44px;
    justify-content: center;
  }
  .logo { font-size: 17px; }
  .logo__mark { width: 30px; height: 30px; border-radius: 7px; }

  /* Hero */
  .hero { padding: 40px 0 56px; }
  .hero__copy { margin-bottom: 28px; }
  .hero__eyebrow { font-size: 12px; margin-bottom: 14px; }
  .hero__headline {
    font-size: clamp(1.85rem, 8.5vw, 2.4rem);
    letter-spacing: -.03em;
    line-height: 1.1;
  }
  .hero__sub { font-size: 1rem; line-height: 1.55; }
  .hero__phone-note { margin-top: 20px; font-size: 14px; }

  /* Form card */
  .form-card {
    padding: 24px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
  }
  .form-card__header { margin-bottom: 20px; }
  .form-card__title { font-size: 1.25rem; }
  .form-card__sub { font-size: .92rem; }
  .form { gap: 14px; }
  .field label { font-size: 14px; }

  /* Sections */
  .section-title {
    font-size: clamp(1.5rem, 6vw, 1.85rem);
    margin-bottom: 1.5rem;
  }
  .value, .reviews, .faq, .cta-band { padding: 56px 0; }
  .value__grid { grid-template-columns: 1fr; gap: 0; }
  .value__card { padding: 24px 22px; }
  .review { padding: 22px; }
  .faq__item summary { padding: 16px 0; font-size: .98rem; }
  .cta-band p { font-size: 1rem; }
  .cta-band__buttons { flex-direction: column; align-items: stretch; }
  .cta-band__buttons .btn { width: 100%; }

  /* Footer with mobile call bar clearance */
  .site-footer { padding: 48px 0 calc(96px + env(safe-area-inset-bottom, 0px)); }
  .site-footer__inner { gap: 28px; }

  /* Show sticky mobile call bar */
  .mobile-call { display: inline-flex; }
}

/* Tiny screens (older iPhone SE, etc.) */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .form-card { padding: 22px 16px; }
  .hero__headline { font-size: 1.75rem; }
  .btn--lg { padding: 14px 20px; font-size: 15px; }
}

/* Landscape phone — keep hero compact */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { padding: 28px 0 40px; }
  .hero__copy { margin-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
}
