/* Odysea Signs landing page + form (a copy of Pepa's, re-branded). Mobile first.
   Brand from odyseasigns.com: black, white, yellow #f4bd03, cream #f5f3ed,
   Bebas Neue headings, Poppins body. */
:root {
  --ink: #0d0d0d;      /* page dark, topbar, hero, footer */
  --ink-2: #1c1c1c;    /* hero gradient end */
  --yellow: #f4bd03;   /* buttons, accents, progress bar */
  --yellow-2: #ffcb1f; /* button hover */
  --cream: #f5f3ed;    /* soft sections */
  --text: #161616;
  --muted: #5e5e5e;
  --line: #e6e2d8;
  --radius: 16px;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 400 17px/1.55 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* buttons */
.btn { appearance: none; border: 0; cursor: pointer; font: 700 18px/1 var(--font); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 28px; border-radius: 12px; background: var(--yellow); color: var(--ink); text-decoration: none; box-shadow: 0 14px 30px -16px rgba(244, 189, 3, .85); transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--yellow-2); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn .arr { font-size: 22px; line-height: 1; }
.btn.small { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 10px; box-shadow: none; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .4; cursor: default; transform: none; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: block; line-height: 0; }
.brand img { width: 168px; height: auto; }
@media (min-width: 700px) { .brand img { width: 200px; } }

/* hero */
.hero { background: radial-gradient(110% 80% at 90% 0%, #262626 0%, rgba(38, 38, 38, 0) 60%), linear-gradient(170deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding: 40px 0 0; overflow: hidden; }
.hero .grid { display: grid; gap: 30px; }
h1, h2, .screen h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }
.hero h1 { font-size: clamp(56px, 16vw, 104px); line-height: .92; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--yellow); display: block; }
.hero p { margin-top: 16px; font-size: 19px; color: #d6d3cb; max-width: 30ch; }
.hero .btn { margin-top: 26px; width: 100%; }
.hero-shot { position: relative; margin: 0 -16px; }
.hero-shot img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 700px) {
  .hero .btn { width: auto; }
  .hero-shot { margin: 0; }
  .hero-shot img { border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
}
@media (min-width: 980px) {
  .hero { padding: 72px 0; }
  .hero .grid { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 56px; }
  .hero-shot img { border-radius: var(--radius); }
}

/* sections */
.sec { padding: 60px 0; }
.sec.soft { background: var(--cream); }
.sec h2 { font-size: clamp(44px, 11vw, 64px); line-height: .95; color: var(--ink); text-wrap: balance; }
.sec h2 + * { margin-top: 26px; }

/* how it works: icon + title, nothing else */
.steps { display: grid; gap: 12px; list-style: none; padding: 0; margin: 26px 0 0; }
.steps li { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.steps .n { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--yellow); }
.steps .n svg { width: 26px; height: 26px; }
.steps h3 { font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--ink); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } .steps li { flex-direction: column; align-items: flex-start; padding: 26px 24px; gap: 18px; } .steps h3 { font-size: 21px; } }

/* our work: a wall of finished signs, all 3:2. 8 shown, "See more work" opens 8 more */
.wall-wrap { position: relative; }
.wall { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wall figure { margin: 0; border-radius: 12px; overflow: hidden; background: #e9e6de; }
.wall img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.wall-wrap:not(.open) .wall figure:nth-child(n + 9) { display: none; }
.wall-wrap:not(.open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 92%); pointer-events: none; }
.more { display: flex; justify-content: center; margin-top: 18px; }
@media (min-width: 860px) { .wall { grid-template-columns: repeat(4, 1fr); gap: 14px; } .wall figure { border-radius: 14px; } .wall-wrap:not(.open)::after { height: 120px; } }

/* google reviews: strip + scroller (from the sleeves page); swiped on a phone, all four at once on wider screens */
.g-strip { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .6rem 1.1rem; border: 1px solid #d9d4c7; border-radius: 99px; background: #fff; width: max-content; max-width: 100%; margin: 0 auto 26px; font-weight: 600; color: var(--ink); text-decoration: none; }
.g-strip .stars { color: #fbbc05; letter-spacing: .05em; font-size: 1.05rem; }
.g-strip .g { width: 22px; height: 22px; flex: none; }
.g-strip .n { color: var(--muted); font-weight: 400; }
.scroller-wrap { position: relative; }
.scroller { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: center; flex: none; }
.review { width: min(80vw, 360px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.review .stars { color: #fbbc05; font-size: 1rem; letter-spacing: .06em; }
.review p { font-size: 16px; line-height: 1.55; color: var(--text); }
.review .who { margin-top: auto; font-size: 14px; color: var(--muted); font-weight: 600; }
/* Wider screens: all four reviews at once, no scrolling (2 x 2, then a row of 4). */
@media (min-width: 760px) {
  .scroller { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; mask-image: none; -webkit-mask-image: none; }
  .review { width: auto; }
}
@media (min-width: 1100px) { .scroller { grid-template-columns: repeat(4, 1fr); } }

/* final call */
.final { background: linear-gradient(170deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final .btn { margin-top: 26px; width: 100%; max-width: 420px; }

footer { background: #000; color: #9a978f; font-size: 14px; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: #d6d3cb; }

/* ---------------- the form ---------------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .65); display: none; align-items: stretch; justify-content: center; }
.overlay.open { display: flex; }
.sheet { background: #fff; width: 100%; height: 100%; display: flex; flex-direction: column; }
@media (min-width: 700px) {
  .overlay { align-items: center; padding: 24px; }
  .sheet { max-width: 560px; height: auto; min-height: 560px; max-height: calc(100vh - 48px); border-radius: 20px; overflow: hidden; }
}
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; padding-top: max(12px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line); }
.icon-btn { appearance: none; border: 0; background: var(--cream); color: var(--ink); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; line-height: 1; cursor: pointer; flex: none; }
.icon-btn[hidden] { visibility: hidden; display: grid; }
.progress { flex: 1; height: 8px; background: var(--cream); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--yellow); border-radius: 99px; transition: width .3s ease; }
.testpill { background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 12px; padding: 4px 8px; border-radius: 99px; }
.sheet-body { flex: 1; overflow-y: auto; padding: 26px 18px 28px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sheet-body::-webkit-scrollbar { display: none; }
.screen h2 { font-size: 38px; line-height: 1; color: var(--ink); text-wrap: balance; }
.screen .sub { margin-top: 8px; color: var(--muted); font-size: 16px; }
.opts { display: grid; gap: 10px; margin-top: 20px; }
.opt { appearance: none; text-align: left; width: 100%; min-height: 58px; padding: 13px 16px 13px 18px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font: 600 17px/1.3 var(--font); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: border-color .15s, background .15s; }
.opt::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9c4b6; }
.opt:hover { border-color: #b9b3a3; }
.opt[aria-pressed="true"] { border-color: var(--ink); background: #fff8dc; }
.opt[aria-pressed="true"]::after { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px #fff8dc; }
/* the multi-pick: a square tick box */
.opt.multi::after { border-radius: 6px; }
.opt.multi[aria-pressed="true"]::after { background: var(--yellow); border-color: var(--yellow); box-shadow: none; content: "\2713"; color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 14px; line-height: 1; }
.field { margin-top: 20px; }
.field input { width: 100%; height: 60px; padding: 0 16px; border: 2px solid var(--line); border-radius: 12px; font: 600 19px var(--font); color: var(--text); background: #fff; outline: none; }
.field input:focus { border-color: var(--ink); }
.err { display: none; margin-top: 10px; color: #b3261e; font-weight: 600; font-size: 15px; }
.err.on { display: block; }
.next-row { margin-top: 22px; display: grid; gap: 10px; }
.linkish { appearance: none; border: 0; background: none; color: var(--muted); font: 600 16px var(--font); text-decoration: underline; cursor: pointer; padding: 10px; }

/* photos */
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.pick label { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 110px; border: 2px dashed #c9c4b6; border-radius: 14px; background: var(--cream); color: var(--ink); font-weight: 600; font-size: 16px; text-align: center; cursor: pointer; }
.pick label svg { width: 30px; height: 30px; color: var(--ink); }
.pick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.pick.full label { opacity: .4; pointer-events: none; }
/* A computer has no camera to point at a shopfront: one button. */
@media (hover: hover) and (pointer: fine) { .pick { grid-template-columns: 1fr; } .pick .cam { display: none; } }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #e9e6de; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .rm { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .75); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.thumb .st { position: absolute; left: 6px; bottom: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #fff; }
.thumb .st.up { background: rgba(0, 0, 0, .7); }
.thumb .st.up::before { content: ""; width: 12px; height: 12px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.thumb .st.ok { background: #1faa53; }
.thumb .st.bad { background: #b3261e; cursor: pointer; }
@keyframes spin { to { transform: rotate(360deg); } }
.count { margin-top: 10px; color: var(--muted); font-size: 15px; font-weight: 600; }

/* done */
.done { text-align: center; padding-top: 20px; }
.done .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; margin: 0 auto 18px; font-size: 40px; font-weight: 800; }
.done p { margin: 14px auto 0; font-size: 18px; color: var(--text); max-width: 28ch; }
.done .call { margin-top: 22px; background: var(--cream); border-radius: 14px; padding: 16px; font-size: 17px; }
.done .call b { display: block; font: 400 36px/1.1 var(--display); letter-spacing: .04em; color: var(--ink); margin-top: 4px; }

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