/* ==========================================================================
   John McMenamin Ltd — Edinburgh Building & Construction Contractor
   Design System & Multi-Page Stylesheet
   ========================================================================== */

:root {
  --orange: #F15A24;
  --orange-hover: #d94b18;
  --orange-soft: rgba(241, 90, 36, 0.12);
  --slate-dark: #13222E;
  --slate-darker: #0d1821;
  --slate-card: #1a2d3d;
  --white: #FFFFFF;
  --grey-bg: #F5F7F9;
  --grey-border: #E5E7EB;
  --text-dark: #111827;
  --text-muted: #4B5563;
  --text-light: #9CA3AF;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --shadow-card: 0 10px 30px rgba(19, 34, 46, 0.06);
  --shadow-hover: 0 20px 40px rgba(19, 34, 46, 0.12);
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--grey-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
}

/* ==========================================================================
   Signature Pill Buttons with Diagonal Arrow Badge
   ========================================================================== */

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 6px 6px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-pill .btn-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn-pill:hover .btn-arrow {
  transform: rotate(45deg);
}

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

.btn-orange {
  background-color: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(241, 90, 36, 0.28);
}

.btn-orange:hover {
  background-color: var(--orange-hover);
}

.btn-orange .btn-arrow {
  background-color: var(--white);
  color: var(--orange);
}

.btn-white {
  background-color: var(--white);
  color: var(--slate-dark);
  border-color: var(--grey-border);
}

.btn-white:hover {
  box-shadow: var(--shadow-card);
  border-color: #d1d5db;
}

.btn-white .btn-arrow {
  background-color: var(--slate-dark);
  color: var(--white);
}

.btn-outline-light {
  background-color: var(--white);
  color: var(--slate-dark);
}

.btn-outline-light .btn-arrow {
  background-color: var(--slate-dark);
  color: var(--white);
}

.btn-full {
  width: 100%;
  padding: 8px 8px 8px 24px;
}

/* ==========================================================================
   Blueprint Grid Overlay
   ========================================================================== */

.blueprint-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 140px 140px;
  z-index: 2;
}

/* ==========================================================================
   Global Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top var(--transition);
}

.site-header.scrolled {
  top: 10px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 14px 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(19, 34, 46, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.scrolled .nav-bar {
  background: rgba(19, 34, 46, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Slide-Out Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 24, 33, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--slate-dark);
  color: var(--white);
  z-index: 1200;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}

.mobile-nav-list a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color var(--transition), color var(--transition);
}

.mobile-nav-list a.active,
.mobile-nav-list a:hover {
  background: rgba(241, 90, 36, 0.14);
  color: var(--orange);
}

.mobile-drawer-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.mobile-drawer-footer a.phone-link {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ==========================================================================
   Home Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px 0 56px;
  background-color: var(--slate-dark);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(19, 34, 46, 0.62) 0%,
    rgba(19, 34, 46, 0.35) 45%,
    rgba(19, 34, 46, 0.88) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(92vh - 186px);
  gap: 48px;
}

.hero-top-intro {
  max-width: 440px;
  margin-top: 28px;
}

.hero-top-intro p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-brand-display {
  font-size: clamp(3.1rem, 8.2vw, 6.8rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--white);
  user-select: none;
}

.hero-brand-display .accent {
  color: var(--orange);
}

.hero-brand-sub {
  display: block;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 10px;
}

.hero-quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  border-radius: var(--radius-md);
  background: rgba(19, 34, 46, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.hero-quick-card img {
  width: 72px;
  height: 78px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}

.hero-quick-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-quick-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-quick-phone {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  transition: color var(--transition);
}

.hero-quick-phone:hover {
  color: var(--orange);
}

/* ==========================================================================
   Secondary Page Banner Hero
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 168px 0 84px;
  background-color: var(--slate-dark);
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-bg {
  object-position: center 30%;
  opacity: 0.48;
}

.page-hero .hero-overlay {
  background: linear-gradient(180deg, rgba(19, 34, 46, 0.78) 0%, rgba(19, 34, 46, 0.9) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 3;
}

.page-hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-hero-desc {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

/* ==========================================================================
   Trust & Accreditation Strip
   ========================================================================== */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  padding: 28px 0;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  opacity: 0.78;
  filter: grayscale(100%);
  transition: opacity var(--transition);
}

.trust-logo-item:hover {
  opacity: 1;
}

/* ==========================================================================
   Editorial Statement & Asymmetric Collage
   ========================================================================== */

.editorial-section {
  padding: 96px 0;
  background: var(--white);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.editorial-statement {
  font-size: clamp(1.65rem, 2.9vw, 2.55rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 32px;
}

.editorial-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--slate-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
}

.avatar-stack span:first-child {
  margin-left: 0;
  background: var(--orange);
}

.avatar-stack span:nth-child(2) {
  background: #274156;
}

.trust-badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.trust-badge-text small {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
}

.editorial-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.collage-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.collage-card.tall {
  grid-column: 1 / -1;
  height: 270px;
}

.collage-card.small {
  height: 175px;
}

.collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collage-card:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   Services Section (Numbered 3-Column Grid)
   ========================================================================== */

.services-section {
  padding: 96px 0;
  background: var(--grey-bg);
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(241, 90, 36, 0.35);
}

.service-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-num span.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.25;
  transition: opacity var(--transition);
}

.service-card:hover .service-num span.dot {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Featured Projects Showcase (Horizontal Split Cards)
   ========================================================================== */

.projects-section {
  padding: 96px 0;
  background: var(--white);
}

.projects-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--grey-border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-card {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  background: var(--grey-bg);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.project-card.hidden {
  display: none;
}

.project-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-body {
  background: var(--white);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.project-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.project-meta {
  border-top: 1px solid var(--grey-border);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
}

.meta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  flex-shrink: 0;
}

.meta-label svg {
  width: 15px;
  height: 15px;
  color: var(--orange);
}

.meta-value {
  color: var(--text-muted);
  text-align: right;
  font-weight: 500;
}

/* ==========================================================================
   About Page Sections
   ========================================================================== */

.about-split-section {
  padding: 96px 0;
  background: var(--white);
}

.about-split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.about-portrait-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4 / 5;
}

.about-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mission-vision-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.mv-card {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--grey-bg);
  border: 1px solid var(--grey-border);
}

.mv-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.mv-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mv-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mv-card img {
  width: 140px;
  height: 100px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.metric-card {
  background: var(--grey-bg);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.metric-value {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 8px;
}

.metric-value span {
  color: var(--orange);
}

.metric-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.values-section {
  padding: 96px 0;
  background: var(--grey-bg);
}

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

.value-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  padding: 30px;
}

.value-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Split Contact & Quote Form Section
   ========================================================================== */

.contact-section {
  padding: 96px 0;
  background: var(--white);
}

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

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
}

.contact-info-value a:hover {
  color: var(--orange);
}

.contact-form-card {
  background: var(--slate-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 24px 48px rgba(19, 34, 46, 0.16);
}

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

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

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

.form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.form-control {
  width: 100%;
  background: var(--slate-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--white);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition), background-color var(--transition);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.form-control:focus {
  border-color: var(--orange);
  background: #213749;
}

textarea.form-control {
  min-height: 112px;
  resize: vertical;
}

.form-submit-wrap {
  margin-top: 22px;
}

.form-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.not-found-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--slate-dark);
  color: var(--white);
  padding: 140px 24px 80px;
  overflow: hidden;
}

.not-found-hero .hero-bg {
  opacity: 0.25;
}

.not-found-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
}

.not-found-code {
  font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.not-found-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-size: 1.02rem;
}

/* ==========================================================================
   Global Dark Footer
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--slate-dark);
  color: var(--white);
  padding: 80px 0 0;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.95fr 1.1fr;
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 16px 0 22px;
  max-width: 300px;
}

.footer-enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 300px;
}

.footer-enquiry-form input {
  background: var(--white);
  color: var(--text-dark);
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  font-size: 0.88rem;
  outline: none;
}

.footer-col h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 0.82rem;
  color: var(--text-light);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-watermark {
  font-size: clamp(4.5rem, 15.5vw, 13.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.82;
  text-align: center;
  color: rgba(255, 255, 255, 0.035);
  user-select: none;
  pointer-events: none;
  padding-top: 8px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

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

  .editorial-grid,
  .about-split-grid,
  .contact-grid,
  .project-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn-pill {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 0 40px;
  }

  .hero-content {
    min-height: auto;
    gap: 36px;
  }

  .hero-quick-card {
    width: 100%;
  }

  .services-grid,
  .values-grid,
  .metrics-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mv-card {
    grid-template-columns: 1fr;
  }

  .mv-card img {
    width: 100%;
    height: 140px;
  }

  .project-media {
    min-height: 240px;
  }

  .project-body {
    padding: 24px;
  }

  .contact-form-card {
    padding: 24px;
  }
}
