/* ============================================================
   ISOCRAFT TRUSS (PTY) LTD — Main Stylesheet
   Corporate Trust: Navy + Gold
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* Brand Colours */
  --color-primary:       #1a2f5e;
  --color-primary-light: #1e3a6e;
  --color-primary-dark:  #0d1f42;
  --color-accent:        #d4a843;
  --color-accent-light:  #e0b95a;
  --color-accent-dark:   #b8902e;

  /* Surfaces */
  --color-bg:        #ffffff;
  --color-surface:   #f8f6f0;
  --color-surface-2: #f0ebe0;

  /* Text */
  --color-text:       #1a2023;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;

  /* Borders */
  --color-border:   #e5dfd0;
  --color-border-2: #d4cdbf;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Typography */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:
    0 1px 2px rgba(0,0,0,0.04),
    0 2px 4px rgba(0,0,0,0.04);
  --shadow-md:
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 12px rgba(0,0,0,0.08),
    0 8px 24px rgba(0,0,0,0.04);
  --shadow-lg:
    0 4px 6px rgba(0,0,0,0.04),
    0 12px 32px rgba(0,0,0,0.12),
    0 24px 48px rgba(0,0,0,0.08);
  --shadow-gold:
    0 4px 12px rgba(212,168,67,0.20),
    0 8px 24px rgba(212,168,67,0.10);

  /* Easing */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);

  /* Nav */
  --nav-height: 80px;
  --nav-height-scrolled: 60px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, var(--text-6xl)); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--text-5xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

.section-sm {
  padding: var(--space-12) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header .label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  font-family: 'Manrope', sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition:
    transform 0.15s var(--ease-spring),
    box-shadow 0.2s var(--ease-smooth),
    background-color 0.15s var(--ease-smooth),
    color 0.15s var(--ease-smooth);
}

.btn:hover       { transform: translateY(-2px); }
.btn:active      { transform: translateY(0) scale(0.98); }
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--color-accent-light);
  box-shadow: 0 6px 20px rgba(212,168,67,0.35);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline-gold:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-navy {
  background: var(--color-primary);
  color: #fff;
}
.btn-navy:hover {
  background: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,211,102,0.30);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: var(--text-base);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition:
    height 0.3s var(--ease-smooth),
    background 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth);
}

.nav.scrolled {
  height: var(--nav-height-scrolled);
  background: rgba(13, 31, 66, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  width: min-content;
}

.nav-logo-name {
  font-family: 'Syne', sans-serif;
  font-size: var(--text-sm);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.nav-logo-tag {
  font-size: 0.6rem;
  color: var(--color-accent);
  letter-spacing: 0.03em;
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  text-align: justify;
  text-align-last: justify;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.2s var(--ease-smooth);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s var(--ease-smooth);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease-smooth),
    opacity 0.3s var(--ease-smooth);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-primary-dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
}

.nav-mobile-overlay.open {
  opacity: 1;
}

.nav-mobile-overlay a {
  font-family: 'Syne', sans-serif;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #fff;
  transition: color 0.2s var(--ease-smooth);
}

.nav-mobile-overlay a:hover,
.nav-mobile-overlay a[aria-current="page"] {
  color: var(--color-accent);
}

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background: var(--color-primary-dark);
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(212,168,67,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(30,58,110,0.6) 0%, transparent 50%);
}

.page-hero-truss {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.04;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-4);
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.page-hero .breadcrumb a:hover { color: var(--color-accent); }
.page-hero .breadcrumb span { color: var(--color-accent); }

.page-hero h1 {
  color: #fff;
  margin-bottom: var(--space-4);
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease-spring),
    box-shadow 0.25s var(--ease-smooth);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ── Service Cards ──────────────────────────────────────────── */
.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease-spring),
    box-shadow 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-smooth);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(26, 47, 94, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: background 0.25s var(--ease-smooth);
}

.service-card:hover .service-icon {
  background: rgba(212, 168, 67, 0.12);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  transition: color 0.25s var(--ease-smooth);
}

.service-card:hover .service-icon svg {
  color: var(--color-accent-dark);
}

.service-card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

/* ── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--color-primary-dark);
  padding: var(--space-8) 0;
  border-top: 1px solid rgba(212,168,67,0.2);
  border-bottom: 1px solid rgba(212,168,67,0.2);
}

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

.stat-item {
  text-align: center;
  padding: var(--space-4);
  border-right: 1px solid rgba(255,255,255,0.08);
}

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

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Certification Strip ────────────────────────────────────── */
.cert-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-8) 0;
}

.cert-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.65;
  transition: opacity 0.2s var(--ease-smooth);
}

.cert-item:hover { opacity: 1; }

.cert-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--color-border-2);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-family: 'Syne', sans-serif;
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.2;
}

.cert-name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ── Gallery Grid ───────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item.why-stage { min-height: 0; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: galleryKenburns 12s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes galleryKenburns {
  0%   { transform: scale(1.0)  translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-2%, -1.5%, 0); }
}

/* Mini Carousel (project cards with multiple photos) */
.mini-slides {
  position: absolute;
  inset: 0;
}
.mini-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1400ms ease;
}
.mini-slide.is-active {
  opacity: 1;
  animation: miniKenburns 9000ms ease-out both;
}
@keyframes miniKenburns {
  0%   { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

/* Mini Carousel — Stage Title */
.mini-stage-title {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-54%);
  text-align: center;
  color: var(--color-accent);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.8vw, 1.25rem);
  line-height: 1.2;
  padding: 0 var(--space-6);
  z-index: 3;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  pointer-events: none;
  letter-spacing: -0.01em;
}
.mini-stage-title small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232,194,113,0.8);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

/* Mini Carousel — Dots */
.mini-dots {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 4;
  display: flex;
  gap: 3px;
}
.mini-dot {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.28);
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: width 300ms ease;
}
.mini-dot.is-active {
  width: 28px;
  background: rgba(255,255,255,0.28);
}
.mini-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform-origin: left center;
  animation: miniDotFill 5000ms linear forwards;
}
@keyframes miniDotFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Mini Carousel — Arrows */
.mini-arrows {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-3);
  transform: translateY(-50%);
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}
.gallery-item:hover .mini-arrows { opacity: 1; }
.mini-arrow {
  pointer-events: auto;
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(15,23,51,0.35);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 200ms ease, transform 200ms ease;
}
.mini-arrow:hover { background: rgba(15,23,51,0.7); transform: scale(1.05); }
.mini-arrow:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.mini-arrow svg { width: 12px; height: 12px; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,31,66,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
  display: flex;
  align-items: flex-end;
  z-index: 2;
  padding: var(--space-4);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-text {
  color: #fff;
}

.gallery-overlay-text h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.gallery-overlay-text span {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 600;
}

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: var(--text-xl);
  transition: background 0.2s var(--ease-smooth);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: var(--text-xl);
  transition: background 0.2s var(--ease-smooth);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: var(--space-4); }
.lightbox-next { right: var(--space-4); }

/* ── Gallery Filters ────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-bg);
  transition:
    background 0.2s var(--ease-smooth),
    color 0.2s var(--ease-smooth),
    border-color 0.2s var(--ease-smooth);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.filter-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.gallery-item.hidden {
  display: none;
}

/* ── Contact Form ───────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem var(--space-4);
  font-family: 'Manrope', sans-serif;
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition:
    border-color 0.2s var(--ease-smooth),
    box-shadow 0.2s var(--ease-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,47,94,0.1);
}

.form-group input.field-invalid,
.form-group textarea.field-invalid,
.form-group select.field-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.field-error {
  font-size: var(--text-xs);
  color: #dc2626;
  margin-top: var(--space-1);
  display: block;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* ── Toast ──────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-primary-dark);
  color: #fff;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 300;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s var(--ease-spring);
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: #15803d;
  border-left: 4px solid #4ade80;
}

.toast.error {
  background: #991b1b;
  border-left: 4px solid #f87171;
}

/* ── WhatsApp Floating Button ────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 12px rgba(37,211,102,0.35),
    0 8px 32px rgba(37,211,102,0.20);
  transition:
    transform 0.2s var(--ease-spring),
    box-shadow 0.2s var(--ease-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow:
    0 6px 20px rgba(37,211,102,0.50),
    0 12px 40px rgba(37,211,102,0.25);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 4px;
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-float {
  animation: wa-pulse 2.5s infinite;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {}

.footer-logo-lockup {
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-4);
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-col ul li {
  margin-bottom: var(--space-3);
}

.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color 0.2s var(--ease-smooth);
}
.footer-col ul li a:hover { color: var(--color-accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-accent);
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: var(--space-8);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--color-accent); }

/* ── Area Cards (Areas We Serve / cross-links) ──────────────── */
.area-card {
  display: block;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  transition:
    border-color 0.2s var(--ease-smooth),
    box-shadow 0.2s var(--ease-smooth),
    transform 0.2s var(--ease-spring);
}
.area-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.area-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.area-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.area-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.4;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
}
.testimonial-text {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  padding-top: var(--space-6);
}
.testimonial-author {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-primary);
}
.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Certification Cards (About page) ───────────────────────── */
.cert-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease-spring),
    box-shadow 0.25s var(--ease-smooth);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-card-icon {
  width: 96px;
  height: 96px;
  background: rgba(26,47,94,0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-family: 'Syne', sans-serif;
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.3;
}

.cert-card h4 { margin-bottom: var(--space-3); }
.cert-card p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ── Process Timeline ────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), var(--color-primary));
}

.process-step {
  text-align: center;
  padding: 0 var(--space-4);
  position: relative;
}

.process-step-num {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-family: 'Syne', sans-serif;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-accent);
  position: relative;
  z-index: 1;
}

.process-step h4 { margin-bottom: var(--space-2); font-size: var(--text-base); }
.process-step p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  background: var(--color-primary);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,168,67,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(13,31,66,0.5) 0%, transparent 50%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ── Why Isocraft Section ────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.why-feature {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.why-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(212,168,67,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent-dark);
}

.why-feature h4 { margin-bottom: var(--space-1); }
.why-feature p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

/* ── Why Carousel Stage ──────────────────────────────────────── */
.why-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 30px 60px -30px rgba(21,30,66,0.35);
  min-height: 500px;
  background: var(--color-navy);
}

.why-slides {
  position: absolute;
  inset: 0;
}

.why-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1400ms ease;
  will-change: opacity;
}
.why-slide.is-active { opacity: 1; }

.why-slide .why-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
}
.why-slide.is-active .why-slide-bg {
  animation: whyKenburns 9000ms ease-out both;
}
@keyframes whyKenburns {
  0%   { transform: scale(1.02) translate3d(0,0,0); }
  100% { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

/* Gradient protection */
.why-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30,42,90,0.25) 0%, rgba(21,30,66,0.55) 55%, rgba(15,23,51,0.85) 100%),
    linear-gradient(90deg, rgba(21,30,66,0.55) 0%, rgba(21,30,66,0.15) 45%, transparent 70%);
}

/* Centred title overlay */
.why-stage-title {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-54%);
  text-align: center;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1;
  padding: 0 var(--space-8);
  z-index: 3;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
  pointer-events: none;
}
.why-stage-title small {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232,194,113,0.85);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

/* Gallery card title — bottom-left pill */
.gallery-item .why-stage-title {
  left: 1rem;
  right: auto;
  bottom: 1rem;
  top: auto;
  transform: none;
  text-align: left;
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  padding: 0.4rem 0.75rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 0.375rem;
  text-shadow: none;
  line-height: 1.2;
}
.gallery-item .why-stage-title small {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.2rem;
}

/* Badge */
.why-image-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: 4;
  background: rgba(13,31,66,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  color: #fff;
  min-width: 140px;
}
.why-image-badge .badge-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.why-image-badge .badge-label {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  margin-top: var(--space-2);
  letter-spacing: 0.04em;
}

/* Pagination dots */
.why-dots {
  position: absolute;
  right: var(--space-6);
  bottom: var(--space-8);
  z-index: 4;
  display: flex;
  gap: var(--space-2);
}
.why-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: width 300ms ease;
}
.why-dot.is-active {
  width: 40px;
  background: rgba(255,255,255,0.25);
}
.why-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform-origin: left center;
  animation: whyDotFill 5000ms linear forwards;
}
@keyframes whyDotFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Arrow controls — visible on hover */
.why-arrows {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-4);
  transform: translateY(-50%);
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms ease;
}
.why-stage:hover .why-arrows { opacity: 1; }
.why-arrow {
  pointer-events: auto;
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(15,23,51,0.35);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 200ms ease, transform 200ms ease;
}
.why-arrow:hover { background: rgba(15,23,51,0.7); transform: scale(1.05); }
.why-arrow:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.why-arrow svg { width: 14px; height: 14px; }

/* ── Contact Info Cards ──────────────────────────────────────── */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.contact-info-text h4 { margin-bottom: var(--space-1); font-size: var(--text-base); }
.contact-info-text p, .contact-info-text a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}
.contact-info-text a:hover { color: var(--color-primary); }

/* ── Team Card ───────────────────────────────────────────────── */
.team-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
}

.team-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.team-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar-placeholder {
  font-family: 'Syne', sans-serif;
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--color-primary);
}

.team-card-header h3 { margin-bottom: var(--space-1); font-size: var(--text-lg); }
.team-card-header .role {
  font-size: var(--text-sm);
  color: var(--color-accent-dark);
  font-weight: 700;
}
.team-desc { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; line-height: 1.7; }

/* ── Noise Texture ───────────────────────────────────────────── */
.noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  filter: url(#noise);
  border-radius: inherit;
  z-index: 0;
}

/* ── Utility Classes ─────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-gold    { color: var(--color-accent); }
.text-navy    { color: var(--color-primary); }
.text-muted   { color: var(--color-text-muted); }
.bg-surface   { background: var(--color-surface); }
.bg-surface-2 { background: var(--color-surface-2); }
.bg-navy      { background: var(--color-primary); }
.bg-navy-dark { background: var(--color-primary-dark); }
.gold-bar     { width: 48px; height: 3px; background: var(--color-accent); border-radius: 2px; margin-bottom: var(--space-4); }
.sr-only      { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

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

  .stat-item:nth-child(2) { border-right: none; }

  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .why-stage { min-height: 350px; }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  .nav-links,
  .nav-cta { display: none; }

  .nav-hamburger { display: flex; }

  .nav-mobile-overlay { display: flex; }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    justify-content: center;
  }

  .team-card { gap: var(--space-3); }
  .team-grid-top,
  .team-grid-bottom {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  /* About & Contact page grids — collapse to single column */
  .about-story-grid,
  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-8) !important;
  }

  /* Contact form field rows — stack vertically */
  .form-field-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

@media (max-width: 480px) {
  .gallery-grid  { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .container     { padding: 0 var(--space-4); }
  .stat-number   { font-size: var(--text-2xl); }
}

/* ── Copy Email Button ──────────────────────────────────────── */
.email-copy-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.copy-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  vertical-align: middle;
  line-height: 1;
}
.copy-email-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: rgba(26,47,94,0.05);
}
.copy-email-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ── Service Grid (2-col content + image) ──────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
@media (max-width: 900px) {
  .svc-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .svc-grid > * {
    order: 0 !important;
  }
}

/* ── Service / Story Hero Tiles ────────────────────────────── */
.svc-hero-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(19,32,74,0.06),
    0 8px 24px rgba(19,32,74,0.14),
    0 24px 56px rgba(19,32,74,0.10);
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.svc-hero-tile:hover .svc-hero-bg { transform: scale(1.04); }
.svc-hero-overlay { position: absolute; inset: 0; pointer-events: none; }
.svc-hero-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.svc-label-glow {
  position: absolute;
  width: 380px;
  height: 170px;
  background: radial-gradient(ellipse at center, rgba(212,167,58,0.26) 0%, transparent 68%);
}
.svc-label-text {
  position: relative;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #d4a73a;
  text-align: center;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .svc-hero-tile {
    min-height: unset;
    aspect-ratio: 16 / 9;
  }
  .svc-label-glow {
    width: 100%;
    max-width: 300px;
  }
}

/* ── Mobile: remove card shadows ───────────────────────────── */
@media (max-width: 768px) {
  .card,
  .card:hover,
  .service-card,
  .service-card:hover,
  .cert-card,
  .cert-card:hover,
  .gallery-item,
  .gallery-item:hover,
  .why-stage,
  .team-card,
  .team-card:hover {
    box-shadow: none;
  }
}

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