/* =====================================================
   Manguera Desobstructora — Gomaeme
   Estilos generales
   ===================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  color: #3A3F44;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #EA6A1E;
}

::selection {
  background: #EA6A1E;
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 1100px;
}

.section {
  padding: clamp(64px, 9vw, 110px) 0;
  background: #fff;
}

.section-gray {
  background: #F4F5F6;
}

.section-intro {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.kicker-bar {
  width: 30px;
  height: 3px;
  background: #EA6A1E;
  display: inline-block;
}

.kicker-label {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #EA6A1E;
}

.kicker-label.light {
  color: #F3A06A;
  font-size: 15px;
  letter-spacing: .22em;
}

.section-title {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.05;
  color: #23282D;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.section-text {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  color: #5A6066;
  margin: 0;
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  background: #EA6A1E;
  padding: 13px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(234, 106, 30, .32);
  transition: background .2s ease, transform .2s ease;
  border: none;
  cursor: pointer;
}

.btn-orange:hover {
  background: #d65c14;
  transform: translateY(-2px);
  color: #fff;
}

/* =====================================================
   NAV
   ===================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 116px;
  background: #ffffff;
  display: flex;
  align-items: center;
  transition: height .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .07);
}

.nav.is-scrolled {
  height: 72px;
  box-shadow: 0 6px 26px rgba(0, 0, 0, .10);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 72px;
  width: auto;
  transition: height .35s cubic-bezier(.2, .7, .2, 1);
}

.nav.is-scrolled .nav-logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #23282D;
  padding: 9px 13px;
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
}

.nav-links a:hover {
  color: #EA6A1E;
  background: #FBEEE3;
}

.nav-cta {
  margin-left: 8px !important;
}

.nav-cta:hover {
  color: #fff !important;
  background: #d65c14 !important;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #23282D;
  padding: 0;
}

/* Mobile menu */

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(26, 29, 33, .55);
  backdrop-filter: blur(3px);
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 96;
  width: min(82vw, 330px);
  background: #1A1D21;
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 6px;
  box-shadow: -12px 0 40px rgba(0, 0, 0, .4);
  transform: translateX(100%);
  transition: transform .3s ease;
}

.mobile-overlay.is-open,
.mobile-menu.is-open {
  display: flex;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-close-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-link {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #E8EAED;
  padding: 13px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: color .2s ease;
}

.mobile-link:hover {
  color: #EA6A1E;
}

.mobile-cta {
  margin-top: 16px;
  text-align: center;
  font-size: 18px;
  padding: 13px;
  justify-content: center;
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
  position: relative;
  height: clamp(440px, 68vh, 640px);
  margin-top: 72px;
  background: #1A1D21;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 14s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 22, 26, .86) 0%, rgba(20, 22, 26, .55) 42%, rgba(20, 22, 26, .15) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text {
  position: absolute;
  left: 24px;
  right: 24px;
  max-width: 720px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
  pointer-events: none;
}

.hero-text.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-title {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.03;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -.005em;
}

.hero-sub {
  margin: 22px 0 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: #C9CDD2;
  max-width: 540px;
}

.hero-cta {
  margin-top: 28px;
}

.hero-dots {
  position: absolute;
  left: 24px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 38px;
  height: 5px;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  background: #fff;
  transition: opacity .3s ease;
  opacity: .4;
  padding: 0;
}

.hero-dot.is-active {
  opacity: 1;
}

.hero-scroll {
  position: absolute;
  right: 24px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  animation: floaty 2.4s ease-in-out infinite;
}

.hero-scroll span {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .8;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}

/* =====================================================
   REVEAL ON SCROLL
   ===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16, .84, .34, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =====================================================
   CARACTERÍSTICAS TÉCNICAS
   ===================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ECEDEF;
  border-radius: 14px;
  padding: 32px 30px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(35, 40, 45, .14);
}

.feature-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: #EA6A1E;
  transition: left .5s cubic-bezier(.2, .8, .2, 1);
  z-index: 3;
}

.feature-card:hover .feature-sweep {
  left: 0%;
}

.feature-icon {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: #FBEEE3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform .4s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-8deg) scale(1.08);
}

.feature-title {
  position: relative;
  z-index: 1;
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #23282D;
  margin: 0 0 10px;
}

.feature-text {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.65;
  color: #5A6066;
  margin: 0;
}

/* =====================================================
   CONSTRUCCIÓN (caja con tilt 3D)
   ===================================================== */

.construction-box {
  background: #23282D;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 18px;
  padding: clamp(24px, 5vw, 56px);
  display: flex;
  justify-content: center;
  box-shadow: 0 18px 50px rgba(35, 40, 45, .16);
  transform-style: preserve-3d;
  transition: transform .15s ease, box-shadow .3s ease;
  will-change: transform;
}

.construction-img {
  width: 100%;
  max-width: 880px;
  height: auto;
  pointer-events: none;
}

/* =====================================================
   FUNCIONAMIENTO (video)
   ===================================================== */

.video-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  padding: 0;
  background: none;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}

.video-play-icon-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-ring {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #EA6A1E;
  animation: pulsering 2.4s ease-out infinite;
}

@keyframes pulsering {
  0% { transform: scale(.9); opacity: .6; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { opacity: 0; }
}

.video-play-circle {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #EA6A1E;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(234, 106, 30, .5);
}

/* =====================================================
   GALERÍA
   ===================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #ECEDEF;
  cursor: pointer;
  padding: 0;
  aspect-ratio: 4 / 3;
  background: #eee;
}

.gallery-idx {
  position: absolute;
  right: 14px;
  top: 8px;
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700;
  font-size: 52px;
  color: rgba(255, 255, 255, .55);
  line-height: 1;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
  user-select: none;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(234, 106, 30, .45), transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
}

.gallery-card:hover .gallery-tint {
  opacity: 1;
}

/* =====================================================
   MANGUEROTE / QUIÉNES SOMOS (dos columnas)
   ===================================================== */

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.rounded-photo {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(35, 40, 45, .14);
}

.manguerote-link {
  display: block;
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(35, 40, 45, .14);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}

.manguerote-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(35, 40, 45, .20);
}

.centered {
  display: flex;
  justify-content: center;
}

.brochure-photo {
  width: 100%;
  max-width: 380px;
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(35, 40, 45, .18);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
  background: #16181B;
  color: #E8EAED;
  padding: clamp(60px, 8vw, 90px) 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 58px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(1) invert(1);
}

.footer-text {
  font-size: 15px;
  line-height: 1.7;
  color: #9AA0A6;
  margin: 0 0 22px;
  max-width: 300px;
}

.footer-cta {
  box-shadow: 0 10px 24px rgba(234, 106, 30, .32);
}

.footer-heading {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #EA6A1E;
  margin: 0 0 20px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: #C9CDD2;
}

.footer-list svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.muted {
  color: #9AA0A6;
}

.footer-address {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.7;
  color: #C9CDD2;
  margin: 0;
}

.footer-address svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 13px;
  color: #7B8085;
}

.footer-top-link {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9AA0A6;
  transition: color .2s ease;
}

.footer-top-link:hover {
  color: #EA6A1E;
}

/* =====================================================
   LIGHTBOX
   ===================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(16, 18, 20, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 94vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}
