/* ======================================================
   VARIABLES GLOBALES
====================================================== */
:root {
  --petroleo: #004b5f;
  --cian: #00bcd4;
  --cian-vibrante: #40e0d0;
  --cian-light: #e0f7fa;
  --dark-footer: #0a2533;
  --text-gray: #4a4a4a;
  --white: #ffffff;
}

/* ======================================================
   RESET / BASE
====================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-gray);
  line-height: 1.6;
  padding-top: 160px;
}

/* ======================================================
   NAVBAR
====================================================== */
.header {
  background: var(--petroleo);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 25px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 96%;
  margin: 0 auto;
}

.logo {
  height: 100px;
}

.menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.btn-nav {
  background: var(--cian-vibrante);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
}

/* ======================================================
   SECCIÓN HISTORIA
====================================================== */
.Historia-section {
  background: #f5f5f5;
  padding: 60px 10% 80px; /* más espacio por header */
}

.historia-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.historia-texto {
  flex: 1;
  padding: 20px 10px;
  position: relative;
}

.historia-texto::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 10px;
  width: 4px;
  height: 60px;
  background: var(--cian);
  border-radius: 2px;
}

.historia-img {
  flex: 1;
}

.historia-img img {
  width: 100%;
  border-radius: 12px;
}

/* ======================================================
   SECCIÓN SOMOS
====================================================== */
.Somos-section {
  background: var(--petroleo);
  color: #fff;
  padding: 80px 10%;
}

.somos-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.somos-texto {
  flex: 1;
  padding: 20px 10px;
  position: relative;
}

.somos-texto::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 10px;
  width: 4px;
  height: 60px;
  background: var(--cian-vibrante);
  border-radius: 2px;
}

.somos-img {
  flex: 1;
}

.somos-img img {
  width: 100%;
  border-radius: 12px;
}

/* ======================================================
   TÍTULOS-SOMOS
====================================================== */
.title-Historia,
.title-Somos {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  line-height: 1.2;
}

.title-Historia::after,
.title-Somos::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin-top: 10px;
  border-radius: 2px;
}

.title-Historia::after {
  background: var(--cian);
}

.title-Somos::after {
  background: var(--cian-vibrante);
}

/* ======================================================
   TEXTO-SOMOS
====================================================== */
.intro-Historia,
.intro-Somos {
  font-size: 17px;
  line-height: 1.9;
  max-width: 600px;
  text-align: justify;
  margin-top: 15px;
}

.Somos-section .intro-Somos {
  color: #e0f7fa;
}


/* ======================================================
   TAGLINE (OPCIONAL)
====================================================== */
.tagline {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cian);
  margin-bottom: 10px;
  font-weight: 600;
}

.Somos-section .tagline {
  color: var(--cian-vibrante);
}

/* ======================================================
   FOOTER
====================================================== */
.footer-dark {
  background: var(--dark-footer);
  color: #fff;
  padding: 40px 10%;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.f-col h4 {
  margin-bottom: 15px;
  color: var(--cian-vibrante);
}

.f-col ul {
  list-style: none;
}

.f-col ul li {
  margin-bottom: 10px;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 768px) {
  .historia-container,
  .somos-container {
    flex-direction: column;
    text-align: center;
  }

  .somos-container {
    flex-direction: column-reverse;
  }

  .historia-texto::before,
  .somos-texto::before {
    display: none;
  }

  .title-Historia,
  .title-Somos {
    font-size: 30px;
  }
}

/* ===== MISION VISION VALORES PRO ===== */
.mv-section{
  background:#f5f5f5;
  padding:100px 10%;
}

.mv-container{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

/* TARJETA */
.mv-card{
  background:var(--white);
  padding:50px 30px 40px;
  border-radius:16px;
  box-shadow:0 15px 35px rgba(0,0,0,0.08);
  text-align:center;
  position:relative;
  transition:all .35s ease;
  overflow:hidden;
}

/* LINEA SUPERIOR CORPORATIVA */
.mv-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:var(--cian);
}

/* NUMERO GRANDE */
.mv-number{
  position:absolute;
  top:15px;
  right:20px;
  font-size:28px;
  font-weight:700;
  color:#e0e0e0;
}

/* ICONO */
.mv-icon{
  width:70px;
  height:70px;
  margin:0 auto 20px;
  background:var(--cian-light);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  color:var(--petroleo);
}

/* TITULO */
.mv-card h3{
  font-size:22px;
  margin-bottom:15px;
  color:var(--petroleo);
}

/* TEXTO */
.mv-card p{
  font-size:15px;
  line-height:1.8;
  color:var(--text-gray);
}

/* HOVER PRO */
.mv-card:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 50px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width:768px){
  .mv-container{
    grid-template-columns:1fr;
  }
}