/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  color: #1a1a1a;
}

.preloader-bar-track {
  width: 200px;
  height: 3px;
  background: #f4f4f4;
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: #1a1a1a;
  transition: width 0.2s ease;
}

.preloader-percent {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6b6b6b;
  font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   MINIMALIST DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-gray-light: #f4f4f4;
  --color-gray-btn: #e5e7e8;
  --color-gray-text: #6b6b6b;
  --color-border: #e0e0e0;

  --font-heading: 'Playfair Display', serif;
  --font-heading-sans: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
     GLOBAL STYLES & RESETS
     ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.loaded {
  opacity: 1;
}

a {
  text-decoration: none;
  color: var(--color-text);
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.py-section {
  padding: 4rem 0;
  /* Cut in half from 8rem */
}

.mt-1 {
  margin-top: 1rem;
}

/* ==========================================================================
     TYPOGRAPHY
     ========================================================================== */
.section-title {
  font-family: var(--font-heading-sans);
  font-weight: 700;
  font-size: 4rem;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  /* Cut down significantly from 3rem */
}

.stylized-letter {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
}

.section-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

/* ==========================================================================
     HEADER / NAVIGATION
     ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 0;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--color-text);
}

.nav-menu {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
}

.nav-link:hover {
  color: var(--color-gray-text);
}

.nav-link.active {
  color: var(--color-text);
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
}

.mobile-nav-contact {
  display: none;
  /* Hide phone number from desktop nav */
}

.btn-outline {
  border: 1px solid var(--color-border);
  padding: 0.75rem 2.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  background: white;
}

.btn-outline:hover {
  background: var(--color-text);
  color: white;
  border-color: var(--color-text);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
     HERO SECTION
     ========================================================================== */
.hero-section {
  width: 100%;
  height: 100vh;
  margin-top: 100px;
  position: relative;
  background-image: url('../img/hero_plum.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-title {
  font-family: var(--font-heading-sans);
  font-weight: 700;
  font-size: 4.5rem;
  letter-spacing: -2px;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.hero-content .btn-outline {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

.hero-content .btn-outline:hover {
  background: #fff;
  color: var(--color-text);
}

/* ==========================================================================
     ABOUT US
     ========================================================================== */
.about-image-wrapper {
  max-width: 800px;
  margin: 0 auto 3rem;
  perspective: 1200px;
}

.about-image {
  width: 100%;
  border-radius: 16px;
  animation: float3d 7s ease-in-out infinite;
  transform-origin: center center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes float3d {

  0%,
  100% {
    transform: rotateX(8deg) rotateY(-10deg) translateZ(0px);
    box-shadow: 15px 20px 40px rgba(0, 0, 0, 0.2);
  }

  50% {
    transform: rotateX(2deg) rotateY(-4deg) translateZ(40px) translateY(-15px);
    box-shadow: 25px 35px 60px rgba(0, 0, 0, 0.3);
  }
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
}

.about-subtitle {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.about-desc {
  color: var(--color-gray-text);
  font-size: 1rem;
  line-height: 1.8;
}

/* ==========================================================================
     SERVICES (3D TILT CARDS)
     ========================================================================== */
.service-carousel {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 4rem 0;
  perspective: 1000px;
}

.service-card {
  width: 300px;
  height: 450px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 3D tilts */
.tilt-left {
  transform: rotateY(15deg) rotateZ(-2deg) scale(0.95);
}

.tilt-center {
  transform: translateZ(50px) scale(1.05);
  z-index: 10;
}

.tilt-right {
  transform: rotateY(-15deg) rotateZ(2deg) scale(0.95);
}

.service-card:hover {
  transform: scale(1.1) translateZ(80px) rotateY(0) rotateZ(0);
  z-index: 20;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  text-align: left;
}

.card-overlay h4 {
  font-size: 1.5rem;
  font-family: var(--font-heading-sans);
  font-weight: 400;
  letter-spacing: 1px;
}

.service-footer-desc {
  max-width: 700px;
  margin: 0 auto 4rem;
  color: var(--color-gray-text);
}

/* Pricing Minimalist */
.pricing-minimal {
  display: flex;
  justify-content: center;
  gap: 6rem;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
  padding-top: 3rem;
}

.pricing-col {
  flex: 1;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-gray-light);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ==========================================================================
     GALLERY 3D COVERFLOW
     ========================================================================== */
.gallery-3d-wrap {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-top: 2rem;
  perspective: 1200px;
  /* Crucial for 3D effect */
  cursor: grab;
}

.gallery-3d-wrap:active {
  cursor: grabbing;
}

.gallery-3d-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.gallery-3d-item {
  position: absolute;
  width: 320px;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  background: var(--color-gray-light);
  will-change: transform, opacity;
}

.gallery-3d-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  /* Prevents ghost dragging the image */
}

/* ==========================================================================
     CONTACT FORM & STATUE
     ========================================================================== */
.contact-split {
  display: flex;
  align-items: center;
  gap: 6rem;
}

.contact-form-side {
  flex: 1;
  max-width: 550px;
  background: white;
  padding: 4rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-gray-light);
  transform: translateY(0);
  transition: var(--transition-smooth);
}

.contact-form-side:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.05);
}

.contact-image-side {
  flex: 1;
  display: flex;
  justify-content: center;
}

.contact-image-side img {
  max-width: 100%;
  border-radius: 8px;
}

.minimal-form {
  margin-bottom: 2.5rem;
}

.input-group {
  display: flex;
  align-items: center;
  background: var(--color-bg);
  margin-bottom: 1.25rem;
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  color: var(--color-gray-text);
  transition: var(--transition-smooth);
}

.input-group:focus-within {
  border-color: var(--color-text);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.03);
}

.input-group i {
  margin-right: 1rem;
  font-size: 1rem;
}

.input-group input {
  border: none;
  background: transparent;
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.btn-solid-gray {
  width: 100%;
  padding: 1.2rem;
  background: var(--color-gray-btn);
  color: var(--color-text);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-body);
}

.btn-solid-gray:hover {
  background: var(--color-text);
  color: white;
}

.contact-info-text {
  color: var(--color-gray-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
     FOOTER MINIMAL
     ========================================================================== */
.footer-minimal {
  background: var(--color-gray-btn);
  padding: 3rem 0;
}

.footer-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.footer-social a {
  color: var(--color-text);
  border: 1px solid var(--color-text);
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--color-text);
  color: white;
}

/* ==========================================================================
     SCROLL ANIMATIONS
     ========================================================================== */
.hidden-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.show-scroll {
  opacity: 1;
  transform: translateY(0);
}

.pop-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.show-pop-in {
  opacity: 1;
  transform: scale(1);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

/* ==========================================================================
     MODAL POPUP (GUIDE)
     ========================================================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--color-bg);
  margin: 10% auto;
  padding: 3rem;
  border: 1px solid var(--color-border);
  width: 80%;
  max-width: 700px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: modalPopIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.close-btn {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-btn:hover,
.close-btn:focus {
  color: var(--color-text);
  text-decoration: none;
}

.modal-title {
  font-family: var(--font-heading-sans);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.modal-body h4 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.modal-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

@keyframes modalPopIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
     SCROLL SEQUENCE (3D BOTTLE)
     ========================================================================== */
.scroll-sequence-section {
  height: 150vh;
  /* Shorter scroll duration so user doesn't feel stuck */
  background-color: rgb(10, 11, 6);
  /* Perfect match for bottle background */
  position: relative;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#bottle-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Hardware acceleration for smoother frame rendering */
  transform: translateZ(0);
  will-change: transform;
}

.scroll-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Centered exactly over the bottle */
  text-align: center;
  pointer-events: none;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.8s ease, transform 0.8s ease;

  /* Luxury Glassmorphism effect */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 3rem 5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.scroll-overlay-text h2 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.scroll-overlay-text p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
     GALLERY ARROWS
     ========================================================================== */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.gallery-arrow:hover {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

.gallery-arrow-left {
  left: 1rem;
}

.gallery-arrow-right {
  right: 1rem;
}

/* ==========================================================================
     FORM SUCCESS MESSAGE
     ========================================================================== */
.form-success-msg {
  text-align: center;
  padding: 1.5rem;
  background: #f0faf0;
  border: 1px solid #c3e6c3;
  border-radius: 8px;
  color: #2d7a2d;
  font-weight: 500;
  margin-bottom: 2rem;
  animation: modalPopIn 0.4s ease;
}

.form-success-msg i {
  margin-right: 0.5rem;
}

/* ==========================================================================
     BACK TO TOP BUTTON
     ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-text);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
     FLOATING PHONE BUTTON
     ========================================================================== */
.floating-phone {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: var(--transition-smooth);
}

.floating-phone:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* ==========================================================================
     COOKIE CONSENT BANNER
     ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-text);
  color: #fff;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 9000;
  font-size: 0.9rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner .btn-solid-gray {
  background: #fff;
  color: var(--color-text);
  width: auto;
  padding: 0.7rem 2rem;
  font-size: 0.85rem;
}

.cookie-banner .btn-solid-gray:hover {
  background: var(--color-gray-light);
}

/* ==========================================================================
     RESPONSIVE
     ========================================================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .nav-container {
    padding: 0 2rem;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .contact-split {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .contact-form-side {
    margin: 0 auto;
    /* Center the form block on mobile screens */
    padding: 2.5rem 1.5rem;
    /* Shrink the premium box padding for small screens */
  }

  .contact-form-side h2 {
    text-align: center;
    font-size: 2.2rem;
  }

  .pricing-minimal {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    /* Below the header */
    left: -100%;
    /* Hidden off-screen by default */
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: 0.4s ease-in-out;
    z-index: 999;
    padding-bottom: 2rem;
  }

  .nav-menu.active {
    left: 0;
    /* Slide in when active */
  }

  .nav-menu .nav-link {
    font-size: 1.5rem;
    /* Larger tap targets on mobile */
  }

  .mobile-nav-contact {
    display: block;
    /* Show phone number in mobile menu */
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 60%;
    text-align: center;
  }

  .mobile-nav-contact .nav-link {
    font-size: 1.2rem;
    color: var(--color-gray-text);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .btn-outline {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero-section {
    height: 60vh;
    margin-top: 80px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .service-carousel {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .tilt-left,
  .tilt-center,
  .tilt-right {
    transform: none !important;
    margin-bottom: 1rem;
    width: 100%;
    height: 350px;
  }

  .service-card:hover {
    transform: scale(1.02) !important;
    z-index: 10;
  }

  .footer-split {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .scroll-overlay-text {
    padding: 2rem 2rem;
    width: 90%;
  }

  .scroll-overlay-text h2 {
    font-size: 2.2rem;
  }

  .scroll-overlay-text p {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .modal-title {
    font-size: 1.4rem;
    /* Smaller font on mobile so long words fit on one line */
  }

  /* --- Mobile Whitespace Tuning --- */
  .py-section {
    padding: 6rem 0 4rem;
    /* More space above sections like УСЛУГИ and КОНТАКТИ */
  }

  .about-section .py-section {
    padding-top: 3rem;
    /* Less space above ЗА НАС since it follows the long scroll */
  }

  /* About image responsive */
  .about-image-wrapper {
    max-width: 100% !important;
    margin-bottom: 1.5rem !important;
  }

  .section-title {
    margin-bottom: 0.5rem;
    /* Tighter gap below titles on mobile */
  }

  /* Fix for cropped pricing table on mobile */
  .pricing-minimal {
    padding: 2rem 1rem 0 1rem;
    /* Added left and right padding to prevent clipping against screen edges */
  }

  /* Gallery Mobile Tuning */
  .gallery-3d-wrap {
    height: 350px;
  }

  .gallery-3d-item {
    width: 220px;
    height: 300px;
  }

  /* Prevent service footer text from touching edges on mobile */
  .service-footer-desc,
  .contact-info-text {
    padding: 0 1.5rem;
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
  }

  .floating-phone {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}