/* =====================================
   DASH MEXICAN - GLOBAL LAYOUT
===================================== */


/* ===== CONTAINER ===== */

.container{
    width:90%;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
}


/* ===== SECTIONS ===== */

.section{
    padding:60px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}


/* ===== GRID SYSTEM ===== */

.grid{
    display:grid;
    gap:30px;
}

.grid-2{
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    align-items:center;
}

.grid-3{
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}


/* ===== HERO ===== */

.hero{
    padding:120px 0 80px 0;
}

.hero-text{
    max-width:600px;
}

.hero h1{
    font-size:3rem;
    line-height:1.2;
    margin-bottom:20px;
}

.hero p{
    font-size:1.2rem;
    margin-bottom:30px;
}

.hero-image img{
    width:100%;
    max-width:500px;
}


/* ===== NAVBAR ===== */

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.nav-links{
    display:flex;
    gap:30px;
    list-style:none;
}

.nav-links a{
    text-decoration:none;
}


/* ===== FOOTER ===== */

footer{
    margin-top:80px;
    padding:40px 0;
    text-align:center;
}


/* ===== RESPONSIVE ===== */

@media (max-width:768px){

.hero{
    padding:80px 0;
}

.hero h1{
    font-size:2rem;
}

.grid{
    gap:20px;
}

.section{
    padding:50px 0;
}

}


/* ===== CONTACTO ===== */

.container{
  width:90%;
  max-width:1100px;
  margin:auto;
}

.contacto-hero{
  text-align:center;
  padding:80px 0 40px 0;
}

.contact-form{
  max-width:600px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.form-group{
  display:flex;
  flex-direction:column;
}

.form-group label{
  margin-bottom:5px;
  font-weight:600;
}

.contact-form input,
.contact-form textarea{
  padding:12px;
  border:1px solid #ddd;
  border-radius:6px;
  font-size:16px;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:#0077ff;
}

.btn{
  padding:12px;
  border:none;
  border-radius:6px;
  background:#0077ff;
  color:white;
  font-size:16px;
  cursor:pointer;
  transition:0.3s;
}

.btn:hover{
  background:#005fd1;
}


/* ===== SERVICIOS ===== */

.servicios .grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
  margin-top:40px;
}

.card{
  background:white;
  padding:30px;
  border-radius:10px;
  box-shadow:0 5px 15px rgba(0,0,0,0.08);
  text-align:center;
  transition:0.3s;
}

.card:hover{
  transform:translateY(-8px);
  box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.card .icon{
  font-size:40px;
  margin-bottom:15px;
}

.card h3{
  margin-bottom:10px;
  font-size:20px;
}

.card p{
  color:#555;
  line-height:1.6;
}