:root {
    --blanco: #F8FAF7;
    --negro: #000000;
    --rosa: #BF06A0;
    --texto: 'Inter', sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--texto);
    background-color: var(--negro);
    color: var(--blanco);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
figure {
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}

form, button, input, textarea, select {
    font-family: var(--texto);
    background-color: var(--blanco);
}

/* Skip link para accesibilidad */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Header */
.header {
    background-color: var(--negro);
    border-top: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    width: 100%;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--blanco);
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: absolute;
    right: 1rem;
}

/* Nav list */
.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 0;
}

.nav-item {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 15px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover {
    background-color: var(--blanco);
    color: var(--negro);
}

/* Main */
.main {
    position: relative;
    z-index: 1;
    padding: 2rem 1rem 4rem;
    min-height: 80vh;
}

.inicio {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    animation: 2.5s cubic-bezier(.25, 1, .30, 1) wipe-in-right both;
}

.ContImg {
    flex: 1;
    max-width: 400px;
    padding: 1.3rem;
}

.img {
    width: 100%;
    height: auto;
}

.conttit {
    flex: 2;
    padding: 1rem;
    text-align: right;
}

.h1 {
    font-size: 50px;
    color: var(--blanco);
    text-transform: uppercase;
    font-weight: 700;
}

.h2 {
    font-size: 40px;
    color: var(--rosa);
    text-transform: uppercase;
    font-weight: 600;
}

.h3 {
    font-size: 25px;
    color: var(--blanco);
    font-weight: 500;
    text-transform: uppercase;
}

.texto-rosa {
    color: var(--rosa);
    text-decoration: underline;
}

/*Footer*/
.footer {
    width: 100%;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--blanco);
    background-color: var(--negro);
}

.footer .span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blanco);
}

/* Animación */
@keyframes wipe-in-right {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

/* Estilo Responsive */
@media (min-width: 0px) and (max-width: 1024px) {
  .menu-toggle {
      display: block;
      margin-left: auto;
  }

  .nav-list {
       display: none;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
  }

    .nav.active .nav-list {
        display: flex;
    }

  .inicio {
      flex-direction: column;
      text-align: center;
  }

  .conttit {
      text-align: center;
  }

  .ContImg {
      order: -1;
      max-width: 100%;
  }
}