/* ===== Protective Film Solution – Modern PPF / Wrap Site ===== */
:root {
  --bg: #050507;
  --bg-elevated: #0b0b10;
  --bg-card: #12121a;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent: #E00122;
  --accent-dim: #b8011b;
  --accent-glow: rgba(224, 1, 34, 0.35);
  --accent-text: #f4f4f5;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --font-head: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --space: clamp(1rem, 4vw, 2rem);
  --container: min(1200px, 100% - 2rem);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Utility: offset main content for fixed header on simple interior pages */
.page-main--offset {
  padding-top: 6.25rem;
}

@media (min-width: 900px) {
  .page-main--offset {
    padding-top: 7rem;
  }
}

/* Custom cursor – circle trails behind real cursor when pointer is fine */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  background: rgba(255, 52, 52, 0.85);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth), width 0.3s var(--ease-smooth), height 0.3s var(--ease-smooth), margin 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.custom-cursor.is-visible {
  opacity: 0.9;
}

.custom-cursor__inner {
  display: none;
}

.custom-cursor--hover {
  width: 44px;
  height: 44px;
  margin-left: -22px;
  margin-top: -22px;
  box-shadow: 0 0 20px var(--accent-glow);
}

@media (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ----- Preloader (logo loading screen) ----- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition:
    background 0.9s var(--ease-smooth),
    opacity 0.6s var(--ease-out-soft),
    visibility 0.6s ease,
    filter 0.6s var(--ease-out-soft),
    transform 0.6s var(--ease-out-soft);
}

.preloader--transition {
  background: var(--bg);
}

.preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: blur(16px);
  transform: scale(0.96);
}

.preloader__inner {
  text-align: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 42rem;
  margin: 0 auto;
}

.preloader__title {
  color: #000000;
  transform: translateY(6vh);
  transition: transform 1s var(--ease-out-soft), color 0.7s var(--ease-smooth);
}

.preloader--transition .preloader__title {
  color: var(--text);
  transform: translateY(-8.5vh);
}

/* Ensure preloader title lines are visible even though hero title lines start hidden */
.preloader__title .hero__title-line {
  opacity: 1;
}

/* ----- Float CTA (sticky call button) ----- */
.float-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.float-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 32px var(--accent-glow);
}

.float-cta__phone {
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}

.float-cta__label {
  font-size: 0.7rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: var(--space) 0;
  background: linear-gradient(to bottom, var(--bg) 90%, transparent);
  transition: background 0.4s var(--ease-smooth);
}

.header.scrolled {
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(12px);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__main {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo__tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.1rem;
}

.logo__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
}

.nav {
  display: none;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .nav a,
  .nav__link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
  }

  .nav a:hover {
    color: var(--text);
  }

  .nav__cta {
    color: var(--accent) !important;
    font-weight: 600;
  }

  .nav__item {
    position: relative;
  }

  .nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
  }

  .nav__link:hover {
    color: var(--text);
  }

  .nav__caret {
    font-size: 0.7rem;
    opacity: 0.8;
    transform: translateY(1px);
  }

  .nav__dropdown {
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 220px;
    padding: 0.6rem 0.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 60;
  }

  .nav__dropdown a {
    display: block;
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
  }

  .nav__dropdown a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-radius: calc(var(--radius) - 2px);
  }

  .nav__item--has-dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: opacity 0.2s;
}

.menu-btn:hover {
  opacity: 0.8;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 40;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-nav a {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.mobile-nav a:last-child {
  color: var(--accent);
}

@media (min-width: 900px) {
  .menu-btn {
    display: none;
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: transform 0.8s var(--ease-out-soft);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) brightness(0.8);
}

.hero.hero--scrolled .hero__bg {
  transform: scale(1.08);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, var(--accent-glow) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 52, 52, 0.16) 0%, transparent 45%);
  opacity: 0.9;
}

.hero__grid {
  display: none;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 42rem;
  opacity: 0;
  transition: opacity 0.6s var(--ease-smooth);
}

.hero.hero--ready .hero__content {
  opacity: 1;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0;
}

.hero.hero--ready .hero__eyebrow {
  animation: fadeUp 1s var(--ease-out-soft) forwards;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  overflow: hidden;
}

.hero__title-line {
  display: block;
  opacity: 0;
}

.hero.hero--ready .hero__title-line {
  animation: fadeUp 1s var(--ease-out-soft) forwards;
}

.hero.hero--ready .hero__title-line:nth-child(1) {
  animation-delay: 0.1s;
}

.hero.hero--ready .hero__title-line:nth-child(2) {
  animation-delay: 0.2s;
  color: var(--accent);
}

.hero__tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  letter-spacing: -0.02em;
  color: var(--text-muted);
  margin: 0 0 1rem;
  min-height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.hero.hero--ready .hero__tagline {
  animation: fadeUp 1s var(--ease-out-soft) 0.25s forwards;
}

.hero__tagline-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.8), rgba(15, 15, 23, 0.96));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  min-width: 260px;
  justify-content: center;
}

.hero__tagline-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hero__rotate-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  min-width: 8ch;
  text-align: center;
}

.hero__rotate {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}

.hero__rotate.is-changing {
  opacity: 0;
  transform: translateY(-0.4em);
}

.hero__rotate.is-incoming {
  opacity: 0;
  transform: translateY(0.4em);
}

.hero__sub {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: #ffffff;
  margin: 0 0 2rem;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
}

.hero.hero--ready .hero__sub {
  animation: fadeUp 1s var(--ease-out-soft) 0.35s forwards;
}

.hero__content .btn {
  animation: none;
}

.hero.hero--ready .hero__content .btn {
  animation: fadeUp 1s var(--ease-out-soft) 0.5s forwards;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-soft) 0.5s forwards;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

/* Main page: hero, about, reviews & CTA buttons – scale, lift, shine */
.hero .btn,
.about .btn,
.reviews .btn,
.cta .btn {
  transition: transform 0.35s var(--ease-out-soft), box-shadow 0.35s var(--ease-smooth), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero .btn:hover,
.about .btn:hover,
.reviews .btn:hover,
.cta .btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero .btn--primary:hover,
.about .btn--primary:hover,
.reviews .btn--primary:hover,
.cta .btn--primary:hover {
  box-shadow: 0 14px 40px var(--accent-glow), 0 0 24px rgba(255, 52, 52, 0.2);
}

.hero .btn--secondary:hover,
.about .btn--secondary:hover,
.reviews .btn--secondary:hover,
.cta .btn--secondary:hover {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.hero .btn--primary,
.about .btn--primary,
.reviews .btn--primary,
.cta .btn--primary {
  position: relative;
  overflow: hidden;
}

.hero .btn--primary::after,
.about .btn--primary::after,
.reviews .btn--primary::after,
.cta .btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.15) 40%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.15) 60%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-soft);
  pointer-events: none;
}

.hero .btn--primary:hover::after,
.about .btn--primary:hover::after,
.reviews .btn--primary:hover::after,
.cta .btn--primary:hover::after {
  transform: translateX(100%);
}

.btn__phone {
  font-size: 0.85rem;
  opacity: 0.9;
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn--secondary:hover {
  background: var(--accent);
  color: var(--accent-text);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1.25rem 2.5rem;
  font-size: 1.15rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  border-radius: 1px;
  animation: scrollPulse 2.5s var(--ease-smooth) infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ----- Scroll reveal animations ----- */
[data-reveal] {
  opacity: 0;
  transition:
    opacity 1.1s var(--ease-out-soft),
    transform 1.1s var(--ease-out-soft);
}

[data-reveal].is-visible {
  opacity: 1;
}

[data-reveal="up"] {
  transform: translateY(40px);
}

[data-reveal="up"].is-visible {
  transform: translateY(0);
}

/* Slightly stronger reveal on service article pages */
.service-detail [data-reveal="up"] {
  transform: translateY(48px);
}
.service-detail [data-reveal="up"].is-visible {
  transform: translateY(0);
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="left"].is-visible {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(32px);
}

[data-reveal="right"].is-visible {
  transform: translateX(0);
}

/* Stagger children when parent gets .is-visible */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-soft), transform 0.7s var(--ease-out-soft);
}

[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 0.06s; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 0.18s; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 0.36s; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 0.42s; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(9) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(10) { transition-delay: 0.54s; opacity: 1; transform: translateY(0); }

/* ----- Sections ----- */
.section {
  padding: 4rem 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.section__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  max-width: 50ch;
}

/* ----- Services ----- */
.services {
  background: var(--bg-elevated);
}

.services .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }

  .service-card {
    flex: 0 1 320px;
    max-width: 360px;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.service-card:hover {
  border-color: rgba(255, 52, 52, 0.4);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 52, 52, 0.15);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.services__highlight {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 auto 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 52, 52, 0.6);
  background: radial-gradient(circle at top left, rgba(255, 52, 52, 0.2), rgba(18, 18, 26, 0.98));
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.55);
  text-align: center;
  align-items: center;
  transition: transform 0.4s var(--ease-out-soft), box-shadow 0.4s var(--ease-smooth), border-color 0.3s ease;
}

.services__highlight:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.6), 0 0 32px rgba(255, 52, 52, 0.15);
  border-color: rgba(255, 52, 52, 0.75);
}

.services__highlight-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin: 0;
}

.services__highlight-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--accent);
  transition: transform 0.35s var(--ease-out-soft), filter 0.35s var(--ease-smooth);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  cursor: pointer;
  text-align: center;
}

.service-card__more {
  transition: color 0.25s ease, transform 0.25s var(--ease-out-soft);
}

.service-card__more::after {
  content: "↗";
  margin-left: 0.35rem;
  font-size: 0.8em;
  display: inline-block;
  transition: transform 0.25s var(--ease-out-soft);
}

.service-card:hover .service-card__more::after {
  transform: translate(2px, -2px);
}


/* ----- About ----- */
.about {
  background: #ffffff;
}

.about__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
  }
}

.about__content .section__title {
  margin-bottom: 1rem;
  color: #000000;
}

.about__big {
  font-size: 1.15rem;
  margin: 0 0 1rem;
  color: #111111;
}

.about__content p {
  color: #222222;
  margin: 0 0 1rem;
}

.about__punchline {
  position: relative;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #111111;
  letter-spacing: -0.01em;
  color: var(--text);
  text-transform: none;
  overflow: hidden;
}

.about__punchline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 52, 52, 0.08) 30%, rgba(255, 52, 52, 0.18) 50%, rgba(255, 52, 52, 0.08) 70%, transparent 100%);
  transform: translateX(-100%);
  pointer-events: none;
}

.about__punchline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: 0 0 18px var(--accent-glow);
}

.about__punchline--active::before {
  animation: punchlineSweep 1.4s ease-out 0.1s forwards;
}

.about__punchline--active::after {
  animation: punchlineUnderline 0.9s ease-out 0.3s forwards;
}

@keyframes punchlineSweep {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes punchlineUnderline {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

.about__content strong {
  color: var(--accent);
}

.about__content .btn {
  margin-top: 0.5rem;
}

.about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .about__stats {
    flex-direction: column;
    min-width: 200px;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out-soft), box-shadow 0.35s var(--ease-smooth), border-color 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 52, 52, 0.12);
  border-color: rgba(255, 52, 52, 0.3);
}

.stat__number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1.2;
  transform: translateY(4px);
  opacity: 0.0;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.stat__number--text {
  opacity: 1;
  transform: none;
}

/* ----- Why XPEL ----- */
.why {
  background: var(--bg-elevated);
}

.why__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease-smooth), transform 0.35s var(--ease-out-soft), box-shadow 0.35s var(--ease-smooth);
}

.why__item:hover {
  border-color: rgba(255, 52, 52, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

.why__icon {
  transition: transform 0.3s var(--ease-out-soft);
}

.why__item:hover .why__icon {
  transform: scale(1.15);
}

.why__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.6rem;
}

.why__item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.why__item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----- Reviews (two-row marquee) ----- */
.reviews {
  background: #ffffff;
}

.reviews .section__title {
  color: #000000;
}

.reviews-rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
}

.reviews-row {
  position: relative;
  overflow: hidden;
}

.reviews-row__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation-duration: 45s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.reviews-row--top .reviews-row__track {
  animation-name: reviewsRowRight;
}

.reviews-row--bottom .reviews-row__track {
  animation-name: reviewsRowLeft;
}

.review-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  position: relative;
  overflow: hidden;
  flex: 0 0 340px;
  max-width: 340px;
  transition: box-shadow 0.4s var(--ease-smooth);
}

.review-card:hover {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 52, 52, 0.1);
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(255, 52, 52, 0.2), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.review-card:hover::before {
  opacity: 1;
}

.review-card__stars {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: #ffd95a;
  margin-bottom: 0.6rem;
}

.review-card__text {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0 0 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card--textonly {
  min-height: 210px;
}

.review-card--textonly .review-card__text {
  -webkit-line-clamp: 10;
}

.review-card__images {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.review-card__image {
  flex: 1;
  border-radius: 12px;
  height: 110px;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out-soft);
}

.review-card:hover .review-card__image {
  transform: scale(1.05);
}

.review-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-card__photo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-card__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.review-card__label {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-card__more {
  align-self: flex-start;
  margin-bottom: 1rem;
  border: none;
  background: none;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  padding: 0;
  text-align: center;
  transition: color 0.25s ease, transform 0.25s var(--ease-out-soft);
}

.review-card:hover .review-card__more {
  color: var(--accent-dim);
  transform: translateX(2px);
}

@keyframes reviewsRowLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes reviewsRowRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.reviews__link {
  margin-top: 2.5rem;
  text-align: center;
}

.btn--reviews {
  width: 100%;
}

@media (min-width: 640px) {
  .btn--reviews {
    width: auto;
  }
}

/* Review modal */
.review-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 120;
}

.review-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.review-modal__content {
  max-width: 600px;
  width: calc(100% - 2rem);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  position: relative;
}

.review-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.review-modal__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.review-modal__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* ----- FAQ / Q&A Accordion ----- */
.faq {
  background: transparent;
}

.faq .section__title {
  color: var(--text);
  text-align: left;
}

.faq .section__lead {
  text-align: left;
}

.faq .service-detail__media {
  border: none;
  background: transparent;
  padding: 0;
}

.faq__container {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.faq__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), transform 0.3s var(--ease-out-soft), background 0.3s var(--ease-smooth);
}

.faq__item:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.faq__item:not(.is-open):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.faq__item.is-open {
  border-color: rgba(224, 1, 34, 0.6);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6);
}

.faq__term {
  margin: 0;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
  gap: 1rem;
}

.faq__question:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.faq__question:focus-visible {
  outline: 2px solid rgba(255, 52, 52, 0.6);
  outline-offset: 2px;
}

.faq__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  transition: transform 0.25s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.faq__icon::after {
  width: 2px;
  height: 10px;
}

.faq__item.is-open .faq__icon::after {
  opacity: 0;
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
}

.faq__answer-wrapper {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-smooth);
}

.faq__item.is-open .faq__answer-wrapper {
  max-height: 20rem;
}

.faq__answer {
  padding: 0 1.25rem 1.25rem;
}

.faq__answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.faq__answer a {
  color: rgba(255, 52, 52, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq__answer a:hover {
  color: #ff6b6b;
}

/* ----- Contact / Visit ----- */
.contact {
  background: var(--bg-elevated);
}

.contact__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    align-items: stretch;
  }
}

.contact__info .section__title {
  margin-bottom: 0.75rem;
}

.contact__details {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact__address {
  margin: 0 0 0.75rem;
}

.contact__hours {
  margin: 0 0 0.75rem;
}

.contact__hours-title {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

.contact__hours-summary {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact__link-line,
.contact__phone-line {
  margin: 0 0 0.5rem;
}

.contact__link {
  color: var(--accent);
  font-weight: 500;
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease-out-soft), box-shadow 0.4s var(--ease-smooth);
}

.contact__map:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 52, 52, 0.1);
}

.contact__map-frame {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
}

.contact__map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ----- Service detail pages ----- */
.service-detail {
  padding-top: 7.5rem;
}

.service-detail__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .service-detail__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.service-detail__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

.service-detail__subheading {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin: 1.75rem 0 0.6rem;
}

/* Keep long article titles on one line on desktop */
@media (min-width: 900px) {
  .service-detail--vinyl .service-detail__content .section__title,
  .service-detail--windshield .service-detail__content .section__title {
    white-space: nowrap;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
  }
}

.service-detail__list {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-detail__list li + li {
  margin-top: 0.35rem;
}

.service-detail__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Article page: button hover – scale, lift, glow */
.service-detail .btn,
.cta .btn {
  transition: transform 0.35s var(--ease-out-soft), box-shadow 0.35s var(--ease-smooth), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.service-detail .btn:hover,
.cta .btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.service-detail .btn--primary:hover,
.cta .btn--primary:hover {
  box-shadow: 0 14px 40px var(--accent-glow), 0 0 24px rgba(255, 52, 52, 0.2);
}

.service-detail .btn--secondary:hover,
.cta .btn--secondary:hover {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
  box-shadow: 0 12px 32px var(--accent-glow);
}

/* Subtle shine sweep on primary buttons (articles + CTA) */
.service-detail .btn--primary,
.cta .btn--primary {
  position: relative;
  overflow: hidden;
}

.service-detail .btn--primary::after,
.cta .btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.15) 40%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.15) 60%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-soft);
  pointer-events: none;
}

.service-detail .btn--primary:hover::after,
.cta .btn--primary:hover::after {
  transform: translateX(100%);
}

.service-detail__media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail--ppf .service-detail__media,
.service-detail--ceramic .service-detail__media,
.service-detail--windshield .service-detail__media,
.service-detail--vinyl .service-detail__media,
.service-detail--tint .service-detail__media {
  border: none;
  background: transparent;
  padding: 0;
}

@media (min-width: 900px) {
  .service-detail--vinyl .service-detail__media,
  .service-detail--windshield .service-detail__media {
    align-self: center;
    justify-self: flex-end;
    margin-top: 0;
  }
}

.service-detail__image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.service-detail--ppf .service-detail__image-grid,
.service-detail--ceramic .service-detail__image-grid,
.service-detail--windshield .service-detail__image-grid,
.service-detail--vinyl .service-detail__image-grid,
.service-detail--tint .service-detail__image-grid {
  display: block;
}

@media (min-width: 700px) {
  .service-detail__image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-detail__image-wrap {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
}

.service-detail--ppf .service-detail__image-wrap,
.service-detail--ceramic .service-detail__image-wrap,
.service-detail--windshield .service-detail__image-wrap,
.service-detail--vinyl .service-detail__image-wrap,
.service-detail--tint .service-detail__image-wrap {
  border-radius: var(--radius-lg);
}

.service-detail__image-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-soft), filter 0.45s var(--ease-smooth);
}

/* Article page: image hover – lift, zoom, subtle glow */
.service-detail__image-wrap {
  transition: transform 0.45s var(--ease-out-soft), box-shadow 0.45s var(--ease-smooth);
}

.service-detail__image-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
}

.service-detail__image-wrap:hover img {
  transform: scale(1.06);
  filter: brightness(1.03) saturate(1.08);
}

/* ----- CTA ----- */
.cta {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

.cta__inner {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.cta__text {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* ----- Footer ----- */
.footer {
  padding: 2rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 900px) {
  .footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    column-gap: 2.5rem;
    row-gap: 1.5rem;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .footer__brand,
  .footer__details,
  .footer__map,
  .footer__social {
    flex: 1 1 220px;
  }
}

.footer__brand .logo__main {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}

.footer__brand .logo__tag {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__quick-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.footer__quick-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__quick-links a:hover {
  color: var(--accent);
}

.footer__phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
}

.footer__details {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 900px) {
  .footer__details {
    text-align: left;
  }
}

.footer__address {
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.footer__hours {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
}

.footer__line {
  margin: 0 0 0.35rem;
}

.footer__link {
  color: var(--accent);
  font-weight: 500;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 900px) {
  .footer__social {
    justify-content: flex-start;
  }
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text-muted);
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer__social-link:hover {
  color: var(--accent);
  background: rgba(255, 52, 52, 0.12);
  transform: translateY(-2px);
}

.footer__social-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.footer__map {
  width: 100%;
  max-width: 260px;
}

.footer__map-frame {
  position: relative;
  width: 100%;
  padding-top: 65%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.footer__map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

@media (min-width: 900px) {
  .footer__copy {
    text-align: center;
    width: 100%;
    margin-top: 0.75rem;
  }
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ----- Instagram feed ----- */
.insta {
  background: var(--bg);
}

.insta__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}

@media (min-width: 800px) {
  .insta__header {
    flex-direction: row;
    align-items: center;
  }
}

.insta__btn {
  margin-top: 0.5rem;
}

.insta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .insta__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.insta__item {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.insta__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease-out, filter 0.25s ease-out;
  filter: saturate(1.1) contrast(1.05);
}

.insta__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.4), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.insta__item:hover img {
  transform: scale(1.06);
  filter: saturate(1.2) contrast(1.1) brightness(1.02);
}

.insta__item:hover::after {
  opacity: 1;
}

/* ----- Gallery ----- */
.gallery {
  padding-top: 7.5rem;
}

.gallery-marquee {
  margin-top: 1.75rem;
  overflow: hidden;
}

.gallery-marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: galleryMarquee 52s linear infinite;
}

.gallery-marquee--row2 .gallery-marquee__track {
  animation-direction: reverse;
}

.gallery-marquee--row3 .gallery-marquee__track {
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  flex: 0 0 auto;
  transition:
    transform 0.4s var(--ease-out-soft),
    box-shadow 0.4s var(--ease-smooth),
    border-color 0.3s ease;
}

.gallery__item--lg {
  width: min(320px, 70vw);
}

.gallery__item--md {
  width: min(240px, 60vw);
}

.gallery__item--sm {
  width: min(180px, 50vw);
}

@media (min-width: 900px) {
  .gallery__item--lg {
    width: 340px;
  }
  .gallery__item--md {
    width: 260px;
  }
  .gallery__item--sm {
    width: 190px;
  }
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out-soft), filter 0.4s var(--ease-smooth);
}

.gallery__item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 52, 52, 0.2);
  border-color: rgba(255, 52, 52, 0.45);
}

.gallery__item:hover img {
  transform: scale(1.05);
  filter: brightness(1.04) saturate(1.1);
}

@keyframes galleryMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Gallery lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 150;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__img {
  max-width: min(90vw, 1200px);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75);
}

.gallery-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}
