/* Lumen Craft Studios — styles (mobile-first) */
:root {
  --navy: #14264f;
  --blue: #2f6db3;
  --blue-dark: #245892;
  --ink: #14264f;
  --text: #33405a;
  --muted: #5a6680;
  --bg: #ffffff;
  --off: #f6f7f9;
  --tint: #eef3fa;
  --line: #dde3ec;
  --radius: 20px;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.5px; text-wrap: balance; }
h1 em, h2 em { color: var(--blue); }
p { margin: 0; text-wrap: pretty; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint); color: var(--navy); }
.btn-whatsapp { background: #1f7a4d; color: #fff; }
.btn-whatsapp:hover { background: #17603c; color: #fff; }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Eyebrow & section heads */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow-light { color: #9cc0ea; }
.section { padding: 80px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(38px, 6vw, 58px); line-height: 1.04; }
.section-sub { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.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; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(20,38,79,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--navy); }
.brand-logo { height: 40px; width: auto; }
.brand-text { font-family: var(--serif); font-size: 28px; line-height: 1; color: inherit; }
.brand-text small { font-family: var(--sans); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-left: 6px; color: var(--muted); }
.nav-toggle { width: 44px; height: 44px; border: 0; background: transparent; display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.nav-menu { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; flex-direction: column; padding: 12px 20px 24px; gap: 4px; }
.nav-menu.open { display: flex; }
.nav-menu a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; padding: 12px 0; }
.nav-menu .btn { margin-top: 8px; }

/* Hero */
.hero { padding: 40px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--off) 100%); }
.hero-inner { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 68px); line-height: 1.02; }
.lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); }

.hero-gallery { height: 440px; overflow: hidden; border-radius: 28px; background: var(--tint); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 12px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.hero-gallery .col { overflow: hidden; }
.hero-gallery .col-3 { display: none; }
.track { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; will-change: transform; }
.track > img, .browser img { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; }
.browser { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 20px rgba(20,38,79,.10); }
.browser i { display: block; height: 22px; background-color: #f0f3f7; background-image: radial-gradient(circle, #c7d0dc 3.5px, transparent 4px), radial-gradient(circle, #c7d0dc 3.5px, transparent 4px), radial-gradient(circle, #c7d0dc 3.5px, transparent 4px); background-position: 8px 50%, 21px 50%, 34px 50%; background-size: 10px 10px; background-repeat: no-repeat; }
.browser img { border-radius: 0; height: 170px; }
@keyframes lc-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes lc-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.track.up { animation: lc-up 48s linear infinite; }
.track.up.fast { animation-duration: 36s; }
.track.down { animation: lc-down 42s linear infinite; }
.hero-gallery:hover .track { animation-play-state: paused; }

/* Trust strip */
.trust { background: var(--navy); color: #c9d6ee; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding-top: 18px; padding-bottom: 18px; font-size: 15px; text-align: center; }
.trust a { color: #fff; font-family: var(--serif); font-size: 24px; text-decoration: none; }
.trust a:hover { color: #9cc0ea; }
.trust .dot { display: none; width: 5px; height: 5px; border-radius: 50%; background: #9cc0ea; }
@media (min-width: 720px) { .trust .dot { display: inline-block; } }

/* Cards */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card { background: var(--off); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(20,38,79,.08); }
.card-num { font-size: 13px; font-weight: 700; color: var(--blue); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.card p { color: var(--muted); font-size: 16px; }

/* Work marquee */
.section-work { padding-bottom: 72px; }
.marquee { overflow: hidden; padding: 8px 0 12px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: lc-marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes lc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.work-card { flex: 0 0 auto; width: 300px; display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
.work-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 18px; background: var(--tint); transition: transform .35s; }
.work-card:hover img { transform: scale(1.02); }
.work-name { font-family: var(--serif); font-size: 24px; margin-top: 6px; }
.work-meta { font-size: 14px; color: var(--muted); }

/* Service rows */
.service-row { display: grid; gap: 32px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.service-row:first-of-type { border-top: 0; }
.service-copy { display: grid; gap: 14px; justify-items: start; }
.service-copy h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 46px); line-height: 1.05; }
.service-copy p { color: var(--muted); font-size: 17px; max-width: 480px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.service-media { background: var(--tint); border-radius: 28px; padding: 28px; display: grid; place-items: center; min-height: 320px; overflow: hidden; }
.mock-browser { width: 100%; max-width: 520px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(20,38,79,.14); }
.mock-browser > i { display: block; height: 26px; background-color: #f0f3f7; background-image: radial-gradient(circle, #c7d0dc 4px, transparent 4.5px), radial-gradient(circle, #c7d0dc 4px, transparent 4.5px), radial-gradient(circle, #c7d0dc 4px, transparent 4.5px); background-position: 10px 50%, 25px 50%, 40px 50%; background-size: 11px 11px; background-repeat: no-repeat; }
.mock-site { position: relative; height: 270px; }
.mock-site img { width: 100%; height: 100%; object-fit: cover; }
.mock-site::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,57,.55) 0%, rgba(14,27,57,.15) 60%, rgba(14,27,57,.5) 100%); }
.mock-site-bar { position: absolute; z-index: 1; top: 16px; left: 18px; right: 18px; display: flex; gap: 10px; align-items: center; }
.mock-site-bar b { width: 54px; height: 10px; background: #fff; border-radius: 4px; margin-right: auto; }
.mock-site-bar span { width: 34px; height: 6px; background: rgba(255,255,255,.75); border-radius: 3px; }
.mock-site-title { position: absolute; z-index: 1; left: 18px; bottom: 58px; font-family: var(--serif); font-size: 34px; color: #fff; }
.mock-site-btn { position: absolute; z-index: 1; left: 18px; bottom: 18px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.mock-store { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; }
.mock-product { display: grid; gap: 6px; }
.mock-product img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; }
.mock-product span { height: 7px; width: 80%; background: #dde3ec; border-radius: 3px; }
.mock-product b { font-size: 13px; color: var(--navy); }
.mock-cart { grid-column: 1 / -1; justify-self: end; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; animation: lc-pulse 2.6s ease-in-out infinite; }
@keyframes lc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.mock-phone { width: 230px; background: #0e1b39; border-radius: 32px; padding: 12px; box-shadow: 0 18px 40px rgba(20,38,79,.22); }
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; border-radius: 22px; overflow: hidden; background: #0e1b39; }
.mock-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mock-chat { width: 100%; max-width: 420px; display: grid; gap: 10px; }
.bubble { max-width: 78%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.4; opacity: 0; animation: lc-bubble 9s ease infinite; }
.bubble.in { justify-self: start; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; box-shadow: 0 6px 16px rgba(20,38,79,.08); }
.bubble.out { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bubble:nth-child(2) { animation-delay: .9s; }
.bubble:nth-child(3) { animation-delay: 1.8s; }
.bubble:nth-child(4) { animation-delay: 2.7s; }
.bubble.typing { animation-delay: 3.6s; display: inline-flex; gap: 5px; padding: 14px 16px; }
.bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .85; }
@keyframes lc-bubble { 0% { opacity: 0; transform: translateY(8px); } 6%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

/* Package finder */
.finder { margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 22px; }
.finder-head h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.finder-head h3 em { color: var(--blue); }
.finder-head p { color: var(--muted); margin-top: 6px; }
.finder-form { display: grid; gap: 18px; }
.finder-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.finder-form legend { width: 100%; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 16px; }
.finder-form label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 15px; }
.finder-form label:has(input:checked) { border-color: var(--blue); background: var(--tint); color: var(--navy); }
.finder-form input { accent-color: var(--blue); }
.finder-form .btn { justify-self: start; }
.finder-result { background: var(--tint); border-radius: 18px; padding: 20px 22px; display: grid; gap: 14px; justify-items: start; }
.finder-result p { font-size: 17px; color: var(--ink); }
.price-card.highlight { outline: 3px solid var(--blue); outline-offset: 4px; }

/* Pricing */
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.price-card h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; }
.price-tag { color: var(--muted); font-size: 15px; }
.price { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--ink); margin: 6px 0; }
.price-card ul { margin: 0 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.price-card .btn { margin-top: auto; }
.price-card.featured { background: var(--navy); border-color: var(--navy); color: #d5def0; }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured .price-tag { color: #b9c7e2; }
.badge { align-self: flex-start; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.addons { display: grid; gap: 16px; margin-top: 20px; }
.addon { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; display: grid; gap: 6px; }
.addon h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.addon p { color: var(--muted); font-size: 15px; }
.addon .addon-price { font-family: var(--serif); font-size: 32px; color: var(--ink); }
.addon-price span { font-family: var(--sans); font-size: 15px; color: var(--muted); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: 1fr; }
.steps li { border-top: 2px solid var(--navy); padding-top: 18px; display: grid; gap: 8px; }
.step-num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--blue); }
.steps h3 { font-size: 19px; font-weight: 600; }
.steps p { color: var(--muted); font-size: 15px; }

/* About (dark) */
.section-dark { background: var(--navy); color: #d5def0; }
.section-dark h2 { color: #fff; font-size: clamp(38px, 6vw, 58px); line-height: 1.04; }
.section-dark h2 em { color: #9cc0ea; }
.section-dark a { color: #9cc0ea; }
.section-dark a:hover { color: #fff; }
.about-inner { display: grid; gap: 48px; align-items: center; }
.about-copy p { margin-top: 18px; font-size: 18px; }
.about-copy h2 + p { margin-top: 24px; }
.about-media { display: grid; gap: 18px; }
.person { margin: 0; position: relative; }
.person img { width: 100%; height: 420px; object-fit: cover; border-radius: 24px; }
.person figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.95); color: var(--navy); padding: 12px 16px; border-radius: 14px; display: grid; font-size: 14px; }
.person figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.partner-card { display: grid; gap: 4px; padding: 22px 24px; border-radius: 20px; border: 1.5px solid #3a5288; text-decoration: none; transition: border-color .2s, background .2s; }
.partner-card:hover { border-color: #9cc0ea; background: rgba(255,255,255,.04); }
.partner-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #9cc0ea; }
.partner-name { font-family: var(--serif); font-size: 32px; color: #fff; }
.partner-desc { font-size: 15px; color: #c9d6ee; }

/* Contact */
.contact-inner { display: grid; gap: 40px; align-items: start; }
.contact-copy h2 { font-size: clamp(38px, 6vw, 58px); line-height: 1.04; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-links .btn-ghost { word-break: break-all; }
.contact-form { background: var(--off); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 16px; grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,109,179,.18); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: #0e1b39; color: #b9c7e2; padding: 48px 0; }
.footer-inner { display: grid; gap: 24px; justify-items: start; }
.brand-footer { color: #fff; }
.brand-footer .brand-text small { color: #b9c7e2; }
.logo-white { filter: brightness(0) invert(1); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: #d5def0; text-decoration: none; padding: 6px 0; }
.footer-nav a:hover { color: #fff; }
.copyright { font-size: 14px; color: #8e9dbb; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Tablet */
@media (min-width: 720px) {
  .container { padding: 0 32px; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-full { grid-column: 1 / -1; }
  .hero-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); height: 520px; }
  .hero-gallery .col-3 { display: block; }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer-nav { justify-content: center; }
}

/* Desktop */
@media (min-width: 1024px) {
  .section { padding: 112px 0; }
  .nav-toggle { display: none; }
  .nav-menu { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; border: 0; background: transparent; }
  .nav-menu a:not(.btn) { padding: 8px 0; font-size: 15px; }
  .nav-menu .btn { margin-top: 0; }
  .hero { padding: 56px 0 96px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
  .hero-gallery { height: 620px; }
  .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .service-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; padding: 56px 0; }
  .service-row.reverse .service-copy { order: 2; }
  .service-media { min-height: 400px; padding: 40px; }
  .work-card { width: 380px; }
  .work-card img { height: 250px; }
  .finder { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding: 40px; gap: 40px; align-items: start; }
  .finder-result { grid-column: 2; }
  .contact-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
  .price-card.featured { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .marquee-track, .mock-cart { animation: none !important; }
  .marquee { overflow-x: auto; }
  .bubble { animation: none !important; opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
