/* ══════════════════════════════════════════════════════════
   SAVIA — Premium Black & White Marketing Agency
   Design System & Full Stylesheet
══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --black:   #0a0a0a;
  --white:   #f8f7f4;
  --grey-50: #f2f2f0;
  --grey-100:#e5e5e2;
  --grey-200:#c8c8c4;
  --grey-400:#8a8a85;
  --grey-600:#525250;

  --font-sans:  'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 1, 0.84);
  --ease-io:   cubic-bezier(0.76, 0, 0.24, 1);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-full:100px;

  --shadow-subtle: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  --shadow-card:   0 4px 24px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lift:   0 12px 48px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);

  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── TYPOGRAPHY SCALE ─── */
.section-header { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-header__eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: .75rem;
}
.section-header__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
}

/* ─── LAYOUT ─── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--black);
  color: var(--white);
}
.btn--primary:hover { background: var(--grey-600); }

.btn--ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--grey-200);
}
.btn--ghost:hover { border-color: var(--black); background: var(--black); color: var(--white); }

.btn--full { width: 100%; justify-content: center; border-radius: var(--radius-md); }

/* ─── ANIMATE ON SCROLL ─── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--grey-100);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--black);
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--grey-600);
  transition: color .2s;
}
.nav__link:hover { color: var(--black); }
.nav__link--cta {
  padding: .55rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--black);
  color: var(--white) !important;
  transition: background .2s, transform .15s;
}
.nav__link--cta:hover { background: var(--grey-600); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 7rem;
  background: var(--black);
  color: var(--white);
}
.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  opacity: .6;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: 5rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-400);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  padding: .4rem 1rem;
  margin-bottom: 2.5rem;
  animation: fadeUp .8s var(--ease-out) .1s both;
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ee74e;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(110,231,78,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(110,231,78,0); }
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 2rem;
  word-spacing: 0.1em;
  overflow-wrap: break-word;
  animation: fadeUp .9s var(--ease-out) .2s both;

}
.hero__headline em {
  font-style: italic;
  color: var(--grey-200);
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--grey-400);
  max-width: 52ch;
  margin-bottom: 3rem;
  line-height: 1.7;
  animation: fadeUp .9s var(--ease-out) .35s both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp .9s var(--ease-out) .5s both;
}
.hero .btn--primary { background: var(--white); color: var(--black); }
.hero .btn--primary:hover { background: var(--grey-100); }
.hero .btn--ghost { border-color: rgba(255,255,255,.2); color: var(--white); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Marquee */
.hero__marquee {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.2rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: rgba(255,255,255,.04);
}
.marquee__track {
  display: inline-flex;
  gap: 2rem;
  animation: marquee 28s linear infinite;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-400);
}
.marquee__track .sep { color: rgba(255,255,255,.2); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.break--desktop { display: none; }
@media (min-width: 768px) { .break--desktop { display: block; } }

/* ════════════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════════════ */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  padding: 4rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  border-right: 1px solid var(--grey-100);
  text-align: center;
}
.stat-card:last-child { border-right: none; }
.stat-card__num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--black);
  margin-bottom: .5rem;
}
.stat-card__label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grey-400);
}

/* ════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════ */
.services {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--white);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  background: var(--grey-100);
  border: 1.5px solid var(--grey-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background .3s;
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card--invert {
  background: var(--black);
  color: var(--white);
}
.service-card--invert .service-card__index { color: rgba(255,255,255,.2); }
.service-card--invert .service-card__desc  { color: var(--grey-400); }
.service-card--invert .service-card__list li { color: rgba(255,255,255,.7); }
.service-card--invert .service-card__list li::before { background: rgba(255,255,255,.3); }
.service-card--invert .service-card__link  { color: var(--grey-200); border-color: rgba(255,255,255,.15); }
.service-card--invert .service-card__link:hover { color: var(--white); border-color: rgba(255,255,255,.5); }
.service-card--invert::before { background: var(--grey-200); }

.service-card__index {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--grey-100);
  line-height: 1;
}
.service-card__body { flex: 1; }
.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .9rem;
  line-height: 1.2;
}
.service-card__desc {
  font-size: .9rem;
  color: var(--grey-600);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.service-card__list li {
  font-size: .825rem;
  color: var(--grey-600);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.service-card__list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--grey-400);
  flex-shrink: 0;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--grey-600);
  border-bottom: 1px solid var(--grey-200);
  padding-bottom: .2rem;
  transition: color .2s, border-color .2s, gap .2s;
  width: fit-content;
}
.service-card__link:hover { color: var(--black); border-color: var(--black); gap: .7rem; }

/* ════════════════════════════════════════════════════════
   CASE STUDIES
════════════════════════════════════════════════════════ */
.work {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--grey-50);
}
.work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.case-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.case-card--row {
  grid-column: 1 / -1;
  flex-direction: row;
}
.case-card__img {
  flex-shrink: 0;
  min-height: 240px;
  background-size: cover;
  background-position: center;
}
.case-card--row .case-card__img { width: 42%; min-height: 300px; }
.case-card__img--1 {
  background-image: url("../assets/bihar.jpg");
  position: relative;
}
.case-card__img--1::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 24px,
    rgba(255,255,255,.04) 24px,
    rgba(255,255,255,.04) 25px
  );
}
.case-card__img--2 {
  background-image: url("../assets/neo-walls.jpg");
  position: relative;
  overflow: hidden;
}
.case-card__img--2::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,.07) 0%, transparent 60%);
}
.case-card__img--3 {
  background-image: url("../assets/bj.jpg");
  position: relative;
  background-position: 50% 18%;
}
.case-card__img--3::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
}
.case-card__img--4 {
  background-image: url("../assets/olam.jpg");
  position: relative;
  overflow: hidden;
}
.case-card__img--5 {
  background-image: url("../assets/pcl.jpg");
  position: relative;
  overflow: hidden;
}
.case-card__img--5::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,.07) 0%, transparent 60%);
}
.case-card__img--6 {
  background-image: url("../assets/Hi.jpg");
  position: relative;
  overflow: hidden;
}
.case-card__img--6::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,.07) 0%, transparent 60%);
}

.case-card__img--7 {
  background-image: url("../assets/influencer1.jpg");
  position: relative;
  overflow: hidden;
}
.case-card__img--7::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,.07) 0%, transparent 60%);
}
.case-card__content {
  padding: 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .85rem;
}
.case-tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: var(--radius-full);
  background: var(--grey-50);
  color: var(--grey-600);
  border: 1px solid var(--grey-100);
}
.case-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--black);
}
.case-card__desc {
  font-size: .875rem;
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.case-card__stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.case-stat {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.case-stat strong {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}
.case-stat span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grey-400);
}

/* ════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════ */
.about {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--black);
  color: var(--white);
}
.about .section-header__eyebrow { color: var(--grey-400); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.about__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 1.75rem;
  border-left: 3px solid rgba(255,255,255,.2);
  padding-left: 1.5rem;
}
.about__text {
  color: var(--grey-400);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about .btn--primary { background: var(--white); color: var(--black); margin-top: .75rem; }
.about .btn--primary:hover { background: var(--grey-100); }

.about__right { display: flex; justify-content: center; }
.about__visual {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.about__orb--1 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  top: 0; right: 0;
}
.about__orb--2 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
  bottom: 20px; left: 10px;
}
.about__card-stack {
  position: relative;
  width: 260px;
  height: 160px;
}
.stack-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.12);
}
.stack-card--back {
  background: rgba(255,255,255,.03);
  transform: rotate(-6deg) translateY(10px) translateX(-6px);
}
.stack-card--mid {
  background: rgba(255,255,255,.05);
  transform: rotate(-3deg) translateY(5px) translateX(-2px);
}
.stack-card--front {
  background: rgba(255,255,255,.1);
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  backdrop-filter: blur(10px);
}
.stack-card__label {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-400);
}
.stack-card__value {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stack-card__sub {
  font-size: .72rem;
  color: var(--grey-400);
}

/* ════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════ */
.testimonials {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
  border-top: 1px solid var(--grey-100);
}
.testimonials__slider {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
.testimonial {
  display: none;
  padding: 2.5rem clamp(1rem, 8vw, 6rem);
  text-align: center;
  animation: fadeIn .4s var(--ease-out);
}
.testimonial.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.testimonial__text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 2rem;
}
.testimonial__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.testimonial__name {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--black);
}
.testimonial__role {
  display: block;
  font-size: .78rem;
  color: var(--grey-400);
}
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 2rem;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grey-200);
  transition: background .3s, transform .3s;
  padding: 0;
}
.dot--active, .dot:hover { background: var(--black); transform: scale(1.3); }

/* ════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════ */
.contact {
  padding: clamp(5rem, 10vw, 9rem) 0 2rem;
  display: flex;
  align-items: flex-start;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
}
.contact__desc {
  font-size: .95rem;
  color: var(--grey-600);
  line-height: 1.75;
 
}
.contact__perks {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.contact__perks li {
  font-size: .875rem;
  color: var(--grey-600);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.perk-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Form */
.inquiry-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--black);
}
.form-label span { color: var(--grey-400); }
.form-input {
  font-family: var(--font-sans);
  font-size: .875rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:hover { border-color: var(--grey-400); }
.form-input:focus { border-color: var(--black); box-shadow: 0 0 0 3px rgba(10,10,10,.08); }
.form-input::placeholder { color: var(--grey-200); }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a8a85' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-error {
  font-size: .72rem;
  color: #c0392b;
  min-height: 1em;
  display: block;
}
.form-input.has-error { border-color: #c0392b; }

/* Submit button states */
#form-submit { position: relative; overflow: hidden; }
.btn__loader {
  display: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(10,10,10,.2);
  border-top-color: var(--black);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#form-submit.loading .btn__text  { opacity: 0; }
#form-submit.loading .btn__loader { display: block; }
#form-submit.loading { pointer-events: none; }

.form-success {
  display: none;
  align-items: center;
  gap: .75rem;
  background: #f0faf0;
  border: 1px solid #d4edda;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: .875rem;
  color: #1e5628;
}
.form-success.show { display: flex; }
.success-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #2e7d32;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 0 2rem;
  margin-top: 0 !important;
  
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}
.footer__brand .nav__logo { color: var(--white); }
.footer__tagline {
  font-size: .78rem;
  color: var(--grey-600);
  margin-top: .4rem;
  letter-spacing: .04em;
}
.footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__link {
  font-size: .85rem;
  color: var(--grey-400);
  transition: color .2s;
}
.footer__link:hover { color: var(--white); }
.footer__social { display: flex; gap: .75rem; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--grey-400);
  transition: border-color .2s, color .2s, background .2s;
}
.social-link:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer__bottom p {
  font-size: .78rem;
  color: var(--grey-600);
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .work__grid { grid-template-columns: 1fr; }
  .case-card--row { flex-direction: column; }
  .case-card--row .case-card__img { width: 100%; min-height: 200px; }
  .about__inner  { grid-template-columns: 1fr; }
  .about__right  { display: none; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 80vw);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 2rem;
    box-shadow: -8px 0 40px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .35s var(--ease-out);
    z-index: 99;
  }
  .nav__menu.open { transform: none; }
  .nav__menu li { width: 100%; border-bottom: 1px solid var(--grey-100); }
  .nav__link { display: block; padding: 1.1rem 0; font-size: 1.05rem; color: var(--black); }
  .nav__link--cta {
    background: transparent; color: var(--black) !important;
    border-radius: 0; padding: 1.1rem 0;
    font-weight: 700;
  }
  .nav__toggle { display: flex; z-index: 200; }
  .nav__menu .nav__link--cta:hover { background: transparent; transform: none; }
  .form-row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(3) { border-top: 1px solid var(--grey-100); }
  .stat-card:nth-child(4) { border-top: 1px solid var(--grey-100); border-right: none; }
  .services__grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .hero__headline { font-size: clamp(2.5rem, 13vw, 4rem); }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__nav { flex-wrap: wrap; gap: 1rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .inquiry-form { padding: 1.75rem 1.25rem; }
}

.logo-strip {
  overflow: hidden;
  margin-top: 3rem;
  padding: 2rem 0;
  background: var(--white);
  position: relative;
}

.logo-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.logo-track img {
  height: 40px;
  opacity: 1;
  transition: all 0.3s ease;
}

.logo-track img:hover {
  opacity: 1;
  transform: scale(1.1);
}

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