/* ============================================================
   Craig Kershaw Ltd — Premium Construction Site Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ============================================================
   1. CSS Variables
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --navy: #1e3a5f;
  --navy-mid: #2a4a72;
  --navy-light: #3d5f8a;
  --accent: #c8a44e;
  --accent-hover: #dbb85e;
  --accent-glow: rgba(200, 164, 78, 0.08);
  --white: #ffffff;
  --text: #334155;
  --text-muted: #64748b;
  --heading: 'Outfit', sans-serif;
  --body: 'DM Sans', sans-serif;
  --scroll-progress: 0;
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.15;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   3. Scroll Progress Bar
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: calc(var(--scroll-progress) * 100%);
  background: linear-gradient(90deg, var(--accent), var(--accent-hover), var(--accent));
  z-index: 10000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   4. Scroll Reveal Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-child > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-child.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-child.revealed > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-child.revealed > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-child.revealed > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-child.revealed > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-child.revealed > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-child.revealed > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-child.revealed > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-child.revealed > *:nth-child(9) { transition-delay: 0.64s; }

.reveal-child.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-word.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-word:nth-child(1) { transition-delay: 0.05s; }
.hero-word:nth-child(2) { transition-delay: 0.12s; }
.hero-word:nth-child(3) { transition-delay: 0.19s; }
.hero-word:nth-child(4) { transition-delay: 0.26s; }
.hero-word:nth-child(5) { transition-delay: 0.33s; }
.hero-word:nth-child(6) { transition-delay: 0.40s; }
.hero-word:nth-child(7) { transition-delay: 0.47s; }
.hero-word:nth-child(8) { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-child > *,
  .hero-word {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   5. Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.97);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.99);
  padding: 12px 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Nav dropdown (Services mega-menu) */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 540px;
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  font-variant: normal;
  letter-spacing: 0;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown a:hover {
  background: var(--bg-alt);
  color: var(--navy);
}

.nav-dropdown a::after {
  display: none;
}

.nav-dropdown .dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-dropdown .dropdown-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
}

.nav-cta,
.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 9px;
  background: var(--navy);
  color: #ffffff !important;
  letter-spacing: 0;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-links a.nav-cta:hover {
  color: #ffffff !important;
}

.nav-cta:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.25);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span {
  background: var(--white);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 58, 95, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-overlay a {
  font-family: var(--heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
}

.nav-mobile-overlay a:hover {
  color: var(--accent);
}

/* ============================================================
   6. Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 60px;
  background: var(--navy);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 58, 95, 0.85) 0%,
    rgba(30, 58, 95, 0.7) 40%,
    rgba(30, 58, 95, 0.95) 100%
  );
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
}

.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 6px 18px 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 0 36px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   7. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 15px 32px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.3s ease,
              background 0.3s ease,
              border-color 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200, 164, 78, 0.2), 0 1px 3px rgba(200, 164, 78, 0.15);
  border: none;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(200, 164, 78, 0.3), 0 2px 6px rgba(200, 164, 78, 0.2);
}

.btn-gold:active {
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

.btn-outline:active {
  transform: translateY(-1px);
}

/* ============================================================
   8. Trust Bar
   ============================================================ */
.trust-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  background: var(--white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 18px 0;
  margin-top: 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   9. Section Styles
   ============================================================ */
.section {
  padding: 80px 0;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 0.97rem;
  line-height: 1.8;
}

.section-center {
  text-align: center;
}

.section-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.section-light {
  background: var(--bg-alt);
}

.section-header {
  margin-bottom: 56px;
}

/* ============================================================
   10. Service Cards
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.service-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 28px;
}

.service-card-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 16px;
  transition: gap 0.3s ease;
}

.service-card-link:hover {
  gap: 10px;
}

.service-card-link svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   11. Sector Cards
   ============================================================ */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sector-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  cursor: pointer;
}

.sector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.sector-card:hover img {
  transform: scale(1.06);
}

.sector-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(30, 58, 95, 0.85) 0%,
    rgba(30, 58, 95, 0.3) 40%,
    rgba(30, 58, 95, 0.05) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background 0.4s ease;
}

.sector-card:hover .sector-card-overlay {
  background: linear-gradient(
    0deg,
    rgba(30, 58, 95, 0.9) 0%,
    rgba(30, 58, 95, 0.4) 50%,
    rgba(30, 58, 95, 0.1) 100%
  );
}

.sector-card-overlay h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.sector-card-overlay p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 14px;
}

.sector-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sector-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.section-light .sector-tag {
  background: rgba(30, 58, 95, 0.08);
  border-color: rgba(30, 58, 95, 0.2);
  color: var(--navy);
}

/* ============================================================
   12. Project Gallery
   ============================================================ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(30, 58, 95, 0.8) 0%,
    rgba(30, 58, 95, 0) 50%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background 0.4s ease;
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(
    0deg,
    rgba(30, 58, 95, 0.88) 0%,
    rgba(30, 58, 95, 0.1) 60%
  );
}

.project-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.project-card-overlay h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  transform: translateY(4px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover .project-card-overlay h3 {
  transform: translateY(0);
}

/* ============================================================
   13. Stats Bar
   ============================================================ */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  flex-wrap: wrap;
  padding: 48px 0;
}

/* Stats section with navy background */
.section-stats {
  background: var(--navy);
}

.section-stats .stat-number {
  color: #ffffff;
}

.section-stats .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   14. Testimonials
   ============================================================ */
.testimonial {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}

.testimonial-quote {
  position: relative;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.85;
  font-style: italic;
  padding-left: 0;
}

.testimonial-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--heading);
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: -10px;
  font-style: normal;
  opacity: 0.6;
}

/* Left-bordered variant */
.testimonial-left {
  text-align: left;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}

.testimonial-left .testimonial-quote::before {
  display: none;
}

.testimonial-author {
  margin-top: 28px;
}

.testimonial-author-name {
  font-family: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   15. Why Us / Benefits
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.why-content .section-desc {
  margin-bottom: 24px;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(200, 164, 78, 0.1);
  border: 1px solid rgba(200, 164, 78, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.why-item-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.why-item-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   16. CTA Band
   ============================================================ */
.cta-band {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a5f 0%, #2a4a72 50%, #1e3a5f 100%);
  background-size: 200% 200%;
  animation: ctaShift 12s ease infinite;
}

@keyframes ctaShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 164, 78, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 28px;
}

.cta-band-inner h2 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-band-inner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
}

.cta-band-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   17. Contact Section
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  padding-top: 10px;
}

.contact-info .section-desc {
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(200, 164, 78, 0.1);
  border: 1px solid rgba(200, 164, 78, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
}

.contact-detail-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-detail-text a,
.contact-detail-text p {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-detail-text a:hover {
  color: var(--accent);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 164, 78, 0.1), 0 0 20px rgba(200, 164, 78, 0.06);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--white);
  padding-right: 44px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* ============================================================
   18. Breadcrumbs
   ============================================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}

.breadcrumbs .breadcrumb-current {
  color: var(--white);
  font-weight: 600;
}

/* ============================================================
   19. Footer
   ============================================================ */
.footer {
  background: #e9edf2;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .nav-logo {
  margin-bottom: 18px;
}

.footer-brand .nav-logo img {
  height: 32px;
}

.footer-tagline {
  font-size: 0.87rem;
  color: var(--navy);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.87rem;
  color: var(--navy-mid);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--navy-mid);
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--navy);
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--navy-mid);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--navy-mid);
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ============================================================
   20. Floating Call Button
   ============================================================ */
.floating-call {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.3s ease,
              opacity 0.4s ease,
              visibility 0.4s ease;
  opacity: 0;
  visibility: hidden;
}

.floating-call.visible {
  opacity: 1;
  visibility: visible;
}

.floating-call:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.4);
}

.floating-call svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

/* Floating buttons wrapper (main.js adds .visible on scroll) */
.floating-btns {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.floating-btns.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btns .floating-call,
.floating-btns .fab-call,
.floating-btns .fab-phone {
  position: static;
  opacity: 1;
  visibility: visible;
}

.fab-phone {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(200, 164, 78, 0.3);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
  position: relative;
}

.fab-phone:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(200, 164, 78, 0.4);
}

.fab-phone svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

/* Pulse ring animation */
.floating-call::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: callPulse 2.5s ease-out infinite;
}

@keyframes callPulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ============================================================
   21. Service Page Layout
   ============================================================ */
.service-hero {
  min-height: 50vh;
  padding: 160px 0 80px;
  background: var(--navy);
}

.service-hero .hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.service-content {
  padding: 80px 0;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-block-img {
  border-radius: 16px;
  overflow: hidden;
}

.service-block-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-block-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--navy);
}

.service-block-text p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.capability-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 164, 78, 0.1);
  border: 1px solid rgba(200, 164, 78, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.capability-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
}

.capability-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.capability-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   22. FAQ Accordion
   ============================================================ */
.faq-section {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  transition: color 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), color 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 0 22px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.8;
}

/* ============================================================
   23. Partner Logos Bar
   ============================================================ */
.partner-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.partner-bar img {
  height: 40px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.partner-bar img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ============================================================
   24. Page-Specific Hero Backgrounds
   ============================================================ */
.hero-home .hero-bg {
  background-image: url('img/hero-kitchen.jpg');
}

.hero-residential .hero-bg {
  background-image: url('img/resi-hero.png');
}

.hero-social .hero-bg {
  background-image: url('img/social-hero.png');
}

.hero-services .hero-bg {
  background-image: url('img/residential.png');
}

.hero-extensions .hero-bg {
  background-image: url('img/hero-ext.png');
}

.hero-windows .hero-bg {
  background-image: url('img/hero-windows.png');
}

.hero-access .hero-bg {
  background-image: url('img/hero-access.png');
}

.hero-roofing .hero-bg {
  background-image: url('img/hero-roofing.png');
}

.hero-landscaping .hero-bg {
  background-image: url('img/hero-land.png');
}

.hero-joinery .hero-bg {
  background-image: url('img/hero-joinery.png');
}

.hero-plastering .hero-bg {
  background-image: url('img/hero-plaster.png');
}

.hero-projects .hero-bg {
  background-image: url('img/project-ext-2.jpg');
}

.hero-about .hero-bg {
  background-image: url('img/about-team.png');
}

.hero-contact .hero-bg {
  background-image: url('img/project-ext-1.jpg');
}

.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================================
   25. Utility Classes
   ============================================================ */
.text-accent {
  color: var(--accent);
}

.text-white {
  color: var(--white);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.mt-0  { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 48px; }

/* ============================================================
   26. Responsive — Tablet (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-image {
    max-width: 500px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-block {
    gap: 40px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-dropdown {
    display: none;
  }

  .cta-band-inner h2 {
    font-size: 2.1rem;
  }

  .sector-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    gap: 48px;
  }
}

/* ============================================================
   27. Responsive — Mobile (max-width: 640px)
   ============================================================ */
@media (max-width: 640px) {
  .hero {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-image {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: -0.03em;
  }

  .hero-sub {
    font-size: 0.97rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-desc {
    font-size: 0.92rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .cta-band-btns {
    flex-direction: column;
    width: 100%;
  }

  .cta-band-btns .btn {
    width: 100%;
  }

  .cta-band-inner h2 {
    font-size: 1.8rem;
  }

  .cta-band {
    padding: 72px 0;
  }

  .trust-items {
    gap: 20px;
  }

  .trust-item {
    font-size: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-block.reverse {
    direction: ltr;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px 22px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .testimonial-quote {
    font-size: 1.05rem;
  }

  .partner-bar {
    gap: 24px;
  }

  .partner-bar img {
    height: 30px;
  }

  .sector-card {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: var(--navy);
  }

  .sector-card img {
    position: static;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .sector-card-overlay {
    position: static;
    background: var(--navy) !important;
    padding: 20px 24px 24px;
  }

  .sector-tag {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .floating-call {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .breadcrumbs {
    font-size: 0.72rem;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .container {
    padding: 0 20px;
  }
}

/* ============================================================
   28. Responsive — Small phones (max-width: 380px)
   ============================================================ */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   29. Nav Dropdown Trigger (main.js compatibility)
   ============================================================ */
.nav-dropdown-trigger {
  position: relative;
}

.nav-dropdown-trigger > a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  transition: color 0.3s ease;
  position: relative;
  cursor: pointer;
}

.nav-dropdown-trigger > a:hover {
  color: var(--navy);
}

.nav-dropdown-trigger > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-dropdown-trigger:hover > a::after {
  width: 100%;
}

.nav-dropdown-trigger .nav-dropdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.nav-dropdown-trigger .nav-dropdown.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-wide {
  min-width: 540px;
  grid-template-columns: 1fr 1fr;
}

/* ============================================================
   30. Mobile Nav Button (main.js compatibility)
   ============================================================ */
.nav-mobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}

.nav-mobile svg {
  stroke: var(--navy);
  transition: stroke 0.3s ease;
}

.nav.scrolled .nav-mobile svg {
  stroke: var(--navy);
}

.nav .nav-links.open ~ .nav-mobile svg {
  stroke: var(--white);
}

@media (max-width: 1024px) {
  .nav-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0b1929;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    overflow-y: auto;
    padding: 80px 24px 40px;
  }

  .nav-links.open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links.open a {
    font-family: var(--heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    font-variant: normal;
    letter-spacing: 0;
  }

  .nav-links.open a:hover {
    color: var(--accent);
  }

  .nav-links.open a::after {
    display: none;
  }

  .nav-links.open .nav-cta {
    font-size: 1rem;
    padding: 14px 32px;
    margin-top: 12px;
  }

  .nav-dropdown-trigger .nav-dropdown {
    position: static;
    transform: none;
    min-width: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-dropdown-trigger .nav-dropdown.visible {
    transform: none;
  }

  .nav-dropdown-trigger .nav-dropdown a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 0;
  }

  .nav-dropdown-wide {
    min-width: auto;
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   31. Footer Brand (markup compatibility)
   ============================================================ */
.footer-brand p {
  font-size: 0.87rem;
  color: var(--navy);
  line-height: 1.7;
  max-width: 280px;
}

.footer-brand img {
  display: block;
}

/* Footer columns without .footer-col class */
.footer-grid > div h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 20px;
}

.footer-grid > div ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-grid > div ul li a {
  font-size: 0.87rem;
  color: var(--navy-mid);
  transition: color 0.3s ease;
}

.footer-grid > div ul li a:hover {
  color: var(--accent);
}

.footer-grid > div ul li:not(:has(a)) {
  font-size: 0.87rem;
  color: var(--navy-mid);
}

.footer-bottom a {
  color: var(--navy-mid);
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ============================================================
   32. Floating Buttons (fab-call variant)
   ============================================================ */
.floating-btns {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.floating-btns.visible {
  opacity: 1;
  visibility: visible;
}

.fab-call {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
  position: relative;
}

.fab-call::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: callPulse 2.5s ease-out infinite;
}

.fab-call:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.4);
}

.fab-call svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}
