/* =================================================================
   N. SAKTHIVEL & CO. — Global Stylesheet
   Palette: Deep Navy · Warm Amber-Gold · Clean Off-White · Slate
   ================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #0a1626;
  --navy-800: #0e2138;
  --navy-700: #143150;
  --navy-600: #1c4067;
  --amber-500: #e9a23b;
  --amber-400: #f2b95a;
  --amber-600: #cf8420;

  /* Neutrals */
  --ink: #0c1420;
  --slate-700: #2c3a4b;
  --slate-500: #5a6b7e;
  --slate-400: #8696a8;
  --slate-200: #d8e0e8;
  --cloud: #f3f1ec;
  --paper: #faf8f5;
  --white: #ffffff;

  /* Functional */
  --bg: var(--paper);
  --text: var(--slate-700);
  --heading: var(--navy-900);

  /* Type */
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(10, 22, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 22, 38, 0.1);
  --shadow-lg: 0 28px 60px rgba(10, 22, 38, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

.bg-paper {
  background: var(--paper);
}

.bg-cloud {
  background: var(--cloud);
}

.bg-navy {
  background: var(--navy-900);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber-500);
}

.bg-navy .eyebrow {
  color: var(--amber-400);
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow::before {
  display: none;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--slate-500);
}

.bg-navy .section-head h2 {
  color: var(--white);
}

.bg-navy .section-head p {
  color: var(--slate-200);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--amber-500);
  color: var(--navy-900);
  box-shadow: 0 12px 28px rgba(233, 162, 59, 0.35);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.btn--primary:hover::after {
  left: 150%;
}

.btn--primary:hover {
  background: var(--amber-400);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(233, 162, 59, 0.45);
}

.btn--dark {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.btn--dark::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.btn--dark:hover::after {
  left: 150%;
}

.btn--dark:hover {
  background: var(--navy-700);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.btn--ghost::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.btn--ghost:hover::after {
  left: 150%;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--outline {
  border: 1.5px solid var(--slate-200);
  color: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.btn--outline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.08) 50%, rgba(15, 23, 42, 0) 100%);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.btn--outline:hover::after {
  left: 150%;
}

.btn--outline:hover {
  border-color: var(--navy-900);
  transform: translateY(-3px);
}

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #FAF8F5;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.4s var(--ease),
    padding 0.4s var(--ease);
  padding: 6px 0;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 4px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--navy-900);
  letter-spacing: -0.03em;
}

.brand__logo {
  height: 60px;
  width: auto;
  display: block;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
  border: none;
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__logo {
  transform: scale(1.06) rotate(-2deg);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  white-space: nowrap;
  font-weight: 800;
}

.brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.04;
}

.brand__tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-top: 3px;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate-700);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--amber-500);
  transition: width 0.3s var(--ease);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--amber-500);
}

.header.scrolled .nav__links a.active {
  color: var(--amber-600);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}

.nav__toggle span {
  height: 2.5px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: 0.3s;
}

.header.scrolled .nav__toggle span {
  background: var(--navy-900);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-900);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 22, 38, 0.68), rgba(10, 22, 38, 0.9));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 70% 20%, rgba(233, 162, 59, 0.18), transparent 55%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 140px 0 80px;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}

.hero__badge b {
  color: var(--amber-400);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--amber-400);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 36px;
  margin-top: 60px;
}

.hero__stat {
  padding: 0 22px;
}

.hero__stat:first-child {
  padding-left: 0;
}

.hero__stat+.hero__stat {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
}

.hero__stat .num span {
  color: var(--amber-400);
}

.hero__stat .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 12px;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-hint .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  position: relative;
}

.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 7px;
  background: var(--amber-400);
  border-radius: 4px;
  animation: wheel 1.6s infinite;
}

@keyframes wheel {
  0% {
    opacity: 1;
    top: 7px;
  }

  100% {
    opacity: 0;
    top: 18px;
  }
}

/* ---------- Page Banner (interior pages) ---------- */
.banner {
  position: relative;
  color: var(--white);
  padding: 200px 0 90px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10, 22, 38, 0.82), rgba(10, 22, 38, 0.92)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1920&q=80") center/cover;
}

.banner h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 16px;
}

.banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin-inline: auto;
}

.crumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.crumbs a:hover {
  color: var(--amber-400);
}

.crumbs .sep {
  color: var(--amber-500);
}

/* ---------- Trust Bar ---------- */
.trustbar {
  background: var(--navy-900);
  padding: 28px 0;
}

.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.trustbar span {
  font-family: var(--font-display);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  display: inline-block;
  transition: color 0.3s, transform 0.4s var(--ease);
}

.trustbar span:hover {
  color: var(--amber-400);
  transform: translateY(-3px) scale(1.02);
}

/* ---------- Clients marquee (auto-scrolling loop) ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 38px;
  padding-right: 38px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--slate-400);
  white-space: nowrap;
  transition: color 0.3s;
}

.marquee__item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-500);
  opacity: 0.55;
  flex-shrink: 0;
}

.marquee__item:hover {
  color: var(--navy-900);
}

.marquee__logo {
  height: 130px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.marquee__item:hover .marquee__logo {
  transform: translateY(-4px) scale(1.03);
}

/* Show the text label only when the logo image is absent (missing/failed) */
.marquee__logo+.marquee__label {
  display: none;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ---------- Feature / About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Frame clips the slow zoom to the rounded corners */
.split__frame {
  position: relative;
  height: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.split__frame img {
  border-radius: 0;
  box-shadow: none;
  animation: ken-burns 22s ease-in-out infinite alternate;
}

.split__media:hover .split__frame img {
  transform: scale(1.1);
  transition: transform 0.6s var(--ease);
}

@keyframes ken-burns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.split__media .accent-img {
  position: absolute;
  bottom: -36px;
  right: -28px;
  width: 46%;
  border: 6px solid var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  animation: float-soft 6s ease-in-out infinite;
}

@keyframes float-soft {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.experience-badge {
  position: absolute;
  top: -26px;
  left: -26px;
  z-index: 4;
  background: var(--amber-500);
  color: var(--navy-900);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.experience-badge .y {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
}

.experience-badge .t {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.split h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  margin-bottom: 20px;
}

.lead {
  font-size: 1.08rem;
  color: var(--slate-500);
  margin-bottom: 26px;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 34px;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease);
}

.check-list li:hover {
  transform: translateX(6px);
}

.check-list .ic {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(233, 162, 59, 0.15);
  display: grid;
  place-items: center;
  margin-top: 2px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.check-list li:hover .ic {
  transform: scale(1.15) rotate(10deg);
  background: var(--amber-500);
}

.check-list .ic svg {
  width: 14px;
  height: 14px;
  color: var(--amber-600);
  transition: color 0.4s var(--ease);
}

.check-list li:hover .ic svg {
  color: var(--navy-900);
}

.check-list b {
  color: var(--heading);
  font-family: var(--font-display);
  display: block;
  font-size: 1rem;
}

.check-list p {
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Service Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--amber-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}

.service-card[data-href] {
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: grid;
  place-items: center;
  transition: background 0.4s;
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
  color: var(--amber-400);
  transition: color 0.4s;
}

@keyframes icon-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.service-card:hover .service-card__icon svg {
  color: var(--navy-900);
  animation: icon-bounce 1.2s ease-in-out infinite;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.97rem;
  margin-bottom: 18px;
}

.service-card .more {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--amber-600);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.service-card .more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.service-card:hover .more svg {
  transform: translateX(4px);
}

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-block {
  text-align: center;
  padding: 0 30px;
}

.stat-block+.stat-block {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-block .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--amber-500);
  line-height: 1;
}

.stat-block .label {
  color: var(--slate-200);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 12px;
  font-weight: 600;
}



/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.process-step {
  position: relative;
  padding-top: 18px;
}

.process-step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.2rem;
  color: var(--slate-200);
  line-height: 1;
  display: inline-block;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}

.process-step:hover .process-step__num {
  color: var(--amber-500);
  transform: translateY(-6px) scale(1.05);
}

.process-step h3 {
  font-size: 1.2rem;
  margin: 14px 0 10px;
}

.process-step p {
  font-size: 0.95rem;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -13px;
  width: 26px;
  height: 2px;
  background: var(--slate-200);
}

.process-step:last-child::after {
  display: none;
}

/* ---------- Project Gallery ---------- */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
}

.filter-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--slate-200);
  color: var(--slate-500);
  transition: 0.3s;
}

.filter-btn:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.filter-btn.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 38, 0.92) 0%, rgba(10, 22, 38, 0.1) 55%, transparent 100%);
  opacity: 0.85;
  transition: opacity 0.4s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
  color: var(--white);
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}

.project-card:hover .project-card__body {
  transform: translateY(0);
}

.project-card__tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 8px;
}

/* Status badge — set data-status="completed" or "ongoing" on a .project-card */
.project-card[data-status]::before {
  content: attr(data-status);
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  padding: 6px 13px;
  border-radius: 100px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(10, 22, 38, 0.28);
}

.project-card[data-status="completed"]::before {
  background: #2e9e5b;
}

.project-card[data-status="ongoing"]::before {
  background: var(--amber-500);
  color: var(--navy-900);
}

/* Multi-image slider inside a project card */
.pcard-slider {
  position: absolute;
  inset: 0;
}

.pcard-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.pcard-slider img.is-active {
  opacity: 1;
}

.pcard-slider:not(.js-ready) img:first-child {
  opacity: 1;
}

/* fallback shown before JS runs */
.project-card::after {
  z-index: 1;
  pointer-events: none;
}

/* gradient above slides, never blocks clicks */
.pcard-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(10, 22, 38, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(10, 22, 38, 0.35);
  opacity: 0.92;
  transition:
    background 0.25s,
    opacity 0.25s,
    transform 0.25s;
}

.pcard-nav svg {
  width: 18px;
  height: 18px;
}

.pcard-nav:hover {
  background: var(--amber-500);
  color: var(--navy-900);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}

.pcard-nav--prev {
  left: 12px;
}

.pcard-nav--next {
  right: 12px;
}

.pcard-dots {
  position: absolute;
  top: 16px;
  right: 14px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.pcard-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 3px rgba(10, 22, 38, 0.4);
  transition:
    background 0.25s,
    transform 0.25s;
}

.pcard-dots span.is-active {
  background: #fff;
  transform: scale(1.25);
}

.project-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.project-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  opacity: 0;
  max-height: 0;
  transition:
    opacity 0.4s,
    max-height 0.4s;
}

.project-card:hover p {
  opacity: 1;
  max-height: 60px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
  color: var(--amber-500);
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.testimonial-card .quote {
  font-size: 1.05rem;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 26px;
  flex-grow: 1;
}

.testimonial-card .who {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  display: grid;
  place-items: center;
  color: var(--amber-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.testimonial-card:hover .avatar {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 4px 12px rgba(10, 22, 38, 0.15);
}

.testimonial-card .name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--heading);
}

.testimonial-card .role {
  font-size: 0.85rem;
  color: var(--slate-400);
}

/* ---------- CTA Band ---------- */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.cta-band {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700), var(--navy-900), var(--navy-600));
  background-size: 300% 300%;
  animation: gradient-shift 12s ease infinite;
  border-radius: var(--radius-lg);
  padding: 72px 40px;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(233, 162, 59, 0.22), transparent 50%);
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-inline: auto;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 18px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-size: 1.08rem;
}

.cta-band .hero__actions {
  justify-content: center;
}

/* ---------- Team ---------- */
.team-card {
  text-align: center;
}

.team-card__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.team-card:hover .team-card__photo img {
  transform: scale(1.06);
}

.team-card__social {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: 0.4s var(--ease);
}

.team-card:hover .team-card__social {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.team-card__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.team-card__social a:hover {
  background: var(--amber-500);
}

.team-card__social svg {
  width: 16px;
  height: 16px;
}

.team-card h3 {
  font-size: 1.2rem;
}

.team-card .role {
  color: var(--amber-600);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

.team-card__bio {
  margin-top: 12px;
  color: var(--slate-500);
  font-size: 0.95rem;
}

/* Centre the two-partner team grid (smaller cards) */
.grid-3.team-grid {
  grid-template-columns: repeat(2, minmax(0, 240px));
  justify-content: center;
  gap: 40px;
  max-width: 600px;
  margin-inline: auto;
}

@media (max-width: 540px) {
  .grid-3.team-grid {
    grid-template-columns: minmax(0, 260px);
  }
}

/* ---------- Accordion (FAQ) ---------- */
.accordion {
  max-width: 820px;
  margin-inline: auto;
}

.acc-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.acc-head {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--heading);
}

.acc-head .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  position: relative;
  transition: transform 0.3s;
}

.acc-head .plus::before,
.acc-head .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--amber-600);
}

.acc-head .plus::before {
  width: 14px;
  height: 2px;
}

.acc-head .plus::after {
  width: 2px;
  height: 14px;
  transition: transform 0.3s;
}

.acc-item.open .acc-head .plus::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.acc-body p {
  padding: 0 26px 24px;
  font-size: 0.98rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-intro {
  max-width: 660px;
  margin: 0 auto 48px;
  text-align: center;
}

.contact-info {
  display: grid;
  gap: 22px;
}

.contact-info--row {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-info--row .contact-info__item {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
}

.contact-info__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.contact-info__item .ic {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(233, 162, 59, 0.14);
  display: grid;
  place-items: center;
}

.contact-info__item .ic svg {
  width: 22px;
  height: 22px;
  color: var(--amber-600);
}

.contact-info__item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-info__item p {
  font-size: 0.95rem;
  margin: 0;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--heading);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper);
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(233, 162, 59, 0.14);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-top: 8px;
}

.form-success {
  display: none;
  background: rgba(40, 160, 90, 0.1);
  border: 1px solid rgba(40, 160, 90, 0.3);
  color: #1f7a47;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 56px;
}

.footer .brand {
  color: var(--white);
  margin-bottom: 20px;
}

.footer__brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer__brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-top: 5px;
  margin-bottom: 16px;
}

.footer__about p {
  font-size: 0.95rem;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 0.95rem;
  transition:
    color 0.25s,
    padding 0.25s;
}

.footer__links a:hover {
  color: var(--amber-400);
  padding-left: 6px;
}

.footer__contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  align-items: flex-start;
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  color: var(--amber-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact a {
  color: inherit;
  transition: color 0.3s;
  word-break: break-word;
}

.footer__contact a:hover {
  color: var(--amber-400);
}

/* Contact page email link */
.contact-info__item a {
  color: inherit;
  transition: color 0.3s;
}

.contact-info__item a:hover {
  color: var(--amber-600);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.88rem;
}

.footer__bottom a {
  color: var(--amber-400);
  font-weight: 600;
}

.footer__bottom a:hover {
  text-decoration: underline;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}

/* ---------- Entrance animations ---------- */
@keyframes intro-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Hero (homepage) — cinematic reveal synced to the drone video.
   Content is hidden only when JS adds .cinematic, so it stays visible without JS. */
.hero.cinematic .hero__badge,
.hero.cinematic h1,
.hero.cinematic p,
.hero.cinematic .hero__actions,
.hero.cinematic .hero__stats {
  opacity: 0;
}

.hero.cinematic.content-in .hero__badge,
.hero.cinematic.content-in h1,
.hero.cinematic.content-in p,
.hero.cinematic.content-in .hero__actions,
.hero.cinematic.content-in .hero__stats {
  animation: intro-up 0.9s var(--ease) forwards;
}

.hero.cinematic.content-in .hero__badge {
  animation-delay: 0.05s;
}

.hero.cinematic.content-in h1 {
  animation-delay: 0.2s;
}

.hero.cinematic.content-in p {
  animation-delay: 0.35s;
}

.hero.cinematic.content-in .hero__actions {
  animation-delay: 0.5s;
}

.hero.cinematic.content-in .hero__stats {
  animation-delay: 0.65s;
}

/* Timed caption lines that play during the drone descent */
.hero__captions {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 720px;
  z-index: 3;
  pointer-events: none;
}

.hero__caption {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.hero__caption.is-active {
  opacity: 1;
  transform: none;
}

/* Inner-page banners — lighter staggered entrance */
.banner h1,
.banner p,
.banner .crumbs {
  opacity: 0;
  animation: intro-up 0.8s var(--ease) forwards;
}

.banner h1 {
  animation-delay: 0.1s;
}

.banner p {
  animation-delay: 0.25s;
}

.banner .crumbs {
  animation-delay: 0.4s;
}

/* Scroll hint fades out once the hero is scrolled past */
.scroll-hint {
  transition: opacity 0.4s ease;
}

.scroll-hint.hide {
  opacity: 0;
  pointer-events: none;
}

/* Counter "pop" when the number finishes counting */
@keyframes count-pop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.13);
  }

  100% {
    transform: scale(1);
  }
}

[data-count].count-done {
  display: inline-block;
  animation: count-pop 0.5s var(--ease);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__badge,
  .hero h1,
  .hero p,
  .hero__actions,
  .hero__stats,
  .banner h1,
  .banner p,
  .banner .crumbs {
    opacity: 1;
  }
}

/* Back to top */
.to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--amber-500);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: 0.3s var(--ease);
  z-index: 90;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top svg {
  width: 22px;
  height: 22px;
}

.to-top:hover {
  background: var(--amber-400);
  transform: translateY(-3px);
}

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 992px) {

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-3,
  .process,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .process-step::after {
    display: none;
  }

  .split__media {
    max-width: 560px;
    margin-inline: auto;
  }

  .banner {
    padding: 170px 0 80px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Protect hamburger from being squeezed by font-swap / image CLS */
  .brand {
    min-width: 0;
    overflow: hidden;
  }

  .nav__cta {
    flex-shrink: 0;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(82vw, 320px);
    height: 100vh;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 36px;
    gap: 26px;
    transition: right 0.4s var(--ease);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    color: var(--white);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(24px);
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease);
  }

  .nav__links.open a {
    opacity: 1;
    transform: none;
  }

  .nav__links.open a:nth-child(1) {
    transition-delay: 0.12s;
  }

  .nav__links.open a:nth-child(2) {
    transition-delay: 0.18s;
  }

  .nav__links.open a:nth-child(3) {
    transition-delay: 0.24s;
  }

  .nav__links.open a:nth-child(4) {
    transition-delay: 0.3s;
  }

  .nav__links.open a:nth-child(5) {
    transition-delay: 0.36s;
  }

  .header.scrolled .nav__links a {
    color: var(--white);
  }

  .nav__toggle {
    display: flex;
    z-index: 110;
  }

  .nav__toggle.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .nav__toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .nav__toggle.open span {
    background: var(--white);
  }

  .nav__phone {
    display: none;
  }

  .hero__inner {
    padding: 120px 0 64px;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 18px;
    margin-top: 44px;
    padding-top: 28px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 18px;
  }

  /* No dividers/horizontal padding when stats wrap to a 2-column grid */
  .hero__stat,
  .stat-block {
    padding: 0;
  }

  .hero__stat+.hero__stat,
  .stat-block+.stat-block {
    border-left: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .split__media .accent-img {
    display: none;
  }

  .banner {
    padding: 150px 0 70px;
  }

  .cta-band {
    padding: 56px 28px;
  }

  .map-wrap iframe {
    height: 360px;
  }
}

@media (max-width: 540px) {
  .container {
    padding-inline: 18px;
  }

  .section {
    padding: 56px 0;
  }

  .section--tight {
    padding: 52px 0;
  }

  .grid-3,
  .grid-2,
  .process,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__inner {
    padding: 110px 0 52px;
  }

  .hero__stats {
    gap: 22px 18px;
  }

  .hero__stat .num {
    font-size: 1.95rem;
  }

  .section-head h2 {
    font-size: 1.7rem;
  }

  .lead,
  .hero p,
  .cta-band p {
    font-size: 1rem;
  }

  .trustbar__inner {
    justify-content: center;
    gap: 14px 22px;
  }

  .trustbar span {
    font-size: 0.92rem;
  }

  .service-card {
    padding: 30px 24px;
  }

  .testimonial-card {
    padding: 30px 26px;
  }

  .cta-band {
    padding: 48px 22px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .experience-badge {
    padding: 14px 18px;
    top: -18px;
    left: -18px;
  }

  .experience-badge .y {
    font-size: 2rem;
  }

  .project-filters {
    gap: 8px;
    margin-bottom: 32px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .acc-head {
    padding: 18px;
    font-size: 0.98rem;
    gap: 14px;
  }

  .acc-body p {
    padding: 0 18px 20px;
  }

  .map-wrap iframe {
    height: 300px;
  }

  .footer {
    padding-top: 56px;
  }

  .footer__bottom {
    justify-content: center;
    text-align: center;
  }

  .to-top {
    bottom: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .brand__logo {
    height: 64px;
  }

  .footer .brand__logo {
    height: 42px;
  }
}

/* ---------- Print / PDF export ---------- */
@media print {

  *,
  *::before,
  *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Reveal everything that is normally animated in on scroll */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__badge,
  .hero h1,
  .hero p,
  .hero__actions,
  .hero__stats,
  .banner h1,
  .banner p,
  .banner .crumbs {
    opacity: 1 !important;
    animation: none !important;
  }

  /* Let the header flow with the document instead of overlapping each page */
  .header {
    position: static !important;
    backdrop-filter: none !important;
  }

  /* Drop interactive-only / decorative bits */
  .hero__caption,
  .scroll-hint,
  .to-top {
    display: none !important;
  }

  /* Shrink the full-screen hero so it doesn't waste a page */
  .hero {
    min-height: auto !important;
    padding: 48px 0 !important;
  }

  /* Avoid splitting cards across pages */
  .service-card,
  .project-card,
  .stat-block,
  .team-card,
  .acc-item {
    break-inside: avoid;
  }
}