:root {
  --verde-olivo: #556b2f;
  --verde-claro: #88a051;
  --bco: #ffffff;
  --gris: #f4f4f4;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--gris);
  color: #333;
}
.borde{border: 2px #df0000 solid;}
.bold{font-weight: bold;}

/* Portada */
.portada {
  background: url('img/portada.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  justify-content: flex-end;
  padding: 40px;
  position: relative;
}

/* Contenedor de portada alineado a la derecha */
.portada-contenido {
  display: flex;
  width:50%;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Logo */
.logo-portada {
  width: auto;
}

/* Subcaja con fondo olivo semi-transparente */
.subseccion {
  background-color: var(--verde-transparente);
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width:550px;
}

/* Slogan */
.slogan {
  width:100%;
  font-size:3em;
  margin: 0 0 20px;
  color:var(--verde-olivo);
  font-weight: extrabold;
  text-align: center;
}


/* Cards */
.sistemas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 160px 20px;
}

.card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h2 {
  color: var(--verde-olivo);
  margin: 15px 0;
}

.card a {
  display: inline-block;
  background: var(--verde-claro);
  color: white;
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  text-decoration: none;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.whatsapp-float:hover {background: #1ebc59;}
.whatsapp-float img{width:20px; vertical-align: middle;}


.descripcion {
  background:url(img/fondoDescripcion.jpg) ; background-size: cover; background-attachment: fixed;
  padding: 10% 20px;
  background-color: #fff;
  color: #333;
}

.descripcion .contenedor {
  width: 100%;
  max-width: 700px;
  margin: auto;
  text-align: center;
  font-size: 1.1em;
}

.descripcion h2 {
  color: var(--verde-olivo);
  font-size: 3em;
  margin-bottom: 20px;
}

.descripcion p {
  font-size: 1.1em;
  line-height: 1.8em;
  color: #444;
}





/* Roles */
.rol {
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 700;
  font-family: 'Rubik', sans-serif;
  line-height: 1.2;
  margin: 5px 0;
}

.frontend { text-align: center; color:#61dafb; }
.backend  { text-align: center; color:#6e40c9; }
.devapps  { text-align: center; color:#ff9800; }













.proyectos {
  padding: 60px 20px;
  color: #333;
}
.proyectos .contenedor {
  max-width: 1000px;
  margin: auto;
}
.proyectos h2 {
  font-size: 2.4em;
  color: var(--verde-olivo);
  margin-bottom: 50px;
  text-align: center;
}

/* GRID de tarjetas */
.grid-proyectos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Tarjeta individual */
.card-proyecto {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-proyecto:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Título de tarjeta */
.card-proyecto h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--verde-olivo);
}

/* Enlaces dentro de tarjeta */
.card-proyecto ul {
  list-style: none;
  padding-left: 0;
}
.card-proyecto ul li {
  margin-bottom: 8px;
}
.card-proyecto a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 1.05em;
  transition: color 0.3s ease;
}
.card-proyecto a:hover {
  color: var(--verde-olivo);
}








.agenda {
  display: inline-block;
  width: 100%; box-sizing: border-box ;
  background: var(--verde-olivo);
  color: white;
  text-align: center;
  padding: 60px 20px;
}
.agenda .contenedor {width:100%;max-width:600px; display: inline-block; float: none;}
.agenda h2 {
  font-size: 2em;
  margin-bottom: 15px;
}
.agenda p {
  font-size: 1.2em;
  margin-bottom: 25px;
}
.btn-ws {
  background: #25D366;
  color: white;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn-ws:hover {
  background: #1ebe5d;
}
.btn-ws img{width:20px; vertical-align: middle;}
