/* ==========================================================================
   Altitude Digital — A2P-compliant site styles
   Palette matched to altitudedigital.io: vivid orange on warm cream, all-light
   ========================================================================== */

:root {
  --accent:        #F4801C;   /* vivid brand orange */
  --accent-2:      #F79B33;   /* lighter orange (gradient/highlight) */
  --accent-dark:   #DD6E0F;   /* hover / links */
  --accent-soft:   #FCE7CF;   /* tint for icon chips / callouts */
  --ink:           #16181C;   /* near-black headings */
  --ink-2:         #3A3F46;   /* strong body text */
  --muted:         #6B7280;   /* secondary text (cool grey) */
  --line:          #ECE6DC;   /* hairline borders on cream */
  --line-2:        #EFEAE1;   /* card borders */
  --bg:            #FBF8F2;   /* warm cream (page) */
  --bg-soft:       #F5F0E7;   /* deeper cream (alternating sections) */
  --bg-card:       #FFFFFF;   /* white cards */
  --white:         #FFFFFF;
  --radius:        16px;
  --radius-sm:     11px;
  --shadow:        0 8px 26px rgba(22,24,28,.06);
  --shadow-lg:     0 26px 60px rgba(22,24,28,.12);
  --maxw:          1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
.accent { color: var(--accent); }   /* orange highlight words in headings */

p { margin: 0 0 1rem; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }

/* eyebrow pill — orange dot + uppercase letterspaced label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons (dark text on orange, like the live site) ---------- */
.btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #2A1B08;
  box-shadow: 0 8px 22px rgba(244,128,28,.32);
}
.btn--primary:hover { box-shadow: 0 12px 28px rgba(244,128,28,.42); }
.btn--ghost {
  background: var(--bg-card);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,242,.85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand__name { font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: .96rem; }
.nav a:hover { color: var(--accent-dark); text-decoration: none; }
.nav .btn { padding: 10px 20px; }
.nav__links { display: flex; gap: 28px; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(150,170,215,.20), transparent 60%),
    radial-gradient(800px 460px at 10% 10%, rgba(244,128,28,.10), transparent 55%),
    var(--bg);
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; }
.hero .lead { margin-bottom: 26px; font-size: 1.18rem; color: var(--ink-2); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note {
  margin-top: 20px; font-size: .92rem; color: var(--muted);
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--accent-soft); border-radius: 999px; padding: 9px 16px;
}

/* hero "what you get" card — white, like the live calendar card */
.hero__card {
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: var(--ink); margin-bottom: 4px; }
.hero__card .card-sub { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.hero__card ul { list-style: none; margin: 14px 0 0; padding: 0; }
.hero__card li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: .97rem;
}
.hero__card li:first-child { border-top: none; }
.check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: .78rem; font-weight: 900; margin-top: 1px;
}

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  background: var(--bg-card); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow);
}
.stat__num { font-size: 1.9rem; font-weight: 800; color: var(--accent-dark); letter-spacing: -.03em; }
.stat__label { color: var(--muted); font-size: .92rem; }

/* ---------- Section head ---------- */
.section-head { max-width: 66ch; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Service / feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about__list { list-style: none; padding: 0; margin: 22px 0 0; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: var(--ink-2); }

/* ---------- Steps (light, white cards w/ orange number) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  padding: 26px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.step__n {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #2A1B08;
  font-weight: 800; display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { font-size: 1.04rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Contact / Form ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: start; }
.contact__info p { color: var(--muted); }
.contact__info .info-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.contact__info .info-row:first-of-type { border-top: none; }
.contact__info .info-row strong { color: var(--ink); display: block; }
.info-ic {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; font-size: 1.05rem;
}

.form-card { background: var(--bg-card); border: 1px solid var(--line-2); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lg); }
.form-row { margin-bottom: 18px; }
.form-row label.field-label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--accent-dark); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,128,28,.18); background: #fff;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Consent checkboxes — A2P critical */
.consent {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 14px;
  display: flex; gap: 12px; align-items: flex-start;
}
.consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.consent label { font-size: .89rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.disclosure { font-size: .82rem; color: var(--muted); line-height: 1.55; margin: 6px 0 18px; }
.disclosure a { color: var(--accent-dark); text-decoration: underline; }
.form-card .btn--primary { width: 100%; padding: 16px; font-size: 1.05rem; }
.optional-tag { color: var(--muted); font-weight: 500; font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 4px 22px; margin-bottom: 12px; background: var(--bg-card); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-dark); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* ---------- Footer (light cream, like the live site) ---------- */
.site-footer { background: var(--bg-soft); color: var(--muted); padding: 60px 0 26px; font-size: .94rem; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.site-footer h4 { color: var(--ink); font-size: .76rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .12em; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent-dark); text-decoration: none; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 9px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 22px; font-size: .85rem; color: var(--muted); }
.footer__legal { max-width: 70ch; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: .92rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin-top: 38px; }
.legal h3 { font-size: 1.06rem; margin-top: 26px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .callout { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 8px; padding: 16px 20px; margin: 22px 0; color: var(--ink); }
.legal a { text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 28px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .cards, .steps, .stats, .form-grid-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
}
