/* MGM Australia — K9 Sport unified design system */

:root {
  --ink: #040c1e;
  --ink-soft: #050e22;
  --ink-mid: #0a1932;
  --navy: #1a6fc4;
  --blue: #00b4ff;
  --blue-dim: rgba(0, 180, 255, 0.12);
  --coral: #f5c518;
  --coral-hover: #ffd84d;
  --red: #d62b2b;
  --amber: #f5c518;
  --sage: #34d399;
  --white: #ffffff;
  --text: #e8f1ff;
  --text-muted: #7a9abf;
  --text-faint: #4a6a8f;
  --surface: rgba(10, 25, 50, 0.55);
  --surface-2: rgba(10, 25, 50, 0.85);
  --bg-card: rgba(10, 25, 50, 0.7);
  --muted: #7a9abf;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(0, 180, 255, 0.2);

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(245, 197, 24, 0.15), 0 8px 32px rgba(245, 197, 24, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --header-height: 80px;
  --stripe-height: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% -5%, rgba(245, 197, 24, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #040c1e 0%, #050e22 60%, #040c1e 100%);
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--stripe-height);
  background: linear-gradient(90deg, #d62b2b 0%, #f5c518 25%, #1a6fc4 50%, #fff 75%, #d62b2b 100%);
  z-index: 1001;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1280px, 90vw);
  margin-inline: auto;
}

.container-narrow {
  width: min(960px, 90vw);
  margin-inline: auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 6.5vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.text-gradient {
  background: linear-gradient(135deg, #f5c518 0%, #00b4ff 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.75;
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.eyebrow-light { color: var(--coral); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--coral);
  color: var(--ink);
  border-color: var(--coral);
  box-shadow: var(--shadow-glow);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.25), 0 16px 40px rgba(245, 197, 24, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--coral);
  color: var(--ink);
  border-color: var(--coral);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-accent);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--blue-dim);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: fixed;
  top: var(--stripe-height);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  transition: all var(--transition);
}

.site-header .header-shell {
  width: min(1280px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 1.25rem;
  background: rgba(4, 12, 30, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.site-header.scrolled .header-shell {
  background: rgba(4, 12, 30, 0.96);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.12);
}

.site-header .nav-desktop a:not(.btn) { color: var(--text-muted); }
.site-header .nav-desktop a:not(.btn):hover,
.site-header .nav-desktop a:not(.btn).active { color: var(--text); }
.site-header .menu-toggle span { background: var(--text); }

.logo img { height: 36px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a:not(.btn) {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-desktop a:not(.btn):hover,
.nav-desktop a:not(.btn).active {
  color: var(--coral);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta { margin-left: 0.5rem; padding: 0.6rem 1.25rem !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none;
  position: fixed;
  top: calc(var(--stripe-height) + 72px);
  left: 3vw;
  right: 3vw;
  background: rgba(4, 12, 30, 0.97);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
}

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

.nav-mobile a {
  padding: 0.9rem 1.25rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--coral);
}

/* Hero — split layout */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  overflow: hidden;
  background: transparent;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-mesh::before {
  content: "";
  position: absolute;
  width: 80vw;
  height: 80vw;
  top: -20%;
  right: -20%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.12) 0%, transparent 60%);
  animation: float 12s ease-in-out infinite;
}

.hero-mesh::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  bottom: -30%;
  left: -10%;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.1) 0%, transparent 60%);
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, -3%) scale(1.05); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { color: var(--text); }

.hero-content h1 {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 17, 32, 0.5) 100%);
}

.hero-float-card {
  position: absolute;
  bottom: -1.5rem;
  left: -2rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-float-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--red), var(--coral));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.hero-float-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.hero-float-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Trust marquee */
.trust-marquee {
  background: rgba(10, 25, 50, 0.5);
  border-block: 1px solid var(--border);
  padding: 1.25rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.marquee-track span::before {
  content: "◆";
  color: var(--coral);
  font-size: 0.5rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
section { padding: clamp(5rem, 10vw, 7.5rem) 0; }

.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; }
.section-header.center .lead { margin-inline: auto; }

.section-alt { background: rgba(0, 180, 255, 0.015); }
.section-dark {
  background: rgba(245, 197, 24, 0.03);
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
}

.section-dark::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(245, 197, 24, 0.06), transparent 70%);
  pointer-events: none;
}

.section-dark h2, .section-dark h3 { color: var(--text); }
.section-dark .lead { color: var(--text-muted); }

/* Bento intro */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-main {
  grid-column: span 7;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.bento-main p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.bento-stats {
  grid-column: span 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-card {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.stat-card:hover::before { transform: scaleX(1); }

.stat-card .number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text) 30%, var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-card .label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Services — horizontal cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 197, 24, 0.25);
}

.service-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 17, 32, 0.3));
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-card:hover .service-card-image img { transform: scale(1.08); }

.service-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  background: rgba(214, 43, 43, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.service-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 { margin-bottom: 0.6rem; }

.service-card-body p {
  color: var(--muted);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition);
}

.card-link:hover { gap: 0.75rem; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.value-card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.value-card:hover {
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(245, 197, 24, 0.2);
}

.value-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--red), var(--coral));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.value-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.why-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.why-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 197, 24, 0.3);
}

.why-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--red), var(--coral));
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.why-item p {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.why-item-light {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}

.why-item-light:hover {
  background: var(--surface-2) !important;
  box-shadow: var(--shadow-sm);
  border-color: rgba(245, 197, 24, 0.2) !important;
}

.why-item-light p { color: var(--text-muted) !important; }
.why-item-light .why-item-icon { background: linear-gradient(135deg, var(--navy), var(--blue)); }

/* Testimonial */
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--coral);
  opacity: 0.15;
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--red), var(--coral));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author cite {
  font-style: normal;
  text-align: left;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* CTA */
.cta-section {
  background: rgba(245, 197, 24, 0.04);
  border-block: 1px solid var(--border);
  color: var(--text);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(245, 197, 24, 0.1), transparent),
    radial-gradient(ellipse 50% 60% at 80% 0%, rgba(0, 180, 255, 0.08), transparent);
}

.cta-inner { position: relative; z-index: 1; }

.cta-section h2 {
  color: var(--text);
  margin-bottom: 1rem;
}

.cta-section .lead {
  color: var(--text-muted);
  margin: 0 auto 2.5rem;
}

/* Page hero */
.page-hero {
  margin-top: 0;
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: transparent;
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(245, 197, 24, 0.08), transparent),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0, 180, 255, 0.06), transparent);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--text); margin-bottom: 1.25rem; max-width: 16ch; }
.page-hero .lead { color: var(--text-muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.contact-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(245, 197, 24, 0.25);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--red), var(--coral));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(4, 12, 30, 0.6);
  transition: all var(--transition);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.12);
  background: rgba(4, 12, 30, 0.85);
}

.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.intro-content p,
.prose p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* Directors */
.director-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.director-grid:last-child { margin-bottom: 0; }

.director-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.director-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 17, 32, 0.4));
}

.director-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.director-role {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.director-content p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Specs */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.specs-table th,
.specs-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specs-table th {
  background: rgba(4, 12, 30, 0.9);
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  width: 45%;
}

.specs-table td {
  color: var(--text-muted);
}

.specs-table tr:last-child td,
.specs-table tr:last-child th { border-bottom: none; }

.specs-list { display: flex; flex-direction: column; gap: 0.6rem; }

.specs-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 0.925rem;
  color: var(--text-muted);
}

.specs-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 111.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-highlight {
  background: var(--ink);
  color: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.feature-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(245, 197, 24, 0.12), transparent 70%);
}

.feature-highlight h3 { color: var(--white); margin-bottom: 0.75rem; position: relative; }
.feature-highlight p { color: rgba(255, 255, 255, 0.75); position: relative; }

.barrier-showcase,
.section-showcase {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 21 / 9;
}

.service-card-image img[src*="construction-contracting"] {
  object-position: center 35%;
}

.partners-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.partners-strip img { max-height: 72px; width: auto; }

/* Footer */
.site-footer {
  background: rgba(4, 8, 20, 0.85);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img { height: 44px; margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 32ch; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--coral); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
  font-size: 0.825rem;
}

.social-links { display: flex; gap: 0.75rem; }

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--coral);
  border-color: var(--coral);
  transform: translateY(-3px);
}

.social-links svg { width: 17px; height: 17px; fill: currentColor; }

/* Capability / flipbook */
.flipbook-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.flipbook-wrap iframe {
  width: 100%;
  height: min(72vh, 640px);
  border: 0;
  display: block;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.highlight-pill {
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.highlight-pill:hover {
  border-color: rgba(245, 197, 24, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.highlight-pill::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  margin-bottom: 0.65rem;
}

.vision-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.vision-block p {
  color: var(--text-muted);
}

.vision-block h3 { margin-bottom: 1rem; }

.focus-areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.focus-area {
  padding: 1.25rem;
  background: rgba(4, 12, 30, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 1024px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-areas { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .highlights-grid,
  .focus-areas { grid-template-columns: 1fr; }
}

/* Animations — visible by default; animate only when JS is enabled */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .fade-in {
  opacity: 0;
  transform: translateY(32px);
}

html.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 500px; }
  .hero-float-card { left: 1rem; }
  .bento-main { grid-column: span 12; }
  .bento-stats { grid-column: span 12; }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .specs-grid { grid-template-columns: 1fr; }
  .director-grid { grid-template-columns: 260px 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }

  .site-header .header-shell {
    width: min(1280px, 96vw);
    padding: 0 0.85rem;
  }

  .nav-mobile.open {
    max-height: calc(100dvh - var(--header-height) - var(--stripe-height) - 0.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  section { padding: clamp(3rem, 8vw, 5rem) 0; }

  .container,
  .container-narrow {
    width: min(1280px, 92vw);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3rem;
  }

  .hero-content h1 { max-width: none; }
  .hero-visual { max-width: 100%; margin-inline: auto; }
  .hero-float-card { position: relative; bottom: auto; left: auto; margin-top: 1rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    margin-left: 0 !important;
    white-space: normal;
    text-align: center;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 2.5rem;
  }

  .page-hero h1 { max-width: none; }

  .bento-stats { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .why-grid, .why-grid.cols-3 { grid-template-columns: 1fr; }
  .director-grid { grid-template-columns: 1fr; }
  .director-image { max-width: 280px; margin-inline: auto; }

  .contact-form { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
  }

  .specs-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .flipbook-wrap iframe {
    height: min(58vh, 520px);
  }

  .barrier-showcase,
  .section-showcase {
    aspect-ratio: 16 / 9;
  }

  .testimonial-card::before {
    font-size: 4rem;
    top: 0.75rem;
    left: 1rem;
  }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  h1 { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  h2 { font-size: clamp(1.35rem, 6vw, 2rem); }

  .btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.875rem;
  }

  .nav-mobile {
    left: 2vw;
    right: 2vw;
  }
}

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

  .fade-in,
  .k9-reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track { animation: none; }
}
