:root {
    --background-color: #f6f6ec;
    --orange: #ff7900;
    --verde: #d8ff51;
    --nautilus: "neulis-sans", sans-serif;
    --morado: #B2AAF9;
}

html,
body {
    min-height: 100%;
    min-width: 414px;
    margin: 0;
}

body {
    
    font-weight: 400;
    color: #111111;
}

h1{
    font-family: var(--nautilus);
    font-weight: 400;
}

h3{
    font-family: var(--nautilus);
    font-weight: 400;
}

.nautilus{
    font-family: var(--nautilus);
}

.nautilus-parrafo{
    font-family: var(--nautilus);
    font-weight: 400;
}

h4{
    font-size: 2.5rem;
    line-height: 2.2rem;
    font-family: var(--nautilus);
}

h4 span{
    color: var(--verde);
}


.nautilus{
    font-family: var(--nautilus);
}

.bg-main {
    background-color: var(--background-color);
}

.bg-orange {
    background-color: var(--orange);
}

.title-naranja{
    font-size: 2rem;
    position: absolute;
    top: 0.5rem;
    left: 13%;
}

.title-verde{
   font-size: 2rem;
   position: absolute;
   top: 0.5rem;
   left: 28%; 
}

.title-amarillo{
    font-size: 2rem;
    position: absolute;
    top: 0.5rem;
    left: 68%; 
}

.title-morado{
    font-size: 2rem;
    position: absolute;
    top: 0.5rem;
    left: 56%; 
}

@media (max-width: 1050px) {
    .title-naranja{
        font-size: 1.5rem;
    }
    .title-verde{
        font-size: 1.5rem;
        left: 32%; 
    }
    .title-amarillo{
        font-size: 1.5rem;
        left: 68%; 
    }
    .title-morado{
        font-size: 1.5rem;
        left: 56%; 
    }
}

@media (max-width: 624px){
    .title-naranja{
        font-size: 1rem;
    }
    .title-verde{
        font-size: 1rem;
        left: 32%; 
    }
    .title-amarillo{
        font-size: 1rem;
        left: 62%; 
    }

    .title-morado{
        font-size: 1rem; 
        left: 66%; 
    }
}

.hero-shell {
    position: relative;
    flex-direction: column;
    height: 100vh;
    max-height: 914px;
    display: flex;
    align-items: center;
    padding: 1.25rem 1rem 2rem;
    overflow: hidden;
}

.hero-trail-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-trail-item {
    position: absolute;
    width: clamp(160px, 20vw, 280px);
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.92;
    filter: drop-shadow(0 16px 24px rgba(17, 17, 17, 0.22));
}

.site-header {
    width: 100%;
    max-width: 80rem;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0.5rem 0;
}

.desktop-nav-list {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: var(--verde);
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    transform-origin: center center;
    transition: background-color 0.25s ease, padding 0.25s ease;
}

.menu-item::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background-color: var(--verde);
    transform: translateY(-50%) scale(0.7);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-item::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.18rem;
    width: 0.95rem;
    height: 0.95rem;
    border-top: 2.5px solid #111111;
    border-right: 2.5px solid #111111;
    transform: translateY(-50%) rotate(45deg) scale(0.7);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-item a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -2.3rem;
    width: 1.1rem;
    height: 2.5px;
    background-color: #111111;
    border-radius: 999px;
    transform: translateY(-50%) scaleX(0.7);
    transform-origin: left center;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-item a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    color: #111111;
    font-weight: 700;
    text-decoration: none;
}

.menu-item-hover-icon {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.8);
}

.menu-item:hover {
    background-color: #ffffff;
    padding-right: 3.7rem;
}

.menu-item:hover::after,
.menu-item:hover::before,
.menu-item:hover a::after {
    opacity: 0;
}

.mobile-menu-toggle {
    display: none;
    position: relative;
    width: 72px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 4px;
    border-radius: 999px;
}

.menu-toggle-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-toggle-icon-open {
    opacity: 0;
    transform: scale(0.92);
}

.mobile-menu-toggle.is-open .menu-toggle-icon-open {
    opacity: 1;
    transform: scale(1);
}

.mobile-menu-toggle.is-open .menu-toggle-icon-closed {
    opacity: 0;
    transform: scale(0.92);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    background-color: transparent;
}

.mobile-menu-panel {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem 2rem;
    background-color: #95DBC7;
}

.mobile-menu-list {
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: 28rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu-link {
    background-color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 999px;
    color: #141414;
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-link:hover {
    transform: translateY(-2px);
    opacity: 0.72;
}


.float-text{
    background-color: var(--morado);
    padding: 10px 20px 20px 20px;
    color: #111111;
    font-family: var(--nautilus);
    font-weight: bold;
    border-radius: 3rem;
    text-align: center;
    max-width: 24rem;
    transform: rotate(7deg) translate(3rem, -1rem);
}

.personaje-hero{
    transform: translateY(-5rem);
    width: 300px;
}

.marcador-shell {
    overflow: hidden;
    padding: 0 0 1rem;
}

.texto-marcador-track {
    display: flex;
    width: max-content;
    gap: 2rem;
    flex-wrap: nowrap;
    will-change: transform;
}

.texto-marcador-item {
    display: inline-block;
    white-space: nowrap;
    color: var(--morado);
    font-weight: 700;
    font-size: clamp(2.2rem, 6vw, 5rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.logos-marcador-track {
    display: flex;
    width: max-content;
    gap: 2rem;
    flex-wrap: nowrap;
    will-change: transform;
}

.logos-marcador-group {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0 1.5rem;
    flex-shrink: 0;
}

.logo-marcador-item {
    display: block;
    height: 4rem;
    width: 9rem;
    object-fit: contain;
    opacity: 1;
    filter: none;
}

.complutense{
    height: 6rem;
}

.shape-showcase {
    padding: 4rem 1rem 6rem;
}

.shape-showcase-grid {
    width: min(100%, 72rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 1rem;
    position: relative;
}

.shape-container {
    position: relative;
    width: min(100%, 72rem);
    aspect-ratio: 1152 / 642;
    overflow: hidden;
    background-color: var(--morado);
    -webkit-mask-image: url("../img/shapes/morado.svg");
    mask-image: url("../img/shapes/morado.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    box-shadow: 0 24px 60px rgba(17, 17, 17, 0.14);
    transform-origin: top center;
    cursor: pointer;
}

.shape-showcase-grid .shape-container:not(:first-child) {
    grid-row: 1;
    grid-column: 1;
}

.shape-showcase-grid .shape-container:nth-child(1) {
    grid-row: 1;
    grid-column: 1;
    z-index: 4;
    transform: translateY(14rem);
}

.shape-showcase-grid .shape-container:nth-child(2) {
    grid-row: 1;
    grid-column: 1;
    z-index: 3;
    transform: translateY(9.25rem);
}

.shape-showcase-grid .shape-container:nth-child(3) {
    grid-row: 1;
    grid-column: 1;
    z-index: 2;
    transform: translateY(4.5rem);
}

.shape-showcase-grid .shape-container:nth-child(4) {
    grid-row: 1;
    grid-column: 1;
    z-index: 1;
    transform: translateY(0);
}

.shape-container--morado {
    background-color: var(--morado);
    -webkit-mask-image: url("../img/shapes/morado.svg");
    mask-image: url("../img/shapes/morado.svg");
}

.shape-container--verde {
    background-color: var(--verde);
    -webkit-mask-image: url("../img/shapes/verde.svg");
    mask-image: url("../img/shapes/verde.svg");
}

.shape-container--naranja {
    background-color: var(--orange);
    -webkit-mask-image: url("../img/shapes/naranja.svg");
    mask-image: url("../img/shapes/naranja.svg");
}

.shape-container--amarillo {
    -webkit-mask-image: url("../img/shapes/amarillo.svg");
    mask-image: url("../img/shapes/amarillo.svg");
}

.folder-case-copy {
    width: 65%;
    padding: 10rem 2.5rem 3rem 5rem;
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.folder-case-title {
    margin: 0;
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1;
}

.folder-case-text {
    margin: 1rem 0 0;
    max-width: 38rem;
    font-size: clamp(0.98rem, 1.45vw, 1.5rem);
    line-height: 1.2;
}

.folder-case-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: auto;
    padding-top: 2.5rem;
}

.folder-case-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(8.35rem, 9vw, 10rem);
    max-width: 140px;
    height: clamp(4.7rem, 5vw, 5.1rem);
    min-width: 0;
    min-height: 0;
    padding: 0.5rem 0.75rem;
    box-sizing: border-box;
    border-radius: 999px !important;
    flex: 0 1 auto;
}

.folder-case-media {
    width: 35%;
    padding: 5rem 2rem 3rem 1rem;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.folder-case-gallery {
    position: relative;
    width: min(100%, 17rem);
    aspect-ratio: 0.9;
    overflow: visible;
}

.folder-case-card {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.9rem;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.18);
    will-change: transform;
    transform-origin: center center;
}

.folder-case-card--front {
    z-index: 2;
}

.folder-case-card--back {
    z-index: 1;
}

.folder-case-carousel-track {
    display: none;
}

.folder-case-stat-value {
    margin: 0;
    font-size: clamp(1.55rem, 2vw, 1.875rem);
    line-height: 1;
}

.folder-case-stat-value--long {
    font-size: clamp(1.35rem, 1.7vw, 1.6rem);
}

.folder-case-stat-label {
    margin: 0.25rem 0 0;
    font-size: clamp(0.82rem, 0.95vw, 1rem);
    line-height: 1.1;
}

.shape-container-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    box-sizing: border-box;
}

.shape-container-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.shape-container-title {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 3rem);
    line-height: 0.95;
    color: #111111;
}

.floating-report-section {
    position: relative;
    width: 100%;
    overflow: visible;
}

.floating-report-title {
    position: relative;
    z-index: 1;
    margin: 0;
}

.floating-report-title-break {
    display: inline;
}

.divs-flotantes{
    position: absolute;
    z-index: 2;
    padding: 0.3rem 2rem;
    font-family: var(--nautilus);
    font-weight: 800;
    border-radius: 1rem;
    box-shadow: 0 0.85rem 1.9rem rgba(17, 17, 17, 0.12);
    white-space: nowrap;
    will-change: transform;
}

.footer{
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    overflow: hidden;
}

.footer-title {
    text-align: center;
}

.personaje-skate {
    display: block;
    transform: translateX(2.75rem);
    transform-origin: 50% 90%;
    will-change: transform;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 4rem 1rem 1.5rem;
}

.site-modal[hidden] {
    display: none;
}

.site-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(17, 17, 17, 0.54);
}

.site-modal-shell {
    position: relative;
    width: min(70vw, 1400px);
    outline: none;
}

.site-modal-panel {
    position: relative;
    max-height: min(70vh, 34rem);
    overflow: auto;
    scrollbar-width: none;
    padding: 2rem;
    border-radius: 1.25rem;
    background-color: var(--background-color);
    box-shadow: 0 1.5rem 4rem rgba(17, 17, 17, 0.22);
}

.site-modal-panel::-webkit-scrollbar {
    display: none;
}

.site-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    z-index: 1;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background-color: var(--verde);
    color: #111111;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.site-modal-close:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

.site-modal-title {
    margin: 0 0 1rem;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 0.95;
    text-align: center;
}

.site-modal-subtitle {
    margin: -0.35rem 0 1.25rem;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.1;
    text-align: center;
}

.site-modal-subtitle[hidden] {
    display: none;
}

.site-modal-content {
    display: grid;
    gap: 1rem;
    font-family: var(--nautilus);
    font-size: 1rem;
    line-height: 1.45;
    min-width: 633px;
}

#footer-modal-content {
    min-height: 633px;
}

.site-modal-content p {
    margin: 0;
}

.site-modal-content a {
    color: #111111;
    font-weight: 800;
}

.site-modal-image {
    display: block;
    width: 100%;
    height: auto;
}

.site-modal[data-modal-variant="image"] .site-modal-panel {
    max-height: min(82vh, 54rem);
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

.site-modal[data-modal-variant="image"] .site-modal-title,
.site-modal[data-modal-variant="image"] .site-modal-subtitle {
    display: none;
}

.site-modal[data-modal-variant="image"] .site-modal-content {
    display: block;
}

.site-modal[data-modal-variant="image"] .site-modal-image {
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 4rem rgba(17, 17, 17, 0.22);
}

.site-modal[data-modal-variant="contact"] .site-modal-shell {
    width: min(68vw, 960px);
}

.site-modal[data-modal-variant="contact"] .site-modal-panel {
    max-height: calc(100vh - 3rem);
    padding: 0;
    overflow: auto;
    background-color: transparent;
    box-shadow: none;
}

.site-modal[data-modal-variant="contact"] .site-modal-title,
.site-modal[data-modal-variant="contact"] .site-modal-subtitle {
    display: none;
}

.site-modal[data-modal-variant="contact"] .site-modal-content {
    display: block;
    min-width: 0;
    min-height: 0;
}

.site-modal[data-modal-variant="contact"] #footer-modal-content {
    min-height: 0;
}

.contact-modal-card {
    width: 100%;
    min-width: 0;
    filter: drop-shadow(0 1.5rem 4rem rgba(17, 17, 17, 0.22));
}

.contact-modal-top {
    display: block;
    margin-bottom: -1px;
    line-height: 0;
}

.contact-modal-top img {
    display: block;
    width: 88%;
    height: auto;
    margin: 0 auto;
}

.contact-modal-form {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: min(520px, calc(100vh - 8rem));
    aspect-ratio: 1152 / 637;
    overflow: hidden;
    padding: 3.15rem 3.65rem;
    border-radius: 2.85rem;
    background-color: var(--orange);
    box-sizing: border-box;
    font-family: var(--nautilus);
}

.contact-modal-kicker {
    margin: 0 0 4.35rem;
    font-size: clamp(1.25rem, 2.35vw, 2rem);
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.contact-modal-title {
    margin: 0;
    padding-bottom: 40px;
    color: #ffffff;
    font-size: clamp(2.35rem, 4.4vw, 4.05rem);
    font-weight: 900;
    line-height: 0.78;
}

.contact-modal-fields {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem 1.35rem;
}

.contact-modal-input,
.contact-modal-textarea {
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    background-color: #ffffff;
    color: #111111;
    font: inherit;
    font-size: clamp(0.82rem, 1.05vw, 1rem);
    outline: none;
    box-sizing: border-box;
}

.contact-modal-input {
    height: clamp(2.35rem, 3.35vw, 2.95rem);
    padding: 0 1.15rem;
}

.contact-modal-textarea {
    grid-column: 1 / -1;
    height: clamp(5.25rem, 8vw, 6.7rem);
    padding: 0.85rem 1.15rem;
    border-radius: 1.25rem;
    resize: none;
}

.contact-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 0.85rem;
}

.contact-modal-legal {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #111111;
    font-size: clamp(0.78rem, 1.05vw, 0.98rem);
}

.contact-modal-legal a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.contact-modal-checkbox {
    appearance: none;
    width: clamp(1.15rem, 2vw, 1.5rem);
    height: clamp(1.15rem, 2vw, 1.5rem);
    margin: 0;
    border: 0;
    border-radius: 999px;
    background-color: #ffffff;
    flex: 0 0 auto;
}

.contact-modal-checkbox:checked {
    box-shadow: inset 0 0 0 0.42rem #ffffff;
    background-color: var(--verde);
}

.contact-modal-submit {
    min-width: clamp(6.4rem, 9.5vw, 7.8rem);
    height: clamp(2.65rem, 4.3vw, 3.45rem);
    border: 0;
    border-radius: 999px;
    background-color: var(--verde);
    color: #111111;
    cursor: pointer;
    font-family: var(--nautilus);
    font-size: clamp(0.85rem, 1.2vw, 1.1rem);
    font-weight: 900;
}

.contact-modal-status {
    position: absolute;
    right: 3.875rem;
    bottom: 1.35rem;
    margin: 0;
    color: #111111;
    font-size: 1rem;
    font-weight: 800;
}

@media (min-width: 768px) {
    .footer {
        position: relative;
        display: block;
        min-height: 34rem;
        padding: 3.5rem 4rem 3rem;
    }

    .footer-title,
    .footer-email,
    .footer-phone,
    .footer-links,
    .footer-copyright,
    .footer-logo,
    .personaje-skate {
        position: absolute;
        margin: 0;
    }

    .footer-title {
        top: 3.25rem;
        right: 4rem;
        width: 24rem;
        max-width: 24rem;
        font-size: clamp(2.25rem, 4vw, 3.8rem);
        line-height: 0.9;
        text-align: right;
    }

    .footer-email {
        top: 3.5rem;
        left: 4rem;
        text-align: left;
    }

    .footer-phone {
        top: 6.35rem;
        left: 4rem;
        text-align: left;
    }

    .footer-links {
        left: 4rem;
        bottom: 5.75rem;
    }

    .footer-links li {
        text-align: left;
    }

    .footer-copyright {
        left: 4rem;
        bottom: 3.5rem;
        max-width: 25rem;
        text-align: left;
    }

    .footer-logo {
        right: 4rem;
        bottom: 3.5rem;
        width: 12rem;
        height: auto;
    }

    .personaje-skate {
        left: calc(50% - 8.5rem);
        bottom: 0;
        width: min(22vw, 15.5rem);
        height: auto;
    }
}

.divs-flotantes:nth-of-type(1) {
    top: 6%;
    left: 24%;
    transform: rotate(-8deg);
}

.divs-flotantes:nth-of-type(2) {
    top: 10%;
    right: 24%;
    transform: rotate(7deg);
}

.divs-flotantes:nth-of-type(3) {
    top: 55%;
    left: 18%;
    transform: rotate(1deg);
}

.divs-flotantes:nth-of-type(4) {
    bottom: 38%;
    right: 18%;
    transform: rotate(-7deg);
}

.divs-flotantes:nth-of-type(5) {
    bottom: -10%;
    left: 29%;
    transform: rotate(8deg);
}

.divs-flotantes:nth-of-type(6) {
    right: 29%;
    bottom: -14%;
    transform: rotate(-6deg);
}

.bg-morado{
    background-color: var(--morado);
}

.bg-amarillo{
    background-color: var(--verde);
}

.bg-verde{
    background-color: #95DBC7;
}

.bg-naranja{
    background-color: var(--orange);
}

@media (max-width: 1180px) {
    .folder-case-copy {
        padding: 8rem 2rem 2.5rem 3rem;
    }

    .folder-case-media {
        padding: 4rem 1.5rem 2.5rem 0.5rem;
    }

    .folder-case-gallery {
        width: min(100%, 15.5rem);
    }

    .folder-case-stats {
        padding-top: 1.75rem;
    }
}

@media (max-width: 767px) {
    .site-modal[data-modal-variant="contact"] .site-modal-shell {
        width: min(92%, 960px);
    }

    .contact-modal-form {
        min-height: min(633px, calc(100vh - 7.5rem));
        aspect-ratio: auto;
        padding: clamp(1.75rem, 5vh, 2.65rem) 1.15rem 1.75rem;
        border-radius: 0 0 2rem 2rem;
    }

    .contact-modal-top img {
        width: 100%;
    }

    .contact-modal-kicker {
        margin-bottom: 3rem;
        font-size: 1.15rem;
    }

    .contact-modal-title {
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 40px;
        font-size: clamp(2rem, 9vw, 2.95rem);
        line-height: 0.86;
    }

    .contact-modal-fields {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .contact-modal-input {
        height: 2.5rem;
        padding: 0 1rem;
    }

    .contact-modal-textarea {
        height: 5.8rem;
        padding: 0.8rem 1rem;
        border-radius: 1rem;
    }

    .contact-modal-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
        margin-top: 0.65rem;
    }

    .contact-modal-submit {
        align-self: flex-end;
        min-width: 6.7rem;
        height: 2.75rem;
    }

    .contact-modal-status {
        right: auto;
        left: 1.25rem;
        bottom: 1rem;
    }

    .site-modal-shell {
        width: min(100%, 1400px);
    }

    .floating-report-section {
        min-height: 13rem;
    }

    .floating-report-title {
        text-align: center;
    }

    .floating-report-title-break {
        display: block;
    }

    .divs-flotantes {
        padding: 0.18rem 0.75rem;
        font-size: 0.72rem;
        border-radius: 0.55rem;
        box-shadow: 0 0.45rem 1rem rgba(17, 17, 17, 0.1);
    }

    .divs-flotantes:nth-of-type(1) {
        top: 12%;
        left: 3%;
    }

    .divs-flotantes:nth-of-type(2) {
        top: 16%;
        right: 3%;
    }

    .divs-flotantes:nth-of-type(3) {
        top: 43%;
        left: 50%;
        transform: translateX(-50%) rotate(1deg);
    }

    .divs-flotantes:nth-of-type(4) {
        top: auto;
        bottom: 35%;
        right: 9%;
    }

    .divs-flotantes:nth-of-type(5) {
        bottom: 15%;
        left: 4%;
    }

    .divs-flotantes:nth-of-type(6) {
        right: 4%;
        bottom: 11%;
    }
}

@media (max-width: 980px) {
    .folder-case-copy {
        padding: 7.25rem 1.5rem 2rem 2rem;
    }

    .folder-case-text {
        font-size: clamp(0.88rem, 1.05vw, 0.98rem);
        line-height: 1.24;
    }

    .folder-case-media {
        padding: 3.5rem 1rem 2rem 0.5rem;
    }

    .folder-case-gallery {
        width: min(100%, 13.5rem);
    }
}

@media (max-width: 767px) {
    .site-header {
        position: static;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        position: fixed;
        top: 1.5rem;
        right: 1rem;
        z-index: 60;
    }

    .mobile-menu.is-visible {
        display: block;
    }

    .hero-shell > section {
        position: relative;
    }

    .hero-character-wrap {
        position: absolute;
        right: 0.75rem;
        bottom: 1rem;
    }

    .personaje-hero{
        transform: none;
        width: clamp(150px, 42vw, 190px);
    }

    .float-text{
        background-color: var(--morado);
        padding: 4px 16px 8px 16px;
        color: #111111;
        font-family: var(--nautilus);
        font-size: 2.2rem !important;
        font-weight: bold;
        border-radius: 3rem;
        text-align: center;
        width: 17rem;
        transform: rotate(7deg) translate(3rem, -1rem);
    }

    .texto-marcador-item {
        font-size: clamp(4rem, 8vw, 3.6rem);
    }

    .shape-showcase {
        padding: 2rem 1rem 4rem;
    }

    .shape-showcase-grid {
        gap: 0;
        padding-top: 0;
    }

    .shape-container {
        width: 100%;
        aspect-ratio: 390 / 868;
        -webkit-mask-image: url("../img/shapes/morado-mobile.svg");
        mask-image: url("../img/shapes/morado-mobile.svg");
    }

    .shape-showcase-grid .shape-container:nth-child(1) {
        transform: translateY(8.5rem);
    }

    .shape-showcase-grid .shape-container:nth-child(2) {
        transform: translateY(5.75rem);
    }

    .shape-showcase-grid .shape-container:nth-child(3) {
        transform: translateY(3rem);
    }

    .shape-showcase-grid .shape-container:nth-child(4) {
        transform: translateY(0);
    }

    .shape-container--morado {
        -webkit-mask-image: url("../img/shapes/morado-mobile.svg");
        mask-image: url("../img/shapes/morado-mobile.svg");
    }

    .shape-container--verde {
        -webkit-mask-image: url("../img/shapes/verde-mobile.svg");
        mask-image: url("../img/shapes/verde-mobile.svg");
    }

    .shape-container--naranja {
        -webkit-mask-image: url("../img/shapes/naranja-mobile.svg");
        mask-image: url("../img/shapes/naranja-mobile.svg");
    }

    .shape-container--amarillo {
        -webkit-mask-image: url("../img/shapes/amarillo-mobile.svg");
        mask-image: url("../img/shapes/amarillo-mobile.svg");
    }

    .folder-case-copy {
        width: 100%;
        padding-top: 6.5rem !important;
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
        padding-bottom: 0.75rem !important;
    }

    .folder-case-title {
        font-size: 1.6rem !important;
    }

    .folder-case-text {
        font-size: 0.95rem;
        line-height: 1.28;
    }

    .folder-case-stats {
        justify-content: center;
        column-gap: 0;
        row-gap: 0.85rem;
        padding-top: 1.2rem !important;
    }

    .folder-case-stat {
        width: min(10rem, 140px) !important;
        max-width: 140px;
        height: 5.1rem;
        min-width: 140px;
        min-height: 5.1rem;
        border-radius: 999px !important;
    }

    .folder-case-stat-value {
        font-size: 1.35rem !important;
    }

    .folder-case-stat-value--long {
        font-size: 1.18rem !important;
    }

    .folder-case-stat-label {
        font-size: 0.82rem;
        line-height: 1.2;
    }

    .folder-case-media {
        width: 100%;
        padding-top: 0.75rem !important;
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        justify-content: center;
        align-items: flex-start;
    }

    .folder-case-gallery {
        width: 100%;
        max-width: 100%;
        aspect-ratio: auto;
        overflow: hidden;
    }

    .folder-case-card {
        display: none;
    }

    .folder-case-carousel-track {
        display: flex;
        width: max-content;
        gap: 1rem;
        will-change: transform;
    }

    .folder-case-carousel-slide {
        flex: 0 0 auto;
    }

    .folder-case-carousel-slide--primary,
    .folder-case-carousel-slide--secondary {
        width: min(44vw, 10.75rem);
    }

    .folder-case-carousel-image {
        display: block;
        width: 100%;
        aspect-ratio: 0.72;
        object-fit: cover;
        border-radius: 1.4rem;
        box-shadow: 0 18px 40px rgba(17, 17, 17, 0.18);
    }

    .folder-case-card {
        border-radius: 1.4rem;
    }

    .shape-container-content {
        padding: 1.25rem 1.25rem 2rem;
    }
}
