/* ======================================
   DYSCO EP – MAIN GLOBAL CSS
   Identidad basada en verde corporativo
====================================== */

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Inter', sans-serif;
}

body {
  background: #0B1110;
  color: #FFFFFF;
  line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ======================================
   HEADER
====================================== */

.main-header {
  background: rgba(6, 15, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  position: fixed;
  width: 100%;
  padding: 18px 0;

  border-bottom: 1px solid rgba(18,161,80,0.18);

  box-shadow: 0 10px 35px rgba(0,0,0,0.45);
  z-index: 1000;

  transition: all 0.3s ease;
}




.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 42px;
}

.main-nav a {
  position: relative;
  color: #9FB7AD;
  text-decoration: none;
  margin: 0 18px;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #12A150;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a:hover::after {
  width: 100%;
}

.btn-header {
  background: linear-gradient(135deg, #12A150, #0E8A44);
  padding: 10px 24px;
  border-radius: 10px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  box-shadow: 0 12px 30px rgba(18,161,80,0.35);
  transition: all 0.3s ease;
}

.btn-header:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(18,161,80,0.55);
}







.logo-wrapper {
  position: relative;
}

.logo-wrapper img {
  height: 75px;
  position: absolute;
  top: -18px;
  left: 0;
  padding: 0;
  background: transparent;  /* 👈 quitamos fondo verde */
  border-radius: 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}













/* ======================================
   HERO
====================================== */


.hero {
  min-height: 100vh;
  height: auto;
  position: relative;
  overflow: hidden; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.hero-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}


.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(11,17,16,0.35),
    rgba(11,17,16,0.45)
  );
  z-index: 2;
}


.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1150px;
  width: 92%;
}


.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  color: #9FB7AD;
  font-size: 18px;
  margin-bottom: 30px;
}

.btn-primary {
  background: #12A150;
  padding: 13px 28px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  margin-right: 12px;
  transition: 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background: #0E8A44;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid #12A150;
  padding: 13px 28px;
  border-radius: 8px;
  color: #12A150;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.btn-secondary:hover {
  background: #12A150;
  color: #FFFFFF;
}

/* ======================================
   SERVICES
====================================== */

.services {
  padding: 120px 0;
  background: #0F1A18;
}

.services .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

.service-card {
  background: #111C1A;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #1B2A27;
  transition: 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #12A150;
  box-shadow: 0 10px 25px rgba(18, 161, 80, 0.15);
}

.service-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #12A150;
}

.service-card p {
  color: #9FB7AD;
  margin-bottom: 15px;
}

.service-card a {
  color: #12A150;
  text-decoration: none;
  font-weight: 500;
}

.service-card a:hover {
  text-decoration: underline;
}

/* ======================================
   FOOTER
====================================== */

.main-footer {
  background: #060B0A;
  padding: 70px 0;
  border-top: 1px solid #1B2A27;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-grid h4 {
  margin-bottom: 18px;
  font-size: 16px;
  color: #12A150;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 10px;
  color: #9FB7AD;
}

.footer-grid p {
  color: #9FB7AD;
}

copyright {
  margin-top: 20px;
  color: #4D6A60;
}

/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 900px) {

  .main-nav {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }


}









/* ======================================
   FOOTER LINKS & SOCIAL
====================================== */

.footer-grid a {
  color: #9FB7AD;
  text-decoration: none;
  transition: 0.3s;
}

.footer-grid a:hover {
  color: #12A150;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-links a {
  font-weight: 500;
}

.social-links a:hover {
  transform: translateX(4px);
}











/* ======================================
   MAPA EMBEBIDO
====================================== */

.map-container {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1B2A27;
}

.map-container iframe {
  width: 100%;
  height: 180px;
  border: 0;
  filter: grayscale(20%) contrast(1.05);
}




/* ======================================
   COOKIE CONSENT
====================================== */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 90%;
  max-width: 900px;
  background: rgba(15, 26, 24, 0.98);
  border: 1px solid #1B2A27;
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  transition: transform 0.6s ease;
  z-index: 9999;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-content p {
  font-size: 14px;
  color: #9FB7AD;
  line-height: 1.5;
}

.cookie-content a {
  color: #12A150;
  text-decoration: none;
}

.cookie-content a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn-cookie-accept {
  background: #12A150;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-cookie-accept:hover {
  background: #0E8A44;
}

.btn-cookie-reject {
  background: transparent;
  border: 1px solid #12A150;
  color: #12A150;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-cookie-reject:hover {
  background: #12A150;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}













/* ======================================
   ORBCOMM PLACA PREMIUM (FIX PRO)
====================================== */

.orbcomm-section {
  background: linear-gradient(180deg, #061312, #02100F);
  padding: 120px 0 100px 0;
  position: relative;
  z-index: 2;
}

.orbcomm-flex {
  display: flex;
  align-items: center;   /* 👈 clave */
  justify-content: space-between;
  gap: 80px;
}

.orbcomm-text {
  flex: 1;
  max-width: 600px;
}

.orbcomm-text h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.orbcomm-text h2 span {
  color: #12A150;
}

.orbcomm-text p {
  color: #9FB7AD;
  margin-bottom: 30px;
  line-height: 1.7;
}

.orbcomm-badge {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.orbcomm-badge img {
  width: 420px;
  max-width: 100%;
  transform: translateY(-80px);  /* 👈 efecto flotante elegante */
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6));
}




/* ======================================
   ORBCOMM VIDEO BACKGROUND
====================================== */

.orbcomm-section {
  position: relative;
  overflow: hidden;
}

.orbcomm-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.orbcomm-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background: rgba(2,16,15,0.55);  /* antes 0.85 */
  z-index: 2;
}

.orbcomm-flex {
  position: relative;
  z-index: 3;
}




/* ======================================
   HERO INTERNO – FORMATO PÁGINAS
   (NO modifica hero principal)
====================================== */

.hero-interno {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Imagen FULL pantalla */
.hero-interno-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Caja glass */
.hero-interno-box {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 60px 55px;
  background: rgba(15, 26, 24, 0.55); /* translúcido elegante */
  backdrop-filter: blur(12px);
  border-radius: 18px;
  border: 1px solid rgba(18,161,80,0.25);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}

/* Título */
.hero-interno-box h1 {
  font-size: 46px;
  margin-bottom: 25px;
  color: #12A150;
}

/* Texto */
.hero-interno-box p {
  font-size: 18px;
  color: #CFE5DC;
  line-height: 1.7;
  margin-bottom: 35px;
}

/* Botón WhatsApp */
.btn-whatsapp-large {
  display: inline-block;
  background: #12A150;
  color: #ffffff;
  padding: 18px 42px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-whatsapp-large:hover {
  background: #0E8A44;
  transform: translateY(-3px);
}




/* ======================================
   SERVICES VIDEO BACKGROUND
====================================== */

.services-video {
  position: relative;
  overflow: hidden;
}

.services-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.services-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
   background: rgba(5,17,16,0.55);  /* antes 0.82 */
  z-index: 2;
}

.services-video .container {
  position: relative;
  z-index: 3;
}





/* ======================================
   HERO CONTENT GLASS LIGHT
====================================== */

.hero-content {
  background: rgba(5, 17, 16, 0.35); /* muy ligero */
  backdrop-filter: blur(6px); /* blur suave */
  -webkit-backdrop-filter: blur(6px);
  padding: 50px 60px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}











/* ======================================
   SERVICE TITLE LABEL STYLE
====================================== */

.service-card h3 {
  display: inline-block;
  background: linear-gradient(90deg, #12A150, #0E8A44);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(18, 161, 80, 0.25);
}




/* ======================================
   CONTACTO
====================================== */

.contact-section {
  padding: 160px 0 120px 0;
  background: #0F1A18;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: flex-start;
}

.contact-form-box {
  background: rgba(15, 26, 24, 0.65);
  backdrop-filter: blur(12px);
  padding: 50px;
  border-radius: 16px;
  border: 1px solid rgba(18,161,80,0.25);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.contact-form-box h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #12A150;
}

.contact-form-box p {
  margin-bottom: 30px;
  color: #CFE5DC;
}

.contact-form-box label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #9FB7AD;
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #1B2A27;
  background: #111C1A;
  color: #ffffff;
  font-size: 14px;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  outline: none;
  border-color: #12A150;
}

.btn-contact {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #12A150, #0E8A44);
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(18,161,80,0.4);
}

.contact-divider {
  height: 1px;
  background: rgba(18,161,80,0.2);
  margin: 40px 0;
}

.contact-success {
  background: rgba(18,161,80,0.15);
  border: 1px solid #12A150;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 14px;
}

.contact-map-box h2 {
  margin-bottom: 20px;
  font-size: 26px;
  color: #12A150;
}

.map-large {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #1B2A27;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  margin-bottom: 20px;
}

.map-large iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.contact-address {
  color: #9FB7AD;
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-large iframe {
    height: 300px;
  }
}



.contact-grid {
  position: relative;
  z-index: 2;
}














.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-map-card {
  background: rgba(15, 26, 24, 0.65);
  backdrop-filter: blur(12px);
  padding: 25px;
  border-radius: 18px;
  border: 1px solid rgba(18,161,80,0.25);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.map-large iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 12px;
  margin-bottom: 20px;
}

.contact-address {
  color: #CFE5DC;
  font-size: 15px;
  line-height: 1.6;
}




.contact-emails {
  margin-top: 20px;
  color: #CFE5DC;
  font-size: 15px;
  line-height: 1.6;
}

.contact-emails a {
  color: #12A150;
  text-decoration: none;
}

.contact-emails a:hover {
  text-decoration: underline;
}



/* ===== FIX CENTRAR TITULOS SERVICIOS ===== */

.service-card {
    text-align: center;
}

.service-card h3 {
    display: inline-block;
    margin: 20px auto 10px auto;
    text-align: center;
}


/* ================= HERO FLEX ================= */

.hero-content-flex{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.hero-text{
  flex:1;
}

.hero-trust{
  flex:0 0 260px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-trust img{
  max-width:260px;
  height:auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}

/* RESPONSIVE */
@media (max-width: 992px){
  .hero-content-flex{
    flex-direction:column;
    text-align:center;
  }

  .hero-trust{
    margin-top:20px;
  }
}





/* ===============================
   HERO FLEX LAYOUT PRO
=============================== */

.hero-content-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* Texto ocupa más espacio */
.hero-text {
  flex: 1.2;
  text-align: left;
}

/* Imagen ocupa menos espacio */
.hero-trust {
  flex: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-trust img {
  max-width: 1200px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
  transition: 0.4s ease;
}

.hero-trust img:hover {
  transform: scale(1.05);
}





@media (max-width: 900px) {

  .hero-content-flex {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-trust img {
    max-width: 180px;
    margin-top: 20px;
  }

}



/* ===============================
   MOBILE MENU
=============================== */

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #12A150;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {

  .main-nav {
    position: absolute;
    top: 80px;
    right: 20px;
    background: rgba(6, 15, 14, 0.95);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 14px;
    border: 1px solid rgba(18,161,80,0.25);
    display: none;
    flex-direction: column;
    gap: 18px;
    width: 250px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  }

  .main-nav a {
    margin: 0;
    font-size: 16px;
  }

  .main-nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .btn-header {
    display: none;
  }

}




/* ===============================
   FOOTER ENERGY EMBED FIX
=============================== */

.footer-prices {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.embed-prices {
  width: 100%;
}

.embed-prices iframe {
  width: 100%;
  height: 200px;   /* 🔥 ESTA ES LA CLAVE */
  border: none;
  display: block;
}










/* ===============================
   HERO INTERNO CON IMAGEN LATERAL
=============================== */

.hero-interno-flex{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;
}

.hero-interno-text{
  flex:1.2;
  text-align:left;
}

.hero-interno-image{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-interno-image img{
  width:100%;
  max-width:380px;
  border-radius:18px;
  box-shadow:0 20px 40px rgba(0,0,0,0.6);
  transition:0.4s ease;
}

.hero-interno-image img:hover{
  transform:scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 900px){

  .hero-interno-flex{
    flex-direction:column;
    text-align:center;
  }

  .hero-interno-text{
    text-align:center;
  }

  .hero-interno-image img{
    max-width:260px;
    margin-top:25px;
  }

}

