
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================= */
/*       HERO FINAL          */
/* ========================= */

.hero{
    width: 100%;
    height: 100vh;
    background: url("/assets/img/hero/hero1.png") center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: #fff;
}

.hero::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.55);
    top: 0;
    left: 0;
}

.hero-content{
    position: relative;
    z-index: 10;
    max-width: 850px;
    padding: 20px;
}

/* Logo grande */
.hero-logo{
    width: 200px;
    margin-bottom: 20px;
}

/* Subtítulo superior */
.hero-subtitle-top{
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

/* Título principal */
.hero-title{
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 18px;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;  /* <--- EVITA que se parta */
}


.hero-title span{
    color: #ffd700;
}

/* Texto descriptivo */
.hero-text{
    font-size: 1.4rem;
    color: #e6e6e6;
    margin-bottom: 35px;
    line-height: 1.9;
    font-family: 'Montserrat', sans-serif;
}

/* Botones */
.hero-buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Botón amarillo */
.btn-yellow{
    background: #ffd700;
    color: #000;
    padding: 15px 34px;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
    font-family: 'Montserrat', sans-serif;
}

.btn-yellow:hover{
    background: #f1c400;
}

/* Botón transparente */
.btn-outline{
    border: 2px solid #ffd700;
    padding: 15px 34px;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: .3s;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
}

.btn-outline:hover{
    background: rgba(255, 215, 0, 0.15);
}
/* Flecha que rebota */
.hero-arrow{
    margin-top: 35px;
    display: flex;
    justify-content: center;
}

.hero-arrow span{
    font-size: 3rem;
    color: #ffd700;
    animation: bounce 1.4s infinite;
    cursor: pointer;
    
}

/* Animación rebote */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
    60% {
        transform: translateY(-6px);
    }
}

/* =========================== */
/*      QUIÉNES SOMOS          */
/* =========================== */

.quienes-somos {
    padding: 80px 5%;
    display: flex;
    flex-direction: column; /* Para que el título quede arriba */
    align-items: center;
    background-color: #030a0f;
}

/* Contenedor principal: imagen y texto */
.qs-contenedor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1300px;
    width: 100%;
}

/* Imagen a la izquierda */
.qs-imagen img {
    width: 100%;
    max-width: 550px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0px 3px 17px rgba(247, 210, 4, 0.4);
}

/* Texto a la derecha */
.qs-texto {
    flex: 1;
    color: rgb(233, 233, 233);
    font-family: 'Montserrat', sans-serif;
}

.qs-texto p {
    font-size: 18px;
    color: #dcdcdc;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

/* Título centrado arriba */
.qs-titulo {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Título principal */
.title {
    font-size: 2.5rem; /* reducido de 4.5rem */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}


.white { color: #ffffff; }

/* Línea decorativa debajo del título */
.line {
    width: 120px;
    height: 4px;
    background: #ffd700;
    border-radius: 5px;
    margin: 10px 0 25px 0;
}


/* ===========================
   SECCIÓN TARJETAS MISION Y VISION
   =========================== */
/* Contenedor de las tarjetas */
.tarjetas-mv {
    display: flex;
    justify-content: center;
    gap: 60px; /* aumento de separación entre tarjetas */
    padding: 80px 1%;
    flex-wrap: wrap; /* se acomoda en móviles */
    background-color: #030a0f;;
}

/* Tarjeta individual */
.tarjeta {
    background-color: #030a0f;
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* centra título, texto y línea */
    position: relative;
    box-shadow: 0px 3px 13px rgba(247, 210, 4, 0.3);
    border: 2px solid rgba(240, 176, 0, 0.3);
    transition: border 0.3s, box-shadow 0.3s;
}

.tarjeta:hover {
    border: 1px solid #ffd700;
    box-shadow: 0px 3px 15px rgba(247, 210, 0, 0.6);
}

/* Header de la tarjeta: logo a la izquierda */
.tarjeta-header {
    width: 100%;
    display: flex;
    justify-content: flex-start; /* logo a la izquierda */
    margin-bottom: 10px; /* menos separación con el título */
}

/* Logo más pequeño y redondo */
.logo-tarjeta {
    width: 50px; /* tamaño reducido */
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

/* Título centrado debajo del logo */
.tarjeta h3 {
    font-size: 1.2rem; /* tamaño un poco menor */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 0 0 20px 0; /* margen inferior */
    text-align: center;
    width: 100%;
    padding-top: 5px; /* espacio arriba del título, cerca del logo */
}

/* Texto de la tarjeta */
.tarjeta p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/* Línea con texto centrado */
.linea-texto {
    width: 100%;
    border-top: 2px solid #ffd700;
    text-align: center;
    position: relative;
    padding-top: 15px;
}

.linea-texto span {
    position: relative;
    top: -12px;
    background-color: #030a0f;
    padding: 0 10px;
    font-weight: 600;
    color: #ffd700;
    font-family: 'Montserrat', sans-serif;
}



/* ===========================
   SECCIÓN VALORES
   =========================== */

/* Contenedor de la sección */
.valores {
    background-color: #030a0f;
    padding: 60px 5%;
}

/* Título igual que antes */
.qs-titulo {
    text-align: center;
    margin-bottom: 40px; /* espacio reducido con las tarjetas */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.yellow { color: #ffd700; }
.white { color: #ffffff; }

.line {
    width: 120px;
    height: 4px;
    background: #ffd700;
    border-radius: 5px;
    margin: 10px 0 25px 0;
}

/* Contenedor de tarjetas: horizontal y centrado */
.valores-contenedor {
    display: flex;
    justify-content: center;
    gap: 30px; /* separación uniforme entre tarjetas */
    flex-wrap: wrap; /* para móviles */
}

/* Tarjetas rectangulares horizontales */
.valor-tarjeta {
    background-color: #030a0f;
    color: #fff;
    width: 280px;   /* ancho mayor que alto */
    min-height: 150px; /* altura proporcional */
    padding: 20px;
    border-radius: 12px; /* esquinas ligeramente redondeadas */
    text-align: center;
    box-shadow: 0px 5px 15px rgba(240, 176, 0, 0.2); 
   border: 1px solid #ffd700;
    transition: border 0.3s, box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Hover efecto */
.valor-tarjeta:hover {
    box-shadow: 0px 5px 20px rgba(240, 176, 0, 0.3); /* solo aumenta ligeramente */
    transform: translateY(-2px);
}

/* Logo centrado y redondo */
.valor-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Título de tarjeta */
.valor-tarjeta h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Texto de tarjeta */
.valor-tarjeta p {
    font-size: 14px;
    line-height: 1.5;
    color: #dcdcdc;
}

/* ===========================
   PROYECTOS SECTION
   =========================== */
 :root{
    background-color: #030a0f;
      --bg:#0b0b0b;
      --card:#0f1113;
      --muted:#bfc7cd;
      --muted-2:#9aa4ab;
      --accent:#ffd700; /* amarillo/dorado anaranjado */
      --accent-dark:#d89217;
      --glass: rgba(0, 0, 0, 0.05);
      --chip-bg: rgba(0, 0, 0, 0.205);
      --progress-bg: #121316;
      --radius: 14px;
      --glass-2: rgba(0,0,0,0.45);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    }

    html,body{
      height:10%;
      margin:0;
      background-color: var(--bg);
      color: #e6eef6;
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
    }

    .container{
      max-width:1280px;
      margin:18px auto;
      padding:24px;
      background-color: #030a0f;
      
    }

    /* Header */
    .sec-header{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      margin-bottom:22px;
      flex-wrap:wrap;
    }

    .titles {
  min-width: 460px;
}

/* El texto grande (los spans) */
.titles .white,
.titles .yellow {
  display: inline-block;
  font-size: 2.5rem;      /* ⭐️ AUMENTA TAMAÑO */
  font-weight: 700;       /* genera texto más sólido */
  line-height: 1.1;       /* mantiene los textos pegados */
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;    /* evita que se divida en dos líneas */
}

/* si quieres que el amarillo resalte */
.titles .yellow {
  color: var(--accent); /* o #ffb03b */
}

/* subtítulo */
.titles p {
  margin: 8px 0 0 0;
  color: var(--muted);
  font-size: 1rem;
}


    /* Toggle control */
    .segmented{
      display:inline-flex;
      background:var(--glass);
      padding:6px;
      border-radius:999px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
    }
    .segmented button{
      appearance:none;
      border:0;
      background:transparent;
      color:var(--muted);
      padding:10px 16px;
      border-radius:999px;
      font-weight:600;
      cursor:pointer;
      font-size:14px;
      transition: all .18s ease;
    }
    .segmented button[aria-pressed="true"]{
      background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
      color:#0a0a0a;
      box-shadow: 0 6px 22px rgba(216,146,23,0.12);
    }
    .segmented button:focus{
      outline: 3px solid rgba(255,176,59,0.12);
      outline-offset:3px;
    }

    /* Grid of cards */
    .cards-row{
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap:20px;
      align-items:start;
    }

    @media (max-width:980px){
      .cards-row{ grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width:640px){
      .cards-row{
        grid-auto-flow: column;
        grid-auto-columns: calc(100% - 64px);
        overflow-x:auto;
        padding-bottom:8px;
      }
    }

    .project-card{
      background: linear-gradient(180deg, rgba(226, 18, 18, 0.02), transparent);
      border-radius:var(--radius);
      overflow:hidden;
      position:relative;
      min-height:420px;
      display:flex;
      flex-direction:column;
      transition: transform .26s cubic-bezier(.2,.9,.2,1), box-shadow .26s;
      box-shadow: 0 6px 18px rgba(2,6,10,0.6);
      border:1px solid rgba(255,255,255,0.02);
    }

    .project-card:hover{
      transform: translateY(-8px);
      box-shadow: 0 24px 48px rgba(3,6,10,0.7);
    }

    .media{
      position:relative;
      height:220px;
      background-size:cover;
      background-position:center;
      border-top-left-radius:var(--radius);
      border-top-right-radius:var(--radius);
      overflow:hidden;
    }

    .media::after{
      content:"";
      position:absolute;
      inset:0;
      background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 60%);
    }

    .chip{
      position:absolute;
      left:12px;
      top:12px;
      background:var(--chip-bg);
      color: #fff;
      padding:6px 10px;
      font-size:12px;
      border-radius:999px;
      backdrop-filter: blur(4px);
      z-index:6;
      box-shadow: 0 6px 18px rgba(0,0,0,0.45);
      border: 1px solid rgba(255,255,255,0.03);
    }

    .percent-hero{
      position:absolute;
      right:12px;
      top:12px;
      z-index:6;
      font-weight:800;
      font-size:34px;
      color:rgba(255,255,255,0.14);
      -webkit-text-stroke: 1px rgba(0,0,0,0.55);
      text-shadow: 0 6px 18px rgba(0,0,0,0.7);
      pointer-events:none;
    }

    .media .badge-lite{
      position:absolute;
      right:12px;
      bottom:12px;
      background: var(--glass-2);
      padding:6px 10px;
      border-radius:8px;
      color:var(--muted);
      font-size:12px;
      z-index:6;
      border:1px solid rgba(255,255,255,0.03);
    }

    /* content bottom */
    .content{
      padding:16px;
      display:flex;
      flex-direction:column;
      gap:12px;
      flex:1 1 auto;
    }

    .content h3{
      margin:0;
      font-size:18px;
      color:#fff;
      font-weight:700;
    }
    .content p.desc{
      margin:0;
      font-size:13px;
      color:var(--muted-2);
      line-height:1.35;
    }

    .meta{
      display:flex;
      gap:12px;
      align-items:center;
      font-size:13px;
      color:var(--muted-2);
    }
    .meta .meta-item{
      display:flex;
      gap:8px;
      align-items:center;
    }
    .meta svg{ width:16px;height:16px; flex-shrink:0; display:block; opacity:0.95; }

    /* progress area */
    .progress-block{
      margin-top:auto;
      display:flex;
      flex-direction:column;
      gap:8px;
    }
    .progress-label{
      display:flex;
      justify-content:space-between;
      font-size:13px;
      color:var(--muted-2);
    }

    .progress-bar{
      height:12px;
      background:var(--progress-bg);
      border-radius:999px;
      overflow:hidden;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    }

    .progress-fill{
      height:100%;
      width:0%;
      background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
      border-radius:999px;
      transition: width 1.2s cubic-bezier(.2,.9,.2,1);
      box-shadow: 0 6px 18px rgba(216,146,23,0.08);
    }

    .action-row{
      margin-top:10px;
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:8px;
    }

    .view-link{
      text-decoration:none;
      font-weight:700;
      color:var(--accent);
      display:inline-flex;
      gap:8px;
      align-items:center;
      font-size:14px;
      transition: transform .14s, opacity .14s;
    }
    .view-link svg{ width:14px;height:14px; transform:translateX(0); transition: transform .16s; }
    .view-link:hover svg{ transform:translateX(6px); }
    .muted-small{ color:var(--muted-2); font-size:13px; }

    
    .is-hidden{
      display:none !important;
    }

 
    .project-card a:focus, .project-card button:focus{
      outline: 3px solid rgba(255,176,59,0.12);
      outline-offset:3px;
      border-radius:8px;
    }

    .cards-row::-webkit-scrollbar{ height:10px; }
    .cards-row::-webkit-scrollbar-thumb{
      background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
      border-radius:999px;
    }
/* ===========================
   modal antes y dpeus
   =========================== */
/* ----- Modal (overlay y caja) ----- */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

/* clase que activa el modal */
.modal-overlay.active{
  opacity: 1;
  pointer-events: auto;
}

/* caja interior */
.modal-box{
  width: 100%;
  max-width: 900px;
  background: #07060cf3;
  border-radius: 14px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  transform: translateY(0);
}

/* cerrar */
.modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #000;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
}

/* comparador simple */
.compare-wrapper{
  display:flex;
  gap:16px;
  margin-top:18px;
  flex-wrap:wrap;
}
.compare-box{
  flex:1;
  min-width:260px;
  background:#111;
  border-radius:10px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.04);
}
.compare-box img{ display:block; width:100%; height:auto; }
.compare-label{ position:absolute; top:10px; left:10px; padding:6px 10px; font-weight:700; color:#fff; border-radius:6px; font-size:12px; }
.compare-box { position:relative; }
.compare-label.before{ background:#d0342c; }
.compare-label.after{ background:#1ba33a; }

/* accesibilidad: que el modal no desplace la página cuando esté abierto */
body.modal-open {
  overflow: hidden;
}
/* asegurar que el botón de cerrar esté arriba y clickeable */
.modal-box { position: relative; z-index: 10001; }
.modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #000;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
  z-index: 10010;        /* <- importante: encima de todo */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* ===========================
   ¿CÓMO TRABAJAMOS?
   =========================== */

.como-trabajamos {
  background-color: #030a0f;
  padding: 100px 20px;
}

.ct-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background-color: #030a0f;
}

.como-trabajamos h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.ct-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
  color: var(--muted, #bfc7cd);
  line-height: 1.7;
}

.ct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.ct-card {
  background-color: #050f16;
  padding: 35px 30px;
  border-radius: 16px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ct-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 5px 9px rgba(243, 219, 7, 0.6);
}

.ct-num {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent, #ffd700);
  margin-bottom: 15px;
}

.ct-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.ct-card p {
  font-size: 0.95rem;
  color: var(--muted-2, #9aa4ab);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
  .como-trabajamos {
    padding: 80px 15px;
  }

  .como-trabajamos h2 {
    font-size: 2.1rem;
  }
}
/* =========================== */



/* MÉTRICAS */
.metrics-row{
  margin-top:60px;
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap:20px;
}

.metric-card{
  background:#030a0f;
  padding:26px;
  border-radius:14px;
  text-align:center;
  border: 1px solid #ffd700;
}

.metric-card h3{
  font-size:34px;
  color:var(--accent);
  margin-bottom:6px;
}

.metric-card p{
  color:#fff;
  font-size:15px;
}

/* =========================== */
/* SECCIÓN CONTACTO MODIFICADA */
/* =========================== */
.contact-section {
  background: #030a0f;
  padding: 80px 5%;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header .title {
  color: #ffffff;
  font-size: 42px;
  font-weight: bold;
}

.contact-header .subtitle {
  font-size: 18px;
  color: #ddd;
}

.contact-container {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

/* --------------------------- */
/* INFO CONTACTO CON IMÁGENES  */
/* --------------------------- */
.contact-info {
  flex: 1 1 350px;
}

.contact-info h3 {
  font-size: 26px;
  margin-bottom: 15px;
}

.contact-info .intro {
  color: #ccc;
  margin: 15px 0 25px 0;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 12px; /* espacio entre imagen y texto */
  color: #ccc;
}

.info-list li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Redes sociales */
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.s-btn {
  width: 40px;
  height: 40px;
  background: #030a0f;
  border: 1px solid #ffd700;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.s-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.s-btn:hover {
  background: #ffd700;
  transform: scale(1.1);
}

/* --------------------------- */
/* FORMULARIO                  */
/* --------------------------- */
.contact-form {
  flex: 1 1 400px;
  min-width: 320px;
  background: #030a0f;
  padding: 25px;
  border: 1px solid #ffd700;
  border-radius: 10px;
}

.contact-form label {
  font-size: 15px;
  margin-top: 15px;
  display: block;
  color: #ffd700;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 5px;
  padding: 12px;
  background: #030a0f;
  border: 1px solid #444;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
}

.contact-form textarea {
  height: 130px;
  resize: none;
}

/* Contador de caracteres */
.contador {
  text-align: right;
  color: #888;
  font-size: 13px;
  margin-bottom: 10px;
}

/* BOTÓN DE ENVÍO */
.btn-submit {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border: none;
  background: #ffd700;
  font-weight: bold;
  color: #000;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  opacity: 0.8;
}


/* --------------------------- */
/* footer               */
/* --------------------------- */
.footer-section {
    border-top: 2px solid #ffd700; /* línea amarilla delgada */
  padding: 60px 5% 20px;
  background-color: #06121b;     /* fondo negro oscuro */
  font-family: sans-serif;
  color: #ccc; 
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  background:  #06121b;
}

.footer-column {
  flex: 1 1 220px;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 18px;
}
.footer-logo img {
  width: 150px;  /* ajusta el ancho como quieras */
  height: auto;  /* mantiene la proporción original */
  display: block;
}

.footer-desc {
  color: #aaa;
  font-size: 14px;
  margin-top: 10px;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #ccc;
}

.footer-links li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links li a:hover {
  color: #ffd700;
}

.footer-separator {
  border: none;
  border-top: 1px solid #222;
  margin: 30px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #888;
}
/* =========================
   RESPONSIVE – TABLET
   ========================= */
@media (max-width: 900px){

  /* QUIÉNES SOMOS */
  .qs-contenedor{
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .qs-imagen img{
    max-width: 100%;
  }

  /* TARJETAS */
  .tarjetas-mv,
  .valores-contenedor{
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .tarjeta,
  .valor-tarjeta{
    width: 90%;
    max-width: 600px;
  }

  /* CONTACTO */
  .contact-container{
    flex-direction: column;
  }
}


/* =========================
   RESPONSIVE – CELULAR REAL
   ========================= */
@media screen and (max-width: 768px){

  /* ===== HERO ===== */
  .hero{
    min-height: 100vh;
    height: auto;
    padding: 70px 20px;
  }

  .hero-content{
    max-width: 100%;
    padding: 0;
  }

  .hero-logo{
    width: 160px;
    max-width: 80%;
    margin: 0 auto 20px;
    display: block;
  }

  .hero-subtitle-top{
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .hero-title{
    font-size: 1.9rem;
    line-height: 1.3;
    white-space: normal; /* MUY IMPORTANTE */
  }

  .hero-text{
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .hero-buttons{
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .btn-yellow,
  .btn-outline{
    width: 100%;
    font-size: 1rem;
    padding: 14px;
  }

  /* ===== SECCIÓN QUIÉNES SOMOS ===== */
  .qs-contenedor{
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .qs-imagen img{
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* ===== TÍTULOS GENERALES ===== */
  .title{
    font-size: 1.9rem;
    line-height: 1.3;
    text-align: center;
  }

  .titles .white,
  .titles .yellow{
    font-size: 1.8rem;
    white-space: normal;
    text-align: center;
  }

  /* ===== TARJETAS / VALORES ===== */
  .tarjetas-mv,
  .valores-contenedor{
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .tarjeta,
  .valor-tarjeta{
    width: 100%;
    max-width: 95%;
  }

  /* ===== MÉTRICAS ===== */
  .metrics-row{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ===== FOOTER ===== */
  .footer-container{
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-logo img{
    margin: 0 auto;
  }
}
