/* =====================================================
   CONVIJO — HOMEPAGE SECTIONS
   ===================================================== */

/* ── HERO SLIDESHOW ──────────────────────────────────── */
.hero-slides {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

/* Individual slides */
.hs-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.hs-slide--active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  min-height: 100vh;
}

/* Slide background */
.hs-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hs-slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65);
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hs-slide--active .hs-slide__bg img {
  transform: scale(1);
}
.hs-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 15, 28, 0.70) 0%,
    rgba(11, 31, 58, 0.45) 50%,
    rgba(0, 37, 62, 0.30) 100%
  );
}
.hs-slide__overlay--solar {
  background: linear-gradient(
    135deg,
    rgba(20, 10, 0, 0.70) 0%,
    rgba(58, 35, 0, 0.45) 50%,
    rgba(30, 15, 0, 0.30) 100%
  );
}

/* Slide content */
.hs-slide__content {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--header-h, 80px) + 60px);
  padding-bottom: 120px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hs-slide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--ff-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  padding: 8px 20px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.hs-slide--active .hs-slide__eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.hs-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--f-green);
  box-shadow: 0 0 0 3px rgba(44, 182, 115, 0.3);
  animation: blink 2.2s infinite;
}
.hs-eyebrow-dot--solar {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}
@keyframes blink {
  0%, 100% { box-shadow: 0 0 0 3px rgba(44, 182, 115, 0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(44, 182, 115, 0); }
}

.hs-slide__title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}
.hs-slide--active .hs-slide__title {
  opacity: 1;
  transform: translateY(0);
}
.hs-slide__title em {
  font-style: normal;
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hs-slide__title em.em--solar {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hs-slide__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.78;
  margin-bottom: 44px;
  max-width: 560px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}
.hs-slide--active .hs-slide__desc {
  opacity: 1;
  transform: translateY(0);
}

.hs-slide__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.65s, transform 0.7s ease 0.65s;
}
.hs-slide--active .hs-slide__actions {
  opacity: 1;
  transform: translateY(0);
}

/* Solar button */
.btn-solar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-full);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: var(--t-mid);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}
.btn-solar:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
}

/* ── NAVIGATION ARROWS ───────────────────────────────── */
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.hs-arrow:hover {
  background: rgba(44, 182, 115, 0.25);
  border-color: rgba(44, 182, 115, 0.5);
  transform: translateY(-50%) scale(1.1);
}
.hs-arrow--prev { left: 28px; }
.hs-arrow--next { right: 28px; }

/* ── DOTS ────────────────────────────────────────────── */
.hs-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
}
.hs-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
  padding: 0;
}
.hs-dot--active {
  background: var(--f-green);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(44, 182, 115, 0.5);
}

/* ── PROGRESS BAR ────────────────────────────────────── */
.hs-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.10);
  z-index: 20;
}
.hs-progress__bar {
  height: 100%;
  background: var(--f-green);
  width: 0%;
  transition: width linear;
  border-radius: 0 2px 2px 0;
}


.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,15,28,0.92) 0%,
    rgba(11,31,58,0.80) 50%,
    rgba(11,31,58,0.65) 100%
  );
  z-index: 1;
}
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
  width: 100%;
  padding: 80px 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.82);
  font-family: var(--ff-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  padding: 8px 20px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  width: fit-content;
}
.hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--f-green);
  box-shadow: 0 0 0 3px rgba(44,182,115,0.3);
  animation: blink 2.2s infinite;
}
@keyframes blink {
  0%,100% { box-shadow: 0 0 0 3px rgba(44,182,115,0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(44,182,115,0); }
}

.hero__title {
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}
.hero__title em {
  font-style: normal;
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.62);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 48px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Floating Info Card */
.hero__info-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.30);
  animation: cardFloat 7s ease-in-out infinite;
}
@keyframes cardFloat {
  0%,100% { transform: translateY(0px); }
  50%     { transform: translateY(-14px); }
}

.hero__info-card-title {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero__info-item:last-child { border-bottom: none; padding-bottom: 0; }
.hero__info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(44,182,115,0.15);
  color: var(--f-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.hero__info-text strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.hero__info-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* Scroll Cue */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--ff-heading);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; }
}

/* ── ABOUT STRIP ─────────────────────────────────────── */
.about-strip {
  background: var(--off-white);
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-100);
}
.about-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.about-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-strip__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: rgba(44,182,115,0.10);
  color: var(--f-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.about-strip__text strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--f-deep);
}
.about-strip__text span {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── SOBRE NÓS (HOME) ────────────────────────────────── */
.about-home {
  padding: var(--section-y) 0;
  background: var(--white);
}
.about-home__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-home__images {
  position: relative;
  padding-bottom: 64px;
}
.about-home__img-main {
  width: 90%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
}
.about-home__img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border-radius: var(--r-lg);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  animation: imgFloat 8s ease-in-out infinite;
}
@keyframes imgFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-16px) rotate(1deg); }
}

.about-home__text h2 { color: var(--f-deep); margin-bottom: 24px; }
.about-home__text p { margin-bottom: 20px; max-width: 520px; }

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-100);
}
.stat-block__number {
  display: block;
  font-family: var(--ff-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--f-green);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-block__label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--gray-400);
}

/* ── SERVICES GRID ───────────────────────────────────── */
.services-grid-section {
  padding: var(--section-y) 0;
  background: var(--off-white);
}
.services-grid-section .section-header {
  text-align: center;
  margin-bottom: 64px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── WATER SHOWCASE ──────────────────────────────────── */
.water-showcase {
  position: relative;
  overflow: hidden;
  padding: var(--section-y) 0;
}
.water-showcase__bg {
  position: absolute;
  inset: 0;
}
.water-showcase__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) saturate(1.4);
}
.water-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,37,62,0.96) 0%,
    rgba(0,65,107,0.92) 40%,
    rgba(0,37,62,0.88) 100%
  );
}

/* Animated particles */
.water-showcase__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.water-showcase__particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--w-cyan-light), transparent);
  opacity: 0;
  animation: particle-rise var(--dur, 8s) var(--delay, 0s) ease-in infinite;
}
@keyframes particle-rise {
  0%   { opacity: 0; transform: translateY(0) scale(0.3); }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.15; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

.water-showcase__content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.water-showcase__logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 32px;
}
.water-showcase__title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  line-height: 1.08;
}
.water-showcase__title em {
  font-style: normal;
  color: var(--w-cyan);
}
.water-showcase__desc {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
}
.water-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 44px;
}
.water-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
}
.water-feature i {
  font-size: 1.4rem;
  color: var(--w-cyan);
  flex-shrink: 0;
}

/* Glass card (right side of water section) */
.water-glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.water-product {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.water-product:first-child { padding-top: 0; }
.water-product:last-child { border-bottom: none; padding-bottom: 0; }
.water-product__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(0,180,216,0.15);
  color: var(--w-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.water-product__name {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.water-product__desc { font-size: 0.86rem; color: rgba(255,255,255,0.50); line-height: 1.5; }

/* ── WHY CONVIJO ─────────────────────────────────────── */
.why-section {
  padding: var(--section-y) 0;
  background: var(--f-deep);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,182,115,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text h2 { color: var(--white); margin-bottom: 20px; }
.why-text h2 em { font-style: normal; color: var(--f-green); }
.why-text p { color: rgba(255,255,255,0.58); margin-bottom: 36px; max-width: 480px; }

.why-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.why-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(44,182,115,0.12);
  border: 1px solid rgba(44,182,115,0.20);
  color: var(--f-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.why-item__title {
  font-family: var(--ff-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}
.why-item__text { font-size: 0.87rem; color: rgba(255,255,255,0.50); line-height: 1.6; }

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-photo img { width: 100%; height: 200px; object-fit: cover; transition: var(--t-slow); }
.why-photo:hover img { transform: scale(1.06); }
.why-photo:nth-child(1) { grid-column: span 2; }
.why-photo:nth-child(1) img { height: 280px; }

/* ── CTA BANNER ──────────────────────────────────────── */
.cta-banner {
  background: var(--grad-green);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-banner__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-banner__sub { color: rgba(255,255,255,0.75); font-size: 1.05rem; }
.cta-banner__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero__content,
  .about-home__grid,
  .water-showcase__content,
  .why-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__info-card { display: none; }
  .water-showcase__logo { height: 56px; }
  .about-home__img-sub { display: none; }
}
@media (max-width: 768px) {
  .about-strip__inner { gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-visual { grid-template-columns: 1fr; }
  .why-photo:nth-child(1) { grid-column: span 1; }
  .about-stats { gap: 28px; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }
}
