/* ===============================
   Paleta y fuentes básicas
   =============================== */
:root {
  --primary:        #004b8d;
  --primary-light:  #007acc;
  --whatsapp:       #25D366;
  --whatsapp-dark:  #1ebe5b;
  --bg:             #f5f5f5;
  --text:           #222;
  --white:          #ffffff;
  --max-width:      900px;
  font-family: Verdana, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ===============================
   Banner / Encabezado
   =============================== */
.banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 20px 50px;
}

.banner h1 {
  font-size: 2.8rem;
  letter-spacing: 1px;
}

.banner .tagline {
  font-size: 1.2rem;
  margin-top: 10px;
  font-weight: 600;
}

/* ===============================
   Estructura general
   =============================== */
section,
footer {
  max-width: var(--max-width);
  margin: 40px auto;
  padding: 0 20px;
}

h2 {
  color: var(--primary);
  margin-bottom: 12px;
}

/* ===============================
   Listas y enlaces
   =============================== */
ul.social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

ul.social a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
}

ul.social a:hover {
  text-decoration: underline;
}

ul.featured {
  list-style: square inside;
  margin-bottom: 15px;
}

ul.showcase {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* ===============================
   Galerías
   =============================== */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.gallery img,
.showcase img {
  width: 100%;
  height: auto;
  max-width: 280px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery img:hover,
.showcase img:hover {
  transform: scale(1.05);
}

/* ===============================
   Botones de llamada a la acción
   =============================== */
.cta-zone {
  text-align: center;
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.25s ease;
}

.cta-btn:hover {
  background: var(--primary-light);
}

.cta-btn.whatsapp {
  background: var(--whatsapp);
}

.cta-btn.whatsapp:hover {
  background: var(--whatsapp-dark);
}

/* ===============================
   Sección de contacto y formulario
   =============================== */
.contacto {
  max-width: var(--max-width);
  margin: 60px auto;
  padding: 0 20px;
}

.contacto p {
  margin-bottom: 20px;
}

/* Formulario */
.formulario {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario label {
  font-weight: bold;
}

.formulario input,
.formulario textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.formulario button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.formulario button:hover {
  background: var(--primary-light);
}

/* ===============================
   Footer
   =============================== */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 30px;
}

/* ===============================
   Imágenes responsivas
   =============================== */
img {
  max-width: 100%;
  height: auto;
}

/* ===============================
   Responsive tweaks
   =============================== */
@media (min-width: 700px) {
  ul.showcase {
    flex-direction: row;
    justify-content: space-between;
  }
  ul.showcase li {
    flex: 1;
  }
  .banner h1 {
    font-size: 3.2rem;
  }
  .banner .tagline {
    font-size: 1.4rem;
  }
}
