/* --- Keyframe Animation for a gentle floating effect --- */
@keyframes rocket-bob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

/* --- Main Section Styles --- */
.optico-contact-hero {
  position: relative;
  width: 100%;
  padding: 6rem 2rem;
  background:
    radial-gradient(ellipse at 70% 60%, #fff7dc 0 48%, transparent 80%),
    radial-gradient(ellipse at 24% 80%, #fbeac2 0 44%, transparent 84%),
    radial-gradient(ellipse at 62% 19%, #fff4c1 0 38%, transparent 74%),
    linear-gradient(112deg, #fff7dc 5%, #fbeac2 58%, #fff4c1 100%);
  overflow: hidden;
}

/* --- Honeycomb Frame Effect (Desktop) --- */
.optico-contact-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 L100 25 L100 75 L50 100 L0 75 L0 25 Z' fill='none' stroke='%23d4af37' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  opacity: 0.3;

  -webkit-mask-image: radial-gradient(ellipse 55% 80% at 50% 45%, transparent 0%, transparent 45%, black 46%);
  mask-image: radial-gradient(ellipse 50% 100% at 50% 50%, transparent 0%, transparent 45%, black 46%);
}


/* --- Inner Layout Container --- */
.optico-contact-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ... Center Text Content & General Rocket Styles remain the same ... */
.optico-contact-hero-content {
  flex-grow: 1;
  max-width: 680px;
  text-align: center;
}
.rocket-container {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.optico-contact-rocket-img {
  width: 160px;
  height: auto;
  animation: rocket-bob 3s ease-in-out infinite alternate;
}
.rocket-left .optico-contact-rocket-img {
  transform: rotate(-35deg) scaleX(-1);
}
.rocket-right .optico-contact-rocket-img {
  transform: rotate(35deg);
}

/* --- Responsive Styles for Mobile --- */
@media (max-width: 900px) {
  .optico-contact-hero {
    /* UPDATED: Increased bottom padding to make space for the taller honeycomb bar */
    padding: 4rem 1rem 110px 1rem;
  }

  .optico-contact-hero::after {
    top: auto;
    bottom: 0;
    /* UPDATED: Increased the height of the honeycomb bar */
    height: 160px;
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.2;
  }
  
  .optico-contact-hero-inner {
    flex-direction: column;
    gap: 2.5rem;
  }
  .optico-contact-hero-content {
    order: 1;
  }
  .rocket-container.rocket-right {
    display: none;
  }
  
  .rocket-container.rocket-left {
    order: 2;
    /* UPDATED: Adjusted negative margin to re-center the rocket in the taller bar */
    margin-bottom: -100px;
  }

  .optico-contact-rocket-img {
    width: 120px;
  }
  .rocket-left .optico-contact-rocket-img {
    transform: rotate(-15deg);
    animation-duration: 2.5s;
  }
}