:root {
  --color-primario: #1E3A5F;     /* azul acero corporativo */
  --color-secundario: #B7410E;  /* amarillo maquinaria */
  --fondo: #F4F4F4;      /* gris claro técnico */
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  margin: 0;
  line-height: 1.6;
  background: #fff;
}

/* VALORES - versión enriquecida */
.valores {
  padding: 4.5rem 5%;
  background: #f9f9f9;
  color: #203242;
}
.valores-intro { text-align: center; max-width: 960px; margin: 0 auto 1.8rem; }
.valores-intro .lead { color: #4b5563; margin-top: .6rem; font-size: 1.05rem; }

/* Grid de tarjetas */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: 1100px;
  margin: 2rem auto;
  align-items: start;
}

/* Tarjeta */
.valor-card {
  background: var(--fondo);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 6px 18px rgba(18,24,31,0.06);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s;
  outline: none;
}
.valor-card:focus-within,
.valor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(18,24,31,0.12);
}

/* Icono circular */
.valor-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  color: var(--color-primario);
  border: 1px solid rgba(30,58,95,0.06);
}

/* Tipografía de tarjeta */
.valor-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-primario);
}
.valor-card p {
  margin: 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.5;
}
.valor-card .meta {
  margin-top: .6rem;
  font-size: .9rem;
  color: #334155;
}

/* CTA debajo */
.valores-cta {
  text-align: center;
  margin-top: 2.4rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.boton-sec {
  background: transparent;
  border: 2px solid var(--color-primario);
  color: var(--color-primario);
  padding: .7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.boton-sec:hover { background: rgba(30,58,95,0.04); }

/* Responsive */
@media (max-width: 980px) {
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .valores-grid { grid-template-columns: 1fr; }
  .valores-intro .lead { font-size: 0.98rem; }
  .valor-card .icon { width:48px; height:48px; }
}


/* NAV */
.navbar {
  position: sticky;
  top: 0;
  background: var(--color-primario);
  padding: 1rem 5%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 4px 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: transform .3s ease, box-shadow .3s ease;
}
.logo-container:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}
.logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.links {
  display: flex;
  gap: 1.5rem;
}
.links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.links a:hover {
  text-decoration: underline;
}
.cta {
  background: var(--color-secundario);
  padding: .5rem 1rem;
  border-radius: 6px;
}
.call-number {
  display: none;
  position: absolute;
  top: 80px;
  right: 20px;
  background: #1E3A5F;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}
.call-number.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}





/* Hamburguesa (solo móvil) */
.hamburger {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/*  Responsive */
@media (max-width: 768px) {
  .links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    background: var(--color-primario);
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}
/* HERO */
.hero {
  background: linear-gradient(rgba(31,41,55,0.7), rgba(31,41,55,0.7)), url('images/nosotros.jpg') center/cover;
  color: white;
  text-align: left;
  padding: 10rem 5%;
  display: flex;
  align-items: center;
}
.hero-content { max-width: 700px; }
.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }


/* INFO SECTIONS */
.info {
  padding: 5rem 5%;
}
.info.bg-light { background: #f9f9f9; }
.info-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.info-content img {
  width: 350px;
  border-radius: 10px;
}
.img-wrapperobj {
  width: 400px;
  border-radius: 8px;
  margin-left: 14rem;
}
.info .texto h2 {
  font-family: 'Merriweather', serif;
  color: var(--color-primario);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .info-content {
    flex-direction: column;   /* apila verticalmente */
    gap: 2rem;                /* espacio entre texto e imagen */
  }

  .info-content img,
  .img-wrapperobj {
    width: 100%;              /* ocupa todo el ancho del contenedor */
    max-width: 350px;         /* opcional para no exceder tamaño */
    margin-left: 0;           /* elimina margen lateral */
    order: 2;                 /* fuerza la imagen a ir después del texto */
  }

  .info .texto {
    order: 1;                 /* fuerza el texto a ir primero */
    text-align: center;       /* centra el texto en móvil */
  }
}




/* VALORES */
.valores {
  padding: 5rem 5%;
  background: #f9f9f9;
}
.valores h2 {
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  color: var(--color-primario);
  margin-bottom: 2rem;
  text-align: center;
}
.valores ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}
.valores li {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}
.valores strong {
  color: var(--color-secundario);
}



/* FOOTER */
.footer {
  background: var(--color-primario);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 5%;
  flex-wrap: wrap;
}
.footer-logo {
  width: 120px;
  margin-bottom: 1rem;
}
.footer h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.footer a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: .5rem;
}
.footer a:hover { text-decoration: underline; }


.footer {
  background-color: var(--color-primario);
  color: white;
  padding: 4rem 5%;
  display: flex;
  justify-content: center;
  gap: 10rem;                /* ⬅ más espaciado entre columnas */
  text-align: center;
  font-family: sans-serif;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;               /* ⬅ más espacio entre icono/texto y la parte de abajo */
}

.footer-column .top i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-column .bottom img {
  width: 120px;               /* ⬅️ fuerza un tamaño visible */
  background-color: white;
  padding: 1rem 2rem;
  border-radius: 20px;
  object-fit: contain;        /* asegura que no se deforme */
}

.footer-column .bottom.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column .bottom.links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.footer-column .bottom p {
  max-width: 250px;
}
