    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body, html {
      width: 100%;
      height: 100%;
      font-family: 'Segoe UI', sans-serif;
      overflow-x: hidden;
    }

    .floating-logo {
        position: absolute;
        top: 1rem;
        left: 1rem;
        transform: none;
        z-index: 20;
        padding: 0.5rem 1rem;
        background-color: rgba(255, 255, 255, 0.75); /* fondo blanco semitransparente */
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(6px); /* efecto cristal si el navegador lo soporta */
    }

    .floating-logo img {
        height: 60px;
        max-width: 80vw;
        object-fit: contain;
        display: block;
    }

    header img {
      height: 50px;
      display: inline-block;
      margin: 0 auto;
    }

    .carousel {
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      position: relative;
    }

    .carousel-inner {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.5s ease-in-out;
    }

    .carousel-slide {
      min-width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .carousel-controls {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      z-index: 10;
    }

    .carousel-controls button {
      background: rgba(0, 0, 0, 0.5);
      border: none;
      color: white;
      font-size: 2rem;
      padding: 0.5rem 1rem;
      cursor: pointer;
    }

    .content {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      padding: 2rem;
      box-sizing: border-box;
      z-index: 5;
      pointer-events: none;
    }

    .content h1 {
      font-size: 2.5rem;
      color: white;
      background-color: rgba(0,0,0,0.5);
      padding: 1rem 2rem;
      border-radius: 12px;
      pointer-events: auto;
    }

    section {
      padding: 4rem 1rem;
      text-align: center;
      background-color: #f9f9fb;
    }

    section h2 {
      font-size: 2rem;
      color: #333;
      margin-bottom: 2rem;
    }

    .cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
    }

    .card {
      width: 280px;
      background: white;
      border-radius: 16px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      overflow: hidden;
    }

    .card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .card h3 {
      padding: 1rem;
      font-size: 1.1rem;
      color: #333;
    }

    .cta-button {
      margin-top: 3rem;
      background-color: #805ad5;
      color: white;
      padding: 1rem 2rem;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.2s;
    }

    .cta-button:hover {
      background-color: #6b46c1;
    }
      .hero {
      text-align: center;
      padding: 4rem 2rem;
      background: linear-gradient(to right, #805ad5, #9f7aea);
      color: white;
    }
    .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    .hero p {
      font-size: 1.2rem;
      max-width: 600px;
      margin: 0 auto 2rem;
    }
    .hero a.cta-button {
      background: white;
      color: #6b46c1;
    }
    .features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      padding: 4rem 2rem;
      max-width: 1100px;
      margin: auto;
    }
    .feature {
      background: white;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .lastfeature {
      background: white;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .lastfeature h3 {
      margin-top: 0;
      color: #6b46c1;
    }
    .feature h3 {
      margin-top: 0;
      color: #6b46c1;
    }
    .gallery-single {
      display: flex;
      justify-content: center;
      padding: 4rem 2rem 2rem;
      background: #fff;
    }
    .gallery-single img {
      max-width: 80%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    footer {
      text-align: center;
      padding: 2rem;
      font-size: 0.9rem;
      color: #777;
      background: #f0f0f5;
    }

    @media (max-width: 480px) {
  .floating-logo {
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    left: 50%;
    transform: translateX(-50%);
  }

  .floating-logo img {
    height: 48px;
  }
}
    @media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .feature,
  .lastfeature {
    padding: 1.5rem;
    text-align: left;
  }

  .feature h3,
  .lastfeature h3 {
    font-size: 1.2rem;
  }

  .feature p,
  .lastfeature p {
    font-size: 1rem;
  }
}