/* ═══════════════════════════════════════════════
   3D Printing Service — style.css
   Blueprint Grid · Dark Slate Blue · Tech Yellow
═══════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --bg: #1e2d3d;
  --bg-d: #162333;
  --bg-blk: #0c1520;
  --bg-c: #243447;
  --bg-c2: #1a2a3a;
  --bdr: rgba(242, 193, 0, .18);
  --bdr-d: rgba(255, 255, 255, .07);
  --y: #f2c100;
  --yd: #d4a900;
  --yg: rgba(242, 193, 0, .13);
  --ys: rgba(242, 193, 0, .07);
  --w: #ffffff;
  --tx: #d8e8f2;
  --mu: #8aa4bc;
  --dm: #506a82;
  --f: 'Inter', sans-serif;
  --mx: 1200px;
  --px: clamp(18px, 5vw, 68px);
  --r: 9px;
  --nav-h: 68px;
  --grid-maj: rgba(255, 255, 255, .044);
  --grid-min: rgba(255, 255, 255, .016);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: auto
}

a {
  color: inherit;
  text-decoration: none
}

ul {
  list-style: none
}

button {
  font-family: var(--f);
  cursor: pointer;
  border: none;
  background: none
}

img {
  display: block;
  max-width: 100%
}

/* ════════════════════════════════════════════
   BLUEPRINT BODY — 5 fixed background layers
   1. Hero radial glow
   2–3. Major grid 100px
   4–5. Minor grid 20px
════════════════════════════════════════════ */
body {
  font-family: var(--f);
  color: var(--tx);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 110% 72% at 50% -2%,
      rgba(242, 193, 0, .052) 0%,
      rgba(30, 90, 180, .062) 30%,
      transparent 68%),
    linear-gradient(var(--grid-maj) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-maj) 1px, transparent 1px),
    linear-gradient(var(--grid-min) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-min) 1px, transparent 1px);
  background-size: 100% 100%, 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
}

/* ── LAYOUT HELPERS ── */
.wrap {
  max-width: var(--mx);
  margin: 0 auto;
  padding: 0 var(--px)
}

.hy {
  color: var(--y)
}

.sec-hdr {
  margin-bottom: 44px
}

.sec-title {
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--w);
  line-height: 1.14;
  margin-bottom: 10px;
}

.sec-sub {
  font-size: .9rem;
  color: var(--mu);
  line-height: 1.7;
  max-width: 520px
}

/* ── MICRO TAG ── */
.micro-tag {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--y);
  background: var(--ys);
  border: 1px solid rgba(242, 193, 0, .26);
  padding: 4px 11px;
  border-radius: 4px;
  margin-bottom: 13px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 11px 22px;
  border-radius: var(--r);
  border: 2px solid transparent;
  transition: all .25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-y {
  background: var(--y);
  color: var(--bg-blk);
  border-color: var(--y)
}

.btn-y:hover {
  background: var(--yd);
  border-color: var(--yd);
  box-shadow: 0 0 22px rgba(242, 193, 0, .38);
  transform: translateY(-2px);
}

.btn-o {
  background: transparent;
  color: var(--y);
  border-color: var(--y)
}

.btn-o:hover {
  background: var(--yg);
  box-shadow: 0 0 18px rgba(242, 193, 0, .18);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: .9rem
}

.btn-arr {
  transition: transform .25s ease
}

.btn:hover .btn-arr {
  transform: translateX(5px)
}

/* ════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(10, 17, 27, .84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bdr-d);
  transition: background .25s ease, border-color .25s ease;
}

.nav.on {
  background: rgba(10, 17, 27, .97);
  border-bottom-color: var(--bdr);
}

.nav__inner {
  max-width: var(--mx);
  margin: 0 auto;
  padding: 0 var(--px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo group */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  transition: opacity .2s ease;
}

.nav__logo:hover {
  opacity: .82
}

.nav__logo-img {
  height: 60px;
  /* Large & crisp */
  width: auto;
  border-radius: 7px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .58));
}

.nav__logo-text {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--w);
  white-space: nowrap;
  line-height: 1;
}

/* Nav links */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2px
}

.nm-link {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--mu);
  padding: 7px 12px;
  border-radius: 6px;
  position: relative;
  transition: color .22s ease;
}

.nm-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--y);
  border-radius: 2px;
  transition: width .22s ease;
}

.nm-link:hover {
  color: var(--w)
}

.nm-link:hover::after {
  width: 55%
}

.nav__cta {
  margin-left: 8px;
  padding: 8px 16px;
  font-size: .78rem
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tx);
  border-radius: 2px;
  transition: all .25s ease;
  transform-origin: center;
}

.nav__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0)
}

.nav__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  padding: 152px 0 100px;
  position: relative;
}

.hero .wrap {
  display: block
}

.hero__body {
  max-width: 820px
}


.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--y);
  flex-shrink: 0;
  animation: pd 2s ease-in-out infinite;
}

@keyframes pd {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(242, 193, 0, .55)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(242, 193, 0, 0)
  }
}

.hero__h1 {
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.05em;
  color: var(--w);
  margin-bottom: 24px;
}

.hero__caption {
  font-size: 1rem;
  color: var(--mu);
  line-height: 1.76;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 38px
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.pill {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dm);
  border: 1px solid var(--bdr-d);
  background: rgba(255, 255, 255, .03);
  padding: 5px 13px;
  border-radius: 20px;
}

/* ════════════════════════════════════════════
   TICKER / MARQUEE
════════════════════════════════════════════ */
.ticker {
  background: rgba(8, 14, 22, .74);
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: 12px 0;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.ticker__track {
  overflow: hidden
}

.ticker__row {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mu);
  animation: mq 32s linear infinite;
}

.ts {
  color: var(--y);
  opacity: .38
}

@keyframes mq {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* ════════════════════════════════════════════
   SERVICES MATRIX
════════════════════════════════════════════ */
.services {
  padding: 88px 0
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.sc {
  background: rgba(36, 52, 71, .76);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--bdr-d);
  border-radius: var(--r);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: all .26s ease;
}

.sc:hover {
  border-color: var(--bdr);
  transform: translateY(-6px) scale(1.012);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, .36),
    0 0 0 1px rgba(242, 193, 0, .22),
    0 0 30px rgba(242, 193, 0, .09);
  background: rgba(36, 52, 71, .94);
}

.sc:focus-visible {
  border-color: var(--y);
  box-shadow: 0 0 0 3px rgba(242, 193, 0, .25);
}

.sc:active {
  transform: translateY(-2px) scale(.99)
}

.sc__num {
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .18em;
  color: var(--y);
  opacity: .72;
  margin-bottom: 9px;
}

.sc__ico {
  font-size: 1.9rem;
  margin-bottom: 12px
}

.sc__title {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--w);
  line-height: 1.22;
  letter-spacing: -.01em;
  margin-bottom: 13px;
}

.sc__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
  flex: 1
}

.sc__list li {
  font-size: .78rem;
  color: var(--mu);
  padding-left: 13px;
  position: relative;
}

.sc__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1px;
  background: var(--y);
  opacity: .55;
}

.sc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px
}

.chip {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dm);
  border: 1px solid var(--bdr-d);
  background: rgba(255, 255, 255, .03);
  padding: 3px 9px;
  border-radius: 3px;
}

.sc__cta {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(242, 193, 0, .28);
  width: fit-content;
  transition: all .25s ease;
  pointer-events: none;
}

.sc:hover .sc__cta {
  gap: 9px;
  border-color: var(--y)
}

/* ════════════════════════════════════════════
   MATERIALS
════════════════════════════════════════════ */
.materials {
  padding: 88px 0
}

.mat__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mat-card {
  background: rgba(36, 52, 71, .74);
  backdrop-filter: blur(6px);
  border: 1px solid var(--bdr-d);
  border-radius: var(--r);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: all .26s ease;
}

.mat-card:hover {
  border-color: var(--bdr);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .3), 0 0 22px rgba(242, 193, 0, .07);
  background: rgba(36, 52, 71, .92);
}

.mat-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mat-ico {
  font-size: 1.65rem
}

.mat-badge {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
}

.mat-badge--green {
  background: rgba(34, 197, 94, .12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, .24)
}

.mat-badge--y {
  background: var(--ys);
  color: var(--y);
  border: 1px solid var(--bdr)
}

.mat-name {
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--w);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.mat-desc {
  font-size: .8rem;
  color: var(--mu);
  line-height: 1.68;
  margin-bottom: 14px;
  flex: 1
}

.mat-specs {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.mat-specs li {
  font-size: .73rem;
  color: var(--dm);
  padding-left: 12px;
  position: relative;
}

.mat-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1px;
  background: var(--y);
  opacity: .5;
}

/* ════════════════════════════════════════════
   HOW IT WORKS
   Number badge → Emoji → One-liner label
════════════════════════════════════════════ */
.how {
  padding: 88px 0
}

.how__grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.how-card {
  flex: 1;
  background: rgba(36, 52, 71, .74);
  backdrop-filter: blur(6px);
  border: 1px solid var(--bdr-d);
  border-radius: var(--r);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  transition: all .25s ease;
}

.how-card:hover {
  border-color: var(--bdr);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .28), 0 0 22px rgba(242, 193, 0, .07);
}

/* Number badge */
.how-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--y);
  color: var(--bg-blk);
  font-size: .88rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 18px;
  flex-shrink: 0;
}

/* Emoji — own line, large */
.how-card__ico {
  font-size: 2.2rem;
  margin-bottom: 14px;
  line-height: 1;
}

/* One-liner label */
.how-card__label {
  font-size: .98rem;
  font-weight: 700;
  color: var(--w);
  letter-spacing: -.01em;
  line-height: 1.3;
}

/* Arrow separators */
.how-card__arrow {
  flex-shrink: 0;
  align-self: center;
  padding: 0 18px;
  font-size: 1.6rem;
  color: var(--y);
  opacity: .3;
  font-weight: 200;
}

/* ════════════════════════════════════════════
   PROJECT SPECS INTAKE FORM
════════════════════════════════════════════ */
.intake {
  padding: 88px 0;
  background: rgba(6, 12, 20, .74);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--bdr);
}

.intake__wrap {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 72px;
  align-items: start;
}

.intake__title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.06;
  color: var(--w);
  margin: 12px 0 17px;
}

.intake__sub {
  font-size: .87rem;
  color: var(--mu);
  line-height: 1.76;
  margin-bottom: 26px;
  max-width: 310px
}

.intake__ticks {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px
}

.intake__ticks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .84rem;
  color: var(--mu)
}

.tick {
  color: var(--y);
  font-weight: 900;
  flex-shrink: 0
}

.intake__email {
  font-size: .8rem;
  font-weight: 600;
  color: var(--y);
  border-bottom: 1px solid rgba(242, 193, 0, .3);
  padding-bottom: 2px;
  display: inline-block;
  transition: all .25s ease;
}

.intake__email:hover {
  border-color: var(--y);
  opacity: .8
}

.intake__form-wrap {
  background: rgba(36, 52, 71, .8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--bdr);
  border-radius: 12px;
  padding: 32px;
}

.if-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px
}

.if-row--2 {
  grid-template-columns: 1fr 2fr
}

.if-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 17px
}

.if-field label {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mu);
}

.if-field input,
.if-field select,
.if-field textarea {
  background: rgba(12, 20, 30, .9);
  border: 1px solid var(--bdr-d);
  border-radius: 6px;
  color: var(--tx);
  font-family: var(--f);
  font-size: .87rem;
  padding: 10px 13px;
  outline: none;
  width: 100%;
  resize: none;
  transition: all .25s ease;
  caret-color: var(--y);
}

.if-field input:focus,
.if-field select:focus,
.if-field textarea:focus {
  border-color: var(--y);
  box-shadow: 0 0 0 3px rgba(242, 193, 0, .09);
  background: rgba(6, 12, 20, .95);
}

.if-field input::placeholder,
.if-field textarea::placeholder {
  color: var(--dm)
}

.if-field select option {
  background: var(--bg-c);
  color: var(--tx)
}

.if-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.if-chip {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dm);
  padding: 5px 13px;
  border: 1px solid var(--bdr-d);
  border-radius: 4px;
  background: rgba(12, 20, 30, .9);
  transition: all .22s ease;
  cursor: pointer;
}

.if-chip:hover {
  border-color: rgba(242, 193, 0, .3);
  color: var(--tx);
  transform: translateY(-1px)
}

.if-chip--on {
  border-color: var(--y);
  color: var(--y);
  background: var(--ys)
}

.if-drop {
  background: rgba(12, 20, 30, .9);
  border: 1px dashed var(--bdr);
  border-radius: 7px;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: all .25s ease;
}

.if-drop:hover,
.if-drop.on {
  border-color: var(--y);
  background: var(--ys)
}

.ifd-ico {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 7px
}

.if-drop p {
  font-size: .8rem;
  color: var(--mu);
  margin-bottom: 3px
}

.ifd-hint {
  font-size: .64rem !important;
  color: var(--dm) !important
}

.ifd-browse {
  color: var(--y);
  font-weight: 600;
  cursor: pointer
}

.if-filelist {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px
}

.ifl-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 20, 30, .9);
  border: 1px solid var(--bdr-d);
  border-radius: 5px;
  padding: 6px 11px;
  font-size: .73rem;
  color: var(--mu);
}

.ifl-ico {
  color: var(--y);
  flex-shrink: 0
}

.ifl-size {
  margin-left: auto;
  font-size: .62rem;
  color: var(--dm)
}

.if-confirm {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(242, 193, 0, .07);
  border: 1px solid rgba(242, 193, 0, .22);
  border-radius: 7px;
  padding: 16px 17px;
  margin-top: 13px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}

.if-confirm.on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto
}

.ifc-ico {
  font-size: 1.1rem;
  color: var(--y);
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1.3
}

.if-confirm strong {
  display: block;
  font-size: .85rem;
  color: var(--w);
  margin-bottom: 2px
}

.if-confirm p {
  font-size: .78rem;
  color: var(--mu);
  line-height: 1.55
}

/* ════════════════════════════════════════════
   FOOTER / CONTACT BLOCK
════════════════════════════════════════════ */
.footer {
  background: rgba(5, 10, 17, .96);
  border-top: 1px solid var(--bdr);
  padding-top: 60px;
}

/* Quick contact block */
.footer__contact-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--bdr-d);
  margin-bottom: 48px;
}

.footer__contact-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--w);
  line-height: 1.1;
  margin-bottom: 10px;
}

.footer__contact-sub {
  font-size: .85rem;
  color: var(--mu);
  line-height: 1.7;
  max-width: 300px;
}

.qform {
  display: flex;
  flex-direction: column;
  gap: 11px
}

.qf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px
}

.qform input,
.qform textarea {
  background: rgba(12, 20, 30, .9);
  border: 1px solid var(--bdr-d);
  border-radius: 6px;
  color: var(--tx);
  font-family: var(--f);
  font-size: .85rem;
  padding: 10px 13px;
  outline: none;
  width: 100%;
  resize: none;
  transition: all .25s ease;
  caret-color: var(--y);
}

.qform input:focus,
.qform textarea:focus {
  border-color: var(--y);
  box-shadow: 0 0 0 3px rgba(242, 193, 0, .09);
}

.qform input::placeholder,
.qform textarea::placeholder {
  color: var(--dm)
}

.qf-confirm {
  display: none;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  color: var(--y);
  font-weight: 600;
  background: rgba(242, 193, 0, .07);
  border: 1px solid rgba(242, 193, 0, .22);
  border-radius: 7px;
  padding: 10px 14px;
}

.qf-confirm.on {
  display: flex
}

/* Footer grid */
.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--bdr-d);
  margin-bottom: 24px;
}

.footer__brand {
  display: flex;
  flex-direction: column
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 11px
}

.footer__logo-img {
  height: 60px;
  width: auto;
  border-radius: 5px;
  object-fit: contain;
  filter: drop-shadow(0 1px 5px rgba(0, 0, 0, .55));
}

.footer__logo-text {
  font-size: .96rem;
  font-weight: 700;
  color: var(--w);
  letter-spacing: -.01em
}

.footer__tagline {
  font-size: .77rem;
  color: var(--mu);
  margin-top: 11px;
  line-height: 1.6;
  max-width: 220px
}

.footer__col {
  display: flex;
  flex-direction: column
}

.footer__col h5 {
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--y);
  margin-bottom: 13px;
}

.footer__col a {
  font-size: .78rem;
  color: var(--mu);
  padding: 4px 0;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: all .22s ease;
  cursor: pointer;
}

.footer__col a:hover {
  color: var(--w);
  border-color: rgba(255, 255, 255, .1)
}

.footer__btm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 30px;
}

.footer__btm span {
  font-size: .69rem;
  color: var(--dm)
}

.footer__hw {
  font-size: .62rem !important;
  opacity: .38
}

/* ════════════════════════════════════════════
   MODAL
════════════════════════════════════════════ */
.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(4, 8, 16, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.modal-bg.open {
  opacity: 1;
  pointer-events: all
}

.modal {
  background: var(--bg-c);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  max-height: 91vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(32px) scale(.97);
  transition: transform .38s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 48px 120px rgba(0, 0, 0, .74), 0 0 70px rgba(242, 193, 0, .08);
}

.modal-bg.open .modal {
  transform: translateY(0) scale(1)
}

/* Top bar */
.modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 20px;
  border-bottom: 1px solid var(--bdr-d);
  flex-shrink: 0;
}

.modal__bar-left {
  display: flex;
  align-items: center;
  gap: 16px
}

.modal__num {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--y);
  opacity: .62;
  letter-spacing: -.03em;
  line-height: 1;
  flex-shrink: 0;
}

.modal__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--w);
  letter-spacing: -.02em;
  line-height: 1.2
}

.modal__sub {
  font-size: .7rem;
  color: var(--mu);
  margin-top: 3px;
  letter-spacing: .08em;
  text-transform: uppercase
}

/* High-contrast yellow close button */
.modal__close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bg-blk);
  background: var(--y);
  padding: 9px 18px;
  border-radius: 6px;
  border: 2px solid var(--y);
  transition: all .22s ease;
  flex-shrink: 0;
}

.modal__close:hover {
  background: var(--yd);
  border-color: var(--yd);
  box-shadow: 0 0 18px rgba(242, 193, 0, .4);
}

/* Scrollable body */
.modal__body {
  overflow-y: auto;
  padding: 28px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(242, 193, 0, .28) transparent;
}

.modal__body::-webkit-scrollbar {
  width: 5px
}

.modal__body::-webkit-scrollbar-thumb {
  background: rgba(242, 193, 0, .28);
  border-radius: 4px
}

.modal__section-hdr {
  margin-bottom: 16px
}

.modal__section-hdr--desc {
  margin-top: 32px
}

/* Portfolio gallery — FIRST */
.modal__gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}

.gi {
  background: var(--bg-d);
  border: 1px solid var(--bdr-d);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .25s ease;
}

.gi:hover {
  border-color: var(--bdr);
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .4), 0 0 18px rgba(242, 193, 0, .07);
}

.gi__thumb {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gi__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 193, 0, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 193, 0, .05) 1px, transparent 1px);
  background-size: 22px 22px;
}

.gi__emo {
  font-size: 2.8rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4))
}

.gi__body {
  padding: 13px 14px
}

.gi__n {
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--y);
  opacity: .72;
  margin-bottom: 3px
}

.gi__name {
  font-size: .86rem;
  font-weight: 700;
  color: var(--w);
  margin-bottom: 4px;
  line-height: 1.2
}

.gi__meta {
  font-size: .7rem;
  color: var(--mu);
  line-height: 1.5
}

.gi__tag {
  display: inline-block;
  margin-top: 7px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--y);
  background: var(--ys);
  border: 1px solid rgba(242, 193, 0, .22);
  padding: 2px 8px;
  border-radius: 3px;
}

.gi--1 .gi__thumb {
  background: linear-gradient(135deg, #1a2540 0%, #0e1e32 100%)
}

.gi--2 .gi__thumb {
  background: linear-gradient(135deg, #1e2030 0%, #121828 100%)
}

.gi--3 .gi__thumb {
  background: linear-gradient(135deg, #0e2030 0%, #162030 100%)
}

.gi--4 .gi__thumb {
  background: linear-gradient(135deg, #1a1e28 0%, #0e1620 100%)
}

/* Description block — SECOND */
.modal__desc {
  background: var(--bg-blk);
  border: 1px solid var(--bdr-d);
  border-radius: var(--r);
  padding: 22px 26px;
}

.modal__desc p {
  font-size: .86rem;
  color: var(--mu);
  line-height: 1.76;
  margin-bottom: 10px
}

.modal__desc p:last-of-type {
  margin-bottom: 0
}

.modal__desc ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px
}

.modal__desc ul li {
  font-size: .83rem;
  color: var(--mu);
  padding-left: 14px;
  position: relative;
}

.modal__desc ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: var(--y);
  opacity: .6;
}

/* Modal footer */
.modal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-top: 1px solid var(--bdr-d);
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.modal__order {
  font-size: .82rem;
  padding: 10px 22px
}

.modal__foot-note {
  font-size: .7rem;
  color: var(--dm)
}

/* ════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════ */
.sr {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease
}

.sr.in {
  opacity: 1;
  transform: translateY(0)
}

.sr-d1 {
  transition-delay: .08s
}

.sr-d2 {
  transition-delay: .16s
}

.sr-d3 {
  transition-delay: .24s
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .mat__grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer__top {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr
  }

  .intake__wrap {
    grid-template-columns: 1fr;
    gap: 44px
  }

  .footer__contact-block {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .modal__gal {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 860px) {
  .how__grid {
    flex-direction: column
  }

  .how-card__arrow {
    display: none
  }
}

@media (max-width: 768px) {
  .nav__burger {
    display: flex
  }

  .nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(8, 14, 22, .98);
    border-bottom: 1px solid var(--bdr);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 0 18px;
    transform: translateY(-115%);
    transition: transform .28s ease;
    z-index: 898;
  }

  .nav__menu.open {
    transform: translateY(0)
  }

  .nm-link {
    padding: 11px var(--px)
  }

  .nav__cta {
    margin: 7px var(--px) 0;
    justify-content: center;
    border-radius: var(--r)
  }

  .hero__h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem)
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start
  }

  .if-row,
  .if-row--2 {
    grid-template-columns: 1fr
  }

  .intake__form-wrap {
    padding: 22px
  }

  .qf-row {
    grid-template-columns: 1fr
  }

  .footer__top {
    grid-template-columns: 1fr
  }

  .footer__btm {
    flex-direction: column;
    align-items: flex-start
  }

  .modal__gal {
    grid-template-columns: 1fr
  }

  .modal__bar {
    padding: 14px 16px 12px;
    flex-wrap: wrap;
    gap: 12px
  }

  .modal__body {
    padding: 16px
  }

  .modal__foot {
    padding: 13px 16px
  }
}

@media (max-width: 480px) {
  .mat__grid {
    grid-template-columns: 1fr
  }

  .nav__logo-text {
    font-size: .9rem
  }

  .nav__logo-img {
    height: 38px
  }
}

/* ════════════════════════════════════════════
   Gallery image styling
════════════════════════════════════════════ */
.gi__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Shows the full image without cropping */
  object-position: center;
  position: relative;
  z-index: 1;
  display: block;
  transition: transform 0.4s ease;
  background: var(--bg-d);
  padding: 10px;
  /* Adds a little padding around the image */
}

.gi__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  display: block;
  transition: transform 0.3s ease;
}

.gi:hover .gi__img {
  transform: scale(1.05);
}

.gi__thumb {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-d);
}

.gi__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 193, 0, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 193, 0, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 2;
}

/* Hide the old emoji span */
.gi__emo {
  display: none;
}

.gi__thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-d);
  padding: 10px;
}

.gi__img {
  width: auto;
  height: auto;
  max-width: 120%;
  max-height: 120%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.gi:hover .gi__img {
  transform: scale(1.08) rotate(-2deg);
}

/* Remove grid overlay */
.gi__thumb::before {
  display: none;
}

/* ── DATE INPUT — Yellow Calendar Icon ── */
.if-field input[type="date"] {
  color-scheme: light; /* Makes the native picker popup dark-themed */
}

.if-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(70%) sepia(90%) saturate(1000%) hue-rotate(1deg) brightness(105%);
  cursor: pointer;
  opacity: 1;
}

.if-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
  filter: invert(75%) sepia(100%) saturate(1200%) hue-rotate(1deg) brightness(115%);
}