/* Prevent overscroll bounce on mobile */
html, body {
  overscroll-behavior-y: none;
}

/* Hero Section */
main {
  padding: 0;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Background Image Layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-layer--current {
  z-index: 0;
}

.hero-bg-layer--next {
  z-index: 1;
  transform: translateX(-100%);
  transition: transform 0.85s ease;
}

.hero-bg-layer--next.is-wiping {
  transform: translateX(0);
}

.hero-bg-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  will-change: transform;
}

/* Zoom animation controlled by a class */
.hero-bg-inner.is-zooming {
  transition: transform var(--zoom-ms, 10000ms) linear;
  transform: scale(1.08);
}

/* Overlay - Darker */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(13, 9, 7, 0.42);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-overlay {
    background-color: rgba(13, 9, 7, 0.45);
  }
}

/* Bottom Fade */
.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  background: linear-gradient(to bottom, rgba(13, 9, 7, 0), rgba(13, 9, 7, 1));
  pointer-events: none;
  z-index: 2;
}

/* Logo - Much Bigger */
.hero-logo {
  position: relative;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero-logo img {
  width: clamp(280px, 45vw, 720px);
  height: auto;
  display: block;
  transform-style: preserve-3d;
  will-change: transform;
}

@media (max-width: 768px) {
  .hero-logo img {
    width: clamp(280px, 50vw, 420px);
  }
}

/* Slider Container */
.hero-slider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-slider-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  pointer-events: auto;
  max-width: 100%;
  padding: 0.5rem;
  cursor: grab;
}

.hero-slider-track:active {
  cursor: grabbing;
}

.hero-slider-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Slider Items */
.hero-slide {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}

.hero-slide:hover {
  opacity: 1;
}

.hero-slide.is-active {
  border-color: #FCC300;
  opacity: 1;
  box-shadow: 0 0 12px rgba(252, 195, 0, 0.4);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile Slider Adjustments */
@media (max-width: 768px) {
  .hero-slider {
    padding: 1.5rem 0.75rem;
  }

  .hero-slide {
    width: 100px;
    height: 66px;
  }

  .hero-slider-track {
    gap: 0.75rem;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-slide {
    width: 110px;
    height: 73px;
  }
}

/* Who We Are Section */
.section-who {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background-color: #0d0907;
  color: #fffff0;
  padding: 120px 0;
  display: flex;
  align-items: center;
  position: relative;
}

.section-who__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.section-who__col {
  display: flex;
  flex-direction: column;
}

.section-who__col--left {
  justify-content: flex-start;
}

.section-who__label {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fffff0;
  opacity: 0.7;
  margin-bottom: 2rem;
  display: block;
}

.section-who__headline {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.05;
  font-weight: 400;
  color: #fffff0;
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-who__headline-primary {
  color: #FCC300;
  font-weight: 400;
}

.section-who__col--center {
  align-items: center;
  justify-content: center;
}

.section-who__image-wrapper {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}

.section-who__image-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(13, 9, 7, 1), rgba(13, 9, 7, 0));
  pointer-events: none;
  z-index: 1;
}

.section-who__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-who__col--right {
  justify-content: center;
  gap: 1.5rem;
}

.section-who__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #fffff0;
  margin: 0;
}

.section-who__text--secondary {
  opacity: 0.85;
}

.section-who__button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  border: 1px solid #FCC300;
  color: #FCC300;
  background: transparent;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 1rem;
  align-self: flex-start;
}

.section-who__button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #FCC300;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 0;
}

.section-who__button span {
  position: relative;
  z-index: 1;
  transition: color 0.25s ease;
  color: inherit;
}

.section-who__button:hover::before {
  transform: translateX(0);
}

.section-who__button:hover span {
  color: #0d0907;
}

.section-who__button:focus-visible {
  outline: 2px solid #FCC300;
  outline-offset: 2px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .section-who__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.5rem;
  }

  .section-who__col--center {
    order: -1;
  }

  .section-who__image-wrapper {
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }

  .section-who {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .section-who {
    padding: 60px 0;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
  }

  .section-who__inner {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0 1.5rem;
    gap: 0;
    display: block;
  }

  .section-who__col--left {
    position: relative;
    z-index: 3;
    padding: 2rem 0;
    width: 60%;
    max-width: 100%;
  }

  .section-who__col--center {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    max-width: 400px;
    z-index: 1;
    order: 0;
  }

  .section-who__image-wrapper {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 3 / 4;
    margin: 0;
  }

  .section-who__col--right {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 2rem;
    margin-top: 2rem;
  }

  .section-who__headline {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.05;
  }

  .section-who__text {
    font-size: 1rem;
  }

  .section-who__button {
    width: 100%;
    justify-content: center;
    align-self: stretch;
  }
}

/* Our Products Section */
.section-products {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background-color: #0d0907;
  color: #fffff0;
  padding: 120px 0;
  display: flex;
  align-items: center;
  position: relative;
}

.section-products__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-products__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.section-products__eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fffff0;
  opacity: 0.7;
}

.section-products__controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Desktop controls (in topbar) */
.section-products__controls--desktop {
  display: flex;
}

.section-products__controls--mobile {
  display: none;
}

.products-arrow {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 240, 0.75);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 8px 12px;
  width: auto;
  height: auto;
  outline: none;
}

.products-arrow:hover {
  color: #fffff0;
  text-shadow: 0 0 12px rgba(252, 195, 0, 0.4);
}

.products-arrow:focus-visible {
  color: #fffff0;
  box-shadow: 0 0 0 2px rgba(252, 195, 0, 0.35);
  border-radius: 10px;
  outline: none;
}

.products-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.products-arrow:disabled:hover {
  color: rgba(255, 255, 240, 0.3);
  text-shadow: none;
}

.products-index {
  display: flex;
  gap: 14px;
  align-items: center;
}

.products-index-btn {
  position: relative;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 240, 0.75);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 6px 12px;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s ease;
  outline: none;
}

.products-index-btn::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 240, 0.55),
    transparent
  );
  opacity: 0.55;
  filter: blur(0.2px);
  transition: all 0.35s ease;
}

.products-index-btn:hover {
  color: rgba(255, 255, 240, 0.9);
}

.products-index-btn:hover::after {
  opacity: 0.75;
}

.products-index-btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(252, 195, 0, 0.35);
  border-radius: 10px;
  outline: none;
}

.products-index-btn.is-active {
  color: #fffff0;
}

.products-index-btn.is-active::after {
  background: linear-gradient(
    to right,
    transparent,
    rgba(252, 195, 0, 0.95),
    rgba(255, 255, 240, 0.75),
    rgba(252, 195, 0, 0.95),
    transparent
  );
  opacity: 1;
  box-shadow: 0 0 18px rgba(252, 195, 0, 0.35);
  filter: blur(0.4px);
}

/* Underline pulse animation for active tab */
@keyframes underlinePulse {
  0% {
    opacity: 0.2;
    filter: blur(2px);
    transform: scaleX(0.6);
  }
  60% {
    opacity: 1;
    filter: blur(0.5px);
    transform: scaleX(1);
  }
  100% {
    opacity: 1;
    filter: blur(0.2px);
    transform: scaleX(1);
  }
}

.products-index-btn.pulse::after {
  animation: underlinePulse 0.55s ease;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .products-img img,
  .products-center-overlay {
    transition: none !important;
    transform: none !important;
  }

  .section-products.is-fading-out .products-img img,
  .section-products.is-fading-out .products-center-overlay,
  .section-products.is-fading-in .products-img img,
  .section-products.is-fading-in .products-center-overlay {
    transition: none !important;
    transform: none !important;
  }

  .products-index-btn.pulse::after {
    animation: none !important;
  }
}

.section-products__gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}

.products-img {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

/* Base state (visible) */
.products-img img {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
}

/* Fade OUT state */
.section-products.is-fading-out .products-img img {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

/* Fade IN state (starts invisible, then transitions to base) */
.section-products.is-fading-in .products-img img {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

.products-img--left,
.products-img--right {
  width: 28%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  opacity: 0.6;
}

.products-img--center {
  width: 40%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  opacity: 1;
}

.products-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Base state (visible) */
.products-center-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: rgba(13, 9, 7, 0.4);
  padding: 2rem;
  z-index: 1;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
}

/* Fade OUT state */
.section-products.is-fading-out .products-center-overlay {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}

/* Fade IN state (starts invisible, then transitions to base) */
.section-products.is-fading-in .products-center-overlay {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}

.products-category-title {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #fffff0;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
}

.products-view-btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid #ffffff;

  /* 🔽 schimbări cheie */
  background: #000;
  color: #fff;

  padding: 12px 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* wipe layer */
.products-view-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #FCC300;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 0;
}

/* hover wipe */
.products-view-btn:hover::before {
  transform: translateX(0);
}

/* text */
.products-view-btn span {
  position: relative;
  z-index: 1;
  transition: color 0.25s ease;
  color: inherit;
}

/* text color on hover */
.products-view-btn:hover {
  color: #000;
}

.products-view-btn:hover::before {
  transform: translateX(0);
}

.products-view-btn:hover span {
  color: #0d0907;
}

.products-view-btn:focus-visible {
  outline: 2px solid #FCC300;
  outline-offset: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .section-products {
    padding: 80px 0;
  }

  .section-products__inner {
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
  }

  .section-products__topbar {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
    align-items: center;
  }

  /* Hide desktop controls on mobile */
  .section-products__controls--desktop {
    display: none !important;
  }

  .section-products__eyebrow {
    text-align: center;
    margin-bottom: 2rem;
  }

  .section-products__gallery {
    flex-direction: column;
    gap: 0;
    margin-bottom: 2.5rem;
  }

  /* Completely hide left/right images on mobile */
  .products-img--left,
  .products-img--right {
    display: none !important;
    visibility: hidden !important;
  }

  .products-img--center {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
  }

  .products-center-overlay {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .products-category-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .products-view-btn {
    width: 100%;
    max-width: 280px;
  }

  /* Show mobile controls below gallery */
  .section-products__controls--mobile {
    display: flex !important;
    justify-content: center;
    margin-top: 0;
  }
}

/* Products Section CTA */
.section-products__cta {
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
}

.section-products__cta-btn {
  padding: 0.75rem 2.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

@media (max-width: 768px) {
  .section-products__cta {
    margin-top: 2rem;
  }

  .section-products__cta-btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.8rem;
  }
}

/* Global Franchise Network Section */
.section-network {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background-color: #0d0907;
  color: #fffff0;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* Gold smoke background effect */
.section-network__smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 90% at -10% 50%, rgba(252, 195, 0, 0.28), transparent 60%),
    radial-gradient(60% 90% at 110% 50%, rgba(252, 195, 0, 0.28), transparent 60%);
  filter: blur(18px);
  opacity: 0.9;
  animation: smokeDrift 20s ease-in-out infinite;
}

@keyframes smokeDrift {
  0%, 100% {
    transform: translateX(0) translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateX(8px) translateY(-4px);
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-network__smoke {
    animation: none;
  }
}

.section-network__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 240px);
}

.section-network__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-network__eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fffff0;
  opacity: 0.7;
}

.section-network__title {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 400;
  color: #fffff0;
  margin: 0;
  letter-spacing: 0.05em;
}

.section-network__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #fffff0;
  opacity: 0.9;
  margin: 0;
  max-width: 520px;
}

.section-network__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.section-network__buttons .btn {
  width: auto;
  padding: 0.75rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

/* Button Base Styles */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 0;
  outline: none;
}

.btn span {
  position: relative;
  z-index: 1;
  transition: color 0.25s ease;
  color: inherit;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 0;
}

.btn:focus-visible {
  outline: 2px solid #FCC300;
  outline-offset: 2px;
}

/* Outline Gold Button */
.btn-outline-gold {
  background: transparent;
  border: 1px solid #FCC300;
  color: #FCC300;
}

.btn-outline-gold::before {
  background: #FCC300;
}

.btn-outline-gold:hover::before {
  transform: translateX(0);
}

.btn-outline-gold:hover span {
  color: #0d0907;
}

/* Gold Button */
.btn-gold {
  background: #FCC300;
  color: #0d0907;
}

.btn-gold::before {
  background: #0d0907;
}

.btn-gold:hover::before {
  transform: translateX(0);
}

.btn-gold:hover span {
  color: #fffff0;
}

/* Network Collage */
.section-network__visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.network-collage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.network-collage__main {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.network-collage__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Images */
.network-collage__float {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(252, 195, 0, 0.15);
  z-index: 3;
}

.network-collage__float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.network-collage__float--one {
  width: 38%;
  aspect-ratio: 3 / 4;
  top: -12%;
  right: -8%;
  transform: rotate(-8deg);
  animation: floatY1 6s ease-in-out infinite;
}

.network-collage__float--two {
  width: 34%;
  aspect-ratio: 4 / 5;
  bottom: -10%;
  left: -10%;
  transform: rotate(12deg);
  animation: floatY2 7s ease-in-out infinite 1s;
}

.network-collage__float--three {
  width: 30%;
  aspect-ratio: 1 / 1;
  top: 55%;
  right: -12%;
  transform: translateY(-50%) rotate(-5deg);
  animation: floatY3 8s ease-in-out infinite 0.5s;
}

/* Levitation Animations */
@keyframes floatY1 {
  0%, 100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(-8deg) translateY(-12px);
  }
}

@keyframes floatY2 {
  0%, 100% {
    transform: rotate(12deg) translateY(0);
  }
  50% {
    transform: rotate(12deg) translateY(-10px);
  }
}

@keyframes floatY3 {
  0%, 100% {
    transform: translateY(calc(-50% + 0px)) rotate(-5deg);
  }
  50% {
    transform: translateY(calc(-50% + -8px)) rotate(-5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-collage__float--one,
  .network-collage__float--two,
  .network-collage__float--three {
    animation: none;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .section-network {
    min-height: 100vh;
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    align-items: center;
  }

  .section-network__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
    min-height: auto;
  }

  .section-network__content {
    text-align: center;
    align-items: center;
    gap: 1rem;
  }

  .section-network__title {
    font-size: 1.8rem;
    line-height: 1.15;
  }

  .section-network__text {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .section-network__buttons {
    justify-content: center;
    margin-top: 1rem;
  }

  .section-network__buttons .btn {
    padding: 0.65rem 1.6rem;
    font-size: 0.8rem;
  }

  .section-network__visual {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .network-collage {
    min-height: 280px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .network-collage__main {
    max-width: 260px;
    margin: 0 auto;
  }

  .network-collage__float--one {
    width: 32%;
    top: -6%;
    right: -4%;
  }

  .network-collage__float--two {
    width: 28%;
    bottom: -6%;
    left: -4%;
  }

  .network-collage__float--three {
    width: 26%;
    top: 48%;
    right: -6%;
  }
}

/* Why Ferrara Design Section */
.section-why {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #0d0907;
  color: #fffff0;
  position: relative;
  overflow: hidden;
}

.section-why__inner {
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.section-why__eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fffff0;
  opacity: 0.7;
  display: block;
}

.section-why__title {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
  font-weight: 400;
  color: #fffff0;
  margin: 0;
  letter-spacing: 0.05em;
}

.section-why__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.why-card {
  background: rgba(255, 255, 240, 0.04);
  border: 1px solid rgba(255, 255, 240, 0.08);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.why-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #FCC300;
  opacity: 0.8;
  margin-bottom: 12px;
}

.why-card__title {
  font-family: "Georgia", "Times New Roman", Times, serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.05rem;
  font-weight: 400;
  color: #fffff0;
  margin: 0 0 0.6rem 0;
}

.why-card__text {
  color: #fffff0;
  opacity: 0.85;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.why-card__index {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: 3.6rem;
  line-height: 1;
  color: #fffff0;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(252, 195, 0, 0.35);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .why-card {
    transition: none !important;
  }
}

/* CTA Button Container */
.section-why__cta {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
}

/* CTA Button - reuse btn-gold with wipe hover */
.section-why .btn-cta {
  padding: 0.75rem 2.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .section-why__inner {
    gap: 0.75rem;
  }

  .section-why__title {
    font-size: 1.9rem;
  }

  .section-why__grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1.25rem;
  }

  .why-card {
    padding: 1.2rem 1.1rem;
  }

  .why-card__index {
    top: 14px;
    right: 16px;
    bottom: auto;
    left: auto;
    font-size: 2.4rem;
    opacity: 0.08;
  }

  .section-why__cta {
    margin-top: 1.6rem;
  }
}

/* Featured Projects Section */
.section-projects {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #0d0907;
  color: #fffff0;
  position: relative;
  overflow: hidden;
}

.section-projects__inner {
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.section-projects__eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fffff0;
  opacity: 0.7;
  display: block;
}

.section-projects__title {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
  font-weight: 400;
  color: #fffff0;
  margin: 0;
  letter-spacing: 0.05em;
}

.section-projects__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #fffff0;
  opacity: 0.9;
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Projects Slider */
.projects-slider {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.projects-slider__arrow {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 240, 0.75);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 8px 12px;
  width: auto;
  height: auto;
  outline: none;
  flex-shrink: 0;
}

.projects-slider__arrow:hover {
  color: #fffff0;
  text-shadow: 0 0 12px rgba(252, 195, 0, 0.4);
}

.projects-slider__arrow:focus-visible {
  box-shadow: 0 0 0 2px rgba(252, 195, 0, 0.35);
  border-radius: 10px;
}

.projects-slider__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.projects-slider__arrow:disabled:hover {
  color: rgba(255, 255, 240, 0.3);
  text-shadow: none;
}

.projects-slider__viewport {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.projects-slider__viewport::-webkit-scrollbar {
  display: none;
}

.projects-slider__track {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem 0;
}

.project-slide {
  position: relative;
  flex: 0 0 auto;
  width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 9, 7, 0.85), rgba(13, 9, 7, 0.4), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.5rem;
  pointer-events: none;
}

.project-slide__title {
  color: #fffff0;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
}

.project-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .projects-slider__viewport {
    scroll-behavior: auto;
  }

  .project-slide {
    transition: none !important;
  }
}

/* CTA Button */
.section-projects__cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .section-projects__inner {
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .section-projects__title {
    font-size: 1.9rem;
  }

  .section-projects__text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .projects-slider {
    margin-top: 1.75rem;
    gap: 0.75rem;
  }

  .projects-slider__arrow {
    font-size: 28px;
    padding: 6px 8px;
  }

  .project-slide {
    width: 85vw;
    max-width: 320px;
  }

  .projects-slider__track {
    gap: 0.9rem;
  }

  .section-projects__cta {
    margin-top: 1.75rem;
  }
}

/* ============================================
   Featured Projects Lightbox
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
}

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

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 9, 7, 0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 95vw;
  max-height: 95vh;
  padding: 2rem;
  cursor: default;
}

.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: block;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(13, 9, 7, 0.8);
  border: none;
  color: #fffff0;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 100001;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.lightbox__close:hover {
  background: rgba(252, 195, 0, 0.9);
  color: #0d0907;
  transform: scale(1.1);
}

.lightbox__close:focus-visible {
  outline: 2px solid #FCC300;
  outline-offset: 2px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 9, 7, 0.7);
  backdrop-filter: blur(4px);
  border: none;
  color: #fffff0;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 100001;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.lightbox__nav:hover:not(:disabled) {
  background: rgba(252, 195, 0, 0.9);
  color: #0d0907;
  transform: translateY(-50%) scale(1.1);
}

.lightbox__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lightbox__nav:focus-visible {
  outline: 2px solid #FCC300;
  outline-offset: 2px;
}

.lightbox__nav--prev {
  left: 1.5rem;
}

.lightbox__nav--next {
  right: 1.5rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .lightbox__content {
    padding: 1rem;
    max-width: 100vw;
    max-height: 100vh;
  }

  .lightbox__img {
    max-width: 95vw;
    max-height: 85vh;
  }

  .lightbox__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 44px;
    height: 44px;
    font-size: 2rem;
  }

  .lightbox__nav {
    width: 48px;
    height: 48px;
    font-size: 2.5rem;
  }

  .lightbox__nav--prev {
    left: 0.5rem;
  }

  .lightbox__nav--next {
    right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .lightbox__nav {
    display: none; /* Hide arrows on very small screens */
  }
}

/* Open Your Franchise CTA Section */
.section-franchise-cta {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  background: #0d0907;
  color: #fffff0;
  overflow: hidden;
}

/* Gold smoke background - center glow only */
.section-franchise-cta__smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(55% 45% at 50% 42%, rgba(252, 195, 0, 0.38), transparent 68%),
    radial-gradient(30% 24% at 50% 45%, rgba(252, 195, 0, 0.18), transparent 70%);
  filter: blur(18px);
  opacity: 1;
  animation: smokeDriftCenter 25s ease-in-out infinite;
}

/* Brand gold color */
.brand-gold {
  color: #FCC300;
}

@keyframes smokeDriftCenter {
  0%, 100% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(6px) translateY(-3px);
    opacity: 0.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-franchise-cta__smoke {
    animation: none;
  }
}

.section-franchise-cta__inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  gap: 1rem;
}

.section-franchise-cta__eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fffff0;
  opacity: 0.7;
  font-style: italic;
  display: block;
  margin-bottom: 0.25rem;
}

.section-franchise-cta__title {
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.15;
  font-weight: 400;
  color: #fffff0;
  margin: 0.25rem 0 0.5rem;
  letter-spacing: 0.05em;
}

.section-franchise-cta__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #fffff0;
  opacity: 0.9;
  margin: 0 0 1.25rem;
  max-width: 720px;
}

/* CTA Button - reuse btn-gold but make it bigger */
.btn-cta-big {
  padding: 16px 32px;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .section-franchise-cta__smoke {
    background:
      radial-gradient(70% 50% at 50% 40%, rgba(252, 195, 0, 0.25), transparent 70%);
    filter: blur(10px);
    opacity: 0.85;
  }

  .section-franchise-cta__inner {
    gap: 0.9rem;
  }

  .section-franchise-cta__title {
    font-size: 1.85rem;
    line-height: 1.15;
  }

  .section-franchise-cta__text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .btn-cta-big {
    padding: 0.75rem 1.6rem;
    font-size: 0.8rem;
  }
}

/* COMPLETE DISABLE scroll-snap on mobile/tablet (touch devices) */
@media (max-width: 1024px) {
  html, body {
    scroll-snap-type: none !important;
    overscroll-behavior-y: auto !important;
  }

  main {
    scroll-snap-type: none !important;
  }

  section, [data-snap="section"] {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }
}

@media (max-width: 1024px) {
  html, body, main { scroll-snap-type: none !important; }
  section, [data-snap="section"] {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }
}

/* ============================================
   Mobile Vertical Spacing - Home Page Only
   ============================================
   Adds premium, airy spacing between sections
   on mobile devices without affecting desktop.
   Only applies to body.home-page sections.
*/
@media (max-width: 768px) {
  body.home-page section {
    padding-bottom: 4rem;
    margin-bottom: 2rem;
  }

  /* Hero section - no extra bottom spacing (first section) */
  body.home-page #hero {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  /* About section - extra spacing after hero */
  body.home-page #about {
    padding-top: 3rem;
    padding-bottom: 4.5rem;
    margin-bottom: 2.5rem;
  }

  /* Products section */
  body.home-page #products {
    padding-top: 2rem;
    padding-bottom: 4.5rem;
    margin-bottom: 2.5rem;
  }

  /* Featured Projects section */
  body.home-page #featured-projects {
    padding-top: 2rem;
    padding-bottom: 4.5rem;
    margin-bottom: 2.5rem;
  }

  /* Global Network section */
  body.home-page #global-network {
    padding-top: 2rem;
    padding-bottom: 4.5rem;
    margin-bottom: 2.5rem;
  }

  /* Why Ferrara section */
  body.home-page #why-ferrara {
    padding-top: 2rem;
    padding-bottom: 4.5rem;
    margin-bottom: 2.5rem;
  }

  /* Open Franchise CTA - last section, no bottom margin */
  body.home-page #open-franchise {
    padding-top: 2rem;
    padding-bottom: 3rem;
    margin-bottom: 0;
  }

  /* Ensure section inner containers respect the spacing */
  body.home-page section .section-who__inner,
  body.home-page section .section-products__inner,
  body.home-page section .section-network__inner,
  body.home-page section .section-why__inner,
  body.home-page section .section-projects__inner,
  body.home-page section .section-franchise-cta__inner {
    padding-bottom: 0; /* Let parent section handle spacing */
  }
}