/* ==========================================================================
   Five Star Construction Pte. Ltd. — Singapore
   Optimized Original Identity with Architectural Polish & Animated Hero
   ========================================================================== */

:root {
  --red: #b5121b;
  --red-dark: #8b0d14;
  --red-bright: #d51d26;
  --red-light: #ff4d55;
  --ink: #202124;
  --muted: #4e5358;
  --pale: #f6f6f6;
  --line: #e1e3e5;
  --line-light: #f0f1f3;
  --whatsapp: #0a703d;
  --whatsapp-dark: #08562f;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Reset & Baseline
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Barlow', Arial, sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Top Accent Line */
.topline {
  height: 5px;
  background: linear-gradient(90deg, var(--red), #e74b4f, var(--red-dark));
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header & Navbar (Optimized Height, Clean Spacing, Flush Right CTA)
   -------------------------------------------------------------------------- */
.site-header {
  height: 66px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 0 0 clamp(16px, 4vw, 56px);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 16px rgba(21, 21, 21, 0.07);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.brand:hover {
  opacity: 0.9;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.footer-brand {
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.footer-brand picture {
  display: flex;
  align-items: center;
}

.footer-brand:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.footer-brand-logo {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  margin: 0;
}

/* Navigation Links */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  margin: 0 20px;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  color: var(--ink);
  padding: 6px 2px;
  transition: color var(--transition-fast);
}

.nav a:hover,
.nav a.active {
  color: var(--red);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

/* Header CTA: Fits Flush on Right & Full Top-to-Bottom Height */
.header-cta {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: #ffffff;
  padding: 0 24px 0 28px;
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.header-cta:hover {
  background: var(--red-dark);
}

.phone-icon {
  background: #ffffff;
  color: var(--red);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.cta-sub {
  font-size: 11px;
  letter-spacing: 0.8px;
  font-weight: 600;
  opacity: 0.95;
  white-space: nowrap;
}

.header-cta b {
  font-size: 13.5px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  color: var(--red);
  padding: 8px;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .hamburger-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

/* --------------------------------------------------------------------------
   Hero Section with Dynamic Animated Shapes
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: #f8f9fa;
  color: var(--ink);
  isolation: isolate;
  padding: 72px clamp(24px, 5vw, 64px) 80px;
  overflow: hidden;
  min-height: 580px;
}

.hero::before {
  display: none;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.95;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.92) 34%,
      rgba(255, 255, 255, 0.55) 54%,
      rgba(255, 255, 255, 0.15) 68%,
      rgba(255, 255, 255, 0) 78%);
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: var(--red);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 580px;
  color: var(--ink);
  z-index: 2;
}

.eyebrow {
  font-size: 11.5px;
  letter-spacing: 2.5px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--ink);
}

.eyebrow i {
  color: var(--red);
  font-style: normal;
  padding: 0 5px;
}

.eyebrow.red {
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 900;
  color: var(--ink);
}

.hero h1 span {
  color: var(--red);
}

.hero-tag-badge {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  margin: 12px 0 4px;
}

.hero-tag-badge i {
  font-style: normal;
  padding: 0 5px;
}

.red-rule {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 20px 0 16px;
  border-radius: 2px;
}

.hero-description {
  font-size: 15px;
  line-height: 1.6;
  max-width: 480px;
  color: #33393e;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #ffffff;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 2px;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s ease,
    border-color 0.2s ease;
  cursor: pointer;
}

.button:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.16);
}

.button:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
}

.button-whatsapp {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1.5px solid #000000 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 11.5px 23px;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s ease;
}

.button-whatsapp span {
  color: #000000 !important;
}

.button-whatsapp:hover {
  background: #f8fafc !important;
  border-color: #000000 !important;
  color: #000000 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.button-whatsapp:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.button-whatsapp:hover span {
  color: #000000 !important;
}

.btn-whatsapp-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-whatsapp:hover .btn-whatsapp-icon,
.button-whatsapp-solid:hover .btn-whatsapp-icon {
  transform: scale(1.15) rotate(-4deg);
}

.btn-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover .btn-arrow {
  transform: translateX(4px);
}

.hero-caption {
  position: absolute;
  bottom: 16px;
  right: 5%;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #ffffff;
  background: rgba(32, 33, 36, 0.85);
  padding: 6px 14px;
  border-radius: 2px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   Monolithic Architectural Showcase (Enterprise Engineering Presentation)
   -------------------------------------------------------------------------- */

/* Enterprise Trust Metrics under Hero CTA */
.hero-trust-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.trust-metric {
  display: flex;
  flex-direction: column;
}

.trust-metric strong {
  font-size: 21px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.trust-metric strong::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
}

.trust-metric span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3px;
  margin-top: 4px;
}

.trust-metric-divider {
  width: 1px;
  height: 32px;
  background: rgba(226, 232, 240, 0.9);
}

/* --------------------------------------------------------------------------
   Hero 3D Floating Architectural Service Cards (Clean Layered Depth)
   -------------------------------------------------------------------------- */
.hero-shapes-wrapper {
  position: relative;
  width: 540px;
  height: 460px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient Blueprint Depth Aura */
.hero-shape-backdrop {
  position: absolute;
  inset: -15px;
  background: radial-gradient(ellipse at 50% 50%, rgba(181, 18, 27, 0.08) 0%, rgba(240, 243, 246, 0.5) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Base 3D Floating Physical Card */
.hero-shape {
  position: absolute;
  overflow: hidden;
  border-radius: 6px;
  border: 3.5px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.28), 0 8px 16px -6px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3D Glass Specular Sheen */
.hero-shape::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 65%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.hero-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3D Card Interactive Elevation */
.hero-shape:hover {
  z-index: 30 !important;
  animation-play-state: paused;
  box-shadow: 0 32px 64px -10px rgba(15, 23, 42, 0.38), 0 12px 24px -6px rgba(15, 23, 42, 0.2);
}

.hero-shape:hover img {
  transform: scale(1.08);
}

.hero-shape:hover::before {
  opacity: 0.8;
}

/* Architectural Floating Depth Badge */
.shape-badge {
  position: absolute;
  bottom: 11px;
  left: 12px;
  background: rgba(181, 18, 27, 0.94);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
}

/* Card 1: Structural & Civil (Flagship Center Anchor) */
.shape-primary {
  width: 290px;
  height: 205px;
  top: 80px;
  left: 135px;
  z-index: 3;
  transform: perspective(900px) rotateY(-8deg) rotateX(5deg) rotate(-2deg);
  animation: heroFloatCenter 7.0s ease-in-out infinite alternate;
}

.shape-primary .shape-badge {
  left: auto;
  right: 12px;
  bottom: 12px;
}

.shape-primary:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) scale(1.05) translateY(-5px);
}

/* Card 2: Electrical Engineering (Bottom-Left Foundation) */
.shape-secondary {
  width: 230px;
  height: 160px;
  bottom: 25px;
  left: 15px;
  z-index: 5;
  transform: perspective(900px) rotateY(8deg) rotateX(5deg) rotate(3deg);
  animation: heroFloatBottomLeft 7.8s ease-in-out infinite alternate;
}

.shape-secondary .shape-badge {
  left: 12px;
  bottom: 12px;
}

.shape-secondary:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) scale(1.05) translateY(-5px);
}

/* Card 3: Turnkey Renovation (Top-Left Detail) */
.shape-tertiary {
  width: 180px;
  height: 130px;
  top: 15px;
  left: 15px;
  z-index: 2;
  transform: perspective(900px) rotateY(-6deg) rotateX(-4deg) rotate(-3deg);
  animation: heroFloatTopLeft 8.4s ease-in-out infinite alternate-reverse;
}

.shape-tertiary .shape-badge {
  left: 10px;
  bottom: 10px;
}

.shape-tertiary:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) scale(1.06) translateY(-5px);
}

/* Card 4: Clean Solar PV Installation (Top-Right Satellite) */
.shape-quaternary {
  width: 195px;
  height: 135px;
  top: 5px;
  right: 15px;
  z-index: 4;
  transform: perspective(900px) rotateY(-10deg) rotateX(6deg) rotate(2deg);
  animation: heroFloatTopRight 6.8s ease-in-out infinite alternate;
}

.shape-quaternary .shape-badge {
  left: auto;
  right: 10px;
  bottom: 10px;
}

.shape-quaternary:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) scale(1.06) translateY(-5px);
}

/* Card 5: Architectural Painting & Coatings (Bottom-Right Satellite) */
.shape-quinary {
  width: 205px;
  height: 145px;
  bottom: 15px;
  right: 20px;
  z-index: 6;
  transform: perspective(900px) rotateY(10deg) rotateX(-5deg) rotate(-2deg);
  animation: heroFloatBottomRight 7.4s ease-in-out infinite alternate-reverse;
}

.shape-quinary .shape-badge {
  left: auto;
  right: 12px;
  bottom: 12px;
}

.shape-quinary:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) scale(1.06) translateY(-5px);
}

/* 3D Decorative Brand Geometric Accent Bars */
.hero-accent-bar {
  position: absolute;
  background: var(--red);
  border-radius: 2px;
  z-index: 1;
  opacity: 0.85;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

.bar-1 {
  width: 130px;
  height: 5px;
  top: 72px;
  right: 30px;
  transform: perspective(900px) rotateY(-8deg) rotate(-2deg);
}

.bar-2 {
  width: 95px;
  height: 5px;
  bottom: 20px;
  left: 20px;
  transform: perspective(900px) rotateY(8deg) rotate(3deg);
}

.bar-3 {
  width: 80px;
  height: 4px;
  top: -4px;
  right: 120px;
  transform: perspective(900px) rotateY(-10deg) rotate(2deg);
}

/* Harmonious Floating Keyframes */
@keyframes heroFloatCenter {
  0% {
    transform: perspective(900px) rotateY(-8deg) rotateX(5deg) rotate(-2deg) translateY(0);
  }

  100% {
    transform: perspective(900px) rotateY(-6deg) rotateX(3deg) rotate(-1deg) translateY(-8px);
  }
}

@keyframes heroFloatBottomLeft {
  0% {
    transform: perspective(900px) rotateY(8deg) rotateX(5deg) rotate(3deg) translateY(0);
  }

  100% {
    transform: perspective(900px) rotateY(10deg) rotateX(7deg) rotate(4deg) translateY(9px);
  }
}

@keyframes heroFloatTopLeft {
  0% {
    transform: perspective(900px) rotateY(-6deg) rotateX(-4deg) rotate(-3deg) translateY(0);
  }

  100% {
    transform: perspective(900px) rotateY(-4deg) rotateX(-2deg) rotate(-2deg) translateY(-7px);
  }
}

@keyframes heroFloatTopRight {
  0% {
    transform: perspective(900px) rotateY(-10deg) rotateX(6deg) rotate(2deg) translateY(0);
  }

  100% {
    transform: perspective(900px) rotateY(-8deg) rotateX(8deg) rotate(3deg) translateY(-8px);
  }
}

@keyframes heroFloatBottomRight {
  0% {
    transform: perspective(900px) rotateY(10deg) rotateX(-5deg) rotate(-2deg) translateY(0);
  }

  100% {
    transform: perspective(900px) rotateY(12deg) rotateX(-3deg) rotate(-1deg) translateY(8px);
  }
}

/* --------------------------------------------------------------------------
   Quick Contact Strip - Minimal, Compact, and Single-Lined
   -------------------------------------------------------------------------- */
.contact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr 1.45fr;
  padding: 14px clamp(16px, 3.5vw, 44px);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(17, 17, 17, 0.05);
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 14px;
  border-right: 1px solid rgba(226, 232, 240, 0.85);
  min-width: 0;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.contact-item:first-child {
  padding-left: 0;
}

.contact-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.contact-item:hover {
  transform: translateY(-2px);
}

/* Unified Brand Red Gradient on All Round Icons */
.round-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #b5121b 0%, #e53935 100%);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.round-icon svg {
  width: 19px;
  height: 19px;
  stroke: #ffffff;
  stroke-width: 2.3px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.round-icon-phone,
.round-icon-email,
.round-icon-map {
  background: linear-gradient(135deg, #b5121b 0%, #e53935 100%);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
}

.contact-item:hover .round-icon {
  transform: scale(1.08);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
}

a:visited .round-icon svg,
.contact-card-box:visited .round-icon svg,
.contact-item:visited .round-icon svg {
  stroke: #ffffff;
  color: #ffffff;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.contact-meta small {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.2;
}

.contact-meta strong {
  font-size: 13.5px;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -0.1px;
}

.contact-meta .email-text {
  font-size: clamp(11.5px, 0.9vw, 12.5px);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.contact-meta .address-title {
  font-size: clamp(11.5px, 0.95vw, 12.5px);
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.15px;
}

.contact-meta .role-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   Sections General & Heading
   -------------------------------------------------------------------------- */
.section {
  padding: 76px clamp(24px, 5vw, 64px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 36px;
}

.section-heading h2,
.about h2,
.why h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-heading h2 span,
.about h2 span,
.why h2 span {
  color: var(--red);
}

.section-intro {
  max-width: 440px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Services Section with Illustrations
   -------------------------------------------------------------------------- */
.services {
  background: #f6f6f6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card {
  background: #ffffff;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
  border-color: rgba(181, 18, 27, 0.4);
}

.service-card:active {
  transform: translateY(-2px) scale(0.995);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.service-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ffffff;
  border-radius: 7px 7px 0 0;
  transform: translateZ(0);
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-image-wrap img {
  transform: scale(1.05);
}

/* Minimal seamless bottom fade preserving 16:9 image visibility without horizontal lines */
.service-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0 0 -2px 0;
  z-index: 2;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 65%,
      rgba(255, 255, 255, 0.35) 80%,
      rgba(255, 255, 255, 0.85) 92%,
      #ffffff 98%,
      #ffffff 100%);
  pointer-events: none;
}

.service-card-body {
  position: relative;
  z-index: 3;
  background: #ffffff;
  margin-top: -1px;
  padding: 8px 16px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h3 {
  font-size: 15.5px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.25s ease;
}

.service-card:hover .service-card-body h3 {
  color: var(--red);
}

.service-card-body p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   About Section with Signature Red Offset Frame
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  background: #ffffff;
}

.about-image {
  min-height: 380px;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=85') center/cover no-repeat;
  position: relative;
  border-radius: 2px;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 3px solid var(--red);
  z-index: -1;
  border-radius: 2px;
}

.about-copy>p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.about h2 {
  margin-bottom: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-top: 8px;
  transition: transform var(--transition-fast);
}

.text-link:hover {
  transform: translateX(3px);
  color: var(--red-dark);
}

/* --------------------------------------------------------------------------
   Project Gallery Section
   -------------------------------------------------------------------------- */
.projects {
  background: #f6f6f6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.project-card {
  height: 290px;
  display: flex;
  align-items: flex-end;
  position: relative;
  background-position: center;
  background-size: cover;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -8px rgba(0, 0, 0, 0.28);
}

.project-card:active {
  transform: translateY(-2px) scale(0.995);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.2);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 19, 22, 0.88) 0%, rgba(16, 19, 22, 0.4) 40%, transparent 80%);
  transition: background var(--transition-base);
}

.project-card:hover::before {
  background: linear-gradient(0deg, rgba(181, 18, 27, 0.92) 0%, rgba(181, 18, 27, 0.45) 50%, transparent 85%);
}

.project-one {
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80');
}

.project-two {
  background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=900&q=80');
}

.project-three {
  background-image: url('../images/interior.webp');
}

.project-overlay {
  position: relative;
  color: #ffffff;
  padding: 24px;
  width: 100%;
}

.project-overlay small {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #ffdfe0;
  display: block;
}

.project-overlay h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 4px 0 2px;
  line-height: 1.25;
}

.project-loc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
}

.note {
  font-size: 12.5px;
  color: #444444;
  margin: 18px 0 0;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Why Choose Us Section
   -------------------------------------------------------------------------- */
.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: #ffffff;
}

.why-intro>p:last-child {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 420px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.benefit-grid article {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
  padding: 8px 10px;
  border-radius: 6px;
}

.benefit-grid article:hover {
  transform: translateX(4px);
  background: #fcfcfc;
}

.benefit-grid article>span {
  color: var(--red);
  font-size: 24px;
  font-weight: 900;
  border-bottom: 2.5px solid var(--red);
  padding-bottom: 4px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-grid article:hover>span {
  transform: scale(1.12);
}

.benefit-grid h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--ink);
  transition: color 0.2s ease;
}

.benefit-grid article:hover h3 {
  color: var(--red);
}

.benefit-grid p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Contact Section - Reference Banner Replica with 3D Depth
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  background-color: #a80c14;
  background-image: url("../images/contact-bg-desktop.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: #ffffff;
  text-align: center;
  padding: 72px clamp(20px, 4vw, 48px) 64px;
  overflow: hidden;
}

.contact-header {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.15;
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
}

/* Golden gradient on PROJECT — warm metallic gold with depth */
.contact-title .highlight-gold {
  background: linear-gradient(180deg, #fff38a 0%, #ffcf24 35%, #f5ab00 70%, #d88900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ffcf24;
  display: inline-block;
  font-weight: 900;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

/* The split-color decorative underline bar */
.contact-title-underline {
  width: 90px;
  height: 3.5px;
  background: linear-gradient(to right, #ffffff 0%, #ffffff 50%, #ffcf24 50%, #d88900 100%);
  margin: 10px auto 14px;
  border-radius: 2px;
}

.contact-subtitle {
  color: #ffe9e9;
  font-size: clamp(14px, 1.2vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto;
}

/* 3 Cards Grid */
.contact-cards-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: 1140px;
  margin: 36px auto 30px;
}

/* Single Contact Card — 3D depth with layered shadows */
.contact-card-banner {
  --card-photo-w: 36%;
  position: relative;
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  height: 180px;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.15),
    0 12px 24px -2px rgba(0, 0, 0, 0.25),
    0 24px 48px -4px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.contact-card-banner:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 16px -2px rgba(0, 0, 0, 0.22),
    0 24px 44px -4px rgba(0, 0, 0, 0.38),
    0 40px 80px -6px rgba(0, 0, 0, 0.28);
}

.contact-card-banner:active {
  transform: translateY(-1px) scale(0.995);
  box-shadow:
    0 3px 6px -1px rgba(0, 0, 0, 0.2),
    0 8px 16px -2px rgba(0, 0, 0, 0.25);
}

.contact-card-banner:focus-visible {
  outline: 3px solid #ffcf24;
  outline-offset: 3px;
}

/* Left Photo Area: clipped seamlessly behind the faceted red chevron ribbon */
.card-photo-box {
  position: relative;
  width: var(--card-photo-w, 36%);
  flex-shrink: 0;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 15px) 0, calc(100% - 1px) 67%, calc(100% - 15px) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, calc(100% - 15px) 0, calc(100% - 1px) 67%, calc(100% - 15px) 100%, 0 100%);
}

.card-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.contact-card-banner:hover .card-photo-box img {
  transform: scale(1.06);
  filter: brightness(1.03);
}

/* Diagonal Red Chevron Ribbon Divider — 3D faceted, positioned cleanly over photo boundary */
.card-ribbon-svg {
  position: absolute;
  top: 0;
  left: calc(var(--card-photo-w, 36%) - 33px);
  width: 34px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(-3px 0 6px rgba(0, 0, 0, 0.22));
}

/* Right Content Area */
.card-info-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 10px 10px 4px;
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

/* Circular Red Badge — Glossy 3D Sphere with Highlight & Deep Core */
.card-round-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ff4d58 0%, #d81424 50%, #90050f 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.22),
    0 2px 4px rgba(0, 0, 0, 0.14),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.5),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-banner:hover .card-round-badge {
  transform: scale(1.08);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.28),
    0 2px 4px rgba(0, 0, 0, 0.18),
    inset 0 2px 3px rgba(255, 255, 255, 0.6),
    inset 0 -2px 3px rgba(0, 0, 0, 0.35);
}

.card-round-badge svg {
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.3));
}

.card-role-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 2px;
  line-height: 1;
}

.card-person-title {
  font-size: 17px;
  font-weight: 800;
  color: #111417;
  margin: 0;
  line-height: 1.15;
  transition: color 0.25s ease;
}

.contact-card-banner:hover .card-person-title {
  color: #b80c18;
}

/* Red Accent Divider Bar under Name */
.card-separator-red {
  width: 32px;
  height: 2.5px;
  background: linear-gradient(to right, #b80c18, #e8202d, #b80c18);
  margin: 6px auto 7px;
  border-radius: 2px;
  display: block;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-banner:hover .card-separator-red {
  width: 44px;
}

/* Contact Info Row at bottom of card */
.card-contact-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #111417;
  white-space: nowrap;
  max-width: 100%;
}

.mini-phone-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ff4d58 0%, #d81424 60%, #90050f 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-email-rect {
  width: 18px;
  height: 14px;
  border-radius: 3px;
  background: radial-gradient(circle at 35% 28%, #ff4d58 0%, #d81424 60%, #90050f 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-banner:hover .mini-phone-circle,
.contact-card-banner:hover .mini-email-rect {
  transform: scale(1.15);
}

/* The email address is strictly single-lined with no double line wrap */
.email-address {
  font-size: 11.5px;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom Action Buttons (3D Pills) */
.contact-actions-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* White button with dark red text & arrow — 3D pill */
.button-banner-email {
  width: 232px;
  height: 48px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7f8 55%, #ebecef 100%);
  color: #b80c18;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 0 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s ease,
    color 0.2s ease;
  cursor: pointer;
}

.button-banner-email:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #ffffff 0%, #fff1f2 100%);
  color: #920410;
  box-shadow:
    0 8px 24px -2px rgba(0, 0, 0, 0.35),
    0 3px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.button-banner-email:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.button-banner-email .btn-arrow {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-banner-email:hover .btn-arrow {
  transform: translateX(4px);
}

/* WhatsApp Green button — 3D pill */
.button-banner-whatsapp {
  width: 232px;
  height: 48px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #1cb859 0%, #13a24e 55%, #0b863f 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 0 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.22),
    0 1px 2px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s ease;
  cursor: pointer;
}

.button-banner-whatsapp:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #22c762 0%, #15ac53 55%, #0e9145 100%);
  color: #ffffff;
  box-shadow:
    0 8px 24px -2px rgba(0, 0, 0, 0.35),
    0 3px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.button-banner-whatsapp:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.button-banner-whatsapp svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-banner-whatsapp:hover svg {
  transform: scale(1.12) rotate(-3deg);
}

/* Responsive adjustments for contact section */
@media (max-width: 980px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 28px auto;
  }

  .contact-card-banner {
    --card-photo-w: 38%;
    height: 172px;
  }
}

@media (max-width: 768px) {
  .contact {
    background-image: url("../images/contact-bg-mobile.webp");
    background-position: center top;
    background-size: cover;
    padding: 56px 16px 48px;
  }
}

@media (max-width: 480px) {
  .card-person-title {
    font-size: 16px;
  }

  .email-address {
    font-size: 11px;
    letter-spacing: -0.3px;
  }

  .button-banner-email,
  .button-banner-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 4vw, 56px);
  background: #202124;
  color: #ffffff;
  flex-wrap: wrap;
}

.footer .brand {
  align-items: center;
}

/* Footer Communication Channels with Unified Brand Red Gradient */
.footer-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-icon-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #b5121b 0%, #e53935 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  text-decoration: none;
}

.footer-icon-btn svg {
  stroke: #ffffff;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.footer-icon-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.45);
  filter: brightness(1.12);
}

.footer-icon-phone,
.footer-icon-whatsapp,
.footer-icon-email,
.footer-icon-map,
.footer-icon-facebook,
.footer-icon-instagram,
.footer-icon-youtube {
  background: linear-gradient(135deg, #b5121b 0%, #e53935 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer p {
  font-size: 12px;
  color: #cbd5e1;
  margin: 0;
}

.footer-legal-notice {
  font-size: 11px !important;
  color: #94a3b8 !important;
  line-height: 1.45;
  max-width: 620px;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.footer-top-link svg {
  color: #ff5c64;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.footer-top-link:hover {
  background: #e53935;
  border-color: #e53935;
  color: #ffffff;
}

.footer-top-link:hover svg {
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints & Mobile Optimization
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .nav {
    gap: 14px;
    margin: 0 12px;
  }

  .nav a {
    font-size: 12px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-shapes-wrapper {
    width: 470px;
    height: 420px;
  }

  .shape-primary {
    width: 250px;
    height: 175px;
    top: 70px;
    left: 115px;
  }

  .shape-secondary {
    width: 200px;
    height: 140px;
    bottom: 20px;
    left: 10px;
  }

  .shape-tertiary {
    width: 155px;
    height: 110px;
    top: 10px;
    left: 10px;
  }

  .shape-quaternary {
    width: 165px;
    height: 115px;
    top: 5px;
    right: 10px;
  }

  .shape-quinary {
    width: 175px;
    height: 125px;
    bottom: 10px;
    right: 15px;
  }

  .contact-strip {
    grid-template-columns: 1fr 1fr 1.3fr 1.4fr;
    padding: 12px 18px;
  }

  .contact-item {
    padding: 0 10px;
    gap: 10px;
  }
}

@media (max-width: 990px) {
  .site-header {
    padding: 0 16px;
  }

  .header-cta {
    display: none;
    /* Relocate to sticky bar or menu */
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    padding: 16px 24px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 14px;
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line-light);
  }

  .nav a.active::after {
    display: none;
  }

  /* Hero Stacking on Tablet */
  .hero {
    padding: 60px 24px 72px;
  }

  .hero-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .hero-showcase {
    width: 100%;
    max-width: 580px;
    margin: 24px auto 0;
  }

  .showcase-viewport {
    height: 380px;
  }

  .contact-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .contact-item:nth-child(2) {
    border-right: 0;
  }

  .contact-item:nth-child(3) {
    padding-left: 0;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image {
    min-height: 280px;
  }

  .why {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 990px) and (min-width: 769px) {
  .footer {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    gap: 20px 24px;
    padding: 28px 32px;
  }

  .footer-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .footer-icons {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .footer-meta,
  .footer p {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .footer-top-link {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 60px;
  }

  .brand-logo {
    height: 46px;
    max-width: 200px;
  }

  .footer-brand-logo {
    height: 44px;
    max-width: 190px;
  }

  .hero {
    padding: 48px 18px 64px;
  }

  .hero-video-overlay {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.92) 38%,
        rgba(255, 255, 255, 0.45) 55%,
        rgba(255, 255, 255, 0) 72%);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-caption {
    display: none;
  }

  .hero-trust-metrics {
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .trust-metric strong {
    font-size: 18px;
  }

  .trust-metric span {
    font-size: 11px;
  }

  .trust-metric-divider {
    height: 24px;
  }

  .hero-shapes-wrapper {
    width: 470px;
    height: 420px;
  }

  .shape-primary {
    width: 250px;
    height: 175px;
    top: 70px;
    left: 115px;
  }

  .shape-secondary {
    width: 200px;
    height: 140px;
    bottom: 20px;
    left: 10px;
  }

  .shape-tertiary {
    width: 155px;
    height: 110px;
    top: 10px;
    left: 10px;
  }

  .shape-quaternary {
    width: 165px;
    height: 115px;
    top: 5px;
    right: 10px;
  }

  .shape-quinary {
    width: 175px;
    height: 125px;
    bottom: 10px;
    right: 15px;
  }

  .contact-strip {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .contact-item,
  .contact-item:first-child,
  .contact-item:nth-child(3),
  .contact-item:last-child {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 52px 18px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 240px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    margin: 24px auto;
  }

  .text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
  }

  .footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 18px max(28px, env(safe-area-inset-bottom, 28px));
    padding-left: max(18px, env(safe-area-inset-left, 18px));
    padding-right: max(18px, env(safe-area-inset-right, 18px));
    gap: 16px;
  }

  .footer-brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-icons {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .footer-icon-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .footer-top-link {
    align-self: flex-start;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
  }
}

@media (max-width: 500px) {
  .hero-shapes-wrapper {
    width: 100%;
    max-width: 340px;
    height: 310px;
    margin: 16px auto 0;
    align-self: center;
  }

  .shape-primary {
    width: 190px;
    height: 135px;
    top: 50px;
    left: calc(50% - 95px);
  }

  .shape-tertiary {
    width: 120px;
    height: 85px;
    top: 5px;
    left: 0;
  }

  .shape-secondary {
    width: 145px;
    height: 105px;
    bottom: 10px;
    left: 0;
  }

  .shape-quaternary {
    width: 125px;
    height: 88px;
    top: 5px;
    right: 0;
  }

  .shape-quinary {
    width: 130px;
    height: 95px;
    bottom: 8px;
    right: 0;
  }

  .shape-badge {
    font-size: 10px;
    padding: 2px 7px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    height: 42px;
    max-width: 175px;
  }

  .hero-shapes-wrapper {
    max-width: 284px;
    height: 260px;
  }

  .shape-primary {
    width: 160px;
    height: 114px;
    top: 42px;
    left: calc(50% - 80px);
  }

  .shape-tertiary {
    width: 100px;
    height: 72px;
    top: 4px;
    left: 0;
  }

  .shape-secondary {
    width: 120px;
    height: 86px;
    bottom: 8px;
    left: 0;
  }

  .shape-quaternary {
    width: 105px;
    height: 74px;
    top: 4px;
    right: 0;
  }

  .shape-quinary {
    width: 110px;
    height: 80px;
    bottom: 6px;
    right: 0;
  }

  .shape-badge {
    font-size: 9px;
    padding: 2px 6px;
  }

  .card-person-title {
    font-size: 15px;
  }

  .email-address {
    font-size: 11px;
    letter-spacing: -0.4px;
    word-break: break-all;
  }
}

/* --------------------------------------------------------------------------
   Frequently Asked Questions (FAQ) Section - Two-Column Layout (Matches 'Why Choose Us')
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.faq-intro {
  align-self: center;
}

.faq-intro h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq-intro h2 span {
  color: var(--red);
}

.faq-intro p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 440px;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(181, 18, 27, 0.35);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.faq-item[open] {
  border-color: var(--red);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition-fast);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.faq-item[open] .faq-question {
  color: var(--red);
}

.faq-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--line-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  transition: background var(--transition-fast), transform var(--transition-base), color var(--transition-fast);
}

.faq-icon {
  display: block;
}

.faq-item[open] .faq-icon-wrap {
  background: var(--red);
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-answer-collapse {
  overflow: hidden;
}

.faq-answer {
  padding: 16px 22px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: #3f444a;
  background: #fafafa;
  border-top: 1px solid var(--line-light);
}

.faq-answer p {
  margin: 0;
}

.faq-answer strong {
  color: var(--ink);
  font-weight: 700;
}

/* FAQ Responsive Breakpoints */
@media (max-width: 991px) {
  .faq {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-intro {
    position: static;
    top: auto;
  }
}

@media (max-width: 600px) {
  .faq-question {
    padding: 16px 18px;
    font-size: 14.5px;
    gap: 12px;
  }

  .faq-icon-wrap {
    width: 28px;
    height: 28px;
  }

  .faq-answer {
    padding: 14px 18px 18px;
    font-size: 13.5px;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .stack-card,
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ==========================================================================
   Dedicated Service Landing Pages (Ultra-Smooth, Responsive & Accessible)
   ========================================================================== */

/* Breadcrumb Bar */
.breadcrumb-container {
  background: var(--pale);
  border-bottom: 1px solid var(--line);
  padding: 12px clamp(16px, 4vw, 56px);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb-inner a {
  color: var(--muted);
  transition: color var(--transition-fast);
}

.breadcrumb-inner a:hover {
  color: var(--red);
}

.bc-sep {
  color: var(--line);
  user-select: none;
}

.bc-current {
  color: var(--ink);
  font-weight: 600;
}

/* Service Hero Section */
.service-hero {
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 56px);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-bottom: 1px solid var(--line);
}

.service-hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.service-hero-copy h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 14px 0 16px;
  text-transform: uppercase;
}

.service-hero-desc {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 620px;
}

.service-hero-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--line);
  background: #000;
}

.service-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-hero-media:hover .service-hero-img {
  transform: scale(1.03);
}

.service-caption-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Service Capabilities Grid (H3 Cards) */
.service-details-section {
  background: #ffffff;
}

.service-capabilities-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.capability-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 28px;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.capability-box:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 10px 28px rgba(181, 18, 27, 0.08);
}

.cap-number {
  font-size: 14px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: inline-block;
  background: rgba(181, 18, 27, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
}

.capability-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 12px;
}

.capability-box p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* Compliance Flow Grid */
.compliance-section {
  background: var(--pale);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compliance-flow-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.flow-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: var(--red);
  padding: 4px 8px;
  border-radius: 3px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.flow-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* Related Services Interlinking Grid */
.related-services-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.related-services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.related-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.related-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.related-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 16px;
}

.card-link-arrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
}

/* Responsive Breakpoints for Service Pages */
@media (max-width: 992px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-hero-media {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .service-hero {
    padding: 32px 16px;
  }

  .service-capabilities-grid,
  .compliance-flow-grid,
  .related-services-grid {
    grid-template-columns: 1fr;
  }

  .capability-box {
    padding: 24px 20px;
  }
}

.service-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-top: 12px;
  text-decoration: none;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.service-link-btn:hover {
  color: var(--red-dark);
  transform: translateX(3px);
}
