.contacto {
    background: #0f3d35;
    padding: 80px 20px;
    color: white;
    text-align: center;
}

.contacto h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.subtitle {
    color: #b5d6cf;
    margin-bottom: 50px;
}

.contacto-container {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* FORMULARIO */
.contacto-form {
    flex: 1;
    background: #145c4f;
    padding: 30px;
    border-radius: 20px;
    text-align: left;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 15px;
}

/* BOTÓN */
.contacto-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: #2ecc71;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.contacto-form button:hover {
    background: #27ae60;
}

/* INFO */
.contacto-info {
    flex: 1;
    text-align: left;
}

.contacto-info h3 {
    margin-bottom: 20px;
}

.contacto-info p {
    margin-bottom: 10px;
    color: #d0e6e1;
}

/* MAPA */
.mapa iframe {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    border: none;
    margin-top: 20px;
}
.subtitulo-form {
    margin: 25px 0 10px;
    color: #b5d6cf;
    font-size: 16px;
}

/* Ajuste resultado dentro del form */
.resultado {
    margin: 15px 0 25px;
    font-size: 22px;
    font-weight: bold;
    background: #0b2f29;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
}

/* Separar botones */
.contacto-form button {
    margin-top: 10px;
}

/* MAPA */
.mapa-frame iframe {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    border: none;
    margin-top: 20px;
}

/* VIDEO */
.mapa-video video {
    width: 100%;
    margin-top: 20px;
    border-radius: 15px;
    object-fit: cover;
    max-height: 410px;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',sans-serif;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

.top-bar{
background:#0d5c52;
color:#fff;
padding:8px 0;
font-size:14px;
}

.top-content{
display:flex;
justify-content:space-between;
align-items:center;
}

.top-left span{
margin-right:20px;
}
.navbar{
background:#fff;
padding:15px 0;
box-shadow:0 3px 10px rgba(0,0,0,0.05);
}

.nav-content{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo img{
height:60px;
}

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

nav ul li a{
text-decoration:none;
color:#333;
font-weight:500;
}

nav ul li a:hover{
color:#0d5c52;
}

.btn{
background:linear-gradient(135deg,#2bb673,#0d5c52);
color:#fff;
padding:12px 25px;
border-radius:30px;
text-decoration:none;
font-weight:600;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
}
.footer {
  background: linear-gradient(135deg, #0b2c23, #0f3d2e);
  color: #d1fae5;
  padding-top: 50px;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  padding: 0 5%;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h3,
.footer-col h4 {
  color: #4ade80;
  margin-bottom: 15px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #d1fae5;
}

.footer-col ul li a:hover {
  color: #4ade80;
  padding-left: 5px;
}

.btn-footer {
  display: inline-block;
  margin-top: 15px;
  background: #22c55e;
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  font-size: 13px;
}
header{
  position: sticky;
  top: 0;
  z-index: 1000;
}
/* __________________________RESPONSIVE________________ */
/* ================= HEADER RESPONSIVE ================= */

/* MOBILE */
@media (max-width: 768px){

  /* TOP BAR */
  .top-content{
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }


  nav ul{
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .btn{
    width: 100%;
    text-align: center;
  }

}
/* SOLO PARA TABLET Y PC */
@media (min-width: 769px){
  header{
    position: sticky;
    top: 0;
    z-index: 1000;
  }
}
/* BOTÓN HAMBURGUESA */
.menu-toggle{
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #0d5c52;
}

/* MOBILE */
@media (max-width: 768px){

  .menu-toggle{
    display: block;
  }

  nav{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
  }

  nav ul{
    flex-direction: column;
    padding: 20px 0;
  }

  nav ul li{
    text-align: center;
    margin: 10px 0;
  }

  /* ACTIVO */
  nav.active{
    max-height: 300px;
  }
/* NAVBAR MOBILE CORRECTO */
.nav-content{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo{
  order: 1;
}

.menu-toggle{
  order: 2;
}

.btn{
  order: 3;
  width: 100%;
  margin-top: 15px;
  text-align: center;
}

nav{
  order: 4;
  width: 100%;
}

}