/* =========================================================
   HOMEPAGE.CSS — ULTRA-MODERN 3D ANIMATED HOMEPAGE
   Riteway Movers — Luxury Glassmorphism, 3D Tilt & Mesh Gradients
   ========================================================= */

:root {
  --glow-blue: rgba(0, 125, 181, 0.45);
  --glow-orange: rgba(242, 140, 24, 0.45);
  --glow-yellow: rgba(255, 196, 0, 0.45);
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.6);
  --card-shadow-3d: 0 20px 40px -15px rgba(21, 24, 39, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --card-shadow-hover: 0 30px 60px -15px rgba(0, 125, 181, 0.22), 0 0 20px rgba(0, 125, 181, 0.15);
}

/* ---------------------------------------------------------
   Animated Ambient Background Mesh
   --------------------------------------------------------- */
.ambient-mesh-canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbDrift 18s ease-in-out infinite alternate;
}

.ambient-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #007DB5 0%, rgba(0, 125, 181, 0) 70%);
  top: -100px;
  right: -50px;
  animation-duration: 22s;
}

.ambient-orb--2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #FFC400 0%, rgba(255, 196, 0, 0) 70%);
  top: 15%;
  left: -120px;
  animation-duration: 17s;
}

.ambient-orb--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #F28C18 0%, rgba(242, 140, 24, 0) 70%);
  bottom: 5%;
  right: 15%;
  animation-duration: 25s;
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.12); }
  100% { transform: translate(-40px, 70px) scale(0.95); }
}

/* ---------------------------------------------------------
   Hero Section with 3D Depth
   --------------------------------------------------------- */
.hero-wrapper {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFD 100%);
  padding: 48px 0 60px 0;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 244, 215, 0.9);
  border: 1px solid rgba(242, 140, 24, 0.35);
  border-radius: var(--radius-full);
  color: #B85D00;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(242, 140, 24, 0.12);
}

.hero-pill-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 0 0 rgba(242, 140, 24, 0.7);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(242, 140, 24, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(242, 140, 24, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(242, 140, 24, 0); }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #151827;
  letter-spacing: -0.035em;
}

.gradient-text-brand {
  background: linear-gradient(135deg, #F28C18 0%, #FFC400 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subline {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #4A5568;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.btn-3d-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--color-blue) 0%, #00608C 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 125, 181, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-3d-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-3d-primary:hover::after {
  left: 100%;
}

.btn-3d-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 125, 181, 0.45);
  color: #FFFFFF;
}

.btn-3d-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #151827;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-full);
  border: 1.5px solid #D5DEE7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.btn-3d-secondary:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 140, 24, 0.15);
}

/* Hero Key Metric Badges */
.hero-metrics-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-metric-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #151827;
  line-height: 1.1;
}

.hero-metric-item span {
  font-size: 0.8rem;
  color: #718096;
  font-weight: 500;
}

/* 3D Visual Stage with Tilt */
.hero-3d-stage {
  perspective: 1200px;
  position: relative;
}

.hero-3d-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform;
}

.hero-main-photo-frame {
  position: relative;
  border-radius: 32px 90px 32px 32px;
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(21, 24, 39, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.8);
  border: 5px solid #FFFFFF;
  background: #000;
}

.hero-main-photo-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* Floating 3D Badge 1: Heritage */
.floating-3d-badge {
  position: absolute;
  top: 24px;
  right: -15px;
  transform: translateZ(50px);
  background: rgba(21, 24, 39, 0.9);
  backdrop-filter: blur(14px);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 196, 0, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.floating-3d-badge__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-orange));
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #151827;
}

.floating-3d-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #FFFFFF;
}

.floating-3d-badge span {
  font-size: 0.76rem;
  color: var(--color-yellow);
}

/* Floating 3D Badge 2: Route Tracker */
.floating-route-card {
  position: absolute;
  bottom: -20px;
  left: 20px;
  transform: translateZ(60px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  padding: 16px 22px;
  border-radius: 18px;
  border: 1.5px solid rgba(0, 125, 181, 0.2);
  box-shadow: 0 20px 45px rgba(0, 125, 181, 0.15);
  z-index: 10;
  min-width: 290px;
}

.route-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #2D3748;
  margin-bottom: 8px;
}

.route-live-tag {
  background: rgba(0, 125, 181, 0.12);
  color: var(--color-blue);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
}

/* Animated 3D Wave Divider */
.wave-scene {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.wave-scene svg {
  display: block;
  width: calc(100% + 2px);
  height: 70px;
}

.wave-layer--1 path {
  animation: waveFloat 8s ease-in-out infinite alternate;
}

.wave-layer--2 path {
  animation: waveFloat 14s ease-in-out infinite alternate-reverse;
}

@keyframes waveFloat {
  0% { transform: translateX(0); }
  100% { transform: translateX(-35px); }
}

/* ---------------------------------------------------------
   Interactive 3D Cost Estimator Widget Section
   --------------------------------------------------------- */
.estimator-section {
  padding: 80px 0;
  background: #FFFFFF;
  position: relative;
}

.estimator-box {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFD 100%);
  border: 1.5px solid rgba(0, 125, 181, 0.18);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 25px 60px -15px rgba(0, 125, 181, 0.08);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.estimator-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #151827;
  line-height: 1.15;
  margin-bottom: 12px;
}

.estimator-left p {
  color: #4A5568;
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.control-slider-group {
  margin-bottom: 24px;
}

.control-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #2D3748;
  margin-bottom: 10px;
}

.control-val-pill {
  background: rgba(0, 125, 181, 0.1);
  color: var(--color-blue);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
}

.range-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 6px;
  background: #E2E8F0;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: 0 0 10px rgba(0, 125, 181, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.service-toggle-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.service-pill-btn {
  padding: 8px 16px;
  border: 1.5px solid #CBD5E0;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: #4A5568;
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-pill-btn.is-active {
  background: var(--color-blue);
  color: #FFFFFF;
  border-color: var(--color-blue);
  box-shadow: 0 4px 14px rgba(0, 125, 181, 0.25);
}

/* Estimator Live Output Card */
.estimator-output-card {
  background: linear-gradient(145deg, #151827 0%, #252B33 100%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(255, 196, 0, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.output-header {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-yellow);
  font-weight: 700;
}

.output-price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.output-price-amount {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.output-price-note {
  font-size: 0.88rem;
  color: #A0AEC0;
}

.output-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.output-breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #E2E8F0;
}

/* ---------------------------------------------------------
   3D Interactive Services Showcase
   --------------------------------------------------------- */
.services-section-modern {
  padding: 96px 0;
  background: #FAFBFD;
  position: relative;
}

.services-3d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.service-card-3d {
  position: relative;
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: var(--card-shadow-3d);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.service-card-3d:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--color-blue);
}

.service-media-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #CBD5E0;
}

.service-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-3d:hover .service-media-wrap img {
  transform: scale(1.08);
}

.service-badge-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(21, 24, 39, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-yellow);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.service-content-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title-3d {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #151827;
  margin-bottom: 8px;
}

.service-desc-3d {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #5F6B7A;
  margin-bottom: 20px;
  flex: 1;
}

.service-action-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}

.service-card-3d:hover .service-action-link {
  gap: 12px;
  color: #005A82;
}

/* ---------------------------------------------------------
   4-Step Interactive Timeline
   --------------------------------------------------------- */
.journey-section {
  padding: 96px 0;
  background: #FFFFFF;
  position: relative;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}

.journey-card {
  background: #FAFBFD;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.journey-card:hover {
  background: #FFFFFF;
  border-color: var(--color-orange);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(242, 140, 24, 0.12);
}

.journey-step-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-orange) 100%);
  color: #151827;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(242, 140, 24, 0.25);
}

.journey-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #151827;
  margin-bottom: 10px;
}

.journey-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5F6B7A;
}

/* ---------------------------------------------------------
   Dynamic Location Switcher Showcase
   --------------------------------------------------------- */
.city-showcase-section {
  padding: 96px 0;
  background: linear-gradient(180deg, #FAFBFD 0%, #FFFFFF 100%);
}

.city-nav-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.city-nav-btn {
  padding: 10px 22px;
  border: 1.5px solid #CBD5E0;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #4A5568;
  cursor: pointer;
  transition: all 0.2s ease;
}

.city-nav-btn.is-active, .city-nav-btn:hover {
  background: var(--color-blue);
  color: #FFFFFF;
  border-color: var(--color-blue);
  box-shadow: 0 6px 18px rgba(0, 125, 181, 0.25);
}

.city-display-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  background: #FFFFFF;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: var(--card-shadow-3d);
}

.city-display-media {
  height: 380px;
  position: relative;
}

.city-display-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-display-content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.city-badge-tag {
  color: var(--color-orange);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.city-display-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #151827;
}

.city-display-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #4A5568;
}

/* ---------------------------------------------------------
   Comprehensive Full Form Section
   --------------------------------------------------------- */
.full-quote-section {
  padding: 96px 0;
  background: #FAFBFD;
  position: relative;
}

.quote-glass-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 48px;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

/* ---------------------------------------------------------
   Responsive Media Queries
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .estimator-box {
    grid-template-columns: 1fr;
  }
  .services-3d-grid {
    grid-template-columns: 1fr 1fr;
  }
  .journey-grid {
    grid-template-columns: 1fr 1fr;
  }
  .city-display-card {
    grid-template-columns: 1fr;
  }
  .city-display-media {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .services-3d-grid {
    grid-template-columns: 1fr;
  }
  .journey-grid {
    grid-template-columns: 1fr;
  }
  .hero-main-photo-frame img {
    height: 320px;
  }
  .floating-3d-badge {
    position: static;
    margin-top: 12px;
  }
  .floating-route-card {
    position: static;
    margin-top: 12px;
  }
  .estimator-box {
    padding: 24px;
  }
  .quote-glass-card {
    padding: 24px 16px;
  }
}

/* ---------------------------------------------------------
   Calgary Moving Experience
   --------------------------------------------------------- */
.calgary-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 124px;
  padding: clamp(72px, 8vw, 112px) 0;
  background: linear-gradient(135deg, #f5f8f7 0%, #fff 52%, #fff9e7 100%);
}

.calgary-story::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -230px;
  right: -190px;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(8, 42, 50, 0.05);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 189, 11, 0.11), rgba(252, 189, 11, 0) 68%);
  pointer-events: none;
}

.calgary-story__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  column-gap: clamp(36px, 5.5vw, 76px);
  row-gap: 18px;
}

.calgary-story__visual {
  position: relative;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  padding: 32px 8px 18px 0;
}

.calgary-story__visual::before {
  content: "";
  position: absolute;
  inset: 8% 5% 4% 0;
  border: 1px solid rgba(8, 42, 50, 0.06);
  border-radius: 38px 38px 92px 38px;
  background: linear-gradient(145deg, rgba(252, 189, 11, 0.18), rgba(252, 189, 11, 0.035));
}

.calgary-story__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(8, 42, 50, 0.12));
}

.calgary-story__since {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #082a32;
  box-shadow: 0 12px 24px rgba(8, 42, 50, 0.16);
  color: #fff;
}

.calgary-story__since span {
  color: var(--color-yellow);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.calgary-story__since strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.25;
}

.calgary-story__delivery-photo {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  width: clamp(160px, 18vw, 215px);
  aspect-ratio: 1.55;
  margin: 0 0 0 clamp(8px, 2.5vw, 30px);
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(252, 189, 11, 0.62);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(8, 42, 50, 0.16);
  transform: rotate(-2deg);
}

.calgary-story__delivery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.calgary-story__delivery-photo figcaption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 42, 50, 0.92);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.calgary-story__delivery-photo figcaption::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #fcbd0b;
  content: "";
}

.calgary-story__content {
  min-width: 0;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.calgary-story__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: #806000;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.calgary-story__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 0 4px rgba(252, 189, 11, 0.17);
}

.calgary-story__title {
  max-width: 690px;
  color: #102d35;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.calgary-story__title span {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.calgary-story__title span::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0.06em;
  left: 0;
  height: 0.28em;
  border-radius: 3px;
  background: rgba(252, 189, 11, 0.72);
}

.calgary-story__intro {
  max-width: 690px;
  margin-top: 16px;
  color: #526269;
  font-size: 0.94rem;
  line-height: 1.75;
}

.calgary-story__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 27px;
}

.calgary-story__feature {
  min-width: 0;
  padding: 18px 17px;
  border: 1px solid rgba(8, 42, 50, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(8, 42, 50, 0.045);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.calgary-story__feature:hover {
  transform: translateY(-3px);
  border-color: rgba(252, 189, 11, 0.65);
  box-shadow: 0 12px 26px rgba(8, 42, 50, 0.08);
}

.calgary-story__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(252, 189, 11, 0.45);
  border-radius: 12px;
  background: rgba(252, 189, 11, 0.14);
  color: #806000;
}

.calgary-story__icon svg {
  width: 23px;
  height: 23px;
}

.calgary-story__feature h3 {
  margin-top: 12px;
  color: #102d35;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.3;
}

.calgary-story__feature p {
  margin-top: 6px;
  color: #5f6b70;
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .calgary-story {
    scroll-margin-top: 114px;
  }

  .calgary-story__inner {
    max-width: 760px;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .calgary-story__visual,
  .calgary-story__delivery-photo,
  .calgary-story__content {
    grid-column: 1;
    grid-row: auto;
  }

  .calgary-story__visual {
    width: min(100%, 570px);
    margin: 0 auto;
  }

  .calgary-story__delivery-photo {
    width: min(215px, 58vw);
    margin: -18px 0 0 8px;
  }

  .calgary-story__content {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .calgary-story {
    scroll-margin-top: 72px;
    padding: 64px 0;
  }

  .calgary-story__inner {
    gap: 24px;
  }

  .calgary-story__delivery-photo {
    margin-top: -14px;
  }

  .calgary-story__visual {
    padding-top: 27px;
  }

  .calgary-story__since {
    padding: 9px 13px;
  }

  .calgary-story__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .calgary-story__intro {
    font-size: 0.9rem;
  }

  .calgary-story__features {
    gap: 10px;
    margin-top: 21px;
  }

  .calgary-story__feature {
    padding: 15px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calgary-story__feature {
    transition: none;
  }
}

/* ---------------------------------------------------------
   Premium Calgary services collection
   --------------------------------------------------------- */
.home-services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(68px, 7.6vw, 104px) 0 clamp(76px, 8vw, 108px);
  border-top: 1px solid rgba(8, 42, 50, 0.08);
  background:
    radial-gradient(ellipse at 88% 6%, rgba(252, 189, 11, 0.16), transparent 32%),
    radial-gradient(ellipse at 18% 100%, rgba(37, 91, 101, 0.22), transparent 42%),
    #102d35;
  color: #fff;
}

.home-services::before {
  position: absolute;
  z-index: -1;
  top: 10%;
  left: -215px;
  width: 430px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.018),
    0 0 0 76px rgba(255, 255, 255, 0.014);
  pointer-events: none;
}

.home-services::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #fcbd0b 0%, #fcbd0b 25%, rgba(252, 189, 11, 0.24) 100%);
  content: "";
}

.home-services__inner {
  position: relative;
  z-index: 1;
}

.home-services__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(30px, 6vw, 82px);
  margin-bottom: 34px;
}

.home-services__heading-main,
.home-services__heading-note {
  min-width: 0;
}

.home-services__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
  color: #fcbd0b;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-services__eyebrow > span {
  color: rgba(252, 189, 11, 0.5);
}

.home-services__title {
  max-width: 720px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.8vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.home-services__title span {
  color: #fcbd0b;
}

.home-services__heading-note {
  padding: 3px 0 3px 23px;
  border-left: 1px solid rgba(252, 189, 11, 0.68);
}

.home-services__heading-note p {
  max-width: 390px;
  color: rgba(238, 244, 242, 0.76);
  font-size: 0.91rem;
  line-height: 1.75;
}

.home-services__all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  color: #fcbd0b;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.home-services__all-link svg {
  width: 19px;
  height: 19px;
  transition: transform 180ms ease;
}

.home-services__all-link:hover svg {
  transform: translateX(4px);
}

.home-services__all-link:focus-visible,
.home-service-card:focus-visible {
  outline: 3px solid #fcbd0b;
  outline-offset: 4px;
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 17px;
  background: #fffefa;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.17), 0 1px 0 rgba(255, 255, 255, 0.32) inset;
  color: #102d35;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 189, 11, 0.9);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(252, 189, 11, 0.2);
}

.home-service-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.62;
  background: linear-gradient(135deg, #dfe8e4, #aabbb5);
}

.home-service-card__image::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background:
    linear-gradient(115deg, transparent 15%, rgba(255, 255, 255, 0.42) 34%, rgba(255, 255, 255, 0.14) 45%, transparent 62%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 45%, rgba(252, 189, 11, 0.1));
  background-size: 220% 100%, 100% 100%;
  background-position: 130% 0, 0 0;
  opacity: 0;
  content: "";
  pointer-events: none;
  transition: opacity 220ms ease, background-position 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-service-card__image::after {
  position: absolute;
  z-index: 0;
  inset: 18% 0 0;
  background: linear-gradient(180deg, rgba(8, 26, 30, 0.02) 0%, rgba(8, 26, 30, 0.62) 100%);
  content: "";
  pointer-events: none;
}

.home-service-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-service-card:hover .home-service-card__image img {
  transform: scale(1.045);
}

.home-service-card:hover .home-service-card__image::before,
.home-service-card:focus-visible .home-service-card__image::before {
  opacity: 1;
  background-position: -20% 0, 0 0;
}

.home-service-card__category {
  position: absolute;
  z-index: 2;
  bottom: 15px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 42, 50, 0.78);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.home-service-card__category::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #fcbd0b;
  content: "";
}

.home-service-card__number {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(8, 42, 50, 0.75);
  color: #fcbd0b;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
}

.home-service-card__body {
  display: flex;
  min-height: 168px;
  flex: 1;
  flex-direction: column;
  padding: 18px 19px 16px;
}

.home-service-card__body h3 {
  color: #102d35;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.home-service-card__body p {
  margin-top: 7px;
  color: #5e6c70;
  font-size: 0.82rem;
  line-height: 1.65;
}

.home-service-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  color: #102d35;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.home-service-card__arrow {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(16, 45, 53, 0.12);
  border-radius: 50%;
  background: #fff;
  color: #102d35;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-service-card__arrow svg {
  width: 16px;
  height: 16px;
}

.home-service-card:hover .home-service-card__arrow {
  transform: translateX(2px);
  border-color: #fcbd0b;
  background: #fcbd0b;
  color: #102d35;
}

@media (max-width: 960px) {
  .home-services__heading {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.7fr);
    gap: 28px;
  }

  .home-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .home-services {
    padding: 66px 0 76px;
  }

  .home-services__heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 27px;
  }

  .home-services__title {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .home-services__heading-note {
    max-width: 460px;
    padding-left: 16px;
  }

  .home-services__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .home-service-card__image {
    aspect-ratio: 1.72;
  }

  .home-service-card__body {
    min-height: 160px;
    padding: 16px 16px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-services__all-link svg,
  .home-service-card,
  .home-service-card__image img,
  .home-service-card__image::before,
  .home-service-card__arrow {
    transition: none;
  }
}

/* ---------------------------------------------------------
   Service locations map and scrollable city cards
   --------------------------------------------------------- */
.service-areas {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 110px) 0;
  background:
    radial-gradient(ellipse at 8% 88%, rgba(252, 189, 11, 0.12), transparent 34%),
    linear-gradient(135deg, #f5f8f6 0%, #edf4f1 100%);
  color: #102d35;
}

.service-areas__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(32px, 5.2vw, 76px);
}

.service-areas__content {
  min-width: 0;
}

.service-areas__heading {
  margin-bottom: 24px;
}

.service-areas__eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: #8b6800;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.service-areas__title {
  max-width: 540px;
  color: #102d35;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.service-areas__title span {
  color: #d59d00;
}

.service-areas__intro {
  margin-top: 13px;
  color: #617174;
  font-size: 0.92rem;
  line-height: 1.65;
}

.service-areas__scrollbox {
  display: grid;
  max-height: 370px;
  grid-auto-rows: 108px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 11px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 11px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(16, 45, 53, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  scrollbar-color: rgba(16, 45, 53, 0.38) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.service-areas__scrollbox::-webkit-scrollbar {
  width: 7px;
}

.service-areas__scrollbox::-webkit-scrollbar-track {
  margin: 12px 0;
  background: transparent;
}

.service-areas__scrollbox::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(16, 45, 53, 0.35);
}

.service-area-card {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: minmax(68px, 0.8fr) minmax(0, 1fr) 28px;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 5px 16px rgba(16, 45, 53, 0.055);
  color: #102d35;
  text-decoration: none;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.service-area-card img {
  display: block;
  width: 100%;
  height: 76px;
  border-radius: 9px;
  object-fit: cover;
  transition: transform 250ms ease;
}

.service-area-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.service-area-card__arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(16, 45, 53, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: #102d35;
  transition: transform 200ms ease, color 200ms ease, background 200ms ease, border-color 200ms ease;
}

.service-area-card__arrow svg {
  width: 17px;
  height: 17px;
}

.service-area-card:hover {
  transform: translateY(-2px);
  border-color: rgba(252, 189, 11, 0.7);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(16, 45, 53, 0.12);
}

.service-area-card:hover img {
  transform: scale(1.045);
}

.service-area-card:hover .service-area-card__arrow {
  transform: translateX(2px);
  border-color: #fcbd0b;
  background: #fcbd0b;
}

.service-area-card:focus-visible,
.service-areas__scrollbox:focus-visible {
  outline: 3px solid #d59d00;
  outline-offset: 3px;
}

.service-areas__map {
  min-width: 0;
  width: 100%;
  max-width: 420px;
  justify-self: start;
  overflow: hidden;
  aspect-ratio: 0.9 / 1;
  border: 6px solid rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  background: #dbe7e2;
  box-shadow: 0 24px 55px rgba(16, 45, 53, 0.16);
}

.service-areas__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .service-areas__inner {
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
    gap: 22px;
  }

  .service-areas__title {
    font-size: clamp(1.9rem, 4.3vw, 2.8rem);
  }

  .service-areas__scrollbox {
    grid-auto-rows: 102px;
    gap: 9px;
  }

  .service-area-card {
    grid-template-columns: minmax(58px, 0.78fr) minmax(0, 1fr) 26px;
    gap: 6px;
    padding: 7px;
  }

  .service-area-card img {
    height: 70px;
  }

  .service-area-card__name {
    font-size: 0.86rem;
  }

  .service-area-card__arrow {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 700px) {
  .service-areas {
    padding: 66px 0 74px;
  }

  .service-areas__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .service-areas__map {
    max-width: 100%;
    aspect-ratio: 1.05 / 1;
    justify-self: stretch;
  }

  .service-areas__heading {
    margin-bottom: 19px;
  }

  .service-areas__title {
    max-width: 520px;
    font-size: clamp(2.15rem, 8vw, 3rem);
  }

  .service-areas__scrollbox {
    max-height: 320px;
    grid-auto-rows: 96px;
    gap: 8px;
    border-radius: 20px;
  }

  .service-area-card img {
    height: 64px;
  }
}

@media (max-width: 420px) {
  .service-areas__scrollbox {
    padding: 8px;
  }

  .service-area-card {
    grid-template-columns: minmax(54px, 0.78fr) minmax(0, 1fr) 24px;
    gap: 6px;
    padding: 6px;
  }

  .service-area-card__name {
    font-size: 0.78rem;
  }

  .service-area-card__arrow {
    width: 25px;
    height: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-area-card,
  .service-area-card img,
  .service-area-card__arrow {
    transition: none;
  }
}

/* ---------------------------------------------------------
   Blog preview — content-ready empty state
   --------------------------------------------------------- */
.home-blog {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 8vw, 108px) 0;
  background:
    radial-gradient(ellipse at 8% 12%, rgba(252, 189, 11, 0.12), transparent 32%),
    #f7f9f6;
  color: #102d35;
}

.home-blog__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}

.home-blog__copy {
  max-width: 620px;
}

.home-blog__eyebrow,
.home-reviews__eyebrow {
  display: inline-block;
  margin-bottom: 15px;
  color: #957100;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-blog__title {
  max-width: 600px;
  color: #102d35;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.6vw, 4.05rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.home-blog__description {
  max-width: 540px;
  margin-top: 19px;
  color: #647276;
  font-size: 1rem;
  line-height: 1.75;
}

.home-blog__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  margin-top: 25px;
  padding: 0 18px;
  border: 1px solid rgba(16, 45, 53, 0.14);
  border-radius: 999px;
  background: #102d35;
  box-shadow: 0 10px 22px rgba(16, 45, 53, 0.12);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-blog__link svg,
.home-reviews__placeholder a svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.home-blog__link:hover {
  transform: translateY(-2px);
  background: #173f49;
  box-shadow: 0 14px 28px rgba(16, 45, 53, 0.18);
}

.home-blog__link:hover svg,
.home-reviews__placeholder a:hover svg {
  transform: translateX(3px);
}

.home-blog__placeholder {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 14%, rgba(252, 189, 11, 0.2), transparent 31%),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 48px rgba(16, 45, 53, 0.09);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.home-blog__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(213, 157, 0, 0.22);
  border-radius: 999px;
  background: rgba(252, 189, 11, 0.12);
  color: #765900;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-blog__status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5ad00;
  content: "";
}

.home-blog__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-top: 27px;
  place-items: center;
  border: 1px solid rgba(16, 45, 53, 0.1);
  border-radius: 15px;
  background: #f0f5f2;
  color: #174b54;
}

.home-blog__icon svg {
  width: 34px;
  height: 34px;
}

.home-blog__placeholder h3 {
  margin-top: 17px;
  color: #102d35;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.home-blog__placeholder p {
  margin-top: 10px;
  color: #68777a;
  font-size: 0.9rem;
  line-height: 1.65;
}

.home-blog__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.home-blog__topics span {
  padding: 7px 10px;
  border: 1px solid rgba(16, 45, 53, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #44595d;
  font-size: 0.73rem;
  font-weight: 700;
}

.home-blog__link:focus-visible,
.home-reviews__placeholder a:focus-visible,
.home-photo-carousel button:focus-visible {
  outline: 3px solid #fcbd0b;
  outline-offset: 4px;
}

/* ---------------------------------------------------------
   Customer reviews and crew photo carousel
   --------------------------------------------------------- */
.home-reviews {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(76px, 8vw, 112px) 0;
  background:
    radial-gradient(ellipse at 92% 12%, rgba(252, 189, 11, 0.12), transparent 32%),
    linear-gradient(135deg, #102d35 0%, #173e43 100%);
  color: #fff;
}

.home-reviews::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: -190px;
  width: 380px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(255, 255, 255, 0.02),
    0 0 0 72px rgba(255, 255, 255, 0.015);
  content: "";
  pointer-events: none;
}

.home-reviews__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.62fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 36px;
}

.home-reviews__eyebrow {
  margin-bottom: 13px;
  color: #fcbd0b;
}

.home-reviews__title {
  max-width: 700px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.6vw, 4.05rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.home-reviews__heading > p {
  max-width: 390px;
  justify-self: end;
  padding: 3px 0 3px 22px;
  border-left: 1px solid rgba(252, 189, 11, 0.64);
  color: rgba(238, 244, 242, 0.76);
  font-size: 0.92rem;
  line-height: 1.75;
}

.home-reviews__content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 5.5vw, 76px);
}

.home-photo-carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: center;
}

.home-photo-carousel__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.76 / 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 25px;
  background: #24454a;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
  touch-action: pan-y;
}

.home-photo-carousel__slide {
  position: absolute;
  inset: 0;
  display: none;
  margin: 0;
  animation: homePhotoReveal 260ms ease both;
}

.home-photo-carousel__slide.is-active {
  display: block;
}

.home-photo-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.home-photo-carousel__slide::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 26, 31, 0.72) 100%);
  content: "";
  pointer-events: none;
}

.home-photo-carousel__caption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 78px;
  left: 22px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.home-photo-carousel__controls {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(9, 30, 36, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.home-photo-carousel__arrow {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.home-photo-carousel__arrow:hover {
  border-color: #fcbd0b;
  background: #fcbd0b;
  color: #102d35;
}

.home-photo-carousel__arrow svg {
  width: 18px;
  height: 18px;
}

.home-photo-carousel__indicators {
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-photo-carousel__indicator {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.home-photo-carousel__indicator.is-active {
  width: 20px;
  flex-basis: 20px;
  background: #fcbd0b;
}

.home-photo-carousel__status {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.home-reviews__placeholder {
  position: relative;
  max-width: 490px;
  padding: clamp(30px, 4.2vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.home-reviews__placeholder-label {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid rgba(252, 189, 11, 0.38);
  border-radius: 999px;
  color: #fcbd0b;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-reviews__quote-icon {
  display: block;
  height: 66px;
  margin-top: 21px;
  color: #fcbd0b;
  font-family: Georgia, serif;
  font-size: 6.4rem;
  line-height: 1;
}

.home-reviews__placeholder h3 {
  margin-top: 7px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.13;
}

.home-reviews__placeholder p {
  margin-top: 13px;
  color: rgba(238, 244, 242, 0.72);
  font-size: 0.92rem;
  line-height: 1.7;
}

.home-reviews__placeholder a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
  color: #fcbd0b;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

@keyframes homePhotoReveal {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

@media (max-width: 960px) {
  .home-blog__inner {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.9fr);
    gap: 30px;
  }

  .home-reviews__content {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: 28px;
  }

  .home-photo-carousel {
    max-width: 430px;
  }
}

@media (max-width: 700px) {
  .home-blog {
    padding: 66px 0 72px;
  }

  .home-blog__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .home-blog__title,
  .home-reviews__title {
    font-size: clamp(2.15rem, 8vw, 3rem);
  }

  .home-blog__placeholder {
    min-height: 0;
    padding: 26px;
    border-radius: 22px;
  }

  .home-blog__icon {
    margin-top: 21px;
  }

  .home-reviews {
    padding: 66px 0 76px;
  }

  .home-reviews__heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 26px;
  }

  .home-reviews__heading > p {
    justify-self: start;
    padding-left: 16px;
  }

  .home-reviews__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .home-photo-carousel {
    max-width: 420px;
  }

  .home-reviews__placeholder {
    max-width: none;
    padding: 28px;
    border-radius: 22px;
  }
}

@media (max-width: 390px) {
  .home-photo-carousel__controls {
    right: 9px;
    left: 9px;
    gap: 7px;
    padding: 5px 6px;
  }

  .home-photo-carousel__arrow {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .home-photo-carousel__indicators {
    gap: 4px;
  }

  .home-photo-carousel__status {
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-blog__link,
  .home-blog__link svg,
  .home-reviews__placeholder a svg,
  .home-photo-carousel__arrow,
  .home-photo-carousel__indicator {
    transition: none;
  }

  .home-photo-carousel__slide {
    animation: none;
  }
}

/* Separate testimonial placeholder from the three-photo crew gallery. */
.home-reviews {
  scroll-margin-top: 88px;
  background:
    radial-gradient(ellipse at 92% 12%, rgba(252, 189, 11, 0.1), transparent 32%),
    #f4f8f6;
  color: #102d35;
}

.home-reviews::before {
  border-color: rgba(16, 45, 53, 0.08);
  box-shadow:
    0 0 0 36px rgba(16, 45, 53, 0.018),
    0 0 0 72px rgba(16, 45, 53, 0.012);
}

.home-reviews__eyebrow {
  color: #957100;
}

.home-reviews__title {
  color: #102d35;
}

.home-reviews__heading > p {
  border-left-color: rgba(213, 157, 0, 0.65);
  color: #647276;
}

.home-reviews__content {
  display: block;
}

.home-reviews__placeholder {
  display: grid;
  width: 100%;
  max-width: 900px;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
  padding: clamp(22px, 3.5vw, 34px);
  border-color: rgba(16, 45, 53, 0.1);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 44px rgba(16, 45, 53, 0.08);
  color: #102d35;
}

.home-reviews__placeholder-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(213, 157, 0, 0.22);
  border-radius: 17px;
  background: rgba(252, 189, 11, 0.12);
  color: #987200;
}

.home-reviews__placeholder-icon svg {
  width: 32px;
  height: 32px;
}

.home-reviews__placeholder-copy {
  min-width: 0;
}

.home-reviews__placeholder-label {
  padding: 0;
  border: 0;
  color: #8c6900;
  letter-spacing: 0.08em;
}

.home-reviews__placeholder h3 {
  margin-top: 8px;
  color: #102d35;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
}

.home-reviews__placeholder p {
  margin-top: 8px;
  color: #667679;
}

.home-reviews__placeholder a {
  min-height: 44px;
  justify-content: center;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(16, 45, 53, 0.14);
  border-radius: 999px;
  color: #102d35;
  white-space: nowrap;
}

.home-reviews__placeholder a:hover {
  border-color: #fcbd0b;
  background: rgba(252, 189, 11, 0.12);
}

.home-gallery {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 88px;
  padding: clamp(76px, 8vw, 110px) 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(252, 189, 11, 0.12), transparent 31%),
    linear-gradient(135deg, #0c3342 0%, #102d35 70%, #173e43 100%);
  color: #fff;
}

.home-gallery::before {
  position: absolute;
  top: -160px;
  left: -140px;
  width: 390px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.02),
    0 0 0 76px rgba(255, 255, 255, 0.015);
  content: "";
  pointer-events: none;
}

.home-gallery > .site-container {
  position: relative;
  z-index: 1;
}

.home-gallery__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 34px;
}

.home-gallery__eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: #fcbd0b;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-gallery__title {
  max-width: 700px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.6vw, 4.05rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.home-gallery__heading > p {
  max-width: 390px;
  justify-self: end;
  padding: 3px 0 3px 22px;
  border-left: 1px solid rgba(252, 189, 11, 0.64);
  color: rgba(238, 244, 242, 0.76);
  font-size: 0.92rem;
  line-height: 1.75;
}

.home-photo-carousel {
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-photo-carousel__viewport {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.8vw, 22px);
  overflow: visible;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-photo-carousel__slide,
.home-photo-carousel__slide.is-active {
  position: relative;
  inset: auto;
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.17);
  animation: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home-photo-carousel__slide.is-active {
  transform: translateY(-5px);
  border-color: rgba(252, 189, 11, 0.76);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.25);
}

.home-photo-carousel__slide::after {
  display: none;
}

.home-photo-carousel__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.82 / 1;
  border-radius: 13px;
  object-fit: cover;
  object-position: center 42%;
}

.home-photo-carousel__caption {
  position: static;
  display: block;
  margin: 12px 5px 5px;
  color: #fff;
  font-size: clamp(0.8rem, 1.3vw, 0.98rem);
  line-height: 1.35;
}

.home-photo-carousel__controls {
  position: static;
  width: max-content;
  max-width: 100%;
  min-height: 48px;
  justify-content: center;
  margin: 24px auto 0;
  padding: 6px 8px;
}

@media (max-width: 960px) {
  .home-reviews__placeholder {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .home-reviews__placeholder a {
    grid-column: 2;
    justify-self: start;
  }

  .home-gallery__heading {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.68fr);
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .home-reviews {
    padding: 66px 0 72px;
  }

  .home-reviews__heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 25px;
  }

  .home-reviews__heading > p {
    justify-self: start;
    padding-left: 16px;
  }

  .home-reviews__placeholder {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 22px;
    border-radius: 21px;
  }

  .home-reviews__placeholder-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .home-reviews__placeholder-icon svg {
    width: 28px;
    height: 28px;
  }

  .home-reviews__placeholder a {
    grid-column: 2;
  }

  .home-gallery {
    padding: 66px 0 74px;
  }

  .home-gallery__heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 25px;
  }

  .home-gallery__heading > p {
    justify-self: start;
    padding-left: 16px;
  }

  .home-gallery__title {
    font-size: clamp(2.15rem, 8vw, 3rem);
  }

  .home-photo-carousel {
    max-width: 440px;
    margin-inline: auto;
  }

  .home-photo-carousel__viewport {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .home-photo-carousel__slide {
    display: none;
  }

  .home-photo-carousel__slide.is-active {
    display: flex;
    transform: none;
  }

  .home-photo-carousel__slide img {
    aspect-ratio: 0.86 / 1;
  }

  .home-photo-carousel__controls {
    width: 100%;
    justify-content: space-between;
    margin-top: 16px;
  }
}

@media (max-width: 390px) {
  .home-photo-carousel__controls {
    gap: 7px;
    padding: 5px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-photo-carousel__slide {
    transition: none;
  }
}
