﻿/* =========================================
   SALASAR TRANSPORT COMPANY – Design System
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Roboto+Condensed:wght@400;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --red: #8B1A1A;
  --red-dark: #6e1414;
  --red-light: #a02020;
  --black: #111111;
  --charcoal: #222222;
  --dark-gray: #333333;
  --mid-gray: #666666;
  --light-gray: #f5f5f5;
  --border: #e0e0e0;
  --white: #ffffff;
  --deep-dark: #111111;
  --font-heading: 'Roboto Condensed', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.28s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --glow-red: 0 0 20px rgba(139, 26, 26, 0.35);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
}

h1 {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  letter-spacing: -1px;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  letter-spacing: -0.8px;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  letter-spacing: -0.2px;
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--dark-gray);
  font-size: 1rem;
  line-height: 1.75;
}

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.section-sub {
  color: var(--mid-gray);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 600px;
}

/* Section alternation */
.section-alt {
  background: #f5f5f5;
}

.section-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 0;
}

.red-bar {
  width: 52px;
  height: 4px;
  background: var(--red);
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(139, 26, 26, 0.2);
}

.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.35);
}

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

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

.btn-dark {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.btn-dark:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Secondary: red outline (on light backgrounds) */
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139, 26, 26, 0.3);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  transition: box-shadow var(--transition);
}

.navbar .container.nav-inner {
  max-width: 1280px;
  padding-left: 16px;
  padding-right: 16px;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  margin-right: 40px;
  flex-shrink: 0;
}

.nav-logo-icon {
  height: 55px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-right: 14px;
}

.nav-logo-wordmark {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 900px) {
  .nav-logo {
    margin-right: 20px;
  }

  .nav-logo-icon {
    height: 48px;
    margin-right: 12px;
  }

  .nav-logo-wordmark {
    height: 45px;
  }
}

@media (max-width: 768px) {
  .nav-logo-icon {
    height: 42px;
    margin-right: 8px;
  }

  .nav-logo-wordmark {
    height: 50px;
    display: block;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    margin-right: auto;
  }

  .nav-logo-icon {
    height: 42px;
    margin-right: 8px;
  }

  .nav-logo-wordmark {
    height: 50px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--dark-gray);
  padding: 8px 16px;
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--red);
}

.nav-cta {
  margin-left: 20px;
  white-space: nowrap;
  font-weight: 700;
  color: #FFFFFF !important;
  background-color: var(--red) !important;
  /* Ensuring the text is vertically centered and fits nicely */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled .hamburger {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.12);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hamburger:active {
  transform: scale(0.92);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 4px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, width 0.3s ease, background 0.3s ease;
  transform-origin: center center;
}

/* Removed .navbar.scrolled .hamburger span { background: var(--white); } to prevent camouflage against white navbar */

.hamburger.active span {
  background: var(--white) !important;
}

/* ---------- MOBILE NAVIGATION — SIDE PANEL ---------- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    inset: unset !important;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(32px) saturate(1.6) !important;
    -webkit-backdrop-filter: blur(32px) saturate(1.6) !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 8px 16px 16px !important;
    z-index: 999 !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 16px 16px;

    /* Drop down from top */
    transform: translateY(-20px) !important;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.4s;
  }

  .nav-links.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
  }

  /* Remove the scrim — translucent bg is enough */
  .nav-links.open::before {
    display: none;
  }

  .nav-links a {
    font-size: 0.75rem;
    font-weight: 400 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 12px;
    width: 100%;
    text-align: center;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav-links a:last-of-type {
    border-bottom: none;
  }

  /* Hamburger hides on scroll but stays clickable */
  .hamburger.scroll-hidden {
    /* Removed opacity: 0 so it stays visible even with cached JS */
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }

  .nav-links a.active {
    color: var(--red);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin: 12px 0 0;
    width: 100%;
    max-width: none;
    font-size: 0.75rem;
    padding: 12px 20px;
    text-align: center;
    border-radius: 6px;
    border-bottom: none;
    text-shadow: none;
  }

  /* Hamburger Active Animation (Modern X) */
  .hamburger.active {
    background: rgba(255, 255, 255, 0.12);
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.8fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-top: 0px;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.footer-est {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item .icon {
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.03);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 10s ease-in-out infinite alternate;
}




.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 36px 40px;
  background: rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-trust,
.hero h1,
.hero-sub,
.hero-btns {
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out forwards;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 26, 26, 0.9);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  margin-bottom: 24px;
  animation-delay: 0s;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  animation-delay: 0.2s;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 560px;
  animation-delay: 0.4s;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation-delay: 0.6s;
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 85vh;
    /* Drop fixed 100vh height */
    padding: 120px 0 80px;
  }

  .hero-content {
    padding: 24px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-trust {
    font-size: 0.6rem;
    padding: 6px 12px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    /* Smaller clamp */
    line-height: 1.15;
  }

  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btns .btn {
    width: 100%;
    /* Full width buttons */
    text-align: center;
  }
}

.hero-trust-line {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
  font-weight: 500;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out forwards;
  animation-delay: 0.8s;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: white;
  animation: scrollDown 1.8s ease infinite;
}

@keyframes scrollDown {
  to {
    top: 100%;
  }
}

/* ---------- SECTIONS ---------- */
section {
  padding: 90px 0;
}

.corridors {
  background: var(--light-gray);
  padding: 70px 0;
}

.corridors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.corridor-item {
  background: var(--white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background var(--transition), transform var(--transition);
  cursor: default;
}

.corridor-item:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.corridor-item:hover .cor-state,
.corridor-item:hover .cor-region,
.corridor-item:hover .cor-note {
  color: rgba(255, 255, 255, 0.95);
}

.corridor-item:hover .cor-icon {
  color: rgba(255, 255, 255, 0.7);
}

.cor-icon {
  font-size: 1.5rem;
  color: var(--red);
  transition: color var(--transition);
}

.cor-state {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  transition: color var(--transition);
}

.cor-region {
  font-size: 0.78rem;
  color: var(--mid-gray);
  font-weight: 500;
  transition: color var(--transition);
}

.cor-note {
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.4);
  transition: color var(--transition);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
}

.why-card {
  border: 1px solid var(--border);
  padding: 36px 28px;
  position: relative;
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--red);
  transition: height 0.35s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.why-card:hover::before {
  height: 100%;
}

.why-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.why-card:hover .why-icon-wrap {
  background: rgba(139, 26, 26, 0.08);
}

.why-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.87rem;
  line-height: 1.7;
}

.services-section {
  background: var(--black);
}

.services-section .section-title {
  color: var(--white);
}

.services-section .red-bar {
  background: var(--red);
}

.services-section .tag {
  color: rgba(255, 255, 255, 0.5);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 3rem;
}

.service-item {
  background: var(--black);
  padding: 40px 28px;
  transition: all 0.3s ease;
}

.service-item:hover {
  background: #1a1a1a;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.svc-icon {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 20px;
}

.service-item h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 12px;
}

.service-item p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.83rem;
  line-height: 1.65;
}

.stats-section {
  background: var(--red);
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-item {
  padding: 48px 40px;
  background: var(--red);
  text-align: center;
  position: relative;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.stat-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
  font-weight: 500;
}

/* ---------- ABOUT PAGE ---------- */
.about-hero {
  background: var(--black);
  padding: 80px 0 60px;
  margin-top: 72px;
}

.about-hero h1 {
  color: var(--white);
}

.about-hero .section-sub {
  color: rgba(255, 255, 255, 0.55);
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story-img {
  position: relative;
}

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

.about-story-img::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--red);
  z-index: -1;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.pillar-item {
  background: var(--white);
  padding: 36px 28px;
}

.pillar-item:hover {
  background: var(--light-gray);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 12px;
}

.pillar-item h4 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.pillar-item p {
  font-size: 0.83rem;
}

/* ---------- SERVICES PAGE ---------- */
.services-hero {
  background: var(--black);
  padding: 80px 0 60px;
  margin-top: 72px;
}

.services-hero h1 {
  color: var(--white);
}

.services-hero .section-sub {
  color: rgba(255, 255, 255, 0.55);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse>* {
  direction: ltr;
}

.svc-block-icon {
  font-size: 3.5rem;
  color: var(--red);
  margin-bottom: 20px;
}

.svc-block-num {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 4px;
}

.svc-block-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.svc-block-desc {
  font-size: 0.92rem;
  line-height: 1.75;
}

.materials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.material-tag {
  background: var(--light-gray);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  color: var(--dark-gray);
}

/* ---------- FORM PAGES ---------- */
.form-hero {
  background: var(--black);
  padding: 80px 0 60px;
  margin-top: 72px;
}

.form-hero h1 {
  color: var(--white);
}

.form-hero .section-sub {
  color: rgba(255, 255, 255, 0.55);
}

.form-section {
  padding: 80px 0;
}

.form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 56px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-grid.full {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.span2 {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

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

.form-note {
  font-size: 0.78rem;
  color: var(--mid-gray);
  background: var(--light-gray);
  border-left: 3px solid var(--red);
  padding: 14px 18px;
  margin-top: 24px;
  line-height: 1.6;
}

.form-submit {
  margin-top: 32px;
}

/* ---------- GALLERY PAGE ---------- */
.gallery-hero {
  background: var(--black);
  padding: 80px 0 60px;
  margin-top: 72px;
}

.gallery-hero h1 {
  color: var(--white);
}

.gallery-hero .section-sub {
  color: rgba(255, 255, 255, 0.55);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(139, 26, 26, 0.0);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: background 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(139, 26, 26, 0.75);
}

.gallery-caption {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info-block {
  border-top: 3px solid var(--red);
  padding-top: 24px;
  margin-bottom: 36px;
}

.contact-info-block h4 {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 14px;
}

.contact-detail {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.contact-detail a {
  color: var(--black);
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--red);
}

.contact-meta {
  font-size: 0.83rem;
  color: var(--mid-gray);
}

.hours-block {
  background: var(--light-gray);
  padding: 28px;
  margin-top: 32px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 600;
  color: var(--black);
}

.hours-time {
  color: var(--mid-gray);
}

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  background: var(--black);
  padding: 80px 0 56px;
  margin-top: 72px;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header .breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.page-header .breadcrumb a {
  color: var(--red);
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-pillars {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .nav-links {
    /* Handled by main side-panel block at line ~422 */
  }

  .nav-links.open {
    /* Handled by main side-panel block */
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .why-us-grid,
  .services-grid,
  .corridors-grid,
  .about-story,
  .about-pillars,
  .service-block,
  .form-grid,
  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* Specific Section Padding Overrides */
  .corridors,
  .section-dark,
  .services-section,
  .stats-section,
  .about-hero,
  .services-hero,
  .form-hero,
  .gallery-hero,
  .process-section {
    padding: 80px 16px;
  }

  .service-block,
  .about-story-img,
  .corridor-item,
  .why-card {
    width: 100%;
    margin-bottom: 24px;
  }

  .service-block.reverse {
    direction: ltr;
    /* Reset desktop reverse flowing */
  }

  /* Flatten heavy card 3D transforms */
  .why-card:hover,
  .coverage-card-dark:hover,
  .service-item:hover,
  .corridor-item:hover {
    transform: translateY(-2px);
    /* Subdued lift */
    box-shadow: var(--shadow-sm);
    /* Subdued shadow */
  }

  .form-wrap {
    padding: 32px 24px;
    margin: 16px;
  }

  /* Statistics Vertical Display */
  .stats-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .stat-item {
    padding: 60px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .stat-num {
    font-size: 3.5rem;
    /* Enlarge on mobile */
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 480px) {

  .corridors-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero {
    min-height: 100svh;
  }
}

/* Footer Logo Images */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-logo-icon {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-wordmark {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ---------- GALLERY PAGE ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 36px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-end;
  padding: 24px 20px;
  transition: background 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0, 0, 0, 0.55);
}

.gallery-caption {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- PROCESS SECTION ---------- */
.process-section {
  padding: 90px 0;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(139, 26, 26, 0.25);
}

.process-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1.4;
}

/* ---------- CONTACT STRIP ---------- */
.contact-strip {
  background: var(--red-dark);
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}

.contact-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-strip-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  text-align: center;
}

.contact-strip-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.contact-strip-phones {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.contact-strip-phones a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-strip-phones a:hover {
  opacity: 0.8;
}

.contact-strip-divider {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 4px;
}

/* ---------- FOOTER BORDER ---------- */
.footer-wrapper {
  border-top: 1px solid #e0e0e0;
}

/* ---------- WHY SALASAR ACCENT ---------- */
.why-heading-wrap {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 0.4rem;
}

.why-accent-bar {
  width: 4px;
  min-height: 52px;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 4px;
}

.why-subheading {
  font-size: 0.97rem;
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 560px;
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .contact-strip-inner {
    flex-direction: column;
    gap: 6px;
  }
}

/* =============================================
   FUTURISTIC REDESIGN — UPGRADE LAYER
   ============================================= */

/* ---------- Dark Section System ---------- */
.section-dark {
  background: #111111;
  position: relative;
}

.section-dark .tag {
  color: rgba(255, 255, 255, 0.4);
}

.section-dark .red-bar {
  background: var(--red);
  box-shadow: 0 0 10px rgba(139, 26, 26, 0.5);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.6);
}

.section-dark .section-sub,
.section-dark .why-subheading {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Glass Panel Utility ---------- */
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ---------- Hero Red Accent Streak ---------- */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 15%;
  width: 2px;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, var(--red) 40%, transparent 100%);
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Button Upgrades ---------- */
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.35), var(--glow-red);
}

.btn-red:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(139, 26, 26, 0.2);
}

.btn-dark:active,
.btn-outline:active {
  transform: translateY(1px);
}

/* ---------- Red Bar Glow ---------- */
.section-dark .red-bar,
.hero .red-bar {
  box-shadow: 0 0 12px rgba(139, 26, 26, 0.5);
}

/* ---------- Why Salasar – Dark Mode Cards ---------- */
.section-dark .why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.section-dark .why-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 26, 26, 0.2);
  border-color: rgba(139, 26, 26, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.section-dark .why-card::before {
  background: var(--red);
  box-shadow: 0 0 8px rgba(139, 26, 26, 0.5);
}

.section-dark .why-icon-wrap {
  background: rgba(139, 26, 26, 0.15);
  border: 1px solid rgba(139, 26, 26, 0.25);
}

.section-dark .why-card h3 {
  color: var(--white);
}

.section-dark .why-card p {
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Accent Line – Dark Section ---------- */
.section-dark .why-accent-bar {
  background: var(--red);
  box-shadow: 0 0 10px rgba(139, 26, 26, 0.5);
}

/* ---------- Process Section – Dark Mode ---------- */
.section-dark .process-num {
  background: var(--red);
  box-shadow: 0 4px 16px rgba(139, 26, 26, 0.45), 0 0 24px rgba(139, 26, 26, 0.2);
}

.section-dark .process-label {
  color: rgba(255, 255, 255, 0.85);
}

.section-dark .process-step:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.12);
}

/* Glass card for process steps in dark mode */
.section-dark .process-step-inner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: 20px 12px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.section-dark .process-step:hover .process-step-inner {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 26, 26, 0.3);
  transform: translateY(-4px);
}

/* ---------- Service Items – Scale Hover Upgrade ---------- */
.service-item {
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  background: #1a1a1a;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* ---------- Corridor Cards – Scale Upgrade ---------- */
.corridor-item {
  transition: background 0.3s ease, transform 0.3s ease;
}

.corridor-item:hover {
  background: var(--red);
  transform: translateY(-4px) scale(1.01);
}

/* ---------- Parallax Support ---------- */
.hero-bg {
  will-change: transform;
}

/* ---------- Hero Dramatic Spacing ---------- */
.hero-content {
  padding: 48px 48px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.08rem;
  max-width: 540px;
}

/* ---------- Section Dark – Nav Tags ---------- */
.section-dark .section-title {
  color: var(--white);
}

/* ---------- Responsive – Dark Section ---------- */
@media (max-width: 768px) {
  .hero::after {
    display: none;
  }

  .hero-content {
    padding: 28px 24px;
  }
}

/* =============================================
   GLOBAL PREMIUM UPGRADES
   ============================================= */

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red-light);
}

/* Firefox */
html {
  scrollbar-color: var(--red) #111;
  scrollbar-width: thin;
}

/* ---------- Background Texture (Light Sections) ---------- */
.texture-bg {
  position: relative;
}

.texture-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 4px,
      rgba(0, 0, 0, 0.018) 4px,
      rgba(0, 0, 0, 0.018) 5px);
  pointer-events: none;
  z-index: 0;
}

.texture-bg>* {
  position: relative;
  z-index: 1;
}

/* ---------- Page Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: #111;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preloaderPulse 1.2s ease-in-out infinite alternate;
}

.preloader-logo img {
  height: 72px;
  width: auto;
  filter: brightness(1);
}

.preloader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--red);
  border-radius: 2px;
  animation: preloaderSlide 1s ease-in-out infinite alternate;
}

@keyframes preloaderPulse {
  from {
    opacity: 0.7;
  }

  to {
    opacity: 1;
  }
}

@keyframes preloaderSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(200%);
  }
}

/* ---------- Floating CTA Button ---------- */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 900;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 20px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(139, 26, 26, 0.4), var(--glow-red);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(139, 26, 26, 0.5), 0 0 30px rgba(139, 26, 26, 0.25);
}

.floating-cta:active {
  transform: translateY(0);
}

/* ---------- Mobile Nav — Deferred to side panel ---------- */
@media (max-width: 900px) {
  .nav-links {
    /* Side panel styles handled in the 768px block */
    inset: unset;
  }

  .nav-links.open {
    /* Side panel uses transform/visibility, not display */
  }

  .nav-links a {
    /* Deferred to dropdown block */
  }

  .nav-links a::after {
    bottom: 4px;
    left: 24px;
    right: 24px;
  }

  .nav-links a:hover {
    color: var(--red) !important;
  }

  .nav-links .nav-cta {
    margin-top: 12px;
    color: var(--white) !important;
    font-size: 1rem !important;
    padding: 14px 32px !important;
  }
}

/* ---------- About Page – Dark Pillars Section ---------- */
.about-pillars-dark {
  background: #111;
  padding: 80px 0;
}

.about-pillars-dark .tag {
  color: rgba(255, 255, 255, 0.4);
}

.about-pillars-dark h2,
.about-pillars-dark h4 {
  color: var(--white);
}

.about-pillars-dark p {
  color: rgba(255, 255, 255, 0.55);
}

.about-pillars-dark .red-bar {
  box-shadow: 0 0 10px rgba(139, 26, 26, 0.4);
}

.about-pillars-dark .section-sub {
  color: rgba(255, 255, 255, 0.45);
}

.about-pillars-dark .pillar-item {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.about-pillars-dark .pillar-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(139, 26, 26, 0.3);
}

.about-pillars-dark .pillar-num {
  color: rgba(139, 26, 26, 0.7);
}

/* ---------- Contact Form – Dark Glass Panel ---------- */
.contact-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* ---------- Coverage Cards – Dark Hover ---------- */
.coverage-card {
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.coverage-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* ---------- Responsive Floating CTA ---------- */
@media (max-width: 480px) {
  .floating-cta {
    bottom: 20px;
    right: 16px;
    font-size: 0.68rem;
    padding: 11px 16px;
  }
}

/* =============================================
   ABOUT PAGE – MODERN UPGRADE
   ============================================= */

/* ---------- Animated Stats ---------- */
.about-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* ---------- Pillar Rows (Horizontal) ---------- */
.pillar-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  transition: background 0.25s ease;
}

.pillar-row:first-child {
  border-top: 1px solid var(--border);
}

.pillar-row:hover {
  background: rgba(139, 26, 26, 0.03);
}

.pillar-row-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--red);
  min-width: 60px;
  padding-right: 24px;
  display: flex;
  align-items: center;
  border-right: 3px solid var(--red);
  flex-shrink: 0;
  line-height: 1;
  opacity: 0.7;
}

.pillar-row-content {
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.pillar-row-content h4 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--black);
  margin: 0;
}

.pillar-row-content p {
  font-size: 0.88rem;
  color: var(--mid-gray);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Dark Coverage Cards ---------- */
.coverage-card-dark {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.coverage-card-dark h4 {
  color: var(--white);
}

.coverage-card-dark p {
  color: rgba(255, 255, 255, 0.55);
}

.coverage-card-dark:hover {
  border-color: rgba(139, 26, 26, 0.4);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

/* ---------- Responsive About ---------- */
@media (max-width: 768px) {
  .pillar-row {
    padding: 20px 0;
  }

  .pillar-row-num {
    font-size: 1.1rem;
    min-width: 44px;
    padding-right: 16px;
  }

  .pillar-row-content {
    padding-left: 20px;
  }

  .about-stats {
    gap: 24px;
  }
}

/* =============================================
   SERVICES PAGE – EDITORIAL REDESIGN
   ============================================= */

.svc-editorial-section {
  padding: 0;
}

/* --- Alternating Editorial Block --- */
.svc-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  border-bottom: 1px solid var(--border);
}

.svc-editorial-rev {
  direction: rtl;
}

.svc-editorial-rev>* {
  direction: ltr;
}

/* --- Image Panel --- */
.svc-ed-image {
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
}

.svc-ed-image img {
  transition: transform 0.6s ease;
}

.svc-editorial:hover .svc-ed-image img {
  transform: scale(1.04);
}

/* --- Giant Watermark Number --- */
.svc-ed-watermark {
  position: absolute;
  bottom: -16px;
  right: -8px;
  font-family: var(--font-heading);
  font-size: 9rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
}

/* --- Content Panel --- */
.svc-ed-content {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.svc-ed-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin: 8px 0 16px;
  color: var(--black);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.svc-ed-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--mid-gray);
  margin: 0;
}

.svc-ed-content .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* --- Spec Strip --- */
.spec-strip {
  display: flex;
  align-items: stretch;
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  margin-top: -1px;
}

.spec-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 28px;
}

.spec-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.2px;
}

.spec-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
  margin: 12px 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .svc-editorial {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .svc-editorial-rev {
    direction: ltr;
  }

  .svc-ed-image {
    height: 260px;
  }

  .svc-ed-content {
    padding: 36px 28px;
  }

  .svc-ed-watermark {
    font-size: 6rem;
  }

  .spec-strip {
    flex-wrap: wrap;
  }

  .spec-item {
    flex: 1 1 45%;
    padding: 16px 20px;
  }

  .spec-divider {
    display: none;
  }
}

/* ══════════════════════════════════════════════════
   PREMIUM 3D PARALLAX DEPTH SYSTEM — CSS Layer
   ══════════════════════════════════════════════════ */

/* ─── 1. SCROLL SMOOTHNESS & GPU COMPOSITE BASE ─── */
html {
  scroll-behavior: smooth;
}

.hero-bg,
.hero-content,
.about-story-img,
.svc-ed-image,
.page-header,
.gallery-hero {
  transform: translateZ(0);
  /* Force GPU composite layer */
  backface-visibility: hidden;
}

/* ─── 2. LAYERED REVEAL — Cinematic Depth ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Staggered delays for child sequences */
.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

.reveal-delay-5 {
  transition-delay: 0.40s;
}

/* ─── 3. HERO SECTION — PERSPECTIVE DEPTH ─── */
.hero {
  perspective: 1200px;
  perspective-origin: 50% 40%;
}

.hero-bg {
  transform-origin: center center;
  will-change: transform;
}

.hero-content {
  will-change: transform;
  transform-origin: center top;
}

/* ─── 4. CARD MICRO-INTERACTIONS ─── */
.svc-editorial,
.coverage-card,
.why-card,
.service-block,
.service-item {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

/* Tilt elevation shadow — enhanced on hover via JS */
.svc-editorial:hover,
.coverage-card:hover,
.why-card:hover,
.service-block:hover,
.service-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ─── 5. DARK SECTION DEPTH ─── */
.section-dark {
  position: relative;
  /* Layered gradient for depth: top slightly lighter, bottom deeper */
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.0) 0%,
      rgba(0, 0, 0, 0.08) 100%), var(--black);
  overflow: hidden;
}

/* Inset top shadow for depth/elevation feeling */
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(139, 26, 26, 0.04) 0%,
      transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.section-dark>* {
  position: relative;
  z-index: 1;
}

/* Depth shadows on dark section cards */
.section-dark .coverage-card-dark {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-dark .coverage-card-dark:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

/* ─── 6. TEXTURE BG SECTIONS — SUBTLE PARALLAX LAYER ─── */
.texture-bg {
  position: relative;
  isolation: isolate;
}



/* ─── 7. PAGE HEADER PERSPECTIVE ─── */
.page-header {
  perspective: 800px;
  perspective-origin: 50% 50%;
  overflow: hidden;
}

.page-header .container {
  will-change: transform;
}

/* ─── 8. SMOOTH EASING ON INTERACTIVE ELEMENTS ─── */
.btn {
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

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

.btn:active {
  transform: translateY(0px);
}

/* Pillar rows hover lift */
.pillar-row {
  transition: background 0.25s ease, padding-left 0.2s ease;
}

/* Spec strip item hover */
.spec-item {
  transition: background 0.2s ease;
}

.spec-item:hover {
  background: rgba(139, 26, 26, 0.04);
}

/* ─── 9. FOREGROUND ACCENT ELEMENTS ─── */
.hero-badge,
.stat-highlight {
  will-change: transform;
}

/* ─── 10. REDUCED MOTION OVERRIDES ─── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg,
  .hero-content,
  .about-story-img,
  .svc-ed-image,
  .gallery-hero,
  .page-header .container {
    transform: none !important;
    will-change: auto;
  }

  .btn:hover {
    transform: none;
  }

  .svc-editorial:hover,
  .coverage-card:hover,
  .why-card:hover {
    transform: none;
  }
}

/* ─── 11. MOBILE — DISABLE 3D TILT, KEEP REVEALS ─── */
@media (max-width: 767px) {

  .hero-bg,
  .hero-content,
  .about-story-img,
  .svc-ed-image,
  .page-header .container {
    transform: none !important;
    will-change: auto;
  }

  .svc-editorial,
  .coverage-card,
  .why-card,
  .service-block {
    transform-style: flat;
  }
}

/* ══════════════════════════════════════════════════════════
   SECTION SNAP SCROLL SYSTEM
   ══════════════════════════════════════════════════════════ */

/* ─── Snap Section Base ─── */
.snap-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /* GPU composite layer — smooth transforms */
  transform: translateZ(0);
  backface-visibility: hidden;
  /* Depth shadow to separate sections */
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06);
}

/* Hero already positions itself */
.snap-section.hero {
  justify-content: center;
}

/* ─── Section Active State ─── */
.snap-active {
  z-index: 1;
}

/* ─── 3D WAVE — Entering from bottom (scroll DOWN) ─── */
.snap-entering-up {
  animation: snapEnterUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes snapEnterUp {
  from {
    opacity: 0.55;
    transform: translateY(52px) scale(0.965) translateZ(0);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) translateZ(0);
  }
}

/* ─── 3D WAVE — Entering from top (scroll UP) ─── */
.snap-entering-down {
  animation: snapEnterDown 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes snapEnterDown {
  from {
    opacity: 0.55;
    transform: translateY(-52px) scale(0.965) translateZ(0);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) translateZ(0);
  }
}

/* ─── Leaving section — scale compress ─── */
.snap-leaving {
  animation: snapLeave 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  pointer-events: none;
}

@keyframes snapLeave {
  from {
    opacity: 1;
    transform: scale(1) translateZ(0);
  }

  to {
    opacity: 0.4;
    transform: scale(0.96) translateZ(-30px);
  }
}

/* ─── Side Navigation Dots ─── */
.snap-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8888;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
}

.snap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(139, 26, 26, 0.22);
  border: 1.5px solid rgba(139, 26, 26, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.snap-dot.active {
  background: #8b1a1a;
  border-color: #8b1a1a;
  transform: scale(1.35);
}

.snap-dot:hover:not(.active) {
  background: rgba(139, 26, 26, 0.5);
  border-color: rgba(139, 26, 26, 0.7);
  transform: scale(1.2);
}

/* ─── Section Depth Separator ─── */
.snap-section+.snap-section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section-dark.snap-section+.snap-section,
.snap-section+.section-dark.snap-section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ─── Perspective container on snap pages ─── */
body:has(.snap-section) {
  perspective: 1px;
  perspective-origin: top center;
}

/* ─── MOBILE — CSS snap fallback, no 3D intensity ─── */
@media (max-width: 767px) {
  .snap-section {
    min-height: 100dvh;
    /* dynamic viewport height on mobile */
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Reduce animation intensity on mobile */
  @keyframes snapEnterUp {
    from {
      opacity: 0.7;
      transform: translateY(28px) scale(0.98) translateZ(0);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1) translateZ(0);
    }
  }

  @keyframes snapEnterDown {
    from {
      opacity: 0.7;
      transform: translateY(-28px) scale(0.98) translateZ(0);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1) translateZ(0);
    }
  }

  .snap-nav {
    right: 12px;
    gap: 8px;
  }

  .snap-dot {
    width: 6px;
    height: 6px;
  }
}

/* ─── REDUCED MOTION — plain scroll, no animation ─── */
@media (prefers-reduced-motion: reduce) {

  .snap-entering-up,
  .snap-entering-down,
  .snap-leaving {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .snap-nav {
    display: none;
  }
}

/* =============================================
   MOBILE-FIRST MASTER OVERRIDE (FINAL AUTHORITY)
   Placed at EOF so it wins all specificity wars.
   ============================================= */
@media (max-width: 768px) {

  /* ── GLOBAL RESET ── */
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  section {
    padding: 56px 0 !important;
    overflow: hidden;
  }

  /* ── NAVBAR ── */
  #navbar .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .nav-logo {
    flex-shrink: 1 !important;
    min-width: 0 !important;
    margin-right: auto !important;
    overflow: hidden;
  }

  .nav-logo-icon {
    height: 42px !important;
    margin-right: 8px !important;
    flex-shrink: 0;
  }

  .nav-logo-wordmark {
    height: 50px !important;
    max-width: 300px !important;
    object-fit: contain;
    flex-shrink: 1;
    min-width: 0;
  }

  .hamburger {
    flex-shrink: 0 !important;
    margin-left: 8px !important;
  }

  /* ── HERO ── */
  .hero {
    height: auto !important;
    min-height: auto !important;
    padding: 100px 0 60px !important;
    margin-top: 72px;
  }

  .hero::after {
    display: none !important;
    /* Remove red accent line on mobile */
  }

  .hero-content {
    max-width: 100% !important;
    padding: 20px 16px !important;
    text-align: center;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }

  .hero-sub {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
  }

  .hero-trust {
    font-size: 0.6rem !important;
    padding: 5px 10px !important;
    margin-bottom: 16px;
  }

  .hero-btns {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center;
  }

  .hero-scroll {
    display: none !important;
  }

  /* ── ALL GRIDS → SINGLE COLUMN ── */
  .corridors-grid,
  .why-us-grid,
  .services-grid,
  .stats-grid,
  .about-story,
  .about-pillars,
  .service-block,
  .form-grid,
  .gallery-grid,
  .contact-grid,
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    background: transparent !important;
    border: none !important;
  }

  /* ── CORRIDOR CARDS ── */
  .corridor-item {
    width: 100% !important;
    padding: 24px 16px !important;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 0 !important;
  }

  /* ── WHY US CARDS ── */
  .why-card {
    width: 100% !important;
    padding: 28px 20px !important;
    border-radius: 6px;
    margin-bottom: 0 !important;
  }

  .why-icon-wrap {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 14px;
  }

  /* ── SERVICE ITEMS ── */
  .service-item {
    width: 100% !important;
    padding: 28px 20px !important;
    border-radius: 6px;
  }

  /* ── STATS SECTION ── */
  .stats-section {
    padding: 48px 0 !important;
  }

  .stats-grid {
    gap: 0 !important;
  }

  .stat-item {
    padding: 40px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100% !important;
  }

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

  .stat-num {
    font-size: 3rem !important;
  }

  .stat-label {
    font-size: 0.7rem !important;
  }

  /* ── PROCESS STEPS → FULL WIDTH ── */
  .process-steps {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
    width: 100% !important;
  }

  .process-step {
    flex: none !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .process-step-inner {
    width: 100% !important;
    padding: 24px 20px !important;
  }

  .process-step:not(:last-child)::after {
    display: none !important;
    /* Remove connecting lines */
  }

  /* ── SERVICE BLOCK (About/Services pages) ── */
  .service-block {
    gap: 24px !important;
    padding: 32px 0 !important;
  }

  .service-block.reverse {
    direction: ltr !important;
  }

  .svc-block-num {
    font-size: 3rem !important;
  }

  .svc-block-title {
    font-size: 1.15rem !important;
  }

  /* ── ABOUT STORY ── */
  .about-story {
    gap: 32px !important;
  }

  .about-story-img {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .about-story-img::after {
    display: none !important;
    /* Remove decorative offset border */
  }

  /* ── ABOUT PILLARS ── */
  .about-pillars .pillar-item {
    width: 100% !important;
    padding: 24px 16px !important;
  }

  .pillar-row {
    flex-direction: row !important;
    padding: 16px 0 !important;
  }

  .pillar-row-num {
    font-size: 1rem !important;
    min-width: 40px !important;
    padding-right: 12px !important;
  }

  .pillar-row-content {
    padding-left: 16px !important;
  }

  /* ── ABOUT STATS ── */
  .about-stats {
    gap: 20px !important;
    flex-wrap: wrap;
  }

  /* ── FORM ── */
  .form-wrap {
    padding: 24px 16px !important;
    margin: 0 !important;
  }

  /* ── GALLERY ── */
  .gallery-grid {
    gap: 4px !important;
  }

  .gallery-item {
    aspect-ratio: 16/10 !important;
  }

  /* ── CONTACT ── */
  .contact-grid {
    gap: 32px !important;
  }

  /* ── FOOTER ── */
  .footer-grid {
    gap: 32px !important;
  }

  footer {
    padding: 40px 0 0 !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center;
  }

  .footer-logo-icon {
    height: 40px !important;
  }

  .footer-logo-wordmark {
    height: 32px !important;
  }

  /* ── CONTACT STRIP ── */
  .contact-strip-inner {
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 16px;
  }

  .contact-strip-phones {
    font-size: 0.82rem !important;
  }

  /* ── FLOATING CTA ── */
  .floating-cta {
    bottom: 16px !important;
    right: 12px !important;
    font-size: 0.65rem !important;
    padding: 10px 14px !important;
  }

  /* ── PAGE HEADERS (inner pages) ── */
  .about-hero,
  .services-hero,
  .form-hero,
  .gallery-hero,
  .page-header {
    padding: 60px 0 40px !important;
  }

  .about-hero h1,
  .services-hero h1,
  .form-hero h1,
  .gallery-hero h1,
  .page-header h1 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }

  /* ── SECTION HEADINGS ── */
  h2,
  .section-title {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }

  .section-sub {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }

  /* ── 3D / HOVER EFFECTS → FLATTEN ── */
  .why-card:hover,
  .section-dark .why-card:hover,
  .coverage-card:hover,
  .coverage-card-dark:hover,
  .service-item:hover,
  .corridor-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }

  /* ── EDITORIAL SERVICES BLOCKS ── */
  .svc-editorial {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
  }

  .svc-ed-image {
    height: 250px !important;
    min-height: auto !important;
  }

  .svc-ed-content {
    padding: 32px 20px !important;
  }

  /* ── COVERAGE CARDS ── */
  .coverage-card,
  .coverage-card-dark {
    width: 100% !important;
    padding: 24px 16px !important;
    flex-direction: column !important;
  }
}

/* ── EXTRA SMALL DEVICES (≤ 400px, e.g. iPhone SE) ── */
@media (max-width: 400px) {
  .nav-logo-wordmark {
    height: 42px !important;
    max-width: 220px !important;
  }

  .nav-logo-icon {
    height: 36px !important;
  }

  .hero h1 {
    font-size: 1.5rem !important;
  }

  h2,
  .section-title {
    font-size: 1.3rem !important;
  }

  .stat-num {
    font-size: 2.5rem !important;
  }

  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* =============================================
   MOBILE UX POLISH & UPGRADES
   ============================================= */

/* ── Bug #1: Hide custom scrollbar on mobile ── */
@media (max-width: 768px) {
  ::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
  }

  html {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
}

/* ── Bug #2: Floating CTA mobile fix ── */
@media (max-width: 768px) {
  .floating-cta {
    position: fixed !important;
    bottom: 20px !important;
    right: 16px !important;
    left: auto !important;
    z-index: 9000 !important;
    font-size: 0.68rem !important;
    padding: 12px 18px !important;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(139, 26, 26, 0.4) !important;
    max-width: 140px;
    text-align: center;
  }
}

/* ── Polish #4: Improved mobile nav menu ── */
@media (max-width: 768px) {
  .nav-links a {
    /* Deferred to dropdown block */
  }

  .nav-links .nav-cta {
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px auto 0 !important;
    padding: 12px 20px !important;
    border-radius: 6px;
    text-align: center;
    justify-content: center;
  }
}

/* ── Polish #5: Contact phone tap targets ── */
@media (max-width: 768px) {
  .contact-info-block {
    padding: 20px 16px !important;
    margin-bottom: 16px !important;
    background: var(--light-gray);
    border-radius: 8px;
    border-top: 3px solid var(--red);
  }

  .contact-detail {
    font-size: 1.3rem !important;
  }

  .contact-detail a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    min-height: 48px;
    /* Generous tap target */
  }
}

/* ── Polish #7: Material tag spacing ── */
@media (max-width: 768px) {
  .materials-list {
    gap: 10px !important;
    justify-content: center;
  }

  .material-tag {
    padding: 10px 16px !important;
    font-size: 0.7rem !important;
  }
}

/* ── Upgrade #9: Back to Top button ── */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 8999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--red);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 72px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ── Upgrade #11: Sticky navbar shadow on scroll ── */
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
  border-bottom-color: transparent;
}

/* ── Upgrade #12: WhatsApp floating button ── */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
}

@media (max-width: 768px) {
  .whatsapp-btn {
    width: 46px;
    height: 46px;
    bottom: 16px;
    left: 14px;
  }

  .whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* ── Upgrade #13: Mobile Gallery — Horizontal Swipe + Reveal Fix ── */
@media (max-width: 768px) {
  .gallery-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px !important;
    padding: 0 0 16px 0 !important;
    scrollbar-width: none;
    border: none !important;
    background: transparent !important;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-item {
    flex: 0 0 82vw !important;
    width: 82vw !important;
    scroll-snap-align: center;
    border-radius: 10px !important;
    overflow: hidden;
    aspect-ratio: 16/10 !important;
    position: relative;
    /* FIX: Force all items visible — bypass broken reveal on horizontal layout */
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Always show overlay + caption on mobile (no hover needed) */
  .gallery-overlay {
    opacity: 1 !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 55%) !important;
  }

  .gallery-caption {
    transform: translateY(0) !important;
    opacity: 1 !important;
    font-size: 0.72rem !important;
    padding: 10px 14px !important;
    line-height: 1.3;
  }

  /* ── Gallery page inline stats strip — prevent overflow ── */
  [style*="grid-template-columns:repeat(3"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  [style*="grid-template-columns:repeat(3"]>div {
    padding: 28px 20px !important;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  [style*="grid-template-columns:repeat(3"]>div:last-child {
    border-bottom: none;
  }

  [style*="font-size:2.5rem"] {
    font-size: 2rem !important;
  }
}

/* ── Upgrade #14: Skeleton loading shimmer ── */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg,
      #f0f0f0 25%,
      #e0e0e0 37%,
      #f0f0f0 63%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease infinite;
  border-radius: 4px;
}