/* -------------------------
   ESTILOS GENERALES
------------------------- */
body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #f2eef9;
}

header {
    background: linear-gradient(135deg, #4c2e7f, #7a4ccc);
    color: white;
    padding: 20px;
    text-align: center;
}

nav a {
    color: white;
    margin: 0 8px;
    text-decoration: none;
}

main {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
}

form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h2, h3, h4 {
    margin-top: 25px;
}

label {
    display: block;
    font-weight: 600;
    margin-top: 10px;
}

/* -------------------------
   CAMPOS DE FORMULARIO
------------------------- */
input,
textarea {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

/* -------------------------
   BOTONES
------------------------- */
button {
    background: #7a4ccc;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
}

button:hover {
    opacity: 0.9;
}

.btn-inscripcion {
    background: #ffcc00;
    color: #000 !important;
    font-weight: bold;
}

/* -------------------------
   HERO
------------------------- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.botones-hero {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
}

.hero-btn,
.hero-btn-secondary {
    display: inline-block;
    margin: 15px;
    padding: 15px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
}

.hero-btn {
    background: #ffcc00;
    color: #000;
    font-size: 14px;      /* texto más pequeño */
  padding: 8px 16px;   /* menos espacio interno */
  display: inline-block;
}
@media (max-width: 768px) {
  .hero-btn {
    font-size: 13px;
    padding: 10px;
    width: 100%;
    text-align: center;
  }
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
  
}

.hero-info {
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
}

/* -------------------------
   MENÚ ESCRITORIO
------------------------- */
.menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #4c2e7f;
    padding: 10px 20px;
}

.logo-main {
    height: 50px;
}

.menu-center {
    display: flex;
    gap: 15px;
}

.menu-center a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.menu-right .icon {
    height: 30px;
    margin-left: 15px;
    cursor: pointer;
}

.menu-burger {
    display: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

/* -------------------------
   MENÚ MÓVIL
------------------------- */
@media (max-width: 900px) {

    .menu-container {
        position: relative;
    }

    .menu-burger {
        display: block;
    }

    .menu-center {
        display: none;
        flex-direction: column;
        background: #4c2e7f;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px 0;
        z-index: 20;
        text-align: center;
    }

    .menu-center a {
        padding: 10px 0;
        font-size: 20px;
        display: block;
    }

    .menu-center.menu-open {
        display: flex;
    }

    .menu-right .icon {
        height: 26px;
    }
}

/* -------------------------
   RGPD / CHECKBOX
------------------------- */
.rgpd {
    width: 100%;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.rgpd input[type="checkbox"] {
    transform: scale(1.4);
    margin: 0;
    cursor: pointer;
}

.rgpd label {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.3;
}
/* 🔧 FIX DEFINITIVO CHECKBOX RGPD */
.rgpd input[type="checkbox"] {
    width: auto !important;   /* ⬅️ CLAVE */
    flex: 0 0 auto;
}
.rgpd a {
    color: #4c2e7f;
    text-decoration: underline;
    font-weight: 600;
}

.rgpd a:hover {
    text-decoration: none;
}

