/*
 * CLEARLINES STRIPING
 * Design: Lithic-inspired luxury minimal system
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ============================================================
   TOKENS
============================================================ */
:root {
  --yellow:   #F5C200;
  --yellow-2: #D4A500;
  --black:    #0c0c0c;
  --dark:     #141414;
  --dark-2:   #1c1c1c;
  --white:    #ffffff;
  --off:      #f5f2ee;
  --light:    #fafaf8;
  --g100:     #e8e4de;
  --g300:     #b8b4ae;
  --g500:     #888480;
  --g700:     #444240;

  --font:      'DM Sans', system-ui, -apple-system, sans-serif;
  --max:       1400px;
  --gutter:    clamp(1.5rem, 5vw, 5rem);

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--off);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.loading { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 0; }
::selection { background: var(--yellow); color: var(--black); }

/* ============================================================
   CURSOR
============================================================ */
.c-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--yellow);
  border-radius: 50%;
  top: -3px; left: -3px;
  pointer-events: none;
  z-index: 10001;
}

.c-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(245, 194, 0, 0.4);
  border-radius: 50%;
  top: -16px; left: -16px;
  pointer-events: none;
  z-index: 10000;
  transition: width .25s var(--ease-expo), height .25s var(--ease-expo),
              top .25s var(--ease-expo), left .25s var(--ease-expo),
              border-color .2s, opacity .2s;
}

.c-hover .c-ring {
  width: 56px; height: 56px;
  top: -28px; left: -28px;
  border-color: rgba(245, 194, 0, .65);
}

@media (pointer: coarse) {
  body { cursor: auto; }
  .c-dot, .c-ring { display: none; }
}

/* ============================================================
   SCROLL PROGRESS
============================================================ */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--yellow);
  z-index: 9000;
  transform-origin: left;
  transform: scaleX(0);
}

/* ============================================================
   INTRO SEQUENCE
============================================================ */
.intro {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  pointer-events: none;
}

.intro.out {
  opacity: 0;
  visibility: hidden;
  transition: opacity .85s var(--ease-expo), visibility .85s;
}

.intro-lockup {
  display: flex;
  align-items: center;
  gap: 0;
}

.intro-mark {
  height: clamp(7.5rem, 17vw, 16rem);
  width: auto;
  object-fit: contain;
  display: block;
  margin-right: -5rem;
}

.intro-word {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.intro-clip {
  overflow: hidden;
  display: inline-block;
}

.intro-clear,
.intro-lines {
  display: inline-block;
  font-size: clamp(4.2rem, 10.5vw, 9.5rem);
  font-weight: 300;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-family: var(--font);
  line-height: 1;
}

.intro-clear { color: var(--black); }
.intro-lines { color: var(--yellow); }

/* ============================================================
   HEADER / NAV
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0.6rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding .4s var(--ease-expo), background .4s, backdrop-filter .4s;
}

.header.stuck {
  padding: 0.4rem var(--gutter);
  background: rgba(12, 12, 12, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--g700);
}

.h-logo {
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0;
  transition: color .3s;
}

.h-logo-badge {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.h-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.f-brand-name .h-logo-badge {
  width: 88px;
  height: 88px;
}

.h-links {
  display: flex;
  gap: 2.5rem;
}

.h-links a {
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  position: relative;
  transition: color .2s;
}

.h-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--yellow);
  transition: width .3s var(--ease-expo);
}

.h-links a:hover, .h-links a.active { color: var(--white); }
.h-links a:hover::after, .h-links a.active::after { width: 100%; }

.h-cta {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  padding: .6rem 1.4rem;
  transition: border-color .2s, background .2s, color .2s;
}

.h-cta:hover { border-color: var(--yellow); background: var(--yellow); color: var(--black); }

.h-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.h-burger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}

.header.open .h-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.open .h-burger span:nth-child(2) { opacity: 0; }
.header.open .h-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}

.mobile-nav.open { opacity: 1; visibility: visible; }

.mobile-nav li { overflow: hidden; text-align: center; margin-bottom: .5rem; }

.mobile-nav a {
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 300;
  color: var(--white);
  display: inline-block;
  transform: translateY(105%);
  transition: transform .55s var(--ease-expo), color .2s;
  line-height: 1.1;
}

.mobile-nav.open li:nth-child(1) a { transform: translateY(0); transition-delay: .05s; }
.mobile-nav.open li:nth-child(2) a { transform: translateY(0); transition-delay: .1s; }
.mobile-nav.open li:nth-child(3) a { transform: translateY(0); transition-delay: .15s; }
.mobile-nav.open li:nth-child(4) a { transform: translateY(0); transition-delay: .2s; }

.mobile-nav a:hover { color: var(--yellow); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-bg img {
  width: 100%; height: 150%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12,12,12,.8) 0%, rgba(12,12,12,.15) 50%, rgba(12,12,12,.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter) clamp(4rem, 8vh, 7rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 3rem;
}

.hero-title {
  font-size: clamp(4.5rem, 10vw, 11rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--white);
  overflow: hidden;
}

.hero-title-line {
  overflow: hidden;
  display: block;
}

.hero-card {
  flex-shrink: 0;
  max-width: 260px;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(12,12,12,.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: block;
  transition: border-color .2s;
  opacity: 0;
}

.hero-card:hover { border-color: var(--yellow); }

.hero-card-label {
  font-size: .55rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .75rem;
}

.hero-card-title {
  font-size: .95rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.hero-card-arrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g300);
  transition: color .2s;
}

.hero-card:hover .hero-card-arrow { color: var(--white); }

.hero-scroll {
  position: absolute;
  bottom: clamp(2rem,5vh,4rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--yellow);
  animation: scrollDrop 1.8s 2s infinite ease-in-out;
}

@keyframes scrollDrop {
  0%   { top: -100%; }
  100% { top: 100%; }
}

.hero-scroll-label {
  font-size: .52rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  writing-mode: vertical-rl;
}

/* ============================================================
   CONTAINER / SECTION
============================================================ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section     { padding: clamp(5rem, 12vh, 10rem) 0; }
.section-sm  { padding: clamp(3rem, 7vh, 6rem) 0; }

.bg-light  { background: var(--light); color: var(--black); }
.bg-white  { background: var(--white); color: var(--black); }
.bg-off    { background: var(--off); color: var(--black); }
.bg-dark   { background: var(--dark); color: var(--off); }
.bg-black  { background: var(--black); color: var(--off); }

/* ============================================================
   TYPOGRAPHY
============================================================ */
.label {
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--yellow);
}

.display-xl {
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.display-lg {
  font-size: clamp(2.5rem, 5.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.display-md {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.015em;
}

.heading {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.body-lg {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
}

.body-md {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.75;
}

.body-sm {
  font-size: .78rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .9rem 1.8rem;
  border: 1px solid currentColor;
  transition: background .2s, color .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}

.btn-dark {
  color: var(--black);
  border-color: var(--black);
}
.btn-dark:hover {
  background: var(--black);
  color: var(--white);
}

.btn-white {
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}
.btn-white:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.btn-yellow {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}
.btn-yellow:hover {
  background: var(--yellow-2);
  border-color: var(--yellow-2);
}

.btn svg { flex-shrink: 0; }

.arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: inherit;
  opacity: .6;
  transition: opacity .2s, gap .3s var(--ease-expo);
}

.arrow-btn:hover { opacity: 1; gap: .9rem; }

/* ============================================================
   INTRO GRID (2-col text section)
============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--g100);
}

.dark-grid {
  border-bottom-color: var(--g700) !important;
}

.intro-grid + .intro-stats { padding-top: 4rem; }

.intro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.intro-stat {
  padding: 2rem;
  border-right: 1px solid var(--g100);
}

.intro-stat:first-child { padding-left: 0; }
.intro-stat:last-child  { border-right: none; }

.intro-stat .num {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--black);
  line-height: 1;
}

.intro-stat .lbl {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g500);
  margin-top: .4rem;
}

/* ============================================================
   COMPLIANCE GRID (Why It Matters)
============================================================ */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--g700);
  margin-top: 4rem;
}

.compliance-item {
  background: var(--dark);
  padding: 2.5rem;
  transition: background .3s;
  position: relative;
}

.compliance-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--yellow);
  transition: height .4s var(--ease-expo);
}

.compliance-item:hover { background: var(--dark-2); }
.compliance-item:hover::before { height: 100%; }

.ci-tag {
  display: inline-block;
  font-size: .5rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(245,194,0,.35);
  padding: .3rem .7rem;
  margin-bottom: 1.2rem;
  font-weight: 400;
  transition: border-color .3s;
}

.compliance-item:hover .ci-tag { border-color: var(--yellow); }

.ci-title {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: .75rem;
  line-height: 1.25;
}

.ci-desc {
  font-size: .8rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--g500);
}

/* ============================================================
   SERVICES CARDS
============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--g100);
}

.svc-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.svc-card-img {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.svc-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-expo);
}

.svc-card:hover .svc-card-img img { transform: scale(1.06); }

.svc-card-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svc-card-num {
  font-size: .55rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .75rem;
}

.svc-card-title {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: -.01em;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: .75rem;
}

.svc-card-desc {
  font-size: .8rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--g500);
  flex: 1;
  margin-bottom: 1.5rem;
}

.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--black);
  opacity: .5;
  transition: opacity .2s, gap .3s var(--ease-expo);
}

.svc-card:hover .svc-card-link { opacity: 1; gap: .8rem; }

/* ============================================================
   NUMBERED PROCESS ITEMS
============================================================ */
.num-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.num-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--g100);
  position: relative;
}

.num-item:first-child { padding-left: 0; }
.num-item:last-child  { border-right: none; }

.ni-big {
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 300;
  color: var(--g100);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  transition: color .4s;
}

.num-item:hover .ni-big { color: var(--yellow); }

.ni-title {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}

.ni-desc {
  font-size: .8rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--g500);
}

/* ============================================================
   FULL-BLEED FEATURE
============================================================ */
.feature-full {
  position: relative;
  height: clamp(480px, 65vh, 820px);
  overflow: hidden;
}

.feature-full-img {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.feature-full-img img {
  width: 100%; height: 150%;
  object-fit: cover;
  will-change: transform;
}

.feature-full-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(12,12,12,.88) 0%, rgba(12,12,12,.35) 60%, transparent 100%);
}

.feature-full-content {
  position: absolute;
  bottom: clamp(3rem,7vh,6rem);
  left: var(--gutter);
  max-width: 620px;
  z-index: 1;
}

.feature-tag {
  font-size: .55rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.feature-meta {
  display: flex;
  gap: 2rem;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 2rem;
}

/* ============================================================
   STATS ROW
============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-col {
  padding: 3rem 2rem;
  border-right: 1px solid var(--g700);
  text-align: center;
}

.stat-col:last-child { border-right: none; }

.stat-big {
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1;
}

.stat-big em { color: var(--yellow); font-style: normal; }

.stat-word {
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  letter-spacing: -.01em;
  line-height: 1.2;
}

.stat-desc {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--g500);
  margin-top: .5rem;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--g100);
}

.review-card {
  background: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.review-card.alt { background: var(--off); }

/* ============================================================
   CTA SPLIT
============================================================ */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cta-img-side {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.cta-img-side img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-expo);
}

.cta-section:hover .cta-img-side img { transform: scale(1.04); }

.cta-text-side {
  padding: clamp(4rem, 10vh, 8rem) clamp(3rem, 5vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-text-side.light {
  background: var(--light);
  color: var(--black);
}

/* ============================================================
   MARQUEE
============================================================ */
.marquee {
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid var(--g100);
  border-bottom: 1px solid var(--g100);
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marq 24s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g500);
  font-weight: 300;
}

.mi-dot {
  width: 4px; height: 4px;
  background: var(--yellow);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: .5;
}

@keyframes marq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  position: relative;
  height: 60svh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.ph-img {
  position: absolute; inset: 0;
}

.ph-img img {
  width: 100%; height: 150%;
  object-fit: cover;
  will-change: transform;
}

.ph-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,12,.9) 0%, rgba(12,12,12,.3) 100%);
}

.ph-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter) clamp(3rem, 7vh, 6rem);
}

.ph-label {
  font-size: .55rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: .75rem;
}

.ph-title {
  font-size: clamp(3.5rem, 9vw, 9rem);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: .95;
  color: var(--white);
}

.ph-title em { font-style: italic; color: rgba(255,255,255,.4); }

/* ============================================================
   SERVICE ROWS (services page)
============================================================ */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.svc-row-flip .svc-row-img { order: 2; }
.svc-row-flip .svc-row-text { order: 1; }

.svc-row-img {
  overflow: hidden;
}

.svc-row-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-expo);
}

.svc-row:hover .svc-row-img img { transform: scale(1.04); }

.svc-row-text {
  padding: clamp(3rem, 7vh, 6rem) clamp(2.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-list {
  margin-top: .5rem;
}

.svc-list li {
  font-size: .82rem;
  font-weight: 300;
  color: var(--g500);
  line-height: 1.6;
  padding: .5rem 0;
  border-bottom: 1px solid var(--g100);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.svc-list li::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--yellow);
  flex-shrink: 0;
}

/* ============================================================
   HOME GALLERY TEASER
============================================================ */
.home-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.hg-main {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.hg-stack {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hg-bottom {
  grid-column: 1 / 4;
  grid-row: 2 / 3;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.hg-small {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.hg-main img, .hg-small img, .hg-bottom img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.hg-main { aspect-ratio: 4 / 3; }
.hg-small { min-height: 0; }
.hg-small img { aspect-ratio: 4 / 3; }
.hg-bottom { aspect-ratio: 21 / 6; }
.hg-main:hover img, .hg-small:hover img, .hg-bottom:hover img { transform: scale(1.04); }
.hg-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: .5rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: .32rem .65rem;
  border-radius: 2px;
}

/* ── Home About Teaser ────────────────────────────────────────── */
.home-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.home-about-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}
.home-about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.home-about-img:hover img { transform: scale(1.03); }

@media (max-width: 900px) {
  .home-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .hg-main { grid-column: 1 / 3; }
  .hg-stack { grid-column: 1 / 3; grid-row: auto; flex-direction: row; }
  .hg-small img { aspect-ratio: 1 / 1; }
  .hg-bottom { grid-column: 1 / 3; }
  .hg-bottom { aspect-ratio: 16 / 6; }
  .home-about-split { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hg-bottom { display: none; }
  .hg-stack { flex-direction: column; }
}

/* ============================================================
   SERVICE SHOWCASE GRID (card layout)
============================================================ */
.svc-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(3rem, 5vw, 5rem) clamp(2.5rem, 4vw, 4rem);
}

.svc-showcase-card {
  display: flex;
  flex-direction: column;
}

.svc-showcase-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.svc-showcase-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.svc-showcase-card:hover .svc-showcase-img img {
  transform: scale(1.04);
}

.svc-showcase-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svc-showcase-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--black);
  margin-top: .6rem;
  margin-bottom: 1.1rem;
}

.svc-showcase-desc {
  font-size: clamp(.82rem, 1.2vw, .95rem);
  font-weight: 300;
  color: var(--g500);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.svc-showcase-cta {
  margin-top: auto;
  padding-top: 2rem;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 8rem);
}

.c-info-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.c-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--g100);
}

.c-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--g100);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  flex-shrink: 0;
  transition: border-color .2s;
}

.c-detail:hover .c-icon { border-color: var(--yellow); }

.c-lbl { font-size: .52rem; letter-spacing: .3em; text-transform: uppercase; color: var(--g500); margin-bottom: .2rem; }
.c-val { font-size: .88rem; font-weight: 300; color: var(--black); }

.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}

.form-field label {
  font-size: .52rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--g500);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--off);
  border: 1px solid var(--g100);
  color: var(--black);
  padding: .9rem 1rem;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 300;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--yellow); }

.form-field textarea { min-height: 140px; resize: vertical; }
.form-field select option { background: var(--off); }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--black);
  padding: clamp(4rem, 9vh, 7rem) var(--gutter) 0;
  border-top: 1px solid var(--g700);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: clamp(3rem,7vh,5rem);
  border-bottom: 1px solid var(--g700);
}

.f-brand-name {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 300;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.f-brand p {
  font-size: .78rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--g500);
  max-width: 240px;
  margin-bottom: 1.5rem;
}

.f-social {
  display: flex;
  gap: .8rem;
}

.f-social a {
  width: 28px; height: 28px;
  border: 1px solid var(--g700);
  display: flex; align-items: center; justify-content: center;
  color: var(--g500);
  font-size: .55rem;
  letter-spacing: .1em;
  transition: border-color .2s, color .2s;
}

.f-social a:hover { border-color: var(--yellow); color: var(--yellow); }

.f-col h4 {
  font-size: .55rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--g700);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.f-col li { margin-bottom: .6rem; }

.f-col a {
  font-size: .78rem;
  font-weight: 300;
  color: var(--g500);
  transition: color .2s;
}

.f-col a:hover { color: var(--yellow); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .62rem;
  color: var(--g700);
  max-width: var(--max);
  margin: 0 auto;
}

.footer-bottom a { color: var(--yellow); transition: opacity .2s; }
.footer-bottom a:hover { opacity: .7; }

/* ============================================================
   ANIMATION INITIAL STATES
============================================================ */
[data-anim] { will-change: transform, opacity; }

/* ============================================================
   HORIZONTAL SCROLL (mobile carousels)
============================================================ */
.hs-clip {
  overflow: hidden;
  position: relative;
  width: 100%;
  touch-action: pan-y;
}

.hs-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 1.2rem 0 .25rem;
}

.hs-dot {
  width: 20px; height: 2px;
  background: var(--g100);
  transition: background .25s, width .3s var(--ease-expo);
  flex-shrink: 0;
}

.hs-dot.on { background: var(--yellow); width: 32px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .cards-grid      { grid-template-columns: 1fr 1fr; }
  .footer-top      { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .num-items       { grid-template-columns: 1fr 1fr; }
  .num-item:nth-child(2) { border-right: none; }
  .compliance-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .intro-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .cta-section  { grid-template-columns: 1fr; }
  .cta-img-side { min-height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-inner   { grid-template-columns: 1fr; }
  .hero-card    { display: none; }
  .intro-stats  { grid-template-columns: repeat(2, 1fr); }
  .intro-stat:nth-child(2) { border-right: none; }
  .intro-stat:nth-child(4) { border-right: none; }
  .stats-row    { grid-template-columns: repeat(2, 1fr); }
  .stat-col:nth-child(2) { border-right: none; }
  .stat-col:nth-child(4) { border-right: none; }
  .svc-row           { grid-template-columns: 1fr; min-height: auto; }
  .svc-row-img       { order: -1 !important; min-height: 280px; }
  .svc-row-text      { order: 1 !important; }
  .svc-showcase-grid { grid-template-columns: 1fr; }
  .reviews-grid      { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .h-links, .h-cta { display: none; }
  .h-burger { display: flex; }
  body { cursor: auto; }
  .c-dot, .c-ring { display: none; }

  .hero-title { font-size: clamp(3.2rem, 13vw, 8rem); }
  .hero-scroll { display: none; }
  .page-hero { height: 52svh; min-height: 320px; }

  .section    { padding: clamp(3rem, 8vh, 6rem) 0; }
  .section-sm { padding: clamp(2rem, 5vh, 4rem) 0; }

  .num-items { grid-template-columns: 1fr; }
  .num-item  { border-right: none; border-bottom: 1px solid var(--g100); padding: 2rem 0; }

  .cards-grid,
  .reviews-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    background: transparent !important;
    width: max-content;
    padding: 0 var(--gutter) 0.5rem;
    align-items: stretch;
  }

  .svc-card {
    flex: 0 0 80vw;
    width: 80vw;
    border: 1px solid var(--g100);
  }

  .review-card,
  .review-card.alt {
    flex: 0 0 84vw;
    width: 84vw;
    background: var(--white) !important;
    border: 1px solid var(--g100);
  }

  .intro-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0;
    padding: 2rem 0 1.5rem;
  }

  .intro-stat {
    padding: 1.5rem !important;
    border-right: 1px solid var(--g100);
    border-bottom: 1px solid var(--g100);
  }

  .intro-stat:nth-child(2) { border-right: none; }
  .intro-stat:nth-child(3),
  .intro-stat:nth-child(4) { border-bottom: none; }
  .intro-stat:nth-child(4) { border-right: none; }

  .stats-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
  }

  .stat-col {
    border-right: 1px solid var(--g700) !important;
    border-bottom: 1px solid var(--g700);
  }

  .stat-col:nth-child(2) { border-right: none !important; }
  .stat-col:nth-child(3),
  .stat-col:nth-child(4) { border-bottom: none; }
  .stat-col:nth-child(4) { border-right: none !important; }

  .form-row-2  { grid-template-columns: 1fr; }
  .footer-top  { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .compliance-grid { gap: 0; }
  .compliance-item { border-bottom: 1px solid var(--g700); }
}

/* ─── Reverse Marquee ─────────────────────────────────────────── */
.marquee-rev .marquee-inner { animation-direction: reverse; }
.marquee-rev { border-top: 1px solid var(--g100); }

/* ─── Chatbot ─────────────────────────────────────────────────── */
.cb-wrap {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}
.cb-toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(245,194,0,.3);
  transition: transform .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
}
.cb-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(245,194,0,.5);
}
.cb-icon-chat { color: var(--black); display: block; }
.cb-icon-close { color: var(--black); display: none; }
.cb-toggle.cb-active .cb-icon-chat { display: none; }
.cb-toggle.cb-active .cb-icon-close { display: block; }
.cb-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  font-size: .55rem;
  font-weight: 500;
  display: none;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}
.cb-window {
  width: min(360px, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.97);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  max-height: 480px;
}
.cb-window.cb-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.cb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.1rem;
  background: var(--black);
  flex-shrink: 0;
}
.cb-header-left { display: flex; align-items: center; gap: .6rem; }
.cb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
.cb-name { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); font-weight: 400; }
.cb-close {
  background: transparent; border: none;
  color: rgba(255,255,255,.45); cursor: pointer;
  padding: .2rem; display: flex; align-items: center; justify-content: center;
  transition: color .15s;
}
.cb-close:hover { color: var(--white); }
.cb-msgs {
  flex: 1; overflow-y: auto;
  padding: 1rem; display: flex;
  flex-direction: column; gap: .6rem;
  scroll-behavior: smooth;
}
.cb-msgs::-webkit-scrollbar { width: 3px; }
.cb-msgs::-webkit-scrollbar-thumb { background: var(--g200); border-radius: 2px; }
.cb-msg { display: flex; max-width: 88%; }
.cb-bot { align-self: flex-start; }
.cb-user { align-self: flex-end; }
.cb-bubble {
  padding: .65rem .85rem;
  border-radius: 10px;
  font-size: .8rem; font-weight: 300; line-height: 1.7;
  color: var(--black); background: #f6f6f6;
}
.cb-user .cb-bubble { background: var(--yellow); color: var(--black); font-weight: 400; }
.cb-bubble a { color: inherit; text-decoration: underline; font-weight: 500; }
.cb-bubble strong { font-weight: 500; }
.cb-typing { display: flex; align-items: center; padding: .75rem .85rem !important; }
.cb-typing span {
  display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--g300); margin: 0 2px;
  animation: cb-bounce .8s infinite alternate;
}
.cb-typing span:nth-child(2) { animation-delay: .2s; }
.cb-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes cb-bounce {
  from { opacity: .3; transform: translateY(0); }
  to   { opacity: 1;  transform: translateY(-3px); }
}
.cb-input-row {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem; border-top: 1px solid var(--g100);
  flex-shrink: 0; background: var(--white);
}
.cb-input {
  flex: 1; border: 1px solid var(--g100); border-radius: 6px;
  padding: .5rem .75rem; font-family: inherit;
  font-size: .8rem; font-weight: 300; color: var(--black);
  background: #f8f8f8; outline: none; transition: border-color .15s;
}
.cb-input:focus { border-color: var(--yellow); }
.cb-input::placeholder { color: var(--g300); }
.cb-send {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--yellow); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--black); transition: transform .15s;
}
.cb-send:hover { transform: scale(1.1); }
@media (max-width: 480px) {
  .cb-wrap { bottom: 1rem; right: 1rem; }
  .cb-toggle { width: 50px; height: 50px; }
}
