/* Reinicios y tipografía */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  font-size: 16px; 
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Colores de la marca */
:root {
  --primary-blue: #155a9c;
  --accent-orange: #ff6600;
  --light-blue: #00bfff;
  --water-teal: #4ca1a3;
  --dark-hover: #11467a;
}


/* Contenedor central */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75em 1em;
  position: relative;
}

.logo img {
  width: 200px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li a {
  padding: 0.75em 1em;
  font-weight: 600;
  display: block;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent-orange); /* Color de hover */
}

/* Botón menú móvil */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
  padding: 0.5em;
}

/* Hero Section */
.hero {
  /* Usamos la imagen del flyer como fondo */
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('555926334_1725374498142636_2507789989644701563_n.jpg') center/cover no-repeat;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 3em 1em;
  margin-top: 80px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero .subtitle {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

/* Servicios Section */
.services {
  padding: 3em 1em;
}

.services h2 {
  text-align: center;
  margin-bottom: 1.5em;
  font-size: 2.5rem;
  color: var(--primary-blue);
}

.services .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
}

.services .card {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex: 1 1 calc(33.333% - 1.5em);
  max-width: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.services .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.services .card h3 {
  padding: 1em;
  font-size: 1.3rem;
  color: var(--primary-blue);
}

.services .card p {
  padding: 0 1em 1em;
  flex-grow: 1;
  font-size: 0.95rem;
}

/* Sobre nosotros Section */
.about {
  background: #f4f8f9; /* Un fondo muy claro, casi blanco */
  padding: 3em 1em;
}

.about h2 {
  text-align: center;
  margin-bottom: 1.5em;
  font-size: 2.5rem;
  color: var(--primary-blue);
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  text-align: justify;
}

/* Contacto Section */
.contact {
  padding: 3em 1em;
}

.contact h2 {
  text-align: center;
  margin-bottom: 1.5em;
  font-size: 2.5rem;
  color: var(--primary-blue);
}

.contact .container p {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1.5em auto;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact input,
.contact textarea {
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  font-size: 1rem;
}

.contact textarea {
  resize: vertical;
  min-height: 120px;
}

.contact button {
  padding: 1em;
  background: var(--accent-orange); /* Botón con color naranja */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.contact button:hover {
  background: #e65c00; /* Naranja más oscuro */
}

/* Footer */
footer {
  background: var(--primary-blue); /* Footer con el azul principal */
  color: #fff;
  padding: 2em 1em;
  text-align: center;
}

footer p {
  margin-bottom: 1em;
  font-size: 0.9rem;
}

footer .social {
  margin-top: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

footer .social a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
}

footer .social a:hover {
    color: var(--light-blue);
}

footer .social img {
  height: 24px;
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
  .logo img {
    width: 180px;
    max-height: 50px;
  }
  .hero { min-height: 550px; }
  .hero h1 { font-size: 3rem; }
  .hero .subtitle { font-size: 1.3rem; }
  .services .card { flex: 1 1 calc(50% - 1.5em); }
  h2 { font-size: 2rem !important; }
}

@media (max-width: 768px) {
  header .container {
    padding: 0.5em 1em;
    justify-content: flex-start;
    position: relative;
  }
  .logo img { width: 150px; max-height: 45px; }
  .menu-toggle {
    display: block;
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
  }
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-top: 1px solid #eee;
    z-index: 999;
  }
  nav ul.show { display: flex; }
  nav ul li { width: 100%; border-bottom: 1px solid #f0f0f0; }
  nav ul li a { padding: 1em 1.5em; text-align: center; }
  .hero { min-height: 350px; }
  .hero h1 { font-size: 2.2rem; }
  .hero .subtitle { font-size: 1rem; }
  .services .card { flex: 1 1 100%; max-width: none; }
  footer .social {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .logo img { width: 120px; max-height: 40px; }
  .hero h1 { font-size: 1.8rem; }
  .hero .subtitle { font-size: 0.9rem; }
  h2, h3 { font-size: 1.5rem !important; }
}