/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f7fa;
  color: #1a1a1a;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  color: #0b3c5d;
  font-weight: bold;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
}

nav a:hover {
  color: #e63946;
}

/* BOTONES */
.btn {
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  transition: 0.3s;
}

.primary {
  background: #e63946;
  color: white;
}

.primary:hover {
  background: #c92f3b;
}

.secondary {
  background: #0b3c5d;
  color: white;
}

.whatsapp {
  background: #25d366;
  color: white;
}

/* HERO */
.hero {
  background: linear-gradient(rgba(11,60,93,0.8), rgba(11,60,93,0.8)),
              url('../img/hero.jpg');
  background-size: cover;
  color: white;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* SECCIONES */
section {
  padding: 60px 0;
}

/* TARJETAS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* BUSCADOR */
.buscador input {
  padding: 12px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.buscador button {
  padding: 12px;
  background: #e63946;
  color: white;
  border: none;
  border-radius: 5px;
}

/* PRODUCTOS */
.producto {
  background: white;
  padding: 15px;
  margin: 10px 0;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* CTA */
.cta {
  background: #0b3c5d;
  color: white;
  text-align: center;
  padding: 60px 0;
}

/* FOOTER */
footer {
  background: #111;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}

.galeria img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.galeria img:hover {
  transform: scale(1.03);
}

.contacto-box {
  max-width: 500px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-contacto {
  display: flex;
  flex-direction: column;
}

.form-contacto input,
.form-contacto textarea {
  margin-bottom: 20px;
  padding: 18px 20px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 100%;
  background: #fafafa;
  transition: 0.3s;
}

.form-contacto input:focus,
.form-contacto textarea:focus {
  border-color: #0b3c5d;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(11,60,93,0.1);
}

.form-contacto textarea {
  min-height: 180px;
}

.img-centrada {
  display: block;
  margin: 0 auto;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  max-width: 800px;
  margin: 40px auto;
}

.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.social-section {
  background: #0b3c5d;
  color: white;
  text-align: center;
  padding: 40px 0;
}

.social-section h3 {
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  width: 60px;
  height: 60px;
  background: white;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 25px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #e63946;
  color: white;
  transform: translateY(-3px);
}


.container {
    max-width: 600px;
    margin: 60px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #1f2d3d;
}

.input-group {
    margin-bottom: 15px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccd1d9;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

textarea {
    resize: none;
    height: 120px;
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: linear-gradient(90deg, #0056b3, #003f7f);
}

