:root {
--bg: #0f172a; /* slate-900 */
--panel: #111827cc; /* gray-900/80 */
--card: #111827; /* gray-900 */
--text: #e5e7eb; /* gray-200 */
--muted: #9ca3af; /* gray-400 */
--primary: #22d3ee; /* cyan-400 */
--primary-2: #3b82f6; /* blue-500 */
--ring: #60a5fa; /* blue-400 */
--error: #ef4444; /* red-500 */
}


@media (prefers-color-scheme: light) {
:root {
--bg: #f1f5f9; /* slate-100 */
--panel: #ffffffd9; /* white/85 */
--card: #ffffff; /* white */
--text: #0f172a; /* slate-900 */
--muted: #475569; /* slate-600 */
--primary: #0ea5e9; /* sky-500 */
--primary-2: #6366f1; /* indigo-500 */
--ring: #3b82f6; /* blue-500 */
}
}


* { box-sizing: border-box; }
html, body { height: 100%; }
body {
margin: 0;
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
color: var(--text);
background:
radial-gradient(60vmax 60vmax at 10% 10%, var(--primary)/0.08, transparent 60%),
radial-gradient(50vmax 50vmax at 90% 20%, var(--primary-2)/0.08, transparent 60%),
var(--bg);
display: grid;

}


.contact-wrap {
width: 100%;
max-width: 680px;
background: var(--panel);
backdrop-filter: blur(8px);
border: 1px solid rgba(255,255,255,0.08);
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.25);
overflow: hidden;
margin-top: auto;
margin-bottom: auto;
margin-left: auto;
margin-right: auto;
}


.header {
padding: 0px 28px 0 28px;
}
.title {
margin: 0 0 8px 0;
font-size: clamp(22px, 3.8vw, 28px);
letter-spacing: 0.2px;
}
.subtitle {
margin: 0 0 18px 0;
color: var(--muted);
font-size: clamp(14px, 2.4vw, 16px);
}


form {
display: grid;
gap: 16px;
padding: 0 28px 28px 28px;
background: linear-gradient(180deg, transparent, rgba(255,255,255,0.03));
}


.field {
display: grid;
gap: 8px;
}


label {
font-weight: 600;
font-size: 14px;
}


input[type="text"], textarea {
width: 100%;
border-radius: 14px;
.helper { color: var(--muted); font-size: 12px; }


}

a, li {
    font-family:'Roboto',
    sans-serif;
    color: #0000006e;
    text-decoration: none;
    
   list-style-type: none; 

}

.logo-header img{
    width: 70px;
}

header{
    background-color: rgb(210, 219, 219);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 2rem ;
    z-index: 1000;
    
}

.nav-menu ul{
    display: flex;
    align-items: center;
    list-style-type: n;
}

.nav-menu li{
    margin-right: 1.5rem;
}

.nav-menu a:hover{
    color: rgb(223, 210, 29);
}

.nav-menu li:last-child{
background-color: rgb(62, 206, 117);
border: 2px solid rgb(62, 206, 117);;
padding: .25rem .55rem;
border-radius: .2rem;

}

.nav-menu li:last-child:hover{
    background: transparent;
    border: 2px solid rgb(62, 206, 117);
}

.menu-icon img{
    width: 30px;
    height: 30px;
    border-radius: 2px;
}
.menu-icon, #check{
    display: none;
}

.main-image{
    position: relative;
    background: url(img/baner.png) no-repeat center;
    background-size: cover ;
    height: 500px;
    overflow: hidden; 
    border-top: 5px solid #000000  ;  
}


.container{
    max-width: auto;
    margin: 0 auto;
}

.footer{
    background-color: rgb(210, 219, 219);;
    padding: 50px 0;
    
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
}

.footer-links {
    width: 70%;
    padding: 0 15px;
}

h1{
   font-size: 10px; 
   color: rgb(190, 18, 18);
   margin-bottom: 25px;
   font-weight: 500;
   display: inline-block;
}

h2{
    font-size: 25px;
    margin-bottom: 25px;
    margin-top: 15px;
   font-weight: 400;
   text-align: center;
   color: #000000;
}

.footer-links .ul-footer .li-footer{
    font-size: 10px;
    text-decoration: none;
    color: #000000;
    display: block;
    margin-bottom: 10px;
    transition: all .3s ease;
}

.footer-links .ul-footer .li-footer:hover{
  padding-left: 6px; 
}

.todo{
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

@media (max-width:768px){

  body{
    place-items: center;
  }
  .contact-wrap{

    margin-left: 10px;
    margin-top: 50px;
    margin-right: 10px;
    margin-bottom: 100px;
    max-width: 400px;

  }
.checkbtn{
        display: block;
    }
    .menu-icon{
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        cursor: pointer;
    }
    .nav-menu ul{
        display: block;
        position: fixed;
        top: 70px;
        left: -100%;
        background: #ffffff;
        width: 100%;
        right: 0;
         z-index: 1000;
    }
    .nav-menu ul li{
        
        display: flex;
        justify-content: center;
        margin: 0;
         z-index: 1000;
    }

    .nav-menu ul li:last-child{
        background: none;
        padding: 1rem;
    }
    #check:checked ~ ul{
        left: 0;
    }

    .footer-row{
        text-align: center;
    }

    .footer-links {
        width: 100%;
        margin-bottom: 30px;
    }
    
}

main {
  padding: 20px;
}

h2 {
  margin: 30px 0 15px;
  font-size: 1.8rem;
  color: #333;
}

/* 📸 Contenedor de imágenes */
section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.img1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img1 img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-width: 300px;
  transition: transform 0.3s ease;
}

.img1 img:hover {
  transform: scale(1.05);
}

/* 📱 Responsive: móviles */
@media (max-width: 600px) {
  h2 {
    font-size: 1.4rem;
  }

  section {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }

  .img1 img {
    max-width: 100%;
  }
}

/* 💻 Responsive: pantallas grandes */
@media (min-width: 1200px) {
  section {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}
