/* ===========================
   MaxKit Digital — Stylesheet (Premium Black / Rage-inspired)
   Background: pure black
   Text: white / light grey
   Accent: lime green, used sparingly
   Typography: sans-serif body, serif italic for accent words
=========================== */

:root {
  --color-bg: #0A0A0A;
  --color-bg-alt: #141414;
  --color-bg-card: #1A1A1A;
  --color-text: #FFFFFF;
  --color-text-muted: #9A9A9A;
  --color-text-faint: #5A5A5A;
  --color-accent: #8BC34A;
  --color-accent-dark: #6B9A35;
  --color-border: #2A2A2A;
  --color-border-strong: #FFFFFF;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --max-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===========================
   Typography
=========================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h1 { font-size: clamp(2.75rem, 6.5vw, 5.25rem); font-weight: 600; }
h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(110deg, var(--color-text) 30%, var(--color-accent) 45%, var(--color-text) 60%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 5s ease-in-out infinite;
}

@keyframes shimmerText {
  0% { background-position: 200% 0; }
  100% { background-position: -50% 0; }
}

p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.eyebrow-center { display: block; text-align: center; margin: 0 auto 20px; }

/* ===========================
   Buttons
=========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid var(--color-border-strong);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-text);
  color: var(--color-bg);
  position: relative;
}
.btn-primary:hover { background: var(--color-accent); border-color: var(--color-accent); color: #08140A; }
.btn-primary:active { transform: scale(0.96); }

.cta-band .btn-primary {
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 195, 74, 0); }
  50% { box-shadow: 0 0 0 8px rgba(139, 195, 74, 0.08); }
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border-strong);
}
.btn-outline:hover { background: var(--color-text); color: var(--color-bg); }

/* ===========================
   Navigation — minimal hamburger style
=========================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 0;
  transition: transform 0.4s ease, background-color 0.3s ease, padding 0.3s ease;
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.navbar.nav-scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.side-menu-trigger {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-strong);
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.side-menu-trigger.visible {
  opacity: 1;
  pointer-events: auto;
}

.side-menu-trigger span {
  width: 20px;
  height: 1.5px;
  background: var(--color-text);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

@media (max-width: 600px) {
  .nav-logo img { height: 36px; }
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links-desktop a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 4px;
}
.nav-links-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1.5px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}
.nav-links-desktop a:hover::after { width: 100%; }
.nav-links-desktop a:hover { color: var(--color-accent); }

.nav-links {
  display: none;
  list-style: none;
}

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-strong);
  background: rgba(10,10,10,0.6);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

@media (max-width: 900px) {
  .nav-links-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    height: 100vh;
    background: var(--color-bg);
    padding: 120px 40px 40px;
    gap: 32px;
    transition: right 0.4s ease;
    z-index: 105;
    border-left: 1px solid var(--color-border);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text);
  }
}

/* ===========================
   Hero
=========================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  animation: heroBreathe 18s ease-in-out infinite;
}

@keyframes heroBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.hero-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.75) 60%, var(--color-bg) 100%);
}

.hero-3d-object {
  position: absolute;
  top: 50%;
  right: 4%;
  width: 46%;
  max-width: 620px;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0;
  animation: heroObjectFadeIn 1.2s ease forwards;
  animation-delay: 0.3s;
  pointer-events: none;
}

.hero-3d-object img {
  width: 100%;
  height: auto;
  display: block;
  animation: heroObjectSpin 22s linear infinite;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
  transition: transform 0.3s ease-out;
}

@keyframes heroObjectFadeIn {
  to { opacity: 1; }
}

@keyframes heroObjectSpin {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.04); }
  to { transform: rotate(360deg) scale(1); }
}

@media (max-width: 1100px) {
  .hero-3d-object { width: 60%; opacity: 0.5; right: -8%; }
}

@media (max-width: 700px) {
  .hero-3d-object { display: none; }
}

/* ===========================
   Inner page hero background (same photo treatment as homepage)
=========================== */

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  animation: heroBreathe 18s ease-in-out infinite;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.85) 70%, var(--color-bg) 100%);
}

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

.hero-float-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #4a4a4a, #0a0a0a 75%);
  z-index: 1;
  opacity: 0;
  animation: shapeFadeIn 1s ease forwards, shapeFloat 7s ease-in-out infinite;
}

.hero-float-shape.s1 {
  width: 140px; height: 140px;
  top: 22%; right: 12%;
  animation-delay: 0.6s, 1.2s;
}
.hero-float-shape.s2 {
  width: 90px; height: 90px;
  top: 60%; right: 22%;
  animation-delay: 0.9s, 1.8s;
  background: radial-gradient(circle at 35% 30%, #5a5a5a, #0a0a0a 70%);
}
.hero-float-shape.s3 {
  width: 60px; height: 60px;
  top: 38%; right: 6%;
  animation-delay: 1.1s, 2.4s;
}

@keyframes shapeFadeIn { to { opacity: 0.9; } }
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}

@media (max-width: 900px) {
  .hero-float-shape { display: none; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.hero-content h1 {
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.1s;
}

.hero-content p.lead {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 40px;
  font-style: italic;
  color: #D8D8D8;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.45s;
  flex-wrap: wrap;
}

.hero-markets {
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.market-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--color-border);
}
.market-pill:last-child { border-right: none; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ===========================
   Marquee strip
=========================== */

.marquee-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  background: var(--color-bg);
}

.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
  transition: animation-duration 0.3s ease;
}
.marquee-strip:hover .marquee-track { animation-duration: 10s; }

.marquee-track span {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 60px;
}
.marquee-track span::after {
  content: '\2022';
  color: var(--color-accent);
  margin-left: 60px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===========================
   Reveal utilities
=========================== */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.reveal-1 { transition-delay: 0.05s; }
.reveal-2 { transition-delay: 0.15s; }
.reveal-3 { transition-delay: 0.25s; }
.reveal-4 { transition-delay: 0.35s; }
.reveal-5 { transition-delay: 0.45s; }

/* ===========================
   Sections
=========================== */

.section { padding: 140px 0; }
.section-header { max-width: 720px; margin-bottom: 64px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===========================
   Stat photo cards (Rage-style)
=========================== */

.stats-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr 1fr;
  gap: 24px;
  align-items: end;
}

.stat-photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.stat-photo-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent);
}

.stat-photo-card.no-img {
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
}

.stat-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.45);
  opacity: 0.7;
  transform: scale(1.02);
  transition: filter 0.5s ease, opacity 0.5s ease, transform 0.6s ease;
}

.stat-photo-card:hover img {
  filter: grayscale(0%) brightness(0.85);
  opacity: 1;
  transform: scale(1.08);
}

.stat-photo-card .stat-label-top {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
  line-height: 1.3;
  z-index: 2;
}

.stat-photo-card .stat-overlay-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  z-index: 1;
}

.stat-photo-card .stat-big-number {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  z-index: 2;
}

.stat-photo-card .stat-arrow {
  position: absolute;
  bottom: 28px;
  right: 24px;
  font-size: 1.4rem;
  color: #fff;
  z-index: 2;
  transition: transform 0.4s ease;
}

.stat-photo-card:hover .stat-arrow {
  transform: rotate(45deg) scale(1.2);
}

@media (max-width: 900px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .stats-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-photo-card .stat-big-number { font-size: 1.8rem; }
}

/* ===========================
   Client logo strip
=========================== */

.clients-strip { padding: 56px 0; border-bottom: 1px solid var(--color-border); overflow: hidden; }

.clients-marquee-track {
  display: flex; align-items: center; gap: 64px; white-space: nowrap; width: max-content;
  animation: clientsMarquee 38s linear infinite;
}
.clients-marquee-track:hover { animation-play-state: paused; }
@keyframes clientsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.clients-row { display: inline-flex; align-items: center; gap: 64px; }

.clients-row .client-logo {
  height: 40px; width: auto; max-width: 170px; object-fit: contain;
  filter: grayscale(100%) brightness(2.4);
  opacity: 0.55;
  transition: filter 0.25s ease, opacity 0.25s ease;
  flex-shrink: 0;
}
.clients-row .client-logo:hover { filter: grayscale(0%) brightness(1); opacity: 1; }

/* ===========================
   Services Accordion (Rage-style)
=========================== */

.services-accordion {
  border-top: 1px solid var(--color-border);
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.accordion-item.active { background: var(--color-bg-alt); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  gap: 24px;
}

.accordion-header .label-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.accordion-header .index-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--color-text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.accordion-item.active .index-icon {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.accordion-header h3 {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 500;
  color: var(--color-text-faint);
  transition: color 0.3s ease;
}

.accordion-item.active .accordion-header h3 { color: var(--color-text); }

.accordion-header .chevron {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.accordion-item.active .chevron { transform: rotate(45deg); color: var(--color-accent); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.accordion-item.active .accordion-body { max-height: 240px; opacity: 1; }

.accordion-body-inner {
  padding: 0 0 36px 54px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
}

.accordion-body-inner p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 460px;
}

.accordion-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.accordion-link:hover { opacity: 0.7; }

.accordion-shape {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3a3a3a, #0a0a0a 75%);
  flex-shrink: 0;
  animation: shapeSpin 12s linear infinite;
}

@keyframes shapeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
  .accordion-body-inner { grid-template-columns: 1fr; gap: 10px; }
  .accordion-shape { display: none; }
  .accordion-body-inner { padding-left: 54px; }
}

/* ===========================
   Team grid
=========================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.team-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-bg-card);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
  transition: filter 0.3s ease;
}
.team-card:hover img { filter: grayscale(0%); }

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.team-card-overlay h4 { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 2px; }
.team-card-overlay span { font-size: 0.82rem; color: var(--color-text-muted); }

@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===========================
   Portfolio
=========================== */

.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.portfolio-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
}

.portfolio-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease; filter: grayscale(15%);
}
.portfolio-card:hover img { transform: scale(1.05); filter: grayscale(0%); }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 12%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.portfolio-overlay .tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 8px;
}
.portfolio-overlay h4 { font-size: 1.25rem; font-weight: 600; color: #fff; }

@media (max-width: 800px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ===========================
   CTA band
=========================== */

.cta-band {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 80px 56px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { max-width: 500px; margin: 0 auto 36px; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===========================
   Inner page hero (consistent with homepage hero)
=========================== */

.page-hero {
  position: relative;
  overflow: hidden;
  background-image: url('images/hero-photo.jpg');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.82) 65%, var(--color-bg) 100%);
  z-index: 0;
}

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

@media (max-width: 700px) {
  .page-hero { background-image: none; }
}

/* ===========================
   Contact grid (shared across pages)
=========================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info-item { margin-bottom: 24px; }
.contact-info-item .label {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}
.contact-info-item a, .contact-info-item p {
  color: var(--color-text);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}
.contact-info-item a:hover { color: var(--color-accent); }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===========================
   Contact form (minimal underline style)
=========================== */

.contact-form-minimal { display: flex; flex-direction: column; gap: 0; }

.form-field {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
  transition: border-color 0.3s ease;
}
.form-field:focus-within { border-color: var(--color-accent); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 1.05rem;
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 80px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--color-text-faint); }

.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .form-row-split { grid-template-columns: 1fr; } }

/* ===========================
   Footer
=========================== */

.footer { background: var(--color-bg); border-top: 1px solid var(--color-border); padding: 80px 0 32px; }

.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 56px; border-bottom: 1px solid var(--color-border);
}

.footer-logo img { height: 38px; margin-bottom: 20px; }
.footer-col h5 {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col p { font-size: 0.92rem; color: var(--color-text-muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--color-accent); }

.footer-socials { display: flex; gap: 12px; margin-top: 18px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--color-border);
  display: flex; align-items: center; justify-content: center; font-size: 0.78rem; color: var(--color-text-muted);
}
.footer-socials a:hover { border-color: var(--color-accent); color: var(--color-accent); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; color: var(--color-text-faint); }

/* ===========================
   Scroll progress bar
=========================== */

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-accent);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ===========================
   Page load fade
=========================== */

body { opacity: 0; transition: opacity 0.5s ease; }
body.page-loaded { opacity: 1; }

/* ===========================
   Responsive — general
=========================== */

@media (max-width: 900px) {
  .nav-links-desktop { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero { padding-top: 130px; min-height: auto; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .market-pill { padding-right: 16px; margin-right: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta-band { padding: 56px 28px; }
}
