/* ============================================================
   SKYPYX LLC – Master Stylesheet
   ============================================================ */

/* ---------- 1. CUSTOM PROPERTIES ---------- */
:root {
  --ink:        #1a4548;
  --ink-light:  #2b6f73;
  --nav:        #1a1a2e;
  --navHover:   #2a2a42;
  --accent:     #3498db;
  --muted:      #666;
  --text:       #333;
  --light:      #f8f9fa;
  --white:      #ffffff;
  --border:     1px solid rgba(0,0,0,0.07);
  --radius:     12px;
  --radius-lg:  16px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.1);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.12);
  --text-dim:   #555;
  --text-body:  #444;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Skip Navigation */
.skip-nav {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10001;
}

.skip-nav:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 24px;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
}

/* Screen reader only */
.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;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  line-height: 1.6;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  transition: color var(--transition), background var(--transition);
}

/* Focus indicators */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

nav a:focus-visible {
  outline-color: rgba(255,255,255,0.8);
}

.lightbox-close:focus-visible {
  outline-color: rgba(255,255,255,0.8);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Default main for simple pages */
main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem 4rem;
  flex: 1;
}

main h2 {
  margin-bottom: 1rem;
  color: var(--ink);
}

/* ---------- 3. HEADER & NAVIGATION ---------- */
header {
  background: var(--nav);
  color: white;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background: rgba(26, 26, 46, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001;
}

.logo img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.logo:hover img {
  transform: scale(1.03);
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background 0.2s ease;
}

nav a:hover {
  color: #fff;
  background: var(--navHover);
}

nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  min-width: 160px;
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--white);
}

.btn-primary:hover {
  background: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,69,72,0.2);
}

/* Filled primary for non-hero contexts */
.btn-filled {
  background: var(--ink);
  color: white;
  border: 2px solid var(--ink);
}

.btn-filled:hover {
  background: var(--ink-light);
  border-color: var(--ink-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,69,72,0.25);
}

/* ============================================================
   5. HOMEPAGE STYLES
   ============================================================ */
.homepage {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.55) 0%,
    rgba(26, 69, 72, 0.75) 60%,
    rgba(26, 69, 72, 0.9) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  color: white;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto 44px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.hero .btn-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.5);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--white);
  border-bottom: var(--border);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 36px 20px;
  border-right: var(--border);
  transition: background 0.3s ease;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--light);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* --- Client Logos Carousel --- */
.client-logos {
  padding: 72px 0 60px;
  background: var(--light);
}

.client-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6d7278;
  margin-bottom: 36px;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: logo-scroll 30s linear infinite;
  will-change: transform;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  width: 180px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.logo-item img {
  max-height: 52px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.logo-item.arco img {
  filter: none;
  opacity: 0.95;
}

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- What We Do --- */
.what-we-do {
  padding: 100px 0;
  background: var(--white);
}

.what-we-do h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.what-we-do .section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-item {
  text-align: center;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: var(--border);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,69,72,0.15);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(26, 69, 72, 0.06);
  color: var(--ink);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--ink);
  stroke-width: 1.5;
  fill: none;
}

.service-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.service-item h3 a {
  color: inherit;
  text-decoration: none;
}

.service-item h3 a:hover {
  color: var(--ink-light);
}

.service-item p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* --- Featured Projects --- */
.featured-projects {
  padding: 100px 0;
  background: var(--light);
}

.featured-projects h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.featured-projects .section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.featured-cta {
  text-align: center;
}

/* --- Project Cards (shared) --- */
.project-card {
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #e9ecef;
}

.featured-grid .project-image {
  height: 280px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.06);
}

.project-info {
  padding: 20px 24px;
}

.project-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.project-info p {
  font-size: 14px;
  color: var(--muted);
}

/* --- Differentiator --- */
.differentiator {
  padding: 100px 0;
  background: var(--white);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.diff-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.diff-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.diff-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.diff-list li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.6;
}

.diff-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
}

.diff-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.diff-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.diff-image-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- CTA Block --- */
.cta-block {
  padding: 100px 0;
  background: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.cta-block h2 {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-block p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.cta-block .btn-primary {
  background: white;
  color: var(--ink);
  border-color: white;
}

.cta-block .btn-primary:hover {
  background: var(--light);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ============================================================
   6. CONTACT PAGE (full-width redesign)
   ============================================================ */
.contact-page {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Contact Hero */
.contact-hero {
  background: linear-gradient(135deg, var(--ink) 0%, #2b6f73 100%);
  padding: 80px 0 72px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.contact-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Contact body */
.contact-body {
  padding: 80px 0;
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

/* Left info panel */
.contact-info-panel {
  position: sticky;
  top: 96px; /* 72px header + 24px gap */
}

.info-card,
.deliverables-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: var(--border);
  margin-bottom: 24px;
}

.info-card h3,
.deliverables-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: var(--border);
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(26, 69, 72, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
}

.info-detail {
  flex: 1;
}

.info-detail .label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #767676;
  margin-bottom: 2px;
}

.info-detail .value {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}

.info-detail .value a {
  color: var(--ink);
  text-decoration: none;
}

.info-detail .value a:hover {
  text-decoration: underline;
}

/* Deliverables card — base styles shared with .info-card above */

.deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deliverables-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

.deliverables-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  background: var(--ink);
  border-radius: 50%;
}

/* Trust badges */
.trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trust-badge {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  border: var(--border);
  box-shadow: var(--shadow-sm);
}

.trust-badge .badge-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.trust-badge .badge-sub {
  font-size: 12px;
  color: var(--muted);
}

/* Right form panel */
.contact-form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: var(--border);
}

.contact-form-panel h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-form-panel .form-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* --- Contact Form --- */
.contact-form {
  max-width: none;
  margin: 0;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #adb5bd;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(26, 69, 72, 0.08);
}

.contact-form .btn-primary {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a4548, #2b6f73);
  color: white;
  border: none;
  box-shadow: 0 4px 16px rgba(26, 69, 72, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  font-family: var(--font);
  letter-spacing: 0.02em;
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 69, 72, 0.4);
  background: linear-gradient(135deg, #21595d, #32858a);
}

.contact-form .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(26, 69, 72, 0.3);
}

.contact-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.contact-note a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.contact-note a:hover {
  text-decoration: underline;
}

/* ============================================================
   7. FOOTER (Enhanced)
   ============================================================ */
footer {
  background: var(--nav);
  color: white;
  margin-top: auto;
}

.footer-main {
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-brand .logo img {
  height: 36px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255,255,255,0.5);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* ============================================================
   8. SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   9. PROJECTS PAGE
   ============================================================ */
.projects-page {
  max-width: 100%;
  padding: 0 2rem 4rem;
}

.projects-page h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.projects-page h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.projects-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

.projects-intro a {
  color: var(--ink);
  font-weight: 500;
}

/* ============================================================
   10. PROJECT DETAIL PAGE
   ============================================================ */
.project-detail {
  max-width: 1100px;
}

.back-link {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--accent);
}

.project-header {
  margin-bottom: 1.5rem;
}

.project-header h1,
.project-header h2 {
  font-size: 2.2rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.project-location {
  font-size: 1.1rem;
  color: var(--muted);
}

.project-hero {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 2.5rem;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  margin-bottom: 2rem;
}

.project-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.project-description p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

.project-details {
  background: var(--light);
  padding: 1.5rem;
  border-radius: 8px;
  height: fit-content;
}

.detail-item {
  margin-bottom: 1.25rem;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item .label {
  display: block;
  font-size: 0.85rem;
  color: #767676;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.detail-item .value {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.project-gallery img:hover {
  transform: scale(1.02);
}

/* Project content sections */
.project-content section {
  margin-bottom: 2rem;
}

.project-content section h2 {
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.project-content section ul {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.project-content section ul li {
  margin-bottom: 0.5rem;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
}

.project-content section p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

/* ============================================================
   11. ABOUT PAGE
   ============================================================ */
.about-page {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* About Hero */
.about-hero {
  background: linear-gradient(180deg, var(--light), var(--white));
  padding: 72px 0 32px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6d7278;
  margin-bottom: 10px;
}

.about-hero h1 {
  font-size: 44px;
  line-height: 1.12;
  margin-bottom: 14px;
  color: var(--ink);
}

.about-hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: #555;
  margin-bottom: 22px;
  max-width: 720px;
}

.about-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.about-hero-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.media-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(26,69,72,0.92);
  color: #fff;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
}

/* About Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 640px;
}

.stat {
  background: #fff;
  border: var(--border);
  border-radius: 12px;
  padding: 12px 12px;
}

.stat-kpi {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

/* About Strip */
.about-strip {
  background: var(--white);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 18px 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.strip-item {
  border-radius: 12px;
  padding: 12px;
  background: rgba(26,69,72,0.035);
  border: 1px solid rgba(26,69,72,0.07);
}

.strip-title {
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 2px;
}

.strip-sub {
  font-size: 13px;
  color: #666;
}

/* About Sections */
.about-section {
  padding: 72px 0;
  background: white;
}

.about-section.alt {
  background: var(--light);
}

.section-title {
  text-align: center;
  color: var(--ink);
  font-size: 32px;
  font-weight: 650;
  margin-bottom: 12px;
}

.section-sub {
  max-width: 780px;
  margin: 0 auto 28px;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

/* About Cards */
.about-cards {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-card {
  background: #fff;
  border: var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.about-card h3 {
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 16px;
}

.about-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.75;
}

/* About Gallery */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.gallery-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: #e9ecef;
}

.gallery-card figcaption {
  padding: 12px 14px;
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}

/* Pills */
.pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.pill {
  background: white;
  border: var(--border);
  border-radius: 999px;
  padding: 12px 14px;
  text-align: center;
  color: var(--ink);
  font-weight: 550;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.process-step {
  background: #fff;
  border: var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  margin-bottom: 10px;
}

.process-step h3 {
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 16px;
}

.process-step p {
  color: #666;
  font-size: 14px;
  line-height: 1.75;
}

/* Compliance */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.compliance-card {
  background: #fff;
  border: var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.compliance-card h3 {
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 16px;
}

.compliance-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.75;
}

/* About Links */
.about-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.about-link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(26,69,72,0.22);
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  background: rgba(255,255,255,0.5);
}

.about-link:hover {
  background: rgba(26,69,72,0.06);
}

/* ============================================================
   12. SERVICE / FACADE PAGE
   ============================================================ */
main.service-page {
  max-width: none;
  margin: 0;
  padding: 0;
}

.service-hero {
  background: linear-gradient(180deg, var(--light), var(--white));
  padding: 72px 0 28px;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.service-hero h1 {
  font-size: 44px;
  line-height: 1.12;
  margin-bottom: 14px;
  color: var(--ink);
}

.service-hero .lead {
  font-size: 18px;
  line-height: 1.75;
  color: #555;
  margin-bottom: 22px;
  max-width: 720px;
}

.service-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.service-hero-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Proof Row */
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 560px;
}

.proof-item {
  background: #fff;
  border: var(--border);
  border-radius: 12px;
  padding: 12px;
}

.proof-kpi {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.proof-label {
  font-size: 13px;
  color: #666;
}

/* Service TOC */
.service-toc {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: var(--white);
  border-bottom: var(--border);
}

.toc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px;
  overflow-x: auto;
}

.service-toc a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.service-toc a:hover {
  background: rgba(26,69,72,0.08);
}

.service-toc .toc-cta {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
}

.service-toc .toc-cta:hover {
  background: var(--ink-light);
}

/* Service body */
.service-body h2 {
  margin-bottom: 12px;
}

.service-body h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--ink);
}

.service-body p {
  max-width: 860px;
}

/* FAQ Accordion */
.faq-accordion {
  margin-top: 18px;
  border: var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 16px 16px;
  border: 0;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: var(--border);
  font-family: var(--font);
}

.faq-q:hover {
  background: rgba(26,69,72,0.04);
}

.faq-icon {
  font-weight: 700;
  opacity: 0.7;
}

.faq-a {
  padding: 0 16px 16px;
  border-bottom: var(--border);
}

.faq-a p {
  margin-top: 10px;
  color: #444;
  line-height: 1.8;
}

/* ============================================================
   13. LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
  padding: 24px;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transform-origin: center center;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-overlay img.dragging {
  cursor: grabbing;
}

.lightbox-overlay img.zoomed {
  cursor: grab;
}

.lightbox-zoom-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  letter-spacing: 0.05em;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Clickable image indicators */
[data-lightbox] {
  cursor: zoom-in;
  transition: transform 0.3s ease, filter 0.3s ease;
}

[data-lightbox]:hover {
  filter: brightness(1.05);
}

/* ============================================================
   14. RESPONSIVE
   ============================================================ */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .scroll-indicator { animation: none; }
  html { scroll-behavior: auto; }
}

/* < 1024px */
@media (max-width: 1024px) {
  .hero { min-height: 80vh; }
  .hero h1 { max-width: 700px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
  }

  .diff-grid { grid-template-columns: 1fr; gap: 40px; }
  .diff-image { order: -1; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-panel { position: static; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* < 992px */
@media (max-width: 992px) {
  .logo-track { gap: 32px; animation-duration: 26s; }
  .logo-item { width: 160px; height: 72px; }
  .logo-item img { max-height: 46px; max-width: 140px; }

  .featured-grid { gap: 20px; }
  .featured-grid .project-image { height: 240px; }

  /* Hamburger visible */
  .hamburger { display: flex; }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--nav);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 32px 32px;
    gap: 0;
    transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
    z-index: 1000;
  }

  nav.open {
    right: 0;
  }

  nav a {
    font-size: 17px;
    padding: 14px 16px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  /* About page responsive */
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero-media img { height: 360px; }
  .about-stats { grid-template-columns: 1fr; max-width: 420px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cards { grid-template-columns: 1fr; }
  .about-gallery { grid-template-columns: 1fr; }
  .pill-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: 1fr; }

  /* Service page responsive */
  .service-hero-grid { grid-template-columns: 1fr; }
  .service-hero-media img { height: 360px; }
  .proof-row { grid-template-columns: 1fr; max-width: 420px; }

  /* Projects page responsive */
  .projects-grid { grid-template-columns: 1fr; }
  .project-info-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-hero { height: 300px; }
}

/* < 768px */
@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .logo img { height: 36px; }

  .hero { min-height: 75vh; }
  .hero .container { padding-top: 24px; padding-bottom: 40px; }
  .hero-sub { margin-bottom: 32px; }

  .scroll-indicator { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .client-logos { padding: 56px 0 48px; }
  .logo-track { gap: 24px; animation-duration: 22s; }
  .logo-item { width: 140px; height: 64px; }
  .logo-item img { max-height: 42px; max-width: 130px; }

  .what-we-do,
  .featured-projects,
  .differentiator,
  .cta-block { padding: 72px 0; }

  .what-we-do h2,
  .featured-projects h2,
  .cta-block h2,
  .diff-content h2 { font-size: 28px; }

  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid .project-image { height: 220px; }

  .diff-image img,
  .diff-image-placeholder { height: 300px; }

  .contact-hero { padding: 60px 0 52px; }
  .contact-body { padding: 48px 0; }
  .contact-form-panel { padding: 28px 20px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }

  .footer-main { padding: 48px 0 32px; }

  /* About responsive */
  .about-hero { padding: 56px 0 22px; }
  .about-hero h1 { font-size: 34px; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 15px; }
  .pill-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }

  /* Service responsive */
  .service-hero h1 { font-size: 34px; }
  .service-hero { padding: 56px 0 18px; }
  .service-toc .toc-cta { margin-left: 0; }
}

/* < 480px */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: var(--border); }
  .stat-item:last-child { border-bottom: none; }

  .project-image { height: 220px; }

  .contact-hero h1 { font-size: 28px; }
}
