/* 3D Render Shop — site styles */
:root {
  --charcoal: #15181d;
  --ink: #0e1013;
  --ink-2: #12151a;
  --brand: #1aa7de;          /* logo blue */
  --brand-strong: #0e86b8;
  --brand-soft: #e6f6fc;
  --paper: #ffffff;
  --sand: #f4f6f8;
  --line: #e2e7ec;
  --text: #22272c;
  --muted: #5f6972;
  --on-dark: #eef3f7;
  --on-dark-muted: #9eabb7;
  --whatsapp: #1fae55;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(10, 14, 20, .06), 0 18px 40px -16px rgba(10, 14, 20, .28);
  --hh: 118px;              /* header height incl. top bar */
  --ease: cubic-bezier(.77, 0, .18, 1);
  --container: 1200px;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--paper); }
img, picture, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: .8em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font: 700 .95rem/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--charcoal); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #17924a; color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header (fixed, glass over the hero) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--on-dark); transition: box-shadow .3s; }
/* background lives on a pseudo-element so backdrop-filter doesn't trap the fixed mobile menu */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(14, 16, 19, 0); border-bottom: 1px solid rgba(255,255,255,.08); transition: background .35s; }
body:not(.has-hero) .site-header::before, .site-header.is-scrolled::before { background: rgba(14, 16, 19, .82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.topbar { font-size: .84rem; color: var(--on-dark-muted); max-height: 40px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.06); transition: max-height .35s var(--ease), opacity .3s; }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--on-dark); text-decoration: none; margin-left: 22px; }
.topbar a:hover { color: var(--brand); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; transition: min-height .3s; }
.site-header.is-scrolled .site-header__inner { min-height: 66px; }
.brand { display: block; line-height: 0; }
.brand img { height: 54px; width: auto; transition: height .3s; }
.site-header.is-scrolled .brand img { height: 46px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav > ul > li > a { position: relative; display: block; padding: 10px 12px; border-radius: 8px; }
.site-nav > ul > li > a::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav > ul > li > a:hover::before, .site-nav a.is-active::before { transform: scaleX(1); }
.site-nav > ul > li > a:hover, .site-nav a.is-active { color: #fff; }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 270px; list-style: none; margin: 0; padding: 8px; background: rgba(20, 23, 28, .97); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; box-shadow: 0 24px 50px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s; }
.sub a { display: block; padding: 10px 12px; color: var(--on-dark); border-radius: 8px; font-weight: 600; }
.sub a:hover { background: rgba(26,167,222,.14); color: #fff; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body:not(.has-hero) main { padding-top: var(--hh); }
@media (max-width: 760px) { :root { --hh: 70px; } .topbar { display: none; } .brand img, .site-header.is-scrolled .brand img { height: 44px; } .site-header__inner, .site-header.is-scrolled .site-header__inner { min-height: 70px; } }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(340px, 88vw); flex-direction: column; align-items: stretch; gap: 20px; padding: 96px 24px 32px; background: #12151a; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; z-index: -1; }
  .site-nav.is-open { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a { padding: 12px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .has-sub > a::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 4px 0 8px 12px; min-width: 0; }
  .sub { border: 0; }
  .sub a { color: var(--on-dark-muted); padding: 7px 8px; font-weight: 500; }
  .site-nav > ul > li > a::before { display: none; }
  .sub a:hover { background: transparent; color: var(--brand); }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero { min-height: min(100vh, 980px); display: flex; align-items: center; }
.hero__media { position: absolute; inset: -30px; will-change: transform; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hero__layers, .hero__wire, .hero__render, .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__layers { animation: kenburns 18s ease-out both; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.94) 0%, rgba(10,12,15,.72) 42%, rgba(10,12,15,.12) 100%), linear-gradient(0deg, rgba(10,12,15,.7), transparent 30%); }
.hero__inner { position: relative; width: 100%; padding: calc(var(--hh) + clamp(48px, 8vw, 110px)) 20px clamp(70px, 9vw, 120px); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #e6e0db; max-width: 54ch; margin-bottom: 1.8em; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 0; list-style: none; color: #e6e0db; font-size: .95rem; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }
@media (max-width: 700px) { .hero__media::after { background: linear-gradient(180deg, rgba(10,12,15,.78), rgba(10,12,15,.92)); } }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: calc(var(--hh) + 44px) 0 64px; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(120,214,245,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(120,214,245,.08) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 70%); animation: grid-drift 30s linear infinite; }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(26,167,222,.32), transparent 65%); animation: glow-float 12s ease-in-out infinite alternate; }
.page-hero h1 { color: #fff; max-width: 22ch; font-size: clamp(2rem, 4vw, 3.1rem); }
.page-hero .eyebrow { color: var(--brand); }
.page-hero__lede { font-size: 1.15rem; color: #ddd6d0; max-width: 64ch; margin: 0; }
.page-hero__meta { color: var(--on-dark-muted); margin: 18px 0 0; font-size: .95rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 28px; padding: 0; font-size: .85rem; color: var(--on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--on-dark); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink-2); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--brand); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head--split { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--icon .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; margin-bottom: 18px; }
.section--dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: var(--on-dark-muted); }

.service-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; height: 100%; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card__body p { color: var(--muted); font-size: .98rem; }
.service-card .more { margin-top: auto; font-weight: 700; color: var(--brand-strong); }
.service-card .more::after { content: " →"; }

.audience { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.audience li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.audience strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 6px; }
.audience span { color: var(--muted); font-size: .95rem; }
@media (max-width: 1060px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }
ul.audience { padding: 0; margin: 0; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.stats div { border-left: 3px solid var(--brand); padding-left: 18px; }
.stats dt { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--ink); line-height: 1.1; }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.section--dark .stats dt { color: #fff; }
.section--dark .stats dd { color: var(--on-dark-muted); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- process ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: var(--on-dark-muted); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font: 700 1rem var(--font-head); color: var(--brand); margin-bottom: 14px; }
.steps h3 { font-size: 1.1rem; }
.steps--light li { background: #fff; border-color: var(--line); color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230e86b8' stroke-width='3' d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat; }
.checklist--light li { color: var(--on-dark); }
.checklist--light li::before { background-color: rgba(26,167,222,.2); }
.checklist--cols { columns: 2; column-gap: 32px; }
.checklist--cols li { break-inside: avoid; }
@media (max-width: 640px) { .checklist--cols { columns: 1; } }

/* ---------- portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { font: 600 .92rem var(--font-body); padding: .6em 1.2em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery--feature { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gallery--feature .work:nth-child(1), .gallery--feature .work:nth-child(2) { grid-column: span 3; }
.gallery--feature .work { grid-column: span 2; }
@media (max-width: 900px) { .gallery, .gallery--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery--feature .work, .gallery--feature .work:nth-child(1), .gallery--feature .work:nth-child(2) { grid-column: auto; } }
@media (max-width: 560px) { .gallery, .gallery--feature { grid-template-columns: 1fr; } }
.work { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.work[hidden] { display: none; }
.work a { display: block; aspect-ratio: 4 / 3; color: #fff; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work a:hover img { transform: scale(1.04); }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(15,13,12,.85)); color: #fff; font-weight: 600; pointer-events: none; }
.work figcaption span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8fd7f3; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,9,8,.94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 8px; }
.lightbox p { color: #ddd; text-align: center; margin: 14px 0 0; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; }
.lightbox .lb-next { right: 18px; top: 50%; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-list.center { margin: 0 auto; text-align: left; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 1.1rem/1.4 var(--font-head); color: var(--ink); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--brand-strong); transition: transform .2s; }
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq > div { padding: 0 0 22px; color: var(--muted); }
details.faq > div p:last-child { margin: 0; }

/* ---------- quote / lead form ---------- */
.quote__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 960px) { .quote__grid { grid-template-columns: 1fr; } }
.quote__intro > p { color: var(--on-dark-muted); font-size: 1.08rem; }
.quote__direct { display: flex; flex-wrap: wrap; gap: 12px; }
.lead-form { background: #fff; color: var(--text); border-radius: 18px; padding: clamp(24px, 4vw, 36px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.lead-form h3 { color: var(--ink); font-size: 1.4rem; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26,167,222,.15); }
.field.is-invalid input { border-color: #d64545; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin: 10px 0 0; font-weight: 600; }
.form-status.is-error { color: #c23b3b; }
.form-status.is-ok { color: #1c8a4a; }
.lead-form button[disabled] { opacity: .7; cursor: wait; }

/* ---------- contact ---------- */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: inherit; }
a.contact-card:hover { border-color: var(--brand); color: inherit; }
.contact-card .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); }
.contact-card strong { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-card span { color: var(--muted); }
.map { border: 0; width: 100%; height: 360px; border-radius: var(--radius); filter: grayscale(.3); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand) linear-gradient(120deg, var(--brand-strong), var(--brand)); color: #fff; border-radius: 20px; padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { margin: 0; color: #e8f7fd; }
.cta-band .btn--dark:hover { background: #000; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 22px 24px 26px; }
.post-card__meta { font-size: .85rem; color: var(--muted); margin-bottom: .5em; }
.post-card h2, .post-card h3 { font-size: 1.2rem; line-height: 1.35; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--brand-strong); }
.post-card p:last-child { color: var(--muted); font-size: .97rem; margin: 0; }

.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
@media (max-width: 1000px) { .article-wrap { grid-template-columns: 1fr; } }
.article-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--sand); }
.aside-box h2 { font-size: 1.1rem; }
.aside-box p { font-size: .95rem; color: var(--muted); }

/* ---------- prose ---------- */
.prose { max-width: 74ch; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: .5em; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sand); font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; }
.tldr { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin: 0 0 2em; }
.tldr strong:first-child { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 4px; }
.tldr p:last-child { margin: 0; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.facts dt, .facts dd { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--ink); background: var(--sand); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 4px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: var(--on-dark-muted); padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 170px; height: auto; margin-bottom: 18px; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-contact { display: grid; gap: 8px; margin-bottom: 18px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* ---------- floating contact ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31,174,85,.45); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.action-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 6px; font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none; }
  .action-bar a:nth-child(2) { color: var(--whatsapp); }
  .action-bar .action-bar__primary { background: var(--brand); color: #fff; }
  body { padding-bottom: 60px; }
}


/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound .big { font: 700 clamp(5rem, 14vw, 9rem)/1 var(--font-head); color: var(--brand); margin: 0; }
.h3 { font-size: 1.25rem; font-weight: 600; }
.service-card__media picture, .work picture, .post-card__media picture, .work a > picture { width: 100%; height: 100%; }
body.nav-open .action-bar { display: none; }
/* contact cards: icon on top so long values (email) never overflow */
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.contact-grid .contact-card { flex-direction: column; gap: 14px; height: 100%; }
.contact-card > div { min-width: 0; }
.contact-card span { display: block; font-size: .97rem; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid .contact-card { flex-direction: row; } }

/* =====================================================================
   Motion: "wireframe to photoreal" system
   Everything below is progressive: without JS (or with reduced motion)
   content simply shows in its final state.
   ===================================================================== */
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes grid-drift { to { background-position: 44px 44px; } }
@keyframes glow-float { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, 60px) scale(1.15); } }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(26,167,222,.7); } 50% { box-shadow: 0 0 0 7px rgba(26,167,222,0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--brand-strong), var(--brand), #8fe3ff); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* hero: the render "scans" over the blueprint wireframe */
.hero__render { z-index: 1; }
.hero__scan { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 2; opacity: 0; background: #bff0ff; box-shadow: 0 0 18px 4px rgba(26,167,222,.85), 0 0 60px 12px rgba(26,167,222,.35); }
.js .hero[data-hero] .hero__render { clip-path: inset(0 100% 0 0); }
.js .hero.is-rendering .hero__render { clip-path: inset(0 0 0 0); transition: clip-path 2.6s var(--ease) .35s; }
.js .hero.is-rendering .hero__scan { opacity: 1; left: 100%; transition: left 2.6s var(--ease) .35s, opacity .4s ease 2.8s; }
.js .hero.is-rendered .hero__scan { opacity: 0; }
.hero__hud { position: absolute; right: 24px; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(10,12,15,.6); border: 1px solid rgba(120,214,245,.25); color: #cfeefa; font: 600 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .6s, transform .6s; }
.hero__hud strong { font-family: var(--font-head); color: #fff; min-width: 3.2ch; text-align: right; letter-spacing: 0; }
.hud-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: pulse-dot 1.4s infinite; }
.hero.is-rendered .hud-dot { background: #33d17a; animation: none; }
.hero__hud { opacity: 0; transform: translateY(10px); pointer-events: none; }
.hero.is-rendering .hero__hud { opacity: 1; transform: none; }
.hero.is-rendering.hud-done .hero__hud { opacity: 0; transform: translateY(10px); }
html:not(.js) .hero__hud { display: none; }
@media (max-width: 760px) { .hero__hud { right: 16px; bottom: 16px; } }

/* headline: words rise out of a mask */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--base, 0ms)); }
.split-words.is-in .w > span { transform: none; }
.js .hero-in { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .hero-in.is-in { opacity: 1; transform: none; }

/* marquee */
.marquee { overflow: hidden; background: var(--ink); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 600 clamp(1rem, 1.6vw, 1.25rem)/1 var(--font-head); color: var(--on-dark); white-space: nowrap; }
.marquee span::after { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: var(--brand); }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* showcase: wireframe / render compare */
.showcase { overflow: hidden; }
.showcase::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(120,214,245,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(120,214,245,.05) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.showcase .container { position: relative; }
.showcase__lede { color: var(--on-dark-muted); font-size: 1.08rem; }
.showcase__steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.showcase__steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.showcase__steps li::before { content: "0" counter(s); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(120,214,245,.3); color: var(--brand); font: 700 .9rem var(--font-head); }
.showcase__steps strong { color: #fff; font-family: var(--font-head); }
.showcase__steps span { color: var(--on-dark-muted); font-size: .95rem; }
.compare { position: relative; aspect-ratio: 1200 / 850; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(120,214,245,.18); user-select: none; }
.compare__img, .compare__img picture, .compare__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__render { clip-path: inset(0 0 0 var(--pos)); }
.compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #bff0ff; box-shadow: 0 0 16px 3px rgba(26,167,222,.8); pointer-events: none; }
.compare__handle { position: absolute; top: 50%; left: var(--pos); z-index: 2; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.4); pointer-events: none; transition: transform .2s; }
.compare:hover .compare__handle { transform: scale(1.08); }
.compare__tag { position: absolute; top: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(10,12,15,.65); color: #fff; font: 700 .72rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.compare__tag--l { left: 16px; color: #8fe3ff; }
.compare__tag--r { right: 16px; }
.compare input[type=range] { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:focus-within .compare__handle { outline: 3px solid var(--brand); outline-offset: 3px; }

/* scroll reveals (staggered via --d set in JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal-img img { transform: scale(1.22); transition: transform 1.6s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal-img.is-visible { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-visible img { transform: none; }
.js .work.reveal-img.is-visible a:hover img { transform: scale(1.05); transition-duration: .6s; transition-delay: 0s; }

/* eyebrow gets a short leading rule */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .8; }

/* 3D tilt + glare on cards (fine pointers only, driven by JS) */
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.25), transparent 45%); opacity: 0; transition: opacity .3s; z-index: 3; }
[data-tilt].is-tilting::after { opacity: 1; }
.service-card[data-tilt].is-tilting { box-shadow: 0 30px 60px -20px rgba(10,14,20,.35); }

/* buttons: light sweep on hover */
.btn--primary, .btn--dark, .btn--whatsapp { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after, .btn--dark::after, .btn--whatsapp::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-120%) skewX(-20deg); }
.btn--primary:hover::after, .btn--dark:hover::after, .btn--whatsapp:hover::after { animation: shine .9s ease; }
.btn--primary { box-shadow: 0 10px 30px -10px rgba(26,167,222,.8); }

/* dark sections pick up a soft glow */
.section--dark { position: relative; }
.quote { overflow: hidden; }
.quote::before { content: ""; position: absolute; width: 700px; height: 700px; left: -250px; bottom: -350px; border-radius: 50%; background: radial-gradient(circle, rgba(26,167,222,.22), transparent 65%); pointer-events: none; }
.quote .container { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .js .hero[data-hero] .hero__render, .js .reveal-img { clip-path: none !important; }
  .js .reveal, .js .hero-in, .split-words .w > span, .js .reveal-img img { opacity: 1 !important; transform: none !important; }
  .hero__hud, .hero__scan { display: none; }
  .marquee__track { animation: none; }
}
.footer-bottom .credit { color: var(--on-dark); text-decoration: underline; text-decoration-color: rgba(26,167,222,.6); text-underline-offset: 3px; }
.footer-bottom .credit:hover { color: var(--brand); }
