@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

@font-face {
  font-family: 'Gibson';
  src: url('../font/Fontspring-DEMO-gibson-bold.otf');
}

:root {
  --azul: #252a50;
  --verde: #2a6735;
  --gris: #4d4c47;
  --verde-claro: #a3c57d;
  --blanco: #ffffff;
  --beige: #ede6bd;
  --fondo-principal: #f4f4f4;
}

body {
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* BACKGROUND VIDEO */

.background-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

/* OVERLAY SOBRE EL VIDEO */
.video-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    rgba(37, 42, 80, 0.85),
    rgba(37, 42, 80, 0.7)
  );
  z-index: -2;
}

@media (min-aspect-ratio: 16/9) {
  .background-video {
    width: 100%;
    height: auto;
  }
}

@media (max-aspect-ratio: 4/3) {
  .background-video {
    width: auto;
    height: 100%;
  }
}

/* ============================
   HEADER - NAVBAR
   ============================ */


.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(37, 42, 80);
  backdrop-filter: blur(10px);
  /* box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.5); */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.logo {
  width: 200px;
  display: block;
}

/* Mobile oculto por defecto (DESKTOP) */
.logo-mobile {
  display: none;
}

.logo-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.logo-wrapper:hover .logo-default {
  opacity: 0;
}

.logo-wrapper:hover .logo-hover {
  opacity: 1;
}

.logo-wrapper:hover .logo {
  transform: scale(1.05);
}

.logo-overlay {
  position: absolute;
  inset: 0;
  background-color: #fff;
  mix-blend-mode: multiply;
  opacity: 0.9;
  transition: background-color 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.logo-wrapper:hover .logo-overlay {
  background-color: var(--verde-claro); 
  opacity: 0.85;
}

.logo-wrapper:hover .logo {
  transform: scale(1.05);
}

.nav-item {
  position: relative;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: -0.13px;
  text-decoration: none;
  margin-left: 2.5rem;
  transition: all 0.3s ease;
}

.nav-item:hover {
  color: var(--verde-claro);
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -0.3rem;
  left: 50%;
  width: 0;
  height: 0.15rem;
  transform: translateX(-50%);
  background-color: var(--verde-claro);
  transition: all 0.3s ease;
}

.nav-item:hover:after {
  width: 100%;
}

.icons {
  position: absolute;
  right: 5%;
  font-size: 2.3rem;
  color: #fff;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

/* ============================
   BANNER CON ONDAS ESTILO EJEMPLO
   ============================ */

/* Estructura principal */
.header-design {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  overflow: hidden;
}

/* Contenido del banner centrado */
.banner-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem 8rem;
}

.banner-content .container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 20px;
}

.banner-content h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.banner-content .subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  max-width: 1200px;
  margin: 0 auto 3rem;
  text-align: center;
  /* text-transform: uppercase; */
  color: var(--blanco);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  font-weight: 300;
  letter-spacing: 1px;
}

/* Botón estilo ejemplo */
.banner-button-wrapper {
  margin-top: 2rem;
  position: relative;
  z-index: 3;
}

.btn.light {
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--verde-claro);
  color: var(--blanco);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
  box-shadow: 0 0 31px rgba(0, 0, 0, 0.65),
              0 0 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: none;
  cursor: pointer;
  z-index: 1;
}

.btn.light::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(42, 103, 53, 0.30);
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.45s ease;
  border-radius: 50px;
  z-index: -1;
}

.btn.light:hover::before {
  transform: scale(1);
}

.btn.light:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.35);
}


.btn.light::after {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  border: 12px solid #fff;
  border-radius: 36px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn.light:hover::after {
  opacity: 0.1;
}

/* ONDAS ESTILO EJEMPLO - POSICIONADAS AL FINAL */
.footer-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 102%;
  height: 56.8px;
  z-index: 1;
  background: url('https://1.bp.blogspot.com/-NYl6L8pz8B4/XoIVXwfhlNI/AAAAAAAAU3k/nxJKiLT706Mb7jUFiM5vdCsOSNnFAh0yQCLcBGAsYHQ/s1600/hero-wave.png') repeat-x;
  background-size: 1440px 105%;
  animation: wave 10s cubic-bezier(0.44, 0.66, 0.67, 0.37) infinite;
  transform: translateX(-1%);
}

@keyframes wave {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1440px 0;
  }
}

/* Efecto de brillo en las ondas */
.footer-wave::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(255, 255, 255, 0.1));
  pointer-events: none;
}

/* ============================
   SECCIONES DE CONTENIDO
   ============================ */

.sections {
  position: relative;
  z-index: 2;
  background: var(--fondo-principal);
  padding: 1rem 0% 4rem;
  margin-top: -1px;
}

.sections2{
  position: relative;
  z-index: 2;
  background: linear-gradient(to bottom, #f4f4f4, #ffffff);
  padding: 1rem 0% 4rem;
  margin-top: -1px;
}

.info-section {
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-section h2 {
  color: var(--azul);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.info-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--verde-claro);
  border-radius: 2px;
}

.info-section p {
  color: var(--gris);
  line-height: 1.8;
  font-size: 1.1rem;
}

.highlight {
  background: linear-gradient(135deg, var(--verde-claro) 0%, #8fb96d 100%);
  color: var(--azul);
}

.highlight h2 {
  color: var(--azul);
}

.highlight p {
  color: var(--azul);
}

/* ============================
   MEDIA QUERIES
   ============================ */

@media (max-width: 900px) {

  .main-header {
    padding: 0rem 5%;
  }
}

@media (max-width: 768px) {

  .header-design {
    min-height: 90vh;
    padding-top: 80px;
  }
  
  .banner-content {
    padding: 3rem 1rem 6rem;
  }
  
  .banner-content h1 {
    font-size: clamp(2rem, 7vw, 4rem);
  }
  
  .banner-content .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .btn.light {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .btn.light:hover {
    padding: 12px 35px 12px 45px;
  }
  
  .footer-wave {
    height: 60px;
  }
  
  .sections {
    padding: 6rem 5% 3rem;
  }
  
  .info-section {
    padding: 1.5rem;
  }
  
  .info-section h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 700px) {
  
   /* Ocultamos logos desktop */
  .logo-default,
  .logo-hover {
    display: none;
  }

  .logo-mobile {
    display: block;
    width: 70px;
    padding: 10px;
  }

  /* Desactivamos hover (no existe en móvil) */
  .logo-wrapper:hover .logo {
    transform: none;
  }

  .main-header::before {
    position: absolute;
    content: "";
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(50px);
    z-index: -1;
  }

  .icons {
    display: inline-flex;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(37, 42, 80, 0.95);
    backdrop-filter: blur(50px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
  }

  #check:checked ~ .navbar {
    height: 12rem;
  }

  .nav-item {
    display: block;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    text-align: center;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
    margin-left: 0;
  }

  #check:checked ~ .navbar a {
    transform: translateY(0);
    opacity: 1;
    transition-delay: calc(0.15s * var(--i));
  }
}

@media (max-width: 480px) {
  .logo-default,
  .logo-hover {
    width: 70px;
    padding: 10px;
  }

  .logo.logo-mobile {
    width: 70px;
    padding: 10px;
  }

  .header-design {
    min-height: 85vh;
  }
  
  .banner-content {
    padding: 2rem 1rem 5rem;
  }
  
  .banner-content h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }
  
  .footer-wave {
    height: 60px;
  }
  
  .btn.light {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .btn.light:hover {
    padding: 10px 30px 10px 40px;
  }
  
  .sections {
    padding: 0rem 0rem 2rem;
  }
  
  .info-section {
    padding: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .info-section h2 {
    font-size: 1.5rem;
  }
  
  .info-section p {
    font-size: 1rem;
  }
}

@media (max-width: 350px) {
  .btn.light {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
  
  .btn.light:hover {
    padding: 8px 25px 8px 35px;
  }
  
  .logo {
    width: 130px;
  }
}

/* Ajustes específicos para pantallas muy grandes */
@media (min-width: 1600px) {

  .footer-wave {
    height: 60px;
  }
  
  .banner-content h1 {
    font-size: 5rem;
  }
  
  .sections {
    padding: 0rem 0% 6rem;
  }
}

/* ============================
   ANIMACIONES Y EFECTOS ADICIONALES
   ============================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-content h1 {
  animation: fadeInUp 1s ease-out;
}

.banner-content .subtitle {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.banner-button-wrapper {
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Optimización de rendimiento para animaciones */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}


/* =========================
   QUIÉNES SOMOS PRO
   ========================= */

.about-pro {
  padding: 80px 20px;
  background: linear-gradient(
    to bottom,
    #f4f4f4,
    #ffffff
  );
}

.about-pro-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* TEXTO */
.about-pro-text .about-tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--verde);
  background: rgba(163, 197, 125, 0.15);
  border-radius: 50px;
}

.about-pro-text h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--azul);
  margin-bottom: 25px;
}

.about-pro-text h2 span {
  color: var(--verde);
}

.about-pro-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  max-width: 520px;
}

/* MÉTRICAS */
.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.metric span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--azul);
}

.metric small {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
  color: #666;
}

/* VISUAL */
.about-pro-visual {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.visual-block {
  padding: 45px 40px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.visual-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(163,197,125,0.15),
    transparent 60%
  );
}

.visual-block h3 {
  font-size: 1.4rem;
  color: var(--azul);
  margin-bottom: 15px;
  position: relative;
}

.visual-block p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  position: relative;
}

/* Responsive */
@media (max-width: 900px) {
    .about-pro-visual {
    gap: 100px;
  }
  
  .about-pro-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .about-metrics {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
}

@media (max-width: 500px) {

  .about-pro-visual {
    gap: 100px;
  }

  .about-metrics {
    grid-template-columns: 1fr;
    text-align: center;
    margin-bottom: 50px;
  }
}


/* Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* Tarjetas */
.about-card {
  background: #fff;
  padding: 45px 35px;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #A3C57D;
  animation: fadeUp 1.2s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.about-card h3 {
  font-size: 1.4rem;
  color: var(--azul);
  margin-bottom: 15px;
}

.about-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

/* Iconos Misión / Visión */
.about-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--verde-claro),
    var(--verde)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

/* Micro interacción elegante */
.about-card:hover .about-icon {
  transform: rotate(-6deg) scale(1.1);
}

/* Animación sutil */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-header h1 {
    font-size: 2.2rem;
  }

  .about-header h2 {
    font-size: 1.05rem;
  }
}

/* =========================
   CARD CON IMAGEN FLOTANTE
   ========================= */

.visual-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  padding: 45px 45px 45px 160px; /* 👈 espacio para la imagen */
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.08);
  overflow: visible;
}

/* Fondo suave */
.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: var(--azul);
  z-index: 0;
}

/* MEDIA FLOTANTE */
.visual-media {
  position: absolute;
  top: 50%;
  left: -70px;
  transform: translateY(-50%);
  width: 190px;
  height: 170px;
  border-radius: 22px;
  overflow: hidden;
  /* box-shadow: 0 35px 60px rgba(0,0,0,0.25); */
  z-index: 2;
  background: #ddd;
}

/* Imagen */
.visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENIDO */
.visual-content {
  position: relative;
  z-index: 1;
}

.visual-content h3 {
  font-size: 1.5rem;
  color: var(--blanco);
  margin-bottom: 14px;
}

.visual-content p {
  font-size: 1rem;
  color: var(--blanco);
  line-height: 1.7;
}

/* Hover elegante */
.visual-card:hover .visual-media {
  transform: translateY(-90px);
  transition: transform 0.35s ease;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .visual-card {
    grid-template-columns: 1fr;
    padding: 120px 35px 40px;
    text-align: center;
  }

  .visual-media {
    left: 50%;
    top: -70px;
    transform: translateX(-50%);
  }

  .visual-card:hover .visual-media {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* =========================
   LO QUE NOS HACE ÚNICOS
   ========================= */

.unique-section {
  padding: 90px 20px;
  background: linear-gradient(
    to bottom,
    #e9e9e9,
    #f4f4f4
  );
}

.unique-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.unique-text {
  order: 2;
}

/* TEXTO */
.unique-text h2 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.2;
  color: var(--azul);
  margin-bottom: 25px;
}

.unique-text h2 strong {
  color: var(--verde);
}

.unique-text .about-tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--verde);
  background: rgba(163, 197, 125, 0.15);
  border-radius: 50px;
}

.unique-highlight {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 520px;
}

/* GRID */
.unique-grid {
   order: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* CARD */
.unique-card {
  position: relative; 
  overflow: hidden;
  display: flex;
  align-items: anchor-center;
  gap: 25px;

  background: #fff;
  padding: 5px 20px;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  border-left: 5px solid var(--verde);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.unique-card:hover {
  transform: translateX(8px);
  box-shadow: 0 28px 65px rgba(0,0,0,0.12);
}

.unique-card h3 {
  font-size: 1.2rem;
  color: var(--azul);
  margin-bottom: 10px;
}

.unique-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* ICONO */
.unique-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--verde-claro),
    var(--verde)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.unique-card-text h3 {
  font-size: 1.15rem;
  color: var(--azul);
  margin-bottom: 6px;
}

.unique-card-text p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.unique-card::after {
  z-index: 0;
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  /* background: linear-gradient(
    120deg,
    rgba(163,197,125,0.12),
    transparent 60%
  ); */
  opacity: 0;
  transition: opacity 0.35s ease;
}

.unique-card:hover::after {
  opacity: 1;
}

.unique-card > * {
  position: relative;
  z-index: 1;
}

/* MEDIA DE CARD */
.unique-media {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s ease;
}

/* Imagen */
.unique-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover elegante */
.unique-card:hover .unique-media {
  transform: scale(1.08);
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .unique-container {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .unique-text {
    order: 1;   /* 🔼 texto arriba */
    margin-bottom: 50px;
    text-align: center;
  }

  .unique-grid {
    order: 2;   /* 🔽 cards abajo */
  }

  .unique-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* =========================
   CONTACTO
   ========================= */

.contact-section {
  padding: 100px 20px;
  background: linear-gradient(
    to bottom,
    #ffffff,
    #f4f4f4
  );
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.contact-text .about-tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--verde);
  background: rgba(163, 197, 125, 0.15);
  border-radius: 50px;
}

/* TEXTO */
.contact-text h2 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--azul);
  margin-bottom: 35px;
}

.contact-text h2 strong {
  color: var(--verde);
}

/* BOTÓN */
.contact-btn.light {
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--verde-claro);
  color: var(--blanco);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
  /* box-shadow: 0 0 31px rgba(0, 0, 0, 0.65),
              0 0 4px rgba(0, 0, 0, 0.06); */
  overflow: hidden;
  border: none;
  cursor: pointer;
  z-index: 1;
}

.contact-btn.light::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(42, 103, 53, 0.30);
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.45s ease;
  border-radius: 50px;
  z-index: -1;
}

.contact-btn.light:hover::before {
  transform: scale(1);
}

.contact-btn.light:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.35);
}


.contact-btn.light::after {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  border: 12px solid #fff;
  border-radius: 36px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-btn.light:hover::after {
  opacity: 0.1;
}

/* INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* CARD */
.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;

  background: #fff;
  padding: 5px 30px;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  border-left: 5px solid var(--verde);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-card:hover {
  transform: translateX(8px);
  box-shadow: 0 28px 65px rgba(0,0,0,0.12);
}

/* ICONO */
.contact-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  overflow: hidden;
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXTO */
.contact-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0px;
  }

  .contact-text {
    margin-bottom: 60px;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
  }
}


/* =========================
   FOOTER
   ========================= */

.main-footer {
  background: var(--azul);
  color: var(--blanco);
  padding-top: 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}

/* BRAND */

.footer-brand img {
  width: 220px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--blanco);
  max-width: 380px;
}

/* LINKS */
.footer-links h4,
.footer-contact h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--blanco);
}

.footer-links a {
  display: block;
  color: var(--blanco);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--verde-claro);
}

/* CONTACTO */
.footer-contact p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #9fa8a3;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: auto;
  }
}

.unique-text-mant {
  order: 2;
}

/* =========================
   MANTENIMIENTO
   ========================= */

.unique-text-mant h2 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.2;
  color: var(--azul);
  margin-bottom: 25px;
}

.unique-text-mant h2 strong {
  color: var(--verde);
}

.unique-text-mant .about-tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--verde);
  background: rgba(163, 197, 125, 0.15);
  border-radius: 50px;
}

.unique-text-mant .about-tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--verde);
  background: rgba(163, 197, 125, 0.15);
  border-radius: 50px;
}

@media (max-width: 900px) {

  .unique-text-mant {
    order: 1;   
    margin-bottom: 0px;
    text-align: center;
  }
}


/* =========================
   SERVICIOS
   ========================= */

.service-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.service-list li {
  position: relative;
  padding: 14px 20px 14px 52px;
  background: rgba(255,255,255,0.95);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.1);
  font-size: 1.05rem;
  color: #444;
  line-height: 1.4;
}

.service-list li::before {
  content: "\f00c"; /* icono check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);

  width: 34px;
  height: 34px;
  background: var(--verde-claro);
  color: #fff;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
}


.service-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

.service-list i {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(163,197,125,0.25);
  color: var(--verde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.image-frame {
  position: relative;
  padding: 14px;
  border-radius: 26px;
  background: rgba(163,197,125, 0.25);
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.image-frame img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

/* detalle sutil */
.image-frame::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 30px;
  border: 1px solid rgba(42, 103, 53,0.35);
  pointer-events: none;
}

.section-intro {
  max-width: 680px;
  margin: 20px auto 60px;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

.industries-text {
  max-width: 800px;
}

.industries-main {
  font-size: 1.1rem;
  color: #333;
  margin: 30px 0 20px;
  line-height: 1.75;
}

.industries-secondary {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.75;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .service-list {
    padding: 10px;
  }
}


/* =========================
   CONTACTO FORMULARIO
   ========================= */

.contact-form-section {
  padding: 90px 20px;
  background: linear-gradient(to bottom, #f4f4f4, #ffffff);
}

.contact-form-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: flex-start;
}

.contact-form-text .about-tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--verde);
  background: rgba(163, 197, 125, 0.15);
  border-radius: 50px;
}

.contact-form-text h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--azul);
  margin-bottom: 20px;
}

.contact-form-text p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  max-width: 420px;
}

/* FORM */
.contact-form {
  background: #fff;
  padding: 45px;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--azul);
}

.form-actions {
  grid-column: 1 / -1;   /* ocupa todo el ancho del formulario */
  display: flex;
  justify-content: center;
  margin-top: 30px;
}


.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(163,197,125,0.25);
}

.form-success {
  grid-column: 1 / -1;
  margin-top: 20px;
  font-size: 0.95rem;
  color: #2a6735;
  display: none; /* listo para JS */
}

/* RESPONSIVE */
@media (max-width: 900px) {
  
  .contact-form-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* Modal envio */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);

  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.modal-content h2 {
  margin-bottom: 10px;
  color: var(--azul);
}

.modal-content p {
  margin-bottom: 20px;
  color: #555;
}

@keyframes fadeIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

