/* Abe & Geli Vending — shared stylesheet */

:root {
  --orange: #f4602a;
  --orange-dark: #d64d1a;
  --orange-hover: #dd5019;
  --teal: #16a08c;
  --teal-dark: #0d8272;
  --teal-hover: #128676;
  --ink: #17231f;
  --body: #4a5754;
  --muted: #57645f;
  --faint: #7a857f;
  --cream: #fffdf9;
  --cream-2: #fdf7ee;
  --cream-3: #faf4ea;
  --cream-4: #fdf9f2;
  --line: #ece4d6;
  --line-2: #efe7d8;
  --line-3: #eadfce;
  --line-4: #e2d9c9;
  --dark: #13211d;
  --display: 'Space Grotesk', sans-serif;
  --sans: 'Hanken Grotesk', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-dark); }
a:hover { color: #b23f14; }

img { max-width: 100%; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.wrap-tight { max-width: 820px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,249,0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #eae2d5;
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 28px; height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.brand-tag { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; color: var(--teal-dark); margin-top: 5px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  position: relative; font-weight: 500; font-size: 15.5px; color: #2a3633;
  text-decoration: none; padding: 8px 0; white-space: nowrap;
}
.main-nav a:hover { color: var(--orange-dark); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 3px; background: var(--orange);
}
.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

/* compact nav shown only on small screens */
.mobile-nav { display: none; border-bottom: 1px solid #eae2d5; background: rgba(255,253,249,0.96); }
.mobile-nav-inner {
  display: flex; gap: 6px; overflow-x: auto; padding: 9px 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mobile-nav-inner::-webkit-scrollbar { display: none; }
.mobile-nav a {
  flex: 0 0 auto; font-size: 14px; font-weight: 600; color: #3a4744;
  text-decoration: none; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-3); background: #fff; white-space: nowrap;
}
.mobile-nav a.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.header-phone { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--orange-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 16px;
  padding: 16px 30px; border-radius: 999px; text-decoration: none;
  border: none; cursor: pointer; transition: background .18s, border-color .18s, color .18s;
}
.btn-sm { font-size: 14.5px; padding: 11px 20px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 12px 28px rgba(244,96,42,.30); }
.btn-primary:hover { background: var(--orange-hover); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 12px 28px rgba(22,160,140,.26); }
.btn-teal:hover { background: var(--teal-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.6px solid #ddd4c5; padding: 15px 28px; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-white { background: #fff; color: var(--orange-dark); font-weight: 700; box-shadow: 0 14px 30px rgba(20,20,20,.16); }
.btn-white:hover { background: #fff4ef; color: var(--orange-dark); }
.btn-white-teal { background: #fff; color: var(--teal-dark); font-weight: 700; box-shadow: 0 14px 30px rgba(20,20,20,.16); }
.btn-white-teal:hover { background: #eefaf7; color: var(--teal-dark); }
.btn-block { width: 100%; justify-content: center; }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--display); font-size: 12.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin: 0 0 16px;
}
.eyebrow-orange { color: var(--orange-dark); }
.eyebrow-teal { color: var(--teal-dark); }

h1.hero-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 5.4vw, 64px); line-height: 1.03;
  letter-spacing: -0.025em; margin: 0; color: var(--ink); text-wrap: balance;
}
h2.section-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.06;
  letter-spacing: -0.02em; color: var(--ink); margin: 0; text-wrap: balance;
}
h3.card-title {
  font-family: var(--display); font-weight: 600; font-size: 20px;
  color: var(--ink); margin: 18px 0 10px; letter-spacing: -0.01em;
}
.lede { font-size: 18px; line-height: 1.65; color: var(--body); }
.card-copy { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ---------- Sections ---------- */
.sec { padding: 90px 0; }
.sec-white { background: #fff; }
.sec-cream { background: var(--cream-3); border-top: 1px solid #f0e8da; }
.sec-hero { position: relative; overflow: hidden; background: var(--cream-2); }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-hero { grid-template-columns: 1.05fr 0.95fr; }
.grid-hero-alt { grid-template-columns: 1.02fr 0.98fr; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.card { background: var(--cream-4); border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px; }
.card-white { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px; }

.step-num {
  width: 52px; height: 52px; border-radius: 999px; color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px; background: #fff;
  border: 1px solid var(--line-3); border-radius: 999px; padding: 9px 16px;
  font-size: 13.5px; font-weight: 600; color: #3a4744;
}
.dot { width: 9px; height: 9px; border-radius: 50%; display: block; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tag-orange { background: #fdf1ec; color: #c9481a; border: 1px solid #f6d9cd; border-radius: 999px; padding: 10px 20px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.tag-teal { background: #e9f6f2; color: var(--teal-dark); border: 1px solid #cfeae2; border-radius: 999px; padding: 10px 20px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.tag-plain { background: var(--cream-4); border: 1px solid #e7ddcc; border-radius: 999px; padding: 12px 20px; font-size: 15px; font-weight: 500; color: #3a4744; }
.tag-city { background: #fff; border: 1px solid var(--line-3); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; color: #3a4744; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 0; border-top: 1px solid var(--line-2);
  font-size: 16px; line-height: 1.55; color: #33403c;
}
.check-list li:last-child { border-bottom: 1px solid var(--line-2); }
.check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: #e9f6f2; color: var(--teal-dark); display: flex;
  align-items: center; justify-content: center; font-size: 13px; font-weight: 800; margin-top: 2px;
}

/* Photo frames */
.frame {
  position: relative; width: 100%; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(20,45,38,.30);
  border: 1px solid var(--line-2); background: #fff;
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame-4x5 { aspect-ratio: 4/5; }
.frame-5x4 { aspect-ratio: 5/4; }
.frame-4x3 { aspect-ratio: 4/3; }
.photo-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; text-align: center;
  padding: 24px; background: linear-gradient(150deg, #fdf7ee 0%, #f3f9f7 100%);
}
.photo-placeholder img { width: 92px; height: auto; opacity: .5; }
.photo-placeholder span { font-family: var(--display); font-size: 13px; font-weight: 600; color: #94a09b; letter-spacing: .3px; max-width: 230px; line-height: 1.5; }

/* CTA bands */
.cta-band { padding: 74px 0; }
.cta-orange { background: var(--orange); }
.cta-teal { background: var(--teal); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px,3.6vw,40px); line-height: 1.08; letter-spacing: -0.02em; color: #fff; margin: 0; text-wrap: balance; }
.cta-band p { font-size: 17px; line-height: 1.55; margin: 16px 0 0; }
.cta-orange p { color: #ffe4d8; }
.cta-teal p { color: #d3f0ea; }
.cta-phone { font-family: var(--display); font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; white-space: nowrap; }
.cta-orange .cta-phone:hover { color: #ffe0d3; }
.cta-teal .cta-phone:hover { color: #d3f0ea; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 38px 36px; box-shadow: 0 20px 50px -30px rgba(20,45,38,.28); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-full { grid-column: 1 / -1; }
label.fl { display: block; font-size: 13.5px; font-weight: 600; color: #3a4744; margin: 0 0 7px; }
input.fi, select.fi, textarea.fi {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-4); border-radius: 12px;
  padding: 13px 15px; outline: none;
}
textarea.fi { resize: vertical; }
input.fi:focus, select.fi:focus, textarea.fi:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(22,160,140,.14);
}
.err-msg { color: #c23b37; font-size: 12.5px; margin: 7px 0 0; display: none; }
.field.has-error .err-msg { display: block; }
.field.has-error input.fi, .field.has-error select.fi { border-color: #e6a8a4; }
.form-alert {
  background: #fdeceb; border: 1px solid #f4c9c6; border-radius: 12px;
  padding: 12px 15px; margin: 0 0 22px; color: #c23b37; font-size: 14px; font-weight: 600; display: none;
}
.chip {
  border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600;
  font-family: var(--sans); cursor: pointer; transition: all .15s; line-height: 1;
  background: #fff; color: #3a4744; border: 1.5px solid var(--line-4);
}
.chip[aria-pressed="true"].chip-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.chip[aria-pressed="true"].chip-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.chip-lg { padding: 11px 22px; font-size: 15px; font-family: var(--display); }
.chip:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #c6cfca; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr; gap: 44px; padding: 58px 0 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 42px; width: auto; display: block; }
.footer-brand span { font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; }
.footer-grid h4 { font-family: var(--display); font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer-grid a.fl-link { display: block; color: #b9c4bf; text-decoration: none; font-size: 14.5px; padding: 6px 0; }
.footer-grid a.fl-link:hover { color: #fff; }
.footer-phone { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.footer-phone:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.09); }
.footer-bottom-inner { padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #7f948d; }
.social {
  height: 36px; padding: 0 15px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  display: inline-flex; align-items: center; gap: 8px;
  color: #cdd6d1; font-weight: 600; font-size: 13.5px;
  text-decoration: none; letter-spacing: .2px;
  transition: background .18s, border-color .18s, color .18s;
}
.social svg { display: block; flex-shrink: 0; }
.social:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.social:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) { .header-phone { display: none; } }
@media (max-width: 940px) {
  .grid-2, .grid-hero, .grid-hero-alt { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .sec { padding: 68px 0; }
  .frame-4x5 { aspect-ratio: 4/3; }
  .cta-inner { gap: 24px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-nav { display: block; }
}
@media (max-width: 700px) {
  .field-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0 18px; }
  .wrap, .wrap-narrow, .wrap-tight { padding-left: 20px; padding-right: 20px; }
  .btn { font-size: 15px; padding: 14px 24px; }
  .sec-hero .wrap, .sec-hero .wrap-tight { padding-top: 52px !important; padding-bottom: 56px !important; }
}
@media (max-width: 620px) {
  .header-inner { height: 68px; gap: 12px; }
  .brand img { height: 38px; }
  .brand-name { font-size: 17px; }
  .brand-tag { font-size: 9px; letter-spacing: 1.2px; }
  .header-actions .btn { font-size: 13.5px; padding: 10px 15px; box-shadow: none; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; }
}
@media (max-width: 400px) {
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
