/* L & A Happy Vending — styles */
:root {
  --teal-900: #08393d;
  --teal-800: #0b4f54;
  --teal-600: #11727a;
  --teal-100: #dcefee;
  --sun: #ffc53d;
  --sun-600: #f2ab00;
  --sun-100: #fff3cf;
  --cream: #fffaf0;
  --coral: #ef6f55;
  --ink: #142a2b;
  --muted: #4a5f60;
  --line: #e7dfcd;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(8,57,61,.06), 0 10px 30px -10px rgba(8,57,61,.18);
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; color: var(--teal-900); letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 3px; border-radius: 6px; }
.why :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--teal-900); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1 var(--font-body); padding: .85rem 1.25rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-sun { background: var(--sun); color: var(--teal-900); box-shadow: 0 6px 0 -1px var(--sun-600); }
.btn-sun:hover { background: #ffd263; color: var(--teal-900); }
.btn-teal { background: var(--teal-800); color: #fff; }
.btn-teal:hover { background: var(--teal-900); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-ghost-dark { border-color: var(--teal-800); color: var(--teal-800); background: transparent; }
.btn-ghost-dark:hover { background: var(--teal-100); color: var(--teal-900); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,250,240,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(8,57,61,.35); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--teal-900); }
.brand img { width: 44px; height: 44px; }
.brand-text { font: 800 1.2rem/1 var(--font-display); letter-spacing: -.01em; }
.brand-text span { color: var(--teal-600); font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.5rem; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a.active { border-color: var(--sun-600); color: var(--teal-900); }
.nav-cta { padding: .7rem 1.1rem; font-size: .95rem; box-shadow: 0 4px 0 -1px var(--sun-600); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; border-radius: 10px; position: relative; }
.nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 11px; width: 22px; height: 2.5px; border-radius: 2px; background: var(--teal-900); transition: transform .2s, top .2s, opacity .2s; }
.nav-toggle .bar { top: 21px; }
.nav-toggle .bar::before { left: 0; top: -7px; }
.nav-toggle .bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; background: var(--teal-800); color: #e9f5f4; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,197,61,.35), rgba(255,197,61,0) 65%); z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 48px; background: var(--cream); clip-path: ellipse(70% 100% at 50% 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 7.5rem); }
.hero h1 { color: #fff; }
.hl { color: var(--sun); position: relative; white-space: nowrap; }
.eyebrow { display: inline-block; font: 600 .82rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 1rem; }
.hero .eyebrow, .eyebrow-light { color: var(--sun); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 34em; color: #d4ebe9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.75rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; color: #cfe6e4; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z' fill='%2308393d'/%3E%3C/svg%3E") center/14px no-repeat; flex: none; }
.hero-art { position: relative; }
.hero-art img { border-radius: 28px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.55); border: 6px solid rgba(255,255,255,.08); aspect-ratio: 4/3; object-fit: cover; }
.sticker { position: absolute; left: -22px; bottom: -22px; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--sun); color: var(--teal-900); font: 800 1rem/1.05 var(--font-display); transform: rotate(-10deg); box-shadow: 0 12px 24px -10px rgba(0,0,0,.4); border: 4px dashed rgba(8,57,61,.25); outline: 4px solid var(--sun); }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-intro { color: var(--muted); max-width: 40em; font-size: 1.1rem; margin-bottom: 2.5rem; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.about-body p { color: var(--muted); }
.signoff { font: 600 1.25rem/1.3 var(--font-display); color: var(--teal-800) !important; padding-left: 1rem; border-left: 4px solid var(--sun); }

.services { background: var(--white); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dccfae; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.icon { width: 56px; height: 56px; border-radius: 14px; background: var(--teal-800); display: grid; place-items: center; margin-bottom: 1.1rem; }
.icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.icon svg .fill, .icon svg circle { fill: var(--sun); stroke: var(--sun); }
.card:nth-child(3n+2) .icon { background: var(--sun); }
.card:nth-child(3n+2) .icon svg { stroke: var(--teal-900); }
.card:nth-child(3n+2) .icon svg .fill { fill: var(--teal-800); stroke: var(--teal-800); }

.who { margin-top: 3rem; padding: 1.75rem; border-radius: var(--radius); background: var(--sun-100); display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.who h3 { margin: 0; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: #fff; border: 1px solid #f1dfa6; padding: .4rem .85rem; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--teal-900); }

.why { background: var(--teal-900); color: #d4ebe9; position: relative; overflow: hidden; }
.why h2, .why h3 { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.why-item { padding: 1.75rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.why-item p { margin: 0; color: #c3dedb; font-size: 1rem; }
.num { display: block; font: 800 2.2rem/1 var(--font-display); color: var(--sun); margin-bottom: 1rem; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px dashed rgba(255,255,255,.2); }
.steps li { counter-increment: s; position: relative; padding-left: 3rem; font-size: .98rem; color: #c3dedb; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--teal-900); font: 800 1rem/1 var(--font-display); }
.steps strong { color: #fff; display: block; }

.area-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.area-grid > div > p { color: var(--muted); max-width: 32em; }
.area-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow); position: relative; }
.area-card::before { content: ""; position: absolute; top: -14px; right: 28px; width: 28px; height: 28px; background: var(--coral); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: inset 0 0 0 8px var(--coral), inset 0 0 0 14px #fff; }
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem 1rem; margin: 1rem 0 1.25rem; }
.area-list li { display: flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .98rem; }
.area-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun-600); flex: none; }
.fine { font-size: .9rem; color: var(--muted); margin: 0; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--cream), var(--sun-100)); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-methods { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-methods li { display: flex; gap: 1rem; align-items: center; }
.cm-icon { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--teal-800); color: var(--sun); display: grid; place-items: center; }
.cm-label { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-methods a, .contact-methods span:not(.cm-label):not(.cm-icon) { font: 600 1.15rem/1.3 var(--font-display); color: var(--teal-900); text-decoration: none; word-break: break-word; }
.contact-methods a:hover { text-decoration: underline; }

.form-card { background: #fff; border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; color: var(--teal-900); }
.req { color: #b4321a; }
input, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fffdf8; border: 1.5px solid #cfc6b2; border-radius: var(--radius-sm); padding: .8rem .95rem; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #7d8a8a; }
textarea { resize: vertical; min-height: 130px; }
input:focus, textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(17,114,122,.18); background: #fff; }
.field.invalid input, .field.invalid textarea { border-color: #b4321a; box-shadow: 0 0 0 3px rgba(180,50,26,.12); }
.err { color: #b4321a; font-size: .88rem; margin: .35rem 0 0; min-height: 0; }
.err:empty { display: none; }
.req-note { margin-bottom: 1rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: .9rem 0 0; font-size: .95rem; color: var(--muted); text-align: center; }
.form-status.error { color: #b4321a; }
button[disabled] { opacity: .7; cursor: progress; transform: none; }
.success { text-align: center; padding: 2rem 1rem; }
.success img { margin: 0 auto 1rem; animation: pop .5s ease; }
.success p { color: var(--muted); max-width: 28em; margin-inline: auto; }
.success:focus { outline: none; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* Footer */
.site-footer { background: var(--teal-900); color: #b9d6d3; padding: 3rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand img { background: #fff; border-radius: 14px; padding: 4px; }
.footer-brand p { margin: 0; }
.footer-name { font: 800 1.25rem/1.2 var(--font-display); color: #fff; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; }
.footer-bottom p { margin: 0; }

.mobile-call { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps { row-gap: 1.75rem; }
  .site-nav ul { gap: 1.1rem; }
}
@media (max-width: 880px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(8,57,61,.35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .85rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .hero-grid, .about-grid, .area-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-art { max-width: 560px; }
  .sticker { left: auto; right: -8px; bottom: -18px; width: 96px; height: 96px; font-size: .9rem; }
  .mobile-call { display: inline-flex; align-items: center; gap: .45rem; position: fixed; right: 1rem; bottom: 1rem; z-index: 40; background: var(--sun); color: var(--teal-900); font-weight: 700; text-decoration: none; padding: .85rem 1.15rem; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(8,57,61,.5); }
  .mobile-call:hover { color: var(--teal-900); }
  .site-footer { padding-bottom: 5rem; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .cards, .why-grid, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; }
  .hl { white-space: normal; }
  .who { flex-direction: column; align-items: flex-start; }
  .brand-text { font-size: 1.05rem; }
}
@media (max-width: 360px) { .brand-text span { display: none; } }
