

:root {
    --pink: #c8006b;
    --ink: #050505;
    --pale: #f8f8ff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Assistant", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.5
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    line-height: 1.17
}

h2 {
    font-size: 36px;
    font-weight: 700
}

.container {
    width: min(80%, 1200px);
    margin: auto
}

.centered {
    text-align: center
}

.section-pad {
    padding: 65px 0
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 575px
}

.hero-content {
    background: var(--pink);
    color: #fff;
    padding: 7.8% 7% 7.8% 22%;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.hero .brand {
    width: 200px;
    max-width: 100%;
    margin-bottom: 22px
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #fff
}

.hero h2 {
    font-size: 35px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff
}

.hero p {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 0
}

.hero-photo {
    background: url('assets/2025_IMG_Matinal_Santa_Coloma_28-2.jpeg') center center/cover no-repeat
}

.introduction {
    padding-top: 55px;
    padding-bottom: 55px
}

.introduction h2 {
    margin-bottom: 14px
}

.introduction p {
    font-size: 21px;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 1050px
}

.program {
    background: var(--pale);
    padding: 70px 0
}

.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center
}

.program-photo {
    display: block;
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: 15px
}

.program-copy {
    padding-left: 0
}

.program-copy h2 {
    margin-bottom: 12px
}

.program-copy p {
    margin: 0 0 18px;
    line-height: 1.55
}

.pill {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 30px;
    padding: 10px 17px;
    transition: filter .15s, transform .15s
}

.pill:hover,
.pill:focus-visible {
    filter: brightness(1.18);
    transform: translateY(-1px)
}

.pink {
    background: var(--pink)
}

.black {
    background: #000
}

.registration {
    padding-top: 55px;
    padding-bottom: 0
}

.registration>.container>h2 {
    margin-bottom: 28px
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: start
}

.step {
    border: 1px solid #c8c8c8;
    border-radius: 19px;
    padding: 17px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
    min-height: 260px
}

.number {
    color: var(--pink);
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700
}

.step h3 {
    font-size: 23px;
    line-height: 1.18;
    margin: 3px 0 12px
}

.step p {
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 18px
}

.step .pill {
    margin-top: auto
}

.contact {
    margin-top: 80px;
    background: linear-gradient(105deg, #c8006b 35%, #924878);
    color: #fff;
    border-radius: 17px;
    min-height: 350px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 35px 50px;
    overflow: hidden
}

.contact h2 {
    color: #fff;
    margin-bottom: 10px
}

.contact p {
    font-size: 20px;
    line-height: 1.4;
    max-width: 500px
}

.contact a {
    color: #fff;
    text-decoration: underline
}

.contact img {
    width: 100%;
    max-height: 290px;
    object-fit: contain
}

.partners {
    padding-top: 65px;
    padding-bottom: 90px
}

.partners h2 {
    margin-bottom: 25px
}

.partners h3 {
    font-size: 26px;
    margin: 45px 0 30px
}

.logo-grid {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 25px
}

.logo-grid img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.organizers {
    grid-template-columns: repeat(4, 1fr);
    min-height: 100px
}

.organizers img {
    max-width: 200px;
    max-height: 95px
}

.local-points {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 25px
}

.local-points img {
    max-height: 95px;
    max-width: 220px
}

.local-points img:nth-child(5) {
    grid-column: 2
}

.local-points img:nth-child(6) {
    grid-column: 3
}

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 18px;
    background: var(--pink);
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    line-height: 1;
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    border-radius: 4px
}

@media(max-width:980px) {
    .container {
        width: 86%
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0
    }

    .hero-content {
        padding: 8%
    }

    .hero-photo {
        display: none
    }

    .program-grid {
        gap: 30px
    }

    .program-copy {
        padding-left: 0
    }

    .steps {
        gap: 18px
    }

    .contact {
        margin-top: 60px
    }
}

@media(max-width:700px) {
    body {
        font-size: 17px
    }

    .section-pad {
        padding: 45px 0
    }

    .container {
        width: 88%
    }

    .hero-content {
        padding: 12% 8%
    }

    .hero .brand {
        width: 170px
    }

    .hero h1 {
        font-size: 30px
    }

    .hero h2 {
        font-size: 27px
    }

    .hero p {
        font-size: 17px
    }

    h2 {
        font-size: 27px
    }

    .introduction p {
        font-size: 17px
    }

    .program-grid,
    .steps,
    .contact {
        grid-template-columns: 1fr
    }

    .program-photo {
        height: auto;
        aspect-ratio: 1.55
    }

    .program-copy p {
        font-size: 17px;
        margin-bottom: 12px
    }

    .step {
        min-height: 0
    }

    .contact {
        padding: 34px 25px;
        margin-top: 45px
    }

    .contact p {
        font-size: 17px
    }

    .contact img {
        max-height: 190px
    }

    .partners h3 {
        font-size: 22px
    }

    .organizers,
    .local-points {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px
    }

    .organizers img,
    .local-points img {
        max-height: 85px
    }

    .local-points img:nth-child(5),
    .local-points img:nth-child(6) {
        grid-column: auto
    }
}