/* ==========================================================================
   Västkustens Bygg och Måleri AB — Main Stylesheet
   Brand Colors:
   - Primary Navy: #0f3d59 (Darker: #0a293d, Lighter: #165276)
   - Accent Gold:  #f9bc34 (Hover: #e0a520, Dark Text: #110202)
   - Eyebrow Red:  #f8596a
   - Muted Blue:   #6799b2 (Hover: #65bec2)
   - Light Gray:   #eceeef / #f5f7f9
   Typography: 'Nunito', 'Raleway', sans-serif
   ========================================================================== */

:root {
  --navy: #0f3d59;
  --navy-dark: #09283b;
  --navy-light: #175479;
  --gold: #f9bc34;
  --gold-hover: #e5a820;
  --gold-text: #110202;
  --coral: #f8596a;
  --blue-muted: #6799b2;
  --blue-hover: #65bec2;
  --bg-light: #f6f8fa;
  --card-gray: #eceeef;
  --text-dark: #2b2c27;
  --text-body: #3b3c38;
  --text-muted: #64748b;
  --white: #ffffff;
  --border-light: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 4px 12px rgba(15, 61, 89, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 61, 89, 0.12);
  --shadow-lg: 0 20px 45px rgba(15, 61, 89, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  max-width: 100%;
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

ul,
ol {
  list-style: none;
}

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

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

.site-header {
  background-color: var(--navy);
  border-bottom: 1px solid rgba(232, 211, 211, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(9, 40, 59, 0.32);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 16px;
  flex-wrap: nowrap;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  padding: 12px 10px;
  background-color: var(--navy);
  flex-shrink: 0;
}

.header-logo img {
  width: 140px;
  height: auto;
}

.header-logo:hover {
  opacity: 0.92;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-list li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-list a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.92);
  padding: 14px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-cta {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  background-color: var(--gold);
  color: var(--gold-text);
  padding: 9px 16px;
  border-radius: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-header-cta:hover {
  background-color: var(--gold-hover);
  box-shadow: 0 0 12px #db9936;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
  color: var(--white);
  align-items: center;
  justify-content: center;
}

.hamburger {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   Buttons & Reusable Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  line-height: 1.25;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--gold-text);
  border: 2px solid var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  box-shadow: 0 6px 20px rgba(249, 188, 52, 0.4);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
}

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

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}

.btn-navy:hover {
  background-color: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}

.section-heading-wrap {
  text-align: center;
  margin-bottom: 52px;
}

.eyebrow {
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  color: var(--coral);
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: block;
}

.section-heading {
  font-family: 'Nunito', sans-serif;
  font-size: 2.85rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  display: inline-block;
  border-bottom: 5px solid var(--gold);
  padding-bottom: 6px;
}

/* ==========================================================================
   Hero Video Section (Homepage)
   ========================================================================== */

.hero-video-section {
  position: relative;
  min-height: calc(90vh - 82px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background-color: var(--navy-dark);
  background-image: url('/wp-content/uploads/2023/10/mfd-background.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-align: center;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 40, 59, 0.62) 0%,
    rgba(15, 61, 89, 0.72) 60%,
    rgba(9, 40, 59, 0.85) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.65rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero-title .gold {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin: 0 auto 34px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 61, 89, 0.65);
  border: 1px solid rgba(249, 188, 52, 0.4);
  padding: 7px 16px;
  border-radius: 999px;
}

.hero-badge-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ==========================================================================
   Welcome Section (Homepage)
   ========================================================================== */

.section-padding {
  padding: 84px 0;
}

.section-light {
  background-color: var(--bg-light);
}

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

.welcome-text p {
  margin-bottom: 18px;
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--text-body);
}

.welcome-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.welcome-badges img {
  height: 88px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.welcome-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome-image-wrap img {
  width: 82%;
  max-width: 440px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 28px 0 rgba(160, 125, 125, 0.55);
}

/* ==========================================================================
   Varför oss (4 Icon Pillars)
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border: 1px solid #e8edf2;
  border-radius: var(--radius-md);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 18px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ==========================================================================
   Senaste Arbete (Homepage 3-Column Preview)
   ========================================================================== */

.recent-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recent-work-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--navy-dark);
  aspect-ratio: 4 / 3;
  display: block;
}

.recent-work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.recent-work-card:hover img {
  transform: scale(1.05);
}

.recent-work-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  color: var(--text-dark);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.98rem;
}

.section-cta-center {
  text-align: center;
  margin-top: 40px;
}

/* ==========================================================================
   Page Banner (Subpages)
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 58px 0;
  border-bottom: 4px solid var(--gold);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.page-hero p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 740px;
}

.breadcrumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--gold);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Våra Tjänster Page
   ========================================================================== */

.services-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

.service-group-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-top: 5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.service-group-intro {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.45;
}

.service-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 12px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.service-check-item:hover {
  background: #edf2f7;
  transform: translateX(4px);
}

.service-check-icon,
.service-check-item svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
  flex-shrink: 0;
}

/* ==========================================================================
   Nöjd-Kund-Garanti Page
   ========================================================================== */

.guarantee-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.guarantee-intro {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: var(--text-dark);
  font-weight: 600;
}

.guarantee-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.guarantee-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-light);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.04rem;
  color: var(--text-dark);
}

.guarantee-step svg {
  width: 22px;
  height: 22px;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 3px;
}

.guarantee-footer-box {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.guarantee-footer-box img {
  width: 140px;
  height: auto;
}

.guarantee-footer-text h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 6px;
}

/* ==========================================================================
   Kundomdömen (Customer Reviews)
   ========================================================================== */

.reviews-intro {
  max-width: 840px;
  margin-bottom: 36px;
}

.reviews-intro p {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.review-box {
  background-color: var(--card-gray);
  padding: 24px;
  border-bottom: 6px solid var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.review-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-project {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.review-body {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.6;
  flex: 1;
}

.review-author {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  padding-top: 12px;
  border-top: 1px solid rgba(15, 61, 89, 0.12);
}

/* ==========================================================================
   Referensjobb (Gallery Grid & Interactive Lightbox)
   ========================================================================== */

.gallery-intro {
  max-width: 840px;
  margin-bottom: 24px;
}

.gallery-intro p {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.gallery-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid var(--gold);
  color: #78350f;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.gallery-hint svg {
  width: 18px;
  height: 18px;
  color: #d97706;
  flex-shrink: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background-color: #e2e8f0;
  cursor: zoom-in;
}

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

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

.gallery-item-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(9, 40, 59, 0.88));
  color: var(--white);
  padding: 24px 12px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 22, 33, 0.94);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 24px;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  color: var(--white);
  z-index: 10;
}

.lightbox-counter {
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
}

.lightbox-close {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.lightbox-close:hover {
  background: var(--coral);
}

.lightbox-stage {
  position: relative;
  max-width: 92vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage img {
  max-width: 90vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.16);
  border: none;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--gold);
  color: var(--gold-text);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-caption {
  margin-top: 14px;
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: center;
  max-width: 720px;
}

/* ==========================================================================
   Contact Section & Direct Email CTA Card (Zero Forms!)
   ========================================================================== */

.contact-section {
  background-image: linear-gradient(rgba(15, 61, 89, 0.84), rgba(9, 40, 59, 0.9)),
    url('/wp-content/uploads/2023/10/mfd-background.jpg');
  background-size: cover;
  background-position: center;
  padding: 84px 0;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-info-col h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.contact-info-col .contact-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  max-width: 480px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--white);
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(249, 188, 52, 0.18);
  border: 1px solid rgba(249, 188, 52, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail-item a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.contact-cta-card {
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--gold);
}

.contact-cta-card h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.contact-cta-card p {
  font-size: 1.02rem;
  color: var(--text-body);
  margin-bottom: 20px;
}

.contact-cta-checklist {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-cta-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-cta-checklist svg {
  width: 18px;
  height: 18px;
  color: #16a34a;
  flex-shrink: 0;
}

.contact-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-cta-buttons .btn {
  width: 100%;
  font-size: 1.05rem;
  padding: 15px 24px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(232, 211, 211, 0.35);
  padding-top: 56px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand img.footer-logo {
  height: 92px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.92;
}

.footer-brand p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 420px;
  margin-bottom: 22px;
  line-height: 1.6;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.footer-badges img {
  height: 60px;
  width: auto;
  border-radius: 6px;
  background: var(--white);
  padding: 3px;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.98rem;
}

.footer-contact-list a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background-color: var(--blue-muted);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  background-color: var(--blue-hover);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-legal-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ==========================================================================
   Policy & 404 Content
   ========================================================================== */

.prose-box {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.prose-box h2 {
  font-size: 1.55rem;
  color: var(--navy);
  margin: 28px 0 12px;
}

.prose-box h2:first-child {
  margin-top: 0;
}

.prose-box p,
.prose-box li {
  font-size: 1.02rem;
  margin-bottom: 14px;
  color: var(--text-body);
}

.prose-box ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 18px;
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile)
   ========================================================================== */

@media (max-width: 1160px) and (min-width: 992px) {
  .header-logo img {
    width: 120px;
  }
  .nav-list a {
    font-size: 0.8rem;
    padding: 12px 8px;
    letter-spacing: 0.03em;
  }
  .btn-header-cta {
    font-size: 0.8rem;
    padding: 8px 13px;
  }
}

@media (max-width: 991px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--navy-dark);
    border-bottom: 2px solid var(--gold);
    padding: 16px 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    justify-content: flex-start;
    padding: 13px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }

  .welcome-grid,
  .contact-grid,
  .services-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

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

@media (max-width: 640px) {
  .section-padding {
    padding: 56px 0;
  }

  .section-heading {
    font-size: 2.15rem;
  }

  .features-grid,
  .recent-work-grid,
  .reviews-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .contact-cta-card,
  .service-group-card,
  .prose-box {
    padding: 26px 20px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .header-logo img {
    width: 118px;
  }

  .btn-header-cta {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}
