*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background-image: url("fondonosotros.jpg"); /* cambia la ruta */
    background-size: cover;       /* que cubra toda la pantalla */
    background-position: center;  /* centrada */
    background-repeat: no-repeat; /* sin repetir */
    min-height: 100vh;
    color: white;
}

.header{
    width:100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    padding:15px 40px;
    border-bottom:1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
}



.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:white;
}

/* LOGO */
.logo img{
    height:32px;
    transition: transform 0.3s ease;
}

.logo img:hover{
    transform: scale(1.05);
}

/* MENU */
.menu{
    display:flex;
    align-items:center;
    gap:40px;
}

.menu a{
    color:white;
    text-decoration:none;
    font-size:16px;
    position: relative;
    transition: color 0.3s ease;
}

/* Línea animada debajo */
.menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:2px;
    background:#fff;
    transition: width 0.3s ease;
}

.menu a:hover{
    color:#ccc;
}

.menu a:hover::after{
    width:100%;
}

/* ICONOS */
.icons{
    display:flex;
    gap:20px;
    font-size:18px;
}

.icons i{
    cursor:pointer;
    transition: all 0.3s ease;
    padding:8px;
    border-radius:50%;
}

/* Hover moderno tipo botón */
.icons i:hover{
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
   .logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}
.logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
    :root {
      --primary: #ffffff;
      --accent: #16a34a;
      --bg: #f8f9fa;
      --text: #444;
      --max-width: 1200px;
    }

    .about {
      max-width: var(--max-width);
      margin: 4rem auto;
      padding: 0 2rem;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 4rem;
      align-items: center;
    }
    .title-with-logo {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }
    .title-with-logo img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      padding: 6px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }
    h1 {
      font-size: 3rem;
      color: var(--primary);
    }
    .about p {
      margin-bottom: 1rem;
      font-size: 1.05rem;
    }
    .about img.main-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 20px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

    .features {
      background: white;
      padding: 5rem 2rem;
    }
    .features-container {
      max-width: var(--max-width);
      margin: auto;
    }
    .features h2 {
      font-size: 2.5rem;
      text-align: center;
      margin-bottom: 3rem;
    }
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }
    .feature {
      background: var(--bg);
      padding: 2rem;
      border-radius: 16px;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .feature:hover {
      transform: translateY(-6px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    }
    .feature h3 {
      margin-bottom: 1rem;
    }

    footer {
      background: #111;
      color: white;
      text-align: center;
      padding: 2rem;
      margin-top: 4rem;
    }

    @media (max-width: 900px) {
      .about {
        grid-template-columns: 1fr;
      }
      h1 {
        font-size: 2.2rem;
      }
    }
    @media (max-width: 768px) {
      .menu-btn {
        display: block;
      }
      .nav ul {
        width: 100%;
        display: none;
        flex-direction: column;
        margin-top: 1rem;
        gap: 1rem;
      }
      .nav ul.show {
        display: flex;
      }
      .title-with-logo img {
        width: 36px;
        height: 36px;
      }
    }
    h1, h2, h3 {
  text-transform: uppercase;
  letter-spacing: -1px;
}
h1 {
  font-weight: 900;
}
h2 {
  font-weight: 800;
}
.nav a {
  font-weight: 600;
  @media (max-width: 768px) {
  .logo span {
    font-size: 1.2rem;
  }
  .logo img {
    width: 24px;
    height: 24px;
  }
}
.logo span {
  text-transform: uppercase;
}

}