/* ============ Tokens ============ */
:root {
  --bg: #FAFAF7;
  --bg-soft: #F2F1EC;
  --surface: #FFFFFF;
  --text: #151513;
  --muted: #5A5954;
  --muted-2: #8C8A82;
  --border: #E6E4DC;
  --accent: #FF5C2A;
  --accent-hover: #FF7247;
  --accent-soft: #FFE9E0;
  --accent-deep: #8A2E0E;
  --dark: #17171A;
  --dark-2: #232327;
  --on-dark: #F4F3EE;
  --on-dark-muted: #B3B1A8;
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1120px;
  --font: 'Manrope', -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7.6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: min(var(--container), 100% - 2rem); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(var(--container), 100% - 4rem); } }

.hl { background: linear-gradient(transparent 60%, var(--accent) 60%, var(--accent) 94%, transparent 94%); padding-inline: .05em; margin-inline: -.05em; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 1rem; }
.showcase .eyebrow { color: var(--accent); }
.section-accent .eyebrow { color: rgba(21,21,19,.7); }
.lead, .section-lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 46ch; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.actions.center { justify-content: center; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .95rem 1.6rem; border-radius: 999px; font-weight: 800; font-size: 1rem; line-height: 1; white-space: nowrap; transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255,92,42,.28); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--bg-soft); color: var(--text); }
.btn-ghost:hover { background: #E8E6DF; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #2B2B30; }
.btn-sm { padding: .7rem 1.2rem; font-size: .92rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; margin-top: 1.25rem; color: var(--accent-deep); }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,247,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.035em; }
.logo-mark { width: 34px; height: 34px; transition: transform .25s ease; }
.logo:hover .logo-mark { transform: rotate(-6deg); }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; font-weight: 700; font-size: .95rem; color: var(--muted); }
.nav-menu a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; }
@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; margin-right: -8px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin-inline: auto; transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-menu { position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: .5rem 1rem 1rem; display: none; }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: .85rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav-menu .btn { margin-top: 1rem; }
}

/* ============ Hero ============ */
.hero { padding: clamp(3.5rem, 9vw, 6.5rem) 0 0; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.hero h1 { max-width: 16ch; }
.hero-note { color: var(--muted-2); font-size: .9rem; max-width: 44ch; }

.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; box-shadow: 0 30px 80px rgba(21,21,19,.18); }
@media (max-width: 640px) { .hero-photo { aspect-ratio: 4 / 5; } }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 100%); pointer-events: none; }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: .65rem; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 14px; padding: .65rem .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: .85rem; line-height: 1.25; }
.chip div { display: grid; }
.chip b { font-weight: 800; }
.chip span { color: var(--muted); font-size: .78rem; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.chip-1 { left: 6%; top: 12%; }
.chip-2 { right: 6%; top: 30%; }
.chip-3 { left: 10%; bottom: 14%; }
@media (max-width: 640px) { .chip-1 { left: 4%; top: 6%; } .chip-2 { right: 4%; top: 40%; } .chip-3 { left: 4%; bottom: 8%; } }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: float 6s ease-in-out infinite; }
  .chip-2 { animation-delay: -2s; } .chip-3 { animation-delay: -4s; }
  @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}

/* ============ Strip ============ */
.strip { padding: 3rem 0 2rem; }
.strip-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.4rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--muted-2); }
.strip-logos a { padding: .4rem .2rem; transition: color .15s ease; }
.strip-logos a:hover { color: var(--text); }

/* ============ Sections ============ */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head h2 { margin-bottom: 1.1rem; }
.section-soft { background: var(--bg-soft); }

/* ============ Showcase (dark) ============ */
.showcase { background: var(--dark); color: var(--on-dark); border-radius: var(--radius-lg); margin: 2rem .5rem 0; padding: clamp(4rem, 9vw, 7.5rem) 0 0; overflow: hidden; }
@media (min-width: 768px) { .showcase { margin-inline: 1rem; } }
.showcase .section-lead { color: var(--on-dark-muted); }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 1.5rem; padding-top: 1rem; }
.phone { width: 270px; flex: none; background: #0C0C0E; border-radius: 40px; padding: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 0 0 2px #2A2A2E; transform: translateY(24px); }
.phone-main { width: 300px; transform: translateY(0); }
.phone-screen { background: #fff; color: var(--text); border-radius: 30px; overflow: hidden; height: 520px; display: flex; flex-direction: column; font-size: .82rem; }
.phone-main .phone-screen { height: 560px; }
@media (max-width: 900px) { .phone:not(.phone-main) { display: none; } .phone-main { transform: translateY(16px); } }
.app-bar { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1rem .8rem; font-size: 1rem; }
.app-bar b { font-weight: 800; }
.pill { display: inline-flex; align-items: center; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.pill-yellow { background: #FFF3CF; color: #7A5A00; }
.pill-green { background: #E6F3EC; color: #1F6B45; }
.pill-pink { background: #FCE8EF; color: #B4184B; }
.app-map { position: relative; flex: 1; background: #EEEDE6; background-image: linear-gradient(#E1DFD5 1px, transparent 1px), linear-gradient(90deg, #E1DFD5 1px, transparent 1px); background-size: 34px 34px; }
.app-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1rem; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.app-sheet { padding: 1rem; border-top: 1px solid var(--border); }
.app-sheet .row { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.app-sheet p { color: var(--muted-2); font-size: .75rem; margin-top: .2rem; }
.app-btn { margin-top: .75rem; border-radius: 999px; text-align: center; padding: .6rem; font-weight: 800; }
.app-list { padding: 0 .8rem .8rem; display: grid; gap: .5rem; align-content: start; flex: 1; overflow: hidden; }
.app-sheet .app-btn { margin-top: 0; }
.item { display: flex; align-items: center; gap: .65rem; background: var(--bg-soft); border-radius: 12px; padding: .65rem .75rem; }
.item i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.item div { display: grid; line-height: 1.3; }
.item b { font-weight: 800; }
.item span { color: var(--muted-2); font-size: .72rem; }
.app-cal { padding: 0 .9rem; }
.cal-head { font-weight: 800; font-size: 1.1rem; margin-bottom: .7rem; letter-spacing: -0.02em; }
.cal-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; margin-bottom: .7rem; }
.cal-days span { display: grid; justify-items: center; gap: .05rem; padding: .4rem 0; border-radius: 10px; font-size: .6rem; color: var(--muted-2); font-weight: 700; }
.cal-days b { font-size: .9rem; color: var(--text); }
.cal-days .on { background: #E0245E; color: #fff; } .cal-days .on b { color: #fff; }
.cal-item { display: flex; align-items: center; gap: .65rem; border-radius: 12px; padding: .6rem .7rem; margin-top: .45rem; }
.cal-item em { font-style: normal; font-weight: 800; color: var(--muted); font-size: .72rem; }
.cal-item div { display: grid; line-height: 1.3; }
.cal-item b { font-weight: 800; } .cal-item span { color: var(--muted-2); font-size: .7rem; }

/* ============ Product cards ============ */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(21,21,19,.10); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; left: 1rem; top: 1rem; background: var(--c); color: var(--text); font-size: .74rem; font-weight: 800; letter-spacing: .04em; padding: .35rem .7rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.card-body { padding: 1.75rem; }
.card-body h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.card-body > p:not(.card-claim) { color: var(--muted); font-size: 1rem; }
.card-claim { font-weight: 700; font-size: 1.1rem; margin-bottom: .6rem; }
.card-featured { margin-bottom: 1.25rem; }
@media (min-width: 900px) {
  .card-featured { display: grid; grid-template-columns: 1.1fr 1fr; }
  .card-featured .card-media { aspect-ratio: auto; min-height: 100%; }
  .card-featured .card-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
  .card-featured .card-body h3 { font-size: clamp(2rem, 4vw, 2.6rem); }
}
.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .card-grid { grid-template-columns: 1fr 1fr; } }
.checks { display: grid; gap: .5rem; margin: 1.25rem 0 .25rem; font-weight: 700; }
.checks li { display: flex; gap: .6rem; align-items: baseline; }
.checks li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.project-facts { display: grid; gap: .9rem; margin: 1.2rem 0 1.4rem; }
.project-facts div { border-top: 1px solid var(--border); padding-top: .75rem; }
.project-facts dt { color: var(--text); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.project-facts dd { margin: .25rem 0 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* ============ Services ============ */
.miniapp-callout { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 1rem; padding: clamp(1.75rem, 4vw, 3rem); background: var(--dark); color: var(--on-dark); border-radius: var(--radius); }
@media (min-width: 760px) { .miniapp-callout { grid-template-columns: 1.5fr .8fr; } }
.miniapp-callout .eyebrow { color: var(--accent); margin-bottom: .75rem; }
.miniapp-callout h3 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin-bottom: .65rem; }
.miniapp-callout p:not(.eyebrow) { color: var(--on-dark-muted); max-width: 62ch; }
.miniapp-price { display: grid; gap: .35rem; align-content: center; justify-items: start; }
.miniapp-price strong { color: var(--accent); font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.03em; }
.miniapp-price span { color: var(--on-dark-muted); font-size: .9rem; margin-bottom: .85rem; }
.services { display: grid; gap: 1rem; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { background: var(--surface); border-radius: var(--radius); padding: 1.75rem; }
.service-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 1.1rem; }
.service-icon svg { width: 24px; height: 24px; }
.service h3 { margin-bottom: .5rem; }
.service p { color: var(--muted); font-size: .98rem; }

/* ============ Accent / manifesto ============ */
.section-accent { background: var(--accent); color: var(--text); }
.section-accent .section-lead { color: rgba(21,21,19,.78); }
.manifesto { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; max-width: 760px; }
.manifesto .btn { margin-top: .5rem; }

/* ============ Team ============ */
.team-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.team-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 70px rgba(21,21,19,.14); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.team-text h2 { margin-bottom: 1rem; }
.numbers { display: grid; grid-template-columns: repeat(3, auto); gap: 2rem; margin-top: 2rem; justify-content: start; }
.numbers div { display: grid; gap: .15rem; }
.numbers strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.numbers span { color: var(--muted); font-weight: 700; font-size: .9rem; }

/* ============ Process ============ */
.process { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .process { grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; } }
.process-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .process-photo { aspect-ratio: 16 / 9; } }
.process-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% top; }
.steps { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.steps li { border-top: 2px solid var(--text); padding-top: 1.1rem; }
.step-num { display: block; font-weight: 800; color: var(--accent-deep); font-size: .85rem; letter-spacing: .1em; margin-bottom: .6rem; }
.steps h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: .98rem; }

/* ============ FAQ ============ */
.faq-wrap { max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; margin-bottom: .75rem; padding: 0 1.4rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); font-weight: 700; transition: transform .2s ease, background-color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details p { color: var(--muted); padding: 0 3rem 1.4rem 0; max-width: 62ch; }

/* ============ CTA ============ */
.cta { padding-top: 0; }
.cta-box { background: var(--dark); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
.cta-box h2 { font-size: clamp(2.4rem, 6vw, 4rem); }
.cta-box .section-lead { color: var(--on-dark-muted); }
.cta-box .btn-ghost { background: var(--dark-2); color: var(--on-dark); }
.cta-box .btn-ghost:hover { background: #2E2E33; }

/* ============ Footer ============ */
.site-footer { padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 30ch; }
.site-footer h4 { font-size: .95rem; margin-bottom: .9rem; }
.site-footer a:not(.logo) { display: block; color: var(--muted); padding: .25rem 0; }
.site-footer a:not(.logo):hover { color: var(--text); }
.footer-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: var(--muted-2); font-size: .85rem; }

/* ============ Reveal ============ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
