/* Reset y fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #1d1d1b;
  color: #fff;
  min-height: 100vh;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header y menú sticky */
.main-header {
  background: #232321;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo-header {
  height: 60px;
  transition: transform 0.3s;
}
.logo-header:hover {
  transform: scale(1.08) rotate(-2deg);
}
.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.main-nav a {
  color: #ca9e67;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #ca9e67;
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

/* Hero */
.hero-section {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1d1d1b;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('fondo-patron-myven.jpg') center/cover no-repeat;
  opacity: 0.25;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 2rem 3rem 2rem;
  animation: fadeInUp 1.2s;
}
.hero-content h1 {
  color: #ca9e67;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.btn-hero {
  background: #ca9e67;
  color: #1d1d1b;
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(202,158,103,0.15);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-hero:hover {
  background: #fff;
  color: #ca9e67;
  transform: scale(1.05);
}
.slogan {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(29,29,27,0.15);
}
.sub-slogan {
  font-size: 1.1rem;
  color: #ca9e67;
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

/* Sobre Nosotros */
.about-section {
  background: #232321;
  padding: 4rem 0;
}
.about-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}
.about-img {
  flex: 1 1 250px;
  text-align: center;
}
.img-animada {
  width: 280px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(202,158,103,0.15);
  animation: flotar 2.5s infinite ease-in-out;
}
.about-text {
  flex: 2 1 350px;
}
.about-text h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.about-text p {
  font-size: 1.2rem;
  color: #fff;
}

/* Productos/Servicios */
.services-section {
  background: #232321;
  padding: 4rem 0;
  margin-top: 2rem;
}
.services-section h2 {
  color: #ca9e67;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}
.service-card {
  background: #232321;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  padding: 2rem 1.5rem;
  width: 300px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 1s;
}
.service-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 8px 32px rgba(202,158,103,0.18);
}
.icono-servicio {
  width: 70px;
  height: 70px;
  margin-bottom: 1.2rem;
  animation: flotar 2s infinite ease-in-out;
}
.service-card h3 {
  color: #ca9e67;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.service-card p {
  font-size: 1.05rem;
}

/* Contacto */
.contact-section {
  background: #181818;
  padding: 4rem 0;
}
.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
  justify-content: center;
  flex-direction: row;
}
.contact-info {
  flex: 1 1 250px;
}
.contact-info h2 {
  color: #ca9e67;
  font-size: 2rem;
  margin-bottom: 1.2rem;
}
.contact-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.contact-list li {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 1rem;
}
.social-icon {
  color: #ca9e67;
  font-size: 1.7rem;
  transition: color 0.2s, transform 0.2s;
}
.social-icon:hover {
  color: #fff;
  transform: scale(1.15);
}
.contact-form {
  flex: none;
  width: 50vw;
  min-width: 320px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #1d1d1b;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  align-items: flex-start;
  align-self: flex-start;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.contact-form input,
.contact-form select {
  border-radius: 20px;
  padding: 0.9rem;
  border: none;
  font-size: 1rem;
  box-sizing: border-box;
  min-width: 180px;
  max-width: 100%;
  width: auto;
  display: block;
  margin: 0 0 0 0;
}
.contact-form textarea {
  border-radius: 20px;
  padding: 0.9rem;
  border: none;
  font-size: 1rem;
  box-sizing: border-box;
  min-width: 180px;
  max-width: 100%;
  width: 160%;
  display: block;
  margin: 0 0 0 0;
}
.contact-form button {
  background: #ca9e67;
  color: #1d1d1b;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.contact-form button:hover {
  background: #fff;
  color: #ca9e67;
  transform: scale(1.05);
}
.icono-boton {
  width: 24px;
  height: 24px;
  animation: flotar 2s infinite ease-in-out;
}

/* Mapa */
.map-section {
  background: #1d1d1b;
  padding: 4rem 0 2rem 0;
}
.mapa-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.icono-mapa {
  width: 80px;
  height: 80px;
  animation: flotar 2.5s infinite ease-in-out;
}
iframe {
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

/* Footer */
.main-footer {
  background: #232321;
  color: #ca9e67;
  padding: 2rem 0 0.5rem 0;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1rem;
}
.footer-logo img {
  height: 50px;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  color: #ca9e67;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 1.2rem;
}
.footer-social .social-icon {
  color: #ca9e67;
  font-size: 1.5rem;
  transition: color 0.2s, transform 0.2s;
}
.footer-social .social-icon:hover {
  color: #fff;
  transform: scale(1.15);
}
.footer-copy {
  text-align: center;
  color: #ca9e67;
  font-size: 1rem;
  padding-top: 0.5rem;
}

/* Animaciones */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes flotar {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Responsivo */
@media (max-width: 900px) {
  .about-flex, .services-grid, .contact-flex, .footer-flex {
    flex-direction: column;
    align-items: center;
  }
  .main-nav ul {
    gap: 1rem;
  }
  .footer-links {
    gap: 1rem;
  }
  .contact-flex {
    flex-direction: column;
    align-items: center;
  }
  .contact-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: center;
  }
  .contact-form textarea {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 0.5rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .services-section h2, .about-text h2 {
    font-size: 1.3rem;
  }
  .service-card {
    width: 90vw;
    padding: 1.2rem 0.5rem;
  }
}

.mision-section {
  background: #1d1d1b;
  padding: 4rem 0;
  margin-bottom: 3rem;
}
.mision-section h2 {
  color: #ca9e67;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
}
.mision-section p {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1.2rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.mision-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  flex-direction: row;
}
.mision-img {
  flex: 1 1 280px;
  text-align: center;
}
.mision-text {
  flex: 2 1 350px;
}
.mision-text h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: left;
}
.mision-text p {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1.2rem;
  text-align: left;
  max-width: 900px;
}
@media (max-width: 900px) {
  .mision-flex {
    flex-direction: column;
    align-items: center;
  }
  .mision-text h2, .mision-text p {
    text-align: center;
  }
}

.resaltado {
  color: #ca9e67;
  font-weight: bold;
  background: rgba(202,158,103,0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.division-seccion {
  border: none;
  border-top: 3px solid #ca9e67;
  width: 60%;
  margin: 0 auto 0 auto;
  margin-bottom: 0;
  margin-top: 0;
  opacity: 0.7;
}

.form-selector {
  margin-bottom: 2rem;
  text-align: center;
}
.form-selector label {
  color: #ca9e67;
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.1rem;
}
.form-selector select {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 1px solid #ca9e67;
  font-size: 1rem;
  background: #232321;
  color: #fff;
  outline: none;
  transition: border 0.2s;
}
.form-selector select:focus {
  border: 1.5px solid #fff;
}
.contact-form {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
