:root {
  --ink: #1C1C1E;
  --paper: #FFFFFF;
  --warm: #F7F5F0;
  --amber: #F5B301;
  --navy: #16264A;
  --graphite: #55555A;
  --line: rgba(28, 28, 30, .11);
  --line-dark: rgba(255, 255, 255, .13);
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 22px 70px rgba(28, 28, 30, .12);
  --shadow-soft: 0 12px 36px rgba(28, 28, 30, .08);
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: var(--amber); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.site-shell { position: relative; isolation: isolate; }
.container-xl-custom { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; position: relative; }
.section-light { background: var(--paper); }
.section-warm { background: var(--warm); }
.section-dark { background: var(--ink); color: var(--paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font: 700 12px/1 Montserrat, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
.section-title {
    margin: 0;
    max-width: 900px;
    font: 700 clamp(24px, 5vw, 74px) / .98 Montserrat, sans-serif;
    letter-spacing: -.055em;
    line-height: 30px;
}
.section-title .accent { position: relative; z-index: 0; white-space: nowrap; }
.section-title .accent::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: .08em;
  height: .28em;
  background: var(--amber);
  z-index: -1;
  transform: rotate(-1.4deg);
}
.section-copy { max-width: 720px; margin-top: 26px; color: var(--graphite); font-size: 18px; line-height: 1.75; }
.section-dark .section-copy { color: rgba(255,255,255,.63); }

/* NAV */
.nav-wrap {
  position: fixed;
  z-index: 1000;
  left: 0; right: 0; top: 0;
  padding: 14px 0;
  transition: .35s ease;
}
.nav-wrap.scrolled { padding: 9px 0; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  color: white;
  background: rgba(28,28,30,.62);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 10px 44px rgba(0,0,0,.12);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--amber);
  display: grid; place-items: center;
  color: var(--ink);
  font: 800 17px/1 Montserrat, sans-serif;
  transform: rotate(-3deg);
  box-shadow: 0 10px 28px rgba(245,179,1,.25);
}
.brand-text strong { display: block; font: 700 15px/1.15 Montserrat, sans-serif; }
.brand-text span { color: rgba(255,255,255,.56); font-size: 11px; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links a {
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.72);
  transition: .2s ease;
}
.nav-links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-select {
  border: 1px solid rgba(255,255,255,.14);
  color: white;
  background: rgba(255,255,255,.06);
  padding: 10px 34px 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  outline: none;
}
.lang-select option { color: var(--ink); background: white; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px;
  border: 0; border-radius: 12px;
  background: var(--amber); color: var(--ink);
  font: 700 13px/1 Montserrat, sans-serif;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245,179,1,.25); }
.mobile-nav-btn { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: #fff; background: rgba(255,255,255,.08); }

/* HERO */
.hero {
  min-height: 820px;
  display: grid;
  align-items: center;
  padding: 150px 0 90px;
  color: white;
  background:
    radial-gradient(circle at var(--mx, 72%) var(--my, 34%), rgba(245,179,1,.21), transparent 18%),
    radial-gradient(circle at 16% 78%, rgba(22,38,74,.48), transparent 34%),
    var(--ink);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 86%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  right: -260px; top: -160px;
  border: 1px solid rgba(245,179,1,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(245,179,1,.03), 0 0 0 140px rgba(245,179,1,.02);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.hero-kicker {
  width: fit-content;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px 8px 9px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  margin-bottom: 28px;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(245,179,1,.13); }
.hero h1 {
  margin: 0;
  max-width: 720px;
  font: 700 clamp(52px, 6.5vw, 100px)/.9 Montserrat, sans-serif;
  letter-spacing: -.066em;
}
.hero h1 .hero-accent { color: var(--amber); display: inline-block; position: relative; }
.hero h1 .hero-accent::after { content: "↗"; font-size: .32em; margin-left: .13em; vertical-align: top; letter-spacing: 0; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.62); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.btn-primary-wow, .btn-secondary-wow {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 16px;
  font: 700 14px/1 Montserrat, sans-serif;
  border: 1px solid transparent;
  transition: .25s ease;
}
.btn-primary-wow { background: var(--amber); color: var(--ink); box-shadow: 0 14px 38px rgba(245,179,1,.16); }
.btn-primary-wow:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 42px rgba(245,179,1,.27); }
.btn-secondary-wow { border-color: rgba(255,255,255,.18); color: white; background: rgba(255,255,255,.05); backdrop-filter: blur(12px); }
.btn-secondary-wow:hover { color: white; background: rgba(255,255,255,.11); transform: translateY(-3px); }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: rgba(255,255,255,.49); font-size: 12px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note i { color: var(--amber); }

/* HERO MOCKUP */
.hero-visual { position: relative; perspective: 1200px; min-height: 560px; display: grid; place-items: center; }
.browser-card {
  width: min(100%, 590px);
  min-height: 455px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
  box-shadow: 0 40px 90px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform .2s ease-out;
}
.browser-top { height: 50px; display: flex; align-items: center; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.34); }
.browser-url { margin: auto; width: 46%; height: 21px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: rgba(0,0,0,.13); }
.browser-body { padding: 28px; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 38px; }
.mock-logo { width: 96px; height: 14px; border-radius: 99px; background: rgba(255,255,255,.84); }
.mock-menu { display: flex; gap: 7px; }
.mock-menu span { width: 36px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.2); }
.mock-pill { width: 66px !important; background: var(--amber) !important; }
.mock-hero-title { width: 80%; height: 66px; position: relative; margin-bottom: 18px; }
.mock-hero-title::before, .mock-hero-title::after { content: ""; position: absolute; left: 0; height: 25px; border-radius: 4px; background: rgba(255,255,255,.92); }
.mock-hero-title::before { width: 100%; top: 0; }
.mock-hero-title::after { width: 74%; bottom: 0; }
.mock-copy { width: 56%; display: grid; gap: 7px; margin-bottom: 26px; }
.mock-copy span { height: 6px; border-radius: 99px; background: rgba(255,255,255,.2); }
.mock-copy span:last-child { width: 70%; }
.mock-cta { width: 112px; height: 40px; border-radius: 11px; background: var(--amber); position: relative; box-shadow: 0 12px 30px rgba(245,179,1,.2); }
.mock-cta::after { content: "Start project"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); font: 700 9px/1 Montserrat, sans-serif; }
.mock-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; margin-top: 34px; }
.mock-panel { min-height: 114px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.05); padding: 16px; }
.metric-line { display: flex; justify-content: space-between; color: rgba(255,255,255,.5); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.chart { height: 56px; margin-top: 13px; position: relative; overflow: hidden; }
.chart svg { width: 100%; height: 100%; }
.chart polyline { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(245,179,1,.35)); }
.kpi-number { margin-top: 10px; font: 700 31px/1 Montserrat, sans-serif; letter-spacing: -.05em; }
.kpi-number small { font-size: 11px; color: var(--amber); letter-spacing: 0; }
.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(28,28,30,.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 54px rgba(0,0,0,.25);
  animation: floaty 5s ease-in-out infinite;
}
.floating-chip strong { display: block; font: 700 17px/1.2 Montserrat, sans-serif; }
.floating-chip span { color: rgba(255,255,255,.55); font-size: 10px; }
.chip-one { right: -14px; top: 70px; }
.chip-one strong { color: var(--amber); }
.chip-two { left: -20px; bottom: 62px; animation-delay: -2.3s; }
.chip-icon { width: 28px; height: 28px; margin-bottom: 8px; border-radius: 9px; display: grid; place-items: center; background: var(--amber); color: var(--ink); }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }

/* MARQUEE */
.proof-strip { background: var(--amber); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(28,28,30,.18); }
.marquee {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee-loop 28s linear infinite;
}
.marquee-track {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 17px 14px;
  white-space: nowrap;
  font: 700 13px/1 Montserrat, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.marquee-track span::after { content: "✦"; margin-left: 28px; }
@keyframes marquee-loop {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-20%,0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
}

/* SERVICES BENTO */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 58px; }
.service-card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 40px rgba(28,28,30,.045);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card.large { grid-column: span 8; min-height: 360px; }
.service-card.dark { background: var(--ink); color: white; border-color: var(--ink); }
.service-card.navy { background: var(--navy); color: white; border-color: var(--navy); }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-soft); border-color: rgba(245,179,1,.7); }
.service-index { display: flex; justify-content: space-between; align-items: center; color: var(--graphite); font: 600 11px/1 Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.service-card.dark .service-index, .service-card.navy .service-index { color: rgba(255,255,255,.52); }
.service-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--amber); color: var(--ink); font-size: 19px; }
.service-card h3 { max-width: 430px; margin: 66px 0 14px; font: 700 clamp(25px, 2.3vw, 35px)/1.05 Montserrat, sans-serif; letter-spacing: -.045em; }
.service-card p { max-width: 520px; color: var(--graphite); font-size: 15px; line-height: 1.7; margin: 0; }
.service-card.dark p, .service-card.navy p { color: rgba(255,255,255,.62); }
.service-card .ghost-word { position: absolute; right: -18px; bottom: -28px; font: 800 clamp(70px, 9vw, 140px)/1 Montserrat, sans-serif; letter-spacing: -.08em; color: rgba(28,28,30,.035); pointer-events: none; }
.service-card.dark .ghost-word, .service-card.navy .ghost-word { color: rgba(255,255,255,.045); }
.service-card.large .service-mini-ui { position: absolute; right: 28px; bottom: 28px; width: 220px; height: 132px; border-radius: 22px; background: var(--warm); border: 1px solid var(--line); transform: rotate(-2deg); overflow: hidden; }
.service-card.large .service-mini-ui::before { content: ""; position: absolute; width: 82px; height: 82px; border-radius: 50%; right: -18px; top: -14px; background: var(--amber); }
.service-card.large .service-mini-ui::after { content: "Conversion ↑"; position: absolute; left: 18px; bottom: 18px; color: var(--ink); font: 700 15px/1 Montserrat, sans-serif; }

/* PROCESS */
.process-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; margin-top: 58px; }
.sticky-copy { position: sticky; top: 128px; }
.process-list { border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: center; transition: padding .25s ease; }
.process-item:hover { padding-left: 10px; }
.process-num { font: 700 13px/1 Montserrat, sans-serif; color: var(--graphite); }
.process-item h3 { margin: 0 0 7px; font: 700 clamp(23px, 2.3vw, 34px)/1 Montserrat, sans-serif; letter-spacing: -.045em; }
.process-item p { margin: 0; max-width: 580px; color: var(--graphite); font-size: 14px; line-height: 1.65; }
.process-arrow { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: .25s ease; }
.process-item:hover .process-arrow { background: var(--amber); border-color: var(--amber); transform: rotate(45deg); }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 74px; align-items: center; }
.about-photo-wrap { position: relative; min-height: 610px; }
.about-photo { position: absolute; inset: 0 54px 0 0; border-radius: 34px; overflow: hidden; background: #111; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.02); }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,28,30,.22), transparent 44%); }
.about-tag { position: absolute; right: 0; bottom: 62px; z-index: 3; width: 176px; padding: 20px; border-radius: 20px; background: var(--amber); color: var(--ink); box-shadow: var(--shadow-soft); transform: rotate(2deg); }
.about-tag strong { display: block; font: 700 38px/1 Montserrat, sans-serif; letter-spacing: -.05em; }
.about-tag span { font-size: 12px; line-height: 1.4; }
.about-copy .section-copy { max-width: 630px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.about-point { padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.6); }
.about-point i { color: var(--amber); margin-right: 7px; }
.about-point span { font-size: 13px; font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 58px; }
.stat {
  position: relative;
  min-height: 168px;
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(28,28,30,.045);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,179,1,.06), transparent 40%);
  pointer-events: none;
}
.stat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 11px/1 Montserrat, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--graphite);
}
.stat-label::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
}
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 12px 0 8px;
}
.stat strong {
  display: block;
  margin: 0;
  font: 800 clamp(46px, 4vw, 66px)/.9 Montserrat, sans-serif;
  letter-spacing: -.06em;
  color: var(--ink);
}
.stat .counter {
  display: inline-block;
  font: inherit;
  line-height: .9;
  min-width: 2ch;
}
.stat em {
  color: var(--amber);
  font-style: normal;
  font: 800 clamp(24px, 2.3vw, 34px)/1 Montserrat, sans-serif;
}
.stat p {
  margin: 0;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.45;
  max-width: 18ch;
}

/* PORTFOLIO */
.portfolio-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.portfolio-head .section-copy { margin: 0; max-width: 480px; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 58px;
}
.project {
  position: relative;
  min-height: 360px;
  border-radius: 30px;
  overflow: hidden;
  background: #eceae4;
  border: 1px solid rgba(255,255,255,.08);
  transform: translateZ(0);
}
.project.small { min-height: 360px; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.25,1), filter .4s ease; }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,28,30,.78), rgba(28,28,30,.06) 60%); }
.project:hover img { transform: scale(1.045); filter: saturate(1.06); }
.project-info { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 20px; color: #fff; }
.project-meta { font-size: 11px; color: rgba(255,255,255,.63); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .09em; }
.project-title { font: 700 clamp(25px, 2.5vw, 37px)/1 Montserrat, sans-serif; letter-spacing: -.04em; }
.project-go { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: var(--ink); font-size: 18px; transition: transform .25s ease; }
.project:hover .project-go { transform: rotate(45deg); }

/* CERTIFICATES */
.certs { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px; }
.cert-card {
  display: block;
  min-height: 360px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 34px rgba(28,28,30,.05);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  cursor: zoom-in;
}
.cert-card::after {
  content: "Click to enlarge";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(28,28,30,.8);
  color: #fff;
  font: 700 11px/1 Montserrat, sans-serif;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(8px);
  transition: .25s ease;
}
.cert-card img {
  width: 100%;
  height: 324px;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f6f4ef);
  transition: transform .35s ease;
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(28,28,30,.09);
  border-color: rgba(245,179,1,.55);
}
.cert-card:hover img { transform: scale(1.035); }
.cert-card:hover::after { opacity: 1; transform: translateY(0); }


/* MOBILE CAROUSEL CONTROLS */
.mobile-carousel-nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
}
.mobile-carousel-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.58);
  font: 600 12px/1.2 Inter, sans-serif;
}
.section-warm .mobile-carousel-hint { color: var(--graphite); }
.mobile-carousel-hint i { color: var(--amber); font-size: 16px; }
.mobile-carousel-actions { display: flex; align-items: center; gap: 8px; }
.mobile-carousel-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}
.section-warm .mobile-carousel-btn {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.mobile-carousel-btn:active { transform: scale(.94); }
.mobile-carousel-btn:disabled { opacity: .34; cursor: default; }
.mobile-carousel-count {
  min-width: 54px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: rgba(255,255,255,.46);
  font: 700 12px/1 Montserrat, sans-serif;
}
.section-warm .mobile-carousel-count { color: var(--graphite); }
.mobile-carousel-count strong {
  color: var(--amber);
  font-size: 17px;
}

/* CTA / CONTACT */
.contact-section { overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; right: -280px; top: -280px; border: 1px solid rgba(245,179,1,.2); box-shadow: 0 0 0 75px rgba(245,179,1,.03),0 0 0 150px rgba(245,179,1,.02); }
.contact-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 80px; align-items: start; position: relative; z-index: 2; }
.contact-big { font: 700 clamp(48px, 6vw, 92px)/.92 Montserrat, sans-serif; letter-spacing: -.065em; margin: 0; max-width: 760px; }
.contact-big .outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.72); }
.contact-copy { color: rgba(255,255,255,.58); font-size: 17px; line-height: 1.7; max-width: 600px; margin: 28px 0 0; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; max-width: 610px; }
.contact-link { padding: 15px 16px; border: 1px solid var(--line-dark); border-radius: 15px; color: rgba(255,255,255,.72); display: flex; align-items: center; gap: 10px; transition: .2s ease; font-size: 13px; }
.contact-link i { color: var(--amber); }
.contact-link:hover { color: white; border-color: rgba(245,179,1,.6); transform: translateY(-2px); }
.contact-form {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 72px rgba(0,0,0,.18);
}
.contact-form h3 { margin: 0 0 6px; font: 700 27px/1.1 Montserrat, sans-serif; letter-spacing: -.04em; }
.contact-form > p { color: rgba(255,255,255,.52); font-size: 13px; margin-bottom: 25px; }
.field { margin-bottom: 13px; }
.field label { display: block; margin: 0 0 7px; font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; }
.field .form-control {
  width: 100%;
  min-height: 51px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  color: white;
  background: rgba(255,255,255,.07);
  outline: none;
  box-shadow: none;
  padding: 13px 15px;
}
.field textarea.form-control { min-height: 118px; resize: vertical; }
.field .form-control:focus { color: white; background: rgba(255,255,255,.09); border-color: rgba(245,179,1,.75); box-shadow: 0 0 0 4px rgba(245,179,1,.08); }
.submit-btn { width: 100%; min-height: 54px; border: 0; border-radius: 14px; background: var(--amber); color: var(--ink); font: 700 14px/1 Montserrat, sans-serif; transition: .25s ease; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(245,179,1,.2); }

/* FOOTER */
.footer { background: var(--ink); color: white; border-top: 1px solid rgba(255,255,255,.1); }
.footer-inner { min-height: 122px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-left { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.5); font-size: 12px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.11); color: white; transition: .2s ease; }
.footer-social a:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

/* MODALS / COOKIE */
.modal-content { border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.modal-header { border-bottom: 1px solid var(--line); }
.modal-backdrop.show {
  opacity: -0.5 !important;
  background-color: #1C1C1E !important;
  backdrop-filter: none !important;
  z-index: 99999;
  display: block;
  position: relative;
}
.preview-modal { --bs-modal-zindex: 1080; }
.preview-modal .modal-dialog {
  max-width: min(1020px, calc(100vw - 56px));
  margin: 24px auto;
}
.preview-modal .modal-content {
  position: relative;
  overflow: visible;
  background: rgba(255,255,255,.985);
  border: 1px solid rgba(28,28,30,.08);
  border-radius: 30px;
  box-shadow: 0 34px 100px rgba(28,28,30,.18), 0 3px 14px rgba(28,28,30,.06);
}
.preview-modal .preview-toolbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 18px 78px 16px 22px;
  border-bottom: 1px solid rgba(28,28,30,.075);
}
.preview-modal .preview-toolbar .eyebrow { margin-bottom: 6px; }
.preview-modal .preview-title {
  margin: 0;
  color: var(--ink);
  font: 700 17px/1.2 Montserrat, sans-serif;
  letter-spacing: -.025em;
}
.preview-modal .preview-close {
  position: absolute;
  z-index: 20;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(28,28,30,.08);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--warm);
  box-shadow: 0 8px 20px rgba(28,28,30,.07);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.preview-modal .preview-close i { font-size: 21px; line-height: 1; pointer-events: none; }
.preview-modal .preview-close:hover {
  transform: rotate(6deg) scale(1.04);
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 10px 24px rgba(245,179,1,.22);
}
.preview-modal .preview-close:focus-visible {
  outline: 3px solid rgba(245,179,1,.28);
  outline-offset: 3px;
}
.preview-modal .modal-body {
  padding: 14px 18px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.preview-modal .preview-stage {
  width: 100%;
  min-height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 8%, rgba(245,179,1,.06), transparent 27%),
    #F7F5F0;
  border: 1px solid rgba(28,28,30,.055);
}
.preview-modal .preview-media {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 220px);
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(28,28,30,.10);
  margin-inline: auto;
}
.preview-modal.is-portrait .modal-dialog { max-width: min(610px, calc(100vw - 56px)); }
.preview-modal.is-portrait .preview-stage { padding: 14px 24px; }
.preview-modal.is-portrait .preview-media {
  max-width: 100%;
  max-height: calc(100vh - 190px);
}
.preview-modal.is-landscape .preview-media { max-height: calc(100vh - 240px); }

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 980;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--amber);
  box-shadow: 0 14px 34px rgba(28,28,30,.18), 0 8px 24px rgba(245,179,1,.20);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.92);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.back-to-top i { font-size: 21px; }
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 42px rgba(28,28,30,.20), 0 10px 28px rgba(245,179,1,.28);
}
.back-to-top:focus-visible { outline: 3px solid rgba(245,179,1,.35); outline-offset: 4px; }
.modal .form-control { border-radius: 13px; min-height: 50px; border-color: var(--line); box-shadow: none; }
.modal .form-control:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(245,179,1,.12); }
#cookie-consent-banner { background: rgba(28,28,30,.95) !important; backdrop-filter: blur(15px); border-top: 1px solid rgba(255,255,255,.12); }
#cookie-consent-banner .btn { border-radius: 10px; }
#accept-all, #settings-btn { background: var(--amber) !important; border-color: var(--amber) !important; color: var(--ink) !important; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.cursor-glow { position: fixed; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; z-index: 999; opacity: 0; background: radial-gradient(circle, rgba(245,179,1,.09), transparent 66%); transform: translate(-50%,-50%); transition: opacity .25s ease; mix-blend-mode: multiply; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .service-card { grid-column: span 6; }
  .service-card.large { grid-column: span 6; }
  .service-card.large .service-mini-ui { opacity: .5; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-layout { gap: 40px; }
  .about-grid { gap: 42px; }
  .contact-grid { gap: 44px; }
}

@media (max-width: 900px) {
  .section { padding: 86px 0; }
  .nav-links, .nav-cta { display: none; }
  .mobile-nav-btn { display: grid; place-items: center; }
  .main-nav.open .nav-links {
    display: flex; position: absolute; left: 20px; right: 20px; top: 86px; padding: 12px; flex-direction: column; align-items: stretch;
    background: rgba(28,28,30,.97); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; box-shadow: var(--shadow);
  }
  .main-nav.open .nav-links a { padding: 13px; }
  .hero { min-height: auto; padding-top: 128px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; margin-top: 20px; }
  .browser-card { transform: none; }
  .process-layout { grid-template-columns: 1fr; }
  .sticky-copy { position: static; }
  .portfolio-head { align-items: start; flex-direction: column; }
  .about-photo-wrap { min-height: 560px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certs { grid-template-columns: 1fr 1fr; }
}


@media (max-width: 768px) {
  .mobile-carousel-nav { display: flex; }

  .portfolio-grid,
  .certs {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
    padding: 2px 26px 14px 0;
    margin-top: 16px;
  }

  .portfolio-grid::-webkit-scrollbar,
  .certs::-webkit-scrollbar { display: none; }

  .portfolio-grid .project,
  .certs .cert-card {
    flex: 0 0 calc(100% - 34px);
    width: calc(100% - 34px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .portfolio-grid .project,
  .portfolio-grid .project.small {
    min-height: clamp(330px, 68vw, 440px);
  }

  .certs .cert-card {
    min-height: 300px;
  }

  .certs .cert-card img {
    height: clamp(250px, 58vw, 330px);
  }
}

@media (max-width: 640px) {
  .container-xl-custom { width: min(100% - 26px, var(--container)); }
  .section { padding: 72px 0; }
  .nav-wrap { padding-top: 8px; }
  .main-nav { min-height: 58px; padding: 7px 8px 7px 12px; border-radius: 18px; }
  .brand-mark { width: 39px; height: 39px; }
  .brand-text span { display: none; }
  .lang-select { max-width: 92px; padding-left: 8px; }
  .hero { padding: 116px 0 68px; }
  .hero h1 { font-size: clamp(48px, 14.8vw, 72px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .btn-primary-wow, .btn-secondary-wow { width: 100%; }
  .hero-visual { min-height: 410px; }
  .browser-card { min-height: 360px; border-radius: 23px; }
  .browser-body { padding: 20px; }
  .mock-grid { grid-template-columns: 1fr; }
  .mock-panel:last-child { display: none; }
  .floating-chip { transform: scale(.87); }
  .chip-one { right: -18px; top: 48px; }
  .chip-two { left: -12px; bottom: 28px; }
  .bento { grid-template-columns: 1fr; }
  .service-card, .service-card.large { grid-column: 1; min-height: 285px; }
  .service-card h3 { margin-top: 50px; }
  .service-card.large .service-mini-ui { display: none; }
  .process-item { grid-template-columns: 45px 1fr 40px; gap: 12px; }
  .about-photo-wrap { min-height: 455px; }
  .about-photo { right: 28px; }
  .about-tag { width: 142px; padding: 16px; bottom: 38px; }
  .about-tag strong { font-size: 31px; }
  .about-points, .contact-links { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: 10px; }
  .stat p { max-width: none; }
  .project, .project.small { min-height: 350px; }
  .cert-card { min-height: 300px; }
  .cert-card img { height: 260px; }
  .preview-modal .modal-dialog { max-width: calc(100vw - 18px); margin: 9px auto; }
  .preview-modal .modal-content { border-radius: 22px; }
  .preview-modal .preview-toolbar { min-height: 68px; padding: 14px 64px 12px 16px; }
  .preview-modal .preview-title { font-size: 15px; }
  .preview-modal .preview-close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .preview-modal .modal-body { padding: 9px 10px 10px; }
  .preview-modal .preview-stage { padding: 7px; border-radius: 16px; }
  .preview-modal .preview-media { max-height: calc(100vh - 150px); border-radius: 12px; }
  .preview-modal.is-portrait .modal-dialog { max-width: min(520px, calc(100vw - 18px)); }
  .preview-modal.is-portrait .preview-stage { padding: 9px; }
  .back-to-top { right: 16px; bottom: 16px; width: 50px; height: 50px; border-radius: 15px; }
  .contact-form { padding: 20px; }
  .footer-inner { padding: 28px 0; flex-direction: column; align-items: flex-start; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* MOBILE RESPONSIVE FIX — 320–768px */
@media (max-width: 768px) {
  .container-xl-custom {
    width: calc(100% - 28px);
    max-width: none;
  }

  .nav-wrap {
    padding: 8px 0 0;
  }

  .main-nav {
    min-height: 58px;
    padding: 7px 8px 7px 10px;
    gap: 8px;
    border-radius: 18px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
    flex: 1 1 auto;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    font-size: 16px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 14px;
    white-space: nowrap;
  }

  .brand-text span {
    display: none;
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .lang-select {
        width: 58px;
        max-width: 58px;
        height: 42px;
        padding: 0 0px 0 10px;
        font-size: 12px;
        border-radius: 12px;
    }

  .mobile-nav-btn {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .main-nav.open .nav-links {
    left: 14px;
    right: 14px;
    top: 72px;
  }

  .hero {
    min-height: auto;
    padding: 104px 0 58px;
    align-items: start;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
  }

  .hero-kicker {
    max-width: 100%;
    width: max-content;
    min-height: 36px;
    margin-bottom: 24px;
    padding: 7px 11px 7px 9px;
    gap: 9px;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
  }

  .hero-kicker .dot {
    flex: 0 0 8px;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(42px, 11.6vw, 58px);
    line-height: .94;
    letter-spacing: -.055em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero h1 .hero-accent::after {
    font-size: .28em;
    margin-left: .08em;
  }

  .hero-lead {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .btn-primary-wow,
  .btn-secondary-wow {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding-inline: 16px;
  }

  .hero-note {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 22px;
  }

  .hero-visual {
    width: 100%;
    min-height: 350px;
    margin-top: 34px;
    overflow: visible;
  }

  .browser-card {
    width: 100%;
    min-height: 330px;
    border-radius: 22px;
    transform: none !important;
  }

  .browser-body {
    padding: 18px;
  }

  .floating-chip {
    max-width: 150px;
    transform: scale(.82);
    transform-origin: center;
  }

  .chip-one {
    right: -8px;
    top: 44px;
  }

  .chip-two {
    left: -8px;
    bottom: 22px;
  }

  .hero::after {
    width: 400px;
    height: 400px;
    right: -230px;
    top: -80px;
  }
}

@media (max-width: 480px) {
  .container-xl-custom {
    width: calc(100% - 24px);
  }

  .main-nav {
    padding-left: 9px;
    padding-right: 7px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 15px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .lang-select {
        width: 70px;
        max-width: 70px;
        padding-left: 7px;
        padding-right: 18px;
    }

  .mobile-nav-btn {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .hero {
    padding-top: 98px;
    padding-bottom: 50px;
  }

  .hero-kicker {
    font-size: 10.5px;
    margin-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(40px, 11.3vw, 50px);
    line-height: .96;
    letter-spacing: -.05em;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.52;
  }

  .hero-visual {
    min-height: 325px;
    margin-top: 30px;
  }

  .browser-card {
    min-height: 305px;
  }
}

@media (max-width: 360px) {
  .brand-text strong {
    font-size: 12px;
  }

      .lang-select {
        width: 70px;
        max-width: 70px;
        padding-left: 7px;
        padding-right: 18px;
    }

  .hero h1 {
    font-size: 38px;
  }

  .hero-kicker {
    width: 100%;
  }
}
