html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #0066cc;
  --color-dark: #1a1a1a;
  --color-light: #f8f9fa;
  --font-main: system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--color-dark);
  position: relative;
  width: 100vw;
  max-width: 2000px;
  overflow-x: hidden;
  margin: 0 auto;
}


/* Panel Principal */
.panel-principal {
  width: 100vw;
  height: 100vh;
  max-width: 2000px;
  max-height: 1200px;
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 150px;
  background: #ffffff00; /* fondo provisional – cámbialo por tu imagen o color */
  overflow: hidden;
}


.decorator-t-r {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(
    to top right,
    #FFFFFF00 50%,
    #0A3F3A 50%
  );
  z-index: -2;
  border-radius: 0px;
}

.decorator-t-r-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(
    to top left,
    #FFFFFF00 50%,
    #2F7F6C 50%
  );
  z-index: -3;
}

.decorator-t-r-2 {
  position: absolute;
  top: 0vw;
  right: 0vw;
  width: 40%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(
    to top right,
    #FFFFFF00 50%,
    #0FB9B166 50%
  );
  z-index: -4;
}


.decorator-t-l {
  animation: float-tl 16s ease-in-out infinite;
}

.decorator-t-r {
  animation: float-tr 19s ease-in-out infinite;
}

.decorator-t-r-1 {
  animation: float-big 22s ease-in-out infinite;
}

.decorator-t-r-2 {
  animation: float-tl 17s ease-in-out infinite; /* vuelve a usar la original pero con delay */
  animation-delay: -3s;
}

/* ──────────────────────────────────────── */

@keyframes float-tl {
  0%, 100% { transform: translate(0, 0); }
  30%      { transform: translate(0px, -30px); }
  60%      { transform: translate(0, -10px); }
  85%      { transform: translate(0px, -20px); }
}

@keyframes float-tr {
  0%, 100% { transform: translate(0, 0); }
  20%      { transform: translate(0px, -45px); }
  45%      { transform: translate(0px, -10px); }
  70%      { transform: translate(0px, -30px); }
}

@keyframes float-big {
  0%, 100% { transform: translate(0, 0); }
  35%      { transform: translate(0px, -30px); }
  65%      { transform: translate(0px, -15px); }
  90%      { transform: translate(0px, -35px); }
}

.info-content {
  margin-right: 0%;
  text-align: right;
  z-index: 20;                /* encima del carrusel */
  max-width: 400px;
  background: #f8f9fa00; /* fondo semitransparente para mejor legibilidad */
}

.info-content h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  color: #0A3F3A;
}



.info-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: bold;
}

/* Contenedor del carrusel pequeño + dron */
.carrusel-container {
  position: relative;
  width: 600px;                /* ancho rectangular pequeño – ajusta a tu gusto */
  height: 420px;               /* proporción rectangular – ajusta según tus imágenes */
  z-index: 10;
}

/* Carrusel pequeño */
.carrusel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18); /* sombra suave opcional */
  background: #000; /* fondo negro por si las imágenes fallan */
}

.carrusel-imagen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.2s ease-in-out;
}

.carrusel-imagen.active {
  opacity: 1;
}

/* Dron en esquina superior derecha del carrusel */
.dron-superpuesto {
  position: absolute;
  top: -80px;
  left: -60px;                /* sale un poco por la derecha */
  z-index: 15;
  pointer-events: none;        /* no interfiere con clics */
}

.dron-superpuesto img {
  width: 250px;                /* tamaño más pequeño y discreto */
  height: auto;
  animation: float 5s ease-in-out infinite;
}

/* Animación de flotación suave (sin saltos bruscos) */
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(55px, -15px) rotate(4deg); }
  50%      { transform: translate(30px, 10px) rotate(8deg); }
  75%      { transform: translate(15px, 15px) rotate(-2deg); }
  100%     { transform: translate(0, 0) rotate(0deg); }
}
animation: float 15s ease-in-out infinite;  /* más lento = más majestuoso */


/* Opcional: si quieres el dron en esquina inferior derecha en vez de superior */
.dron-superpuesto.alternativa {
  top: auto;
  bottom: -40px;
  right: -50px;
}

.btn-navegar {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  bottom: 75px;
}
.btn-navegar .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(15, 185, 177);
  color: white;
  padding: 16px 32px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: medium;
  box-shadow: 0 0 12px rgba(0,0,0,0.75);
  transition: all 0.3s ease;
}
.btn-navegar .btn:hover{
  box-shadow: 0 0 12px rgba(15, 185, 177,0.95);
}


/* ───────── BASE ───────── */

.landing-section {
  position: relative;
  padding: clamp(40px, 8vw, 80px) 7%;
  overflow: hidden;
  background: #2F7F6C;
}

.landing-container {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.landing-section h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: #0A3F3A;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.landing-section p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #1f2d2b;
  max-width: 760px;
}

/* ───────── CAPAS DE FONDO MODERNAS ───────── */

.landing-section::before,
.landing-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ───────── SECCIONES ───────── */

.section-problema, .section-solucion{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.section-solucion .landing-container {
  order:2;
}

.section-solucion img {
  order:1;
}

.landing-section img {
  width: 360px;
  aspect-ratio: 3/4;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);

}

/* Modelo de negocio */
.section-negocio {
  background:#fff;
}
/* Tracción (más fuerte, pero elegante) */
.section-traccion {
  background:
    radial-gradient(
      circle at 30% 20%,
      #0FB9B155,
      transparent 60%
    ),
    linear-gradient(
      135deg,
      #0A3F3A,
      #2F7F6C
    );
}

.section-traccion h2,
.section-traccion li {
  color: #ffffff;
}

/* Impacto */
.section-impacto {
  background:
    radial-gradient(
      circle at 70% 70%,
      #2F7F6C22,
      transparent 65%
    ),
    linear-gradient(
      200deg,
      #ffffff,
      #0A3F3A0f
    );
}

/* ───────── GRID + CARDS (GLASS TECH) ───────── */

.grid-3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.landing-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 0.8;
  padding: 36px;
  border-radius: 20px;
  background:
    linear-gradient(
      145deg,
      #ffffff99,
      #ffffff55
    );
  backdrop-filter: blur(10px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.15),
    inset 0 0 0 1px rgba(255,255,255,0.35);
}

.landing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent,
    #0FB9B122,
    transparent
  );
  opacity: 0.6;
  pointer-events: none;
}

.landing-card h3 {
  color: #2F7F6C;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* ───────── LISTAS ───────── */

.landing-list {
  list-style: none;
  padding: 0;
  max-width: 620px;
}

.landing-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.landing-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.9rem;
  color: #0FB9B1;
}

.footer {
  background: #2F7F6C;
  color: rgba(255, 255, 255);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 4rem 2rem;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

.footer h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.6rem;
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer a:hover {
  color: #5cff9d;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
}

/* ───────── AJUSTES PARA CONTENIDO NUEVO ───────── */

/* Texto introductorio de secciones */
.section-intro {
  margin-bottom: 32px;
  font-size: 1.15rem;
  font-weight: 500;
  max-width: 820px;
}

/* Texto final / nota inferior */
.section-footnote {
  margin-top: 32px;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ───────── MODELO DE NEGOCIO ───────── */

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.business-item {
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    #ffffff,
    #f3f6f5
  );
  box-shadow:
    0 12px 32px rgba(0,0,0,0.12);
}

.business-item h3 {
  font-size: 1.35rem;
  color: #0A3F3A;
  margin-bottom: 12px;
}

/* ───────── TRACCIÓN ───────── */

.section-traccion .section-intro {
  color: rgba(255,255,255,0.9);
}

.section-traccion .section-footnote {
  color: rgba(255,255,255,0.85);
}

/* Ajuste de lista en fondos oscuros */
.section-traccion .landing-list li::before {
  color: #5cff9d;
}

/* ───────── IMPACTO ───────── */

.impact-highlight {
  margin-top: 32px;
  padding-left: 20px;
  border-left: 4px solid #0FB9B1;
  font-weight: 600;
  color: #0A3F3A;
}

/* ───────── RESPONSIVE ───────── */

@media (max-width: 768px) {

  .business-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    font-size: 1.05rem;
  }
}


@media (max-width: 1200px) {
  .panel-principal{
    gap:4%;
  }
  .info-content {
    max-width: 300px;
  }
  .info-content h1 {
    font-size: 3.5rem;
  }

  .carrusel-container {
    width: 500px;
    height: 350px;
  }

}

@media (max-width: 900px) {
  .panel-principal{
    flex-direction: column-reverse;
  }
  .info-content {
    margin: 0;
    text-align: center;
  }
  .carrusel-container {
    width: 80%;
    aspect-ratio: 5/4;
  }
  .btn-navegar {
    bottom: 20px;
  }
  .btn-navegar .btn {
    font-size: 1.2rem;
    padding: 12px 24px;
  }

  .landing-section img{
    width: 280px;
  }
  .dron-superpuesto img{
    width: 200px;
  }

}

@media (max-width: 600px) {
  .landing-section {
    width: 95%;
  }
  .landing-section h2 {
    font-size: 2rem;
  }
  .landing-section p {
    font-size: 1rem;
  }
  .landing-section img{
    width: 100%;
  }
}

@media (max-width: 450px) {


  .section-problema, .section-solucion{
    grid-template-columns: 1fr;
  }
  .section-solucion .landing-container {
    order:1;
  }
  .landing-section h2{
    font-size: 1.5rem;
  }

  .landing-section p{
    font-size: 0.95rem;
  }

  .dron-superpuesto img{
    width: 150px;
  }
}