/* =============================================
   TRUE VISION CONSTRUCTION
   Modern Construction Theme
   Dark charcoal · Steel gray · Gold accent
   Mobile-first · CSS Custom Properties
   ============================================= */


/* ─── Design Tokens ─────────────────────────── */
:root {
  /* Palette */
  --c-bg:            #111114;
  --c-surface:       #1a1a1f;
  --c-surface-2:     #222228;
  --c-surface-3:     #2a2a31;
  --c-border:        rgba(255,255,255,.07);
  --c-border-strong: rgba(255,255,255,.13);
  --c-text:          #b8b8c0;
  --c-text-muted:    #6e6e7a;
  --c-heading:       #eeeef2;
  --c-accent:        #c9a96e;
  --c-accent-hover:  #dfc088;
  --c-accent-glow:   rgba(201,169,110,.15);
  --c-white:         #fff;
  --c-black:         #0a0a0c;
  --c-error:         #e74c4c;
  --c-success:       #22c55e;

  /* Typography */
  --ff-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --ff-body:    'Inter', -apple-system, system-ui, sans-serif;

  --fs-xs:   .75rem;
  --fs-sm:   .875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.75rem;
  --fs-4xl:  3.5rem;
  --fs-hero: clamp(2.5rem, 5.5vw, 5rem);

  --fw-normal:    400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;

  --lh-tight:   1.15;
  --lh-heading: 1.2;
  --lh-body:    1.65;

  /* Spacing */
  --space-xs:  .5rem;
  --space-sm:  .75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-section: clamp(5rem, 10vw, 9rem);

  /* Layout */
  --mw:        1240px;
  --mw-narrow: 720px;
  --header-h:  80px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;

  /* Motion */
  --ease:     cubic-bezier(.25,.46,.45,.94);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur:      .35s;
}


/* ─── Preloader ─────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--c-bg);
  display: grid;
  place-items: center;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner { text-align: center; }

.preloader__logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto var(--space-lg);
  display: block;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.preloader__bar {
  width: 120px;
  height: 3px;
  background: var(--c-surface-2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader__bar-fill {
  width: 0;
  height: 100%;
  background: var(--c-accent);
  border-radius: 2px;
  transition: width .3s var(--ease);
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: .7; }
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--c-accent-hover); }

ul { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

::selection {
  background: var(--c-accent);
  color: var(--c-black);
}

em {
  font-style: normal;
  color: var(--c-accent);
}

/* Focus — visible ring for keyboard users only */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}


/* ─── Skip Link (accessibility) ─────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  padding: var(--space-sm) var(--space-lg);
  background: var(--c-accent);
  color: var(--c-black);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top .25s var(--ease);
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--c-white);
  outline-offset: 2px;
}


/* ─── Layout ────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--mw);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.section {
  padding-block: var(--space-section);
}


/* ─── Section Header ────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header--left { text-align: left; }

.section-header__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--space-sm);
  padding: .35rem .85rem;
  background: var(--c-accent-glow);
  border: 1px solid rgba(201,169,110,.15);
  border-radius: 50px;
}

.section-header__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  color: var(--c-heading);
}

.section-header__desc {
  margin-top: var(--space-md);
  color: var(--c-text-muted);
  max-width: var(--mw-narrow);
  margin-inline: auto;
  line-height: 1.7;
}
.section-header--left .section-header__desc { margin-inline: 0; }


/* ─── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: .85rem 2rem;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: .02em;
  border-radius: var(--r-md);
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  /* min touch target */
  min-height: 48px;
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-black);
}
.btn--primary:hover {
  background: var(--c-accent-hover);
  color: var(--c-black);
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(201,169,110,.25),
    0 2px 8px rgba(201,169,110,.15);
}

/* Shine sweep */
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transition: none;
}
.btn--primary:hover::after {
  animation: btnShine .6s ease forwards;
}
@keyframes btnShine {
  to { left: 125%; }
}

/* Click ripple — span injected by JS */
.btn .btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transform: scale(0);
  animation: btnRipple .5s ease-out forwards;
  pointer-events: none;
}
@keyframes btnRipple {
  to { transform: scale(4); opacity: 0; }
}

.btn--ghost {
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--c-white);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  transform: translateY(-2px);
  background: var(--c-accent-glow);
}

.btn--dark {
  background: var(--c-bg);
  color: var(--c-accent);
  border: 1.5px solid var(--c-border-strong);
}
.btn--dark:hover {
  background: var(--c-surface);
  color: var(--c-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.btn--lg  { padding: 1rem 2.4rem; font-size: var(--fs-base); }
.btn--full { width: 100%; }


/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--header-h);
  background: rgba(17,17,20,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    background var(--dur),
    border-color var(--dur),
    box-shadow var(--dur),
    transform .4s var(--ease);
}
.header--scrolled {
  background: rgba(17,17,20,.95);
  border-bottom-color: var(--c-border);
  box-shadow: 0 1px 20px rgba(0,0,0,.3);
}
.header--hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-lg);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--c-white);
  flex-shrink: 0;
}
.logo:hover { color: var(--c-white); }

.logo__img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav */
.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-muted);
  position: relative;
  padding-block: .25rem;
  transition: color var(--dur);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  border-radius: 1px;
  transition: width var(--dur) var(--ease);
}
.nav__link:hover,
.nav__link.active { color: var(--c-white); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.header__cta {
  margin-left: var(--space-md);
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  /* 44px touch target */
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--dur), opacity var(--dur);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay — moved from JS injection */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur), visibility var(--dur);
  z-index: 998;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 900px) {
  .header__cta { display: none; }
  .hamburger   { display: flex; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 80vw);
    background: var(--c-surface);
    border-left: 1px solid var(--c-border);
    padding: calc(var(--header-h) + var(--space-xl)) var(--space-xl) var(--space-xl);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease-out);
    z-index: 999;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.open { transform: translateX(0); }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .nav__link {
    font-size: var(--fs-md);
    padding-block: var(--space-xs);
  }
}


/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */

/* Entrance keyframes */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroImgScale {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
@keyframes heroLineGrow {
  from { height: 0; }
  to   { height: 64px; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .6; }
  50%      { transform: scaleY(1.6); opacity: 1; }
}

/* Staggered entrance */
.hero__anim {
  opacity: 0;
  transform: translateY(32px);
  animation: heroFadeUp .9s var(--ease) forwards;
  animation-delay: calc(var(--delay, 0) * .15s + .4s);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Background image */
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: heroImgScale 1.6s var(--ease) forwards;
  will-change: transform;
}

/* Multi-stop gradient overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(17,17,20,.35)  0%,
      rgba(17,17,20,.5)   30%,
      rgba(17,17,20,.78)  65%,
      rgba(17,17,20,.95)  85%,
      var(--c-bg)         100%),
    linear-gradient(90deg,
      rgba(17,17,20,.6) 0%,
      transparent 60%);
}

/* Decorative line */
.hero__line {
  position: absolute;
  left: var(--space-lg);
  bottom: 0;
  width: 2px;
  height: 0;
  background: var(--c-accent);
  opacity: .4;
  z-index: 3;
  animation: heroLineGrow 1s var(--ease) .8s forwards;
}

.hero__body {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + var(--space-lg));
  padding-bottom: var(--space-2xl);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: flex-end;
}

.hero__content { max-width: 740px; }

/* Label row */
.hero__label-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.hero__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.hero__divider {
  width: 32px;
  height: 2px;
  background: var(--c-accent);
  opacity: .5;
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 5.5vw, 4.8rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.08;
  color: var(--c-white);
  margin-bottom: var(--space-lg);
  letter-spacing: -.02em;
}

.hero__subtitle {
  font-family: var(--ff-body);
  font-size: clamp(var(--fs-sm), 2vw, var(--fs-xl));
  font-weight: var(--fw-medium);
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--space-lg);
}

.hero__text {
  font-size: var(--fs-md);
  color: var(--c-text);
  max-width: 520px;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* CTA buttons */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.hero__actions .btn--primary svg {
  transition: transform var(--dur) var(--ease);
}
.hero__actions .btn--primary:hover svg {
  transform: translateX(4px);
}

/* Metrics bar */
.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--c-border);
}

.metric { position: relative; }

.metric__value {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: .3rem;
}
.metric__label {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Scroll indicator */
.hero__scroll {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}
.hero__scroll-text {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.hero__scroll-line {
  width: 2px;
  height: 40px;
  background: var(--c-accent);
  transform-origin: top;
  animation: scrollPulse 2s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════ */
.services {
  background: var(--c-bg);
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.services__grid {
  display: grid;
  gap: var(--space-lg);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  overflow: hidden;
  transition:
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

/* Top accent line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
  z-index: 1;
}

.service-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
}

.service-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--c-accent-glow);
  color: var(--c-accent);
  transition:
    background .4s var(--ease),
    color .4s var(--ease),
    transform .4s var(--ease);
}
.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__number {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  color: var(--c-accent);
  opacity: .08;
  transition: opacity var(--dur);
}

.service-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-heading);
  margin-bottom: var(--space-sm);
  transition: color var(--dur);
}

.service-card__text {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.75;
  flex-grow: 1;
}

.service-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-border);
}

.service-card__tag {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: .04em;
  color: var(--c-text-muted);
  padding: .3rem .7rem;
  border: 1px solid var(--c-border);
  border-radius: 50px;
  transition:
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

/* Service card hover */
.service-card:hover {
  border-color: rgba(201,169,110,.2);
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(0,0,0,.35),
    0 0 0 1px rgba(201,169,110,.06);
}
.service-card:hover::before         { transform: scaleX(1); }
.service-card:hover .service-card__img-wrap img { transform: scale(1.06); }
.service-card:hover .service-card__icon {
  background: var(--c-accent);
  color: var(--c-black);
  transform: scale(1.08) rotate(-3deg);
}
.service-card:hover .service-card__number { opacity: .18; }
.service-card:hover .service-card__title  { color: var(--c-white); }
.service-card:hover .service-card__tag {
  border-color: rgba(201,169,110,.2);
  color: var(--c-accent);
}


/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */
.about {
  background: var(--c-surface);
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.about__layout {
  display: grid;
  gap: var(--space-2xl);
}

/* Image column */
.about__visual { position: relative; }

.about__img-wrapper {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.about__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.about__img-wrapper:hover .about__img {
  transform: scale(1.03);
}

/* Decorative corner frame */
.about__img-wrapper::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 45%;
  height: 45%;
  border-right: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  border-radius: 0 0 var(--r-lg) 0;
  opacity: .3;
  pointer-events: none;
}

/* Experience badge */
.about__badge {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-lg);
  background: var(--c-accent);
  color: var(--c-black);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--r-md);
  text-align: center;
  line-height: 1.2;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.about__badge-value {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
}
.about__badge-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Text column */
.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__lead {
  font-size: var(--fs-md);
  color: var(--c-text);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

/* Team role cards */
.about__roles {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.about__role {
  position: relative;
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface-2);
  overflow: hidden;
  transition:
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

/* Gold left accent */
.about__role::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--c-accent);
  border-radius: var(--r-md) 0 0 var(--r-md);
  transform: scaleY(0);
  transition: transform .4s var(--ease);
}

.about__role:hover {
  border-color: rgba(201,169,110,.2);
  transform: translateX(6px);
  box-shadow: -6px 0 20px rgba(0,0,0,.2);
}
.about__role:hover::before { transform: scaleY(1); }

.about__role-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--c-accent-glow);
  color: var(--c-accent);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.about__role-icon svg {
  width: 22px;
  height: 22px;
}
.about__role:hover .about__role-icon {
  background: var(--c-accent);
  color: var(--c-black);
}

.about__role-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-heading);
  margin-bottom: .3rem;
  transition: color var(--dur);
}
.about__role:hover .about__role-title { color: var(--c-accent); }

.about__role-text {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════ */
.portfolio {
  background: var(--c-bg);
  content-visibility: auto;
  contain-intrinsic-size: auto 1000px;
}

.portfolio__grid {
  display: grid;
  gap: var(--space-md);
}

.portfolio__item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.portfolio__item:hover img { transform: scale(1.05); }

/* Accent border on hover */
.portfolio__item::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--c-accent);
  border-radius: var(--r-lg);
  opacity: 0;
  z-index: 2;
  transition: opacity var(--dur);
  pointer-events: none;
}
.portfolio__item:hover::before { opacity: .5; }

.portfolio__item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 40%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur);
}
.portfolio__item:hover figcaption { opacity: 1; }

.portfolio__tag {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .25rem;
  transform: translateY(8px);
  transition: transform .4s var(--ease);
}
.portfolio__name {
  font-size: var(--fs-sm);
  color: var(--c-white);
  transform: translateY(8px);
  transition: transform .4s var(--ease) .05s;
}
.portfolio__item:hover .portfolio__tag,
.portfolio__item:hover .portfolio__name {
  transform: translateY(0);
}

/* Make portfolio items keyboard-focusable */
.portfolio__item:focus-within figcaption { opacity: 1; }
.portfolio__item:focus-within .portfolio__tag,
.portfolio__item:focus-within .portfolio__name { transform: translateY(0); }
.portfolio__item:focus-within::before { opacity: .5; }


/* ═══════════════════════════════════════════════
   WHY CHOOSE US
   ═══════════════════════════════════════════════ */
.why {
  background: var(--c-surface);
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.why__grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.why-card {
  position: relative;
  padding: var(--space-xl);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface-2);
  overflow: hidden;
  transition:
    border-color var(--dur),
    transform var(--dur),
    box-shadow var(--dur);
}

/* Accent top line */
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.why-card:hover {
  border-color: rgba(201,169,110,.2);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.why-card:hover::before { transform: scaleX(1); }

/* Ghost number */
.why-card__number {
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-accent);
  opacity: .08;
  line-height: 1;
  pointer-events: none;
  transition: opacity var(--dur);
}
.why-card:hover .why-card__number { opacity: .18; }

.why-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--c-accent);
  background: var(--c-accent-glow);
  border-radius: var(--r-md);
  margin-bottom: var(--space-lg);
  transition:
    background var(--dur),
    color var(--dur),
    transform var(--dur);
}
.why-card__icon svg { width: 24px; height: 24px; }
.why-card:hover .why-card__icon {
  background: var(--c-accent);
  color: var(--c-bg);
  transform: rotate(-6deg) scale(1.05);
}

.why-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--c-heading);
  margin-bottom: var(--space-xs);
  transition: color var(--dur);
}
.why-card:hover .why-card__title { color: var(--c-accent); }

.why-card__text {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
}


/* ─── Process ───────────────────────────────── */
.process {
  border-top: 1px solid var(--c-border);
  padding-top: var(--space-2xl);
}

.process__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-heading);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.process__steps {
  display: grid;
  gap: var(--space-lg);
  counter-reset: step;
}

.process__step {
  position: relative;
  padding: var(--space-lg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface-2);
  transition:
    border-color var(--dur),
    transform var(--dur);
}
.process__step:hover {
  border-color: rgba(201,169,110,.15);
  transform: translateY(-3px);
}

.process__number {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-accent);
  opacity: .12;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.process__step strong {
  display: block;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-heading);
  margin-bottom: .25rem;
}
.process__step p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}


/* ═══════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════ */
.cta-band {
  background: var(--c-accent);
  padding-block: var(--space-2xl);
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}

.cta-band__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-black);
}
.cta-band__text {
  font-size: var(--fs-sm);
  color: rgba(0,0,0,.6);
}


/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
.contact {
  background: var(--c-bg);
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.contact__layout {
  display: grid;
  gap: var(--space-2xl);
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form__row {
  display: grid;
  gap: var(--space-md);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.form__group label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
}

.form__group input,
.form__group select,
.form__group textarea {
  padding: .8rem 1rem;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  transition:
    border-color var(--dur),
    box-shadow var(--dur);
  appearance: none;
  /* touch target */
  min-height: 48px;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--c-text-muted);
  opacity: .5;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-glow);
}

.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%236e6e7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form__group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Error + validation */
.form__group input.error,
.form__group select.error,
.form__group textarea.error {
  border-color: var(--c-error);
  box-shadow: 0 0 0 3px rgba(231,76,76,.12);
}

.form__error-msg {
  font-size: var(--fs-xs);
  color: var(--c-error);
  min-height: 0;
  overflow: hidden;
  transition: min-height .25s;
}

@keyframes formShake {
  0%, 100% { transform: translateX(0); }
  20%  { transform: translateX(-6px); }
  40%  { transform: translateX(6px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(4px); }
}

/* Captcha field */
.form__captcha { position: relative; }
.captcha__question {
  display: inline-block;
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  letter-spacing: .06em;
  background: var(--c-accent-glow);
  padding: .15rem .5rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(201,169,110,.2);
}

/* Sidebar */
.contact__sidebar {
  display: grid;
  gap: var(--space-md);
  align-content: start;
}

.contact-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition:
    border-color var(--dur),
    transform var(--dur);
}
.contact-card:hover {
  border-color: rgba(201,169,110,.15);
  transform: translateY(-2px);
}
.contact-card svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--c-accent);
  margin-top: 2px;
}
.contact-card strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-heading);
  margin-bottom: 2px;
}
.contact-card p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.55;
}
.contact-card a { color: var(--c-text-muted); }
.contact-card a:hover { color: var(--c-accent); }


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--c-black);
  border-top: 1px solid var(--c-border);
  padding-block: var(--space-3xl) 0;
}

.footer__top {
  display: grid;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.footer__brand { max-width: 360px; }
.footer__brand .logo__img {
  height: 140px;
}

.footer__tagline {
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* Social icons */
.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-border-strong);
  border-radius: 50%;
  color: var(--c-text-muted);
  transition:
    border-color var(--dur),
    color var(--dur),
    background var(--dur),
    transform var(--dur);
}
.footer__social a:hover {
  border-color: var(--c-accent);
  color: var(--c-black);
  background: var(--c-accent);
  transform: translateY(-3px);
}
.footer__social svg {
  width: 16px;
  height: 16px;
}

/* Navigation columns */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-xl);
}

.footer__col h4 {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
}
.footer__col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--c-accent);
  opacity: .4;
}
.footer__col li {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.footer__col a {
  color: var(--c-text-muted);
  transition: color var(--dur), padding-left var(--dur);
}
.footer__col a:hover {
  color: var(--c-accent);
  padding-left: 4px;
}

/* Footer contact list */
.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.footer__contact-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--c-accent);
  margin-top: 3px;
}
.footer__contact-list a { color: var(--c-text-muted); }
.footer__contact-list a:hover {
  color: var(--c-accent);
  padding-left: 0;
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-block: var(--space-lg);
  border-top: 1px solid var(--c-border);
}
.footer__bottom p {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.footer__legal {
  display: flex;
  gap: var(--space-lg);
}
.footer__legal a {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  transition: color var(--dur);
}
.footer__legal a:hover { color: var(--c-accent); }


/* ─── Legal Content Pages ──────────────────────── */
.legal-content h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--c-heading);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--c-heading);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}
.legal-content p {
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-text);
  margin-bottom: var(--space-md);
}
.legal-content ul {
  list-style: none;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}
.legal-content ul li {
  position: relative;
  padding-left: var(--space-md);
  margin-bottom: var(--space-xs);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-text);
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 5px;
  height: 5px;
  background: var(--c-accent);
  border-radius: 50%;
}
.legal-content a {
  color: var(--c-accent);
  transition: color var(--dur);
}
.legal-content a:hover { color: var(--c-accent-hover); }
.legal-content strong { color: var(--c-heading); }


/* ═══════════════════════════════════════════════
   SCROLL REVEAL (base — JS adds directional classes)
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease);
}
.reveal--left  { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale { transform: scale(.92); }
.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}


/* ─── Scroll Progress Bar ───────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--c-accent);
  z-index: 1000;
  width: 0;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(201,169,110,.4);
}


/* ─── Back to Top ───────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 800;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--c-accent);
  color: var(--c-black);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity var(--dur),
    visibility var(--dur),
    transform var(--dur),
    box-shadow var(--dur);
  box-shadow: 0 4px 20px rgba(201,169,110,.25);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201,169,110,.35);
}


/* ─── Cursor Glow on Cards ──────────────────── */
.card-glow { position: relative; }
.card-glow::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  left: var(--glow-x, 50%);
  top: var(--glow-y, 50%);
  background: radial-gradient(circle, rgba(201,169,110,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.card-glow:hover::after { opacity: 1; }


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

/* 576 — small tablet */
@media (min-width: 576px) {
  .section-header__title { font-size: var(--fs-3xl); }

  .hero__metrics       { gap: var(--space-2xl); }

  .portfolio__grid     { grid-template-columns: 1fr 1fr; }
  .portfolio__item--wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }

  .why__grid           { grid-template-columns: 1fr 1fr; }
  .process__steps      { grid-template-columns: 1fr 1fr; }
  .form__row           { grid-template-columns: 1fr 1fr; }
}

/* 768 — tablet */
@media (min-width: 768px) {
  .hero__line          { left: 40px; }
  .hero__scroll {
    display: flex;
    position: absolute;
    bottom: var(--space-2xl);
    right: var(--space-lg);
    flex-direction: column;
    margin-top: 0;
  }

  .services__grid      { grid-template-columns: repeat(3, 1fr); }
  .service-card__body  { padding: var(--space-xl); }

  .about__layout       { grid-template-columns: 1fr 1fr; align-items: center; }
  .about__img          { aspect-ratio: 3 / 4; }

  .contact__layout     { grid-template-columns: 1.4fr 1fr; align-items: start; }

  .footer__top         { grid-template-columns: 1fr 2fr; }
  .footer__bottom      { flex-direction: row; justify-content: space-between; align-items: center; }

  .cta-band__inner     { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band__title     { font-size: var(--fs-2xl); }

  .metric__value       { font-size: var(--fs-2xl); }
}

/* 1024 — desktop */
@media (min-width: 1024px) {
  .hero__content       { max-width: 780px; }
  .hero__metrics       { gap: var(--space-3xl); }
  .hero__line          { left: 60px; }

  .portfolio__grid     { grid-template-columns: repeat(3, 1fr); }
  .portfolio__item--wide { grid-column: span 2; aspect-ratio: 21 / 9; }

  .why__grid           { grid-template-columns: repeat(4, 1fr); }
  .process__steps      { grid-template-columns: repeat(4, 1fr); }
}

/* 1440+ — large desktop */
@media (min-width: 1440px) {
  :root { --mw: 1360px; }

  .hero__body  { padding-inline: var(--space-2xl); }
  .hero__line  { left: var(--space-2xl); }
}


/* ─── Reduced Motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal          { opacity: 1; transform: none; }
  .hero__anim      { opacity: 1; transform: none; animation: none; }
  .hero__img       { animation: none; }
  .hero__line      { animation: none; height: 64px; }
  .hero__scroll-line { animation: none; }
  .preloader       { display: none; }
  .card-glow::after { display: none; }
  .btn .btn-ripple  { display: none; }
}
