/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,body{height:100%;font-family:'Raleway',Arial,Helvetica,sans-serif;scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;}
img,picture,video,canvas,svg{display:block;max-width:100%;height:auto;}
input,button,textarea,select{font:inherit;color:inherit;background:none;border:none;outline:none;}
a{color:inherit;text-decoration:none;cursor:pointer;}
ul,ol{list-style:none;}
button{cursor:pointer;background:none;border:none;padding:0;}

/* Root Variables */
:root {
    font-size: 16px;
    scroll-behavior: smooth;
    --c1: #c6326d;
    --sp: min(10px, 1vw);
    --sp1: min(20px, 2vw);
    --sp2: min(30px, 3vw);
    --sp3: min(40px, 4vw);
    --sp4: min(50px, 5vw);
    --sp5: min(60px, 6vw);
    --gradient:linear-gradient(90deg, #c6326d, #000);
    --sombra: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
}

/* General Elements */
img,
div {
    max-width: 100%;
    margin-bottom: 0;
    position: relative;
}
svg {
    display: block;
}
body {
    font-family: 'Lato', sans-serif;
    background-color: #f3f4f5;
    color: #333;
    line-height: 1.5;
}

/* Layout Containers */
section > div,
div.caja {
    max-width: 800px;
    margin: 0 auto;
}
div.cajita {
    padding: var(--sp5) 0;
    width: min(600px, 90%);
}
header {
    background-color: #121314;
}
nav {
    background-color:var(--c1);;

    padding: 8px 15px;
}
nav a {
    color: #fff;
    font-weight: 700;
}
nav a::before {
    content: "←";
    color: #fff;
    font-weight: 700;
    display: inline-block;
    margin-left: 5px;
    font-size: 0.8em;
    text-decoration: none;
    text-transform: uppercase;
}

/* Banner */
.banner-container {
    position: relative;
    height: 50vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background:#000 url("../img/banner-hero-1920x600.jpg") no-repeat center bottom;
   background-size:100% auto;
}



.banner-container img {
    width: auto;
    display: block;
    margin:var(--sp5) auto;
    max-width: 1080px;
    max-height: 80%;
}
.background-img {
    position: relative;
    z-index: 1;
}

/* Headings & Typography */
h1,
h2 {
    font-weight: 700;
}
h1 {
    font-size: .7em;
    margin-top: 20px;
    text-align: center;
    font-weight: normal;
    line-height: 1.1;
    text-transform: uppercase;
    color: #999;
}
h1 + h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-top: 0;
}
h1 + h2 span {
    display: block;
    font-size: .8em;
    font-weight: 400;
    color: #666;
}
h1 + h2 + p {
    font-size: 120%;
    margin: var(--sp2) auto var(--sp5);
    line-height: 1.5;
}
h2 {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 8px;

}

h2 + p {
    border-top: rgba(0 0 0 / .1) 1px solid;
    padding-top: var(--sp1);
}

/* Lists */
ul {
    margin: var(--sp1) auto;
    filter:var(--sombra);
}
ul li {
    padding: var(--sp1);
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
    background-color: #fff;
}

/* Special Components */
div.cita {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    gap: var(--sp5);
    color: #fff;
    font-weight: 400;
    margin: var(--sp5) auto;
    background: #222 url(../img/fondito.gif);
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
    line-height: 1.2;
}

section > div.cita {
    max-width: 1200px;
}

div.cita > div {
    width: 70%;
    margin: 0 auto;
    padding: 100px 0;
}
.cita p {
    font-size: 14px;
    font-style: italic;
    margin-top: var(--sp);
}
.cita img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.destacado {
    padding: var(--sp5);
    margin: 0 auto;
    background-color: #fff;
    display: flex;
    gap: var(--sp5);
    width: min(1280px, 90%);
}
.destacado img {
    width: 100%;
    height: auto;
    max-width: 120px;
}

.inscripcion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin: var(--sp5) auto 0;
}

.inscripcion h4 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #704364;
    margin-bottom: var(--sp1);
    display: flex;
    align-items: center;
    text-align: center;
}
.inscripcion h4 span {
    display: inline-block;
    font-size: 40%;
    font-weight: 400;
    margin-right: 2px;
}


/* Footer & Floating WhatsApp */
footer {
    background-color: #fff;
    padding-bottom: 3vw;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    align-items: center;
    place-content: center;
    gap: var(--sp2);
    padding: var(--sp2);
}
footer a {
    display: inline-block;
    font-weight: 700;
    color: #111;
    margin-left: var(--sp2);
}
footer  img {
    width: 100%;
    height: auto;
    max-width: 80px;
    margin: 0 auto;
}
footer + a[href*="wa.me"] {
    position: fixed;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease-in-out;
}
footer + a[href*="wa.me"]:hover {
    transform: translateY(-50%) scale(1.3);
}

@media (min-width: 729px) {
    .inscripcion{position: relative}
    .inscripcion:before {
        content: "";
        position: absolute;
        top:25%;
        left: 50%;
       height: 50%;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.3);
    }
}

/* Responsive */
@media (max-width: 728px) {


    section,
    .caja {
        max-width: 100%;
        padding: 0 15px;
    }
    .banner-container {
        min-height: 300px;
        height: 140vw;
        max-height: 600px;
        background-size: 200% auto;
        background-position: left bottom;
    }
    div.cita {
        grid-template-columns: 1fr;
        gap: var(--sp2);
        font-size: 1rem;
        align-items: stretch;
    }
    div.cita > div {
        width: 100%;
        padding: 40px;
    }
    .destacado {
        flex-direction: column;
        align-items: center;
        gap: 5vw;
        padding: 15vw 5vw;
    }
    footer + a[href*="wa.me"] {
        width: 40px;
        height: 40px;
        right: 3vw;
    }

    footer {
        padding:20vw 2vw;
        grid-template-columns: 1fr;
        gap: var(--sp5);
    }
    .inscripcion {
            flex-direction: column-reverse;
    }
    .inscripcion h4 {
        justify-content: center;
    }
    ul li strong {
        display: block;
        font-size: 110%;
    }
    ul li  {
        padding: var(--sp5);
     }
     h1 {
        width: 55%;
        text-align: center;
        margin: 0 auto;
        line-height: 1.2;
     }
}

ul li:first-child {
    background: var(--gradient);
   color: #fff;
   cursor: pointer;
}

ul li:first-child strong {
font-size: 150%;
margin-right: 8px;
}

ul li:first-child::after {
    content: "";
    position: absolute;
    top: 50%;
    right: var(--sp);
        transform: translate(-50%, -50%);
    height: 15px;
    width: 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="10" viewBox="0 0 20 10"><polygon points="0,0 10,10 20,0" fill="%23f3f4f5"/></svg>') no-repeat center center;
    background-size: 50% 50%;

}

.legales {
   font-size: 14px;
   padding: var(--sp5);
}



.arrow::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    background: none;
    display: block;

    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 15px;
}