:root {

    --main-color: #0b183a;
    --accent-color: #ecc731;
    --complementary-color: #1c2f74;
    --text-color: #171e3b;

}

/* Default Behavior */

body, html {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    -webkit-backface-visibility: hidden;
    scroll-behavior: smooth;
}

h1 {
    font-size: 4rem;
}

mark {
    color: var(--accent-color);
}

a {
    text-decoration: none;
    color: inherit;
}

img,
svg {
    max-width: 100%;
    max-height: 100%;
    vertical-align: bottom;
}

* {
    box-sizing: border-box;
    margin: 0;
    border: 0;
    background-color: initial;
}

/* Helper Classes */

.content {
    width: 1200px;
    max-width: 90vw;
    margin: auto;
}

.row,
.grid,
.column {
    display: flex;
    gap: inherit;
}

.column {
    flex-direction: column;
}

.grid {
    display: grid;
}

form.franchise {
    gap: 0;
    background-color: #fff;
}

form.franchise footer {
    padding: 30px 50px;
}

form.franchise footer button {
    display: block;
    cursor: pointer;
    padding: 20px 100px;
    background-color: #6eb362;
    color: #fff;
    font-size: 1.125rem;
    border-radius: 6px;
    margin: auto;
}

form.franchise footer button[disabled] {
    cursor: wait;
    opacity: .5;
}

form.franchise header {
    gap: 10px;
    text-align: center;
    padding: 20px 10px;
    color: var(--complementary-color);
}

form.franchise header h5 {
    font-size: 1.625rem;
    text-transform: uppercase;
}

form.franchise header h6 {
    font-size: 0.875rem;
}

form.franchise label {
    gap: 10px;
}

form.franchise .formContent {
    padding: 30px;
    gap: 20px;
    border: 1px solid #e8eaee;
    border-width: 1px 0;
}

form.franchise .formContent input {
    height: 35px;
    border: 1px solid #cfd1d9;
    border-radius: 3px;
    padding: 10px;
}

/* Header */

header#mainHeader {
    padding: 20px 0;
    color: var(--text-color);
    font-weight: 600;
}

header#mainHeader .content {
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Banner */

section#banner {
    position: relative;
    min-height: 600px;
}

section#banner:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    background: url(../assets/images/banner.jpg) no-repeat right center / cover;
    z-index: 0;
}

section#banner.grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    padding: 50px 0;
}

section#banner > * {
    position: relative;
    z-index: 1;
}

section#banner .side {
    width: 100%;
    padding: 70px;
    justify-content: center;
    gap: 25px;
    background-color: var(--main-color);
    color: #fff;
    clip-path: polygon(0% 0%, 0% 100%, 85% 100%, 100% 0%);
}

section#banner .side p {
    font-size: 2.125rem;
}

section#banner form.franchise {
    width: 100%;
    max-width: 450px;
    justify-self: end;
    margin-right: 5%;
}

/* Invoice */

section#invoicing h3 {
    padding: 50px 0 20px;
    text-align: center;
    font-size: 3rem;
    color: var(--text-color);
}

section#invoicing .grid {
    position: relative;
}

section#invoicing .grid .video-wrapper {
    position: absolute;
    height: 100%;
    width: 56%;
    display: flex;
    align-items: center;
    justify-content: center;
}

section#invoicing .grid video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

section#invoicing .grid video.playing {
    pointer-events: auto;
}

section#invoicing .grid .play-button {
    position: absolute;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10;
}

section#invoicing .grid .play-button:hover {
    transform: scale(1.1);
}

section#invoicing .grid .play-button.hidden {
    opacity: 0;
    pointer-events: none;
}

section#invoicing .grid video::-webkit-media-controls-panel {
    padding-right: 20%;
}

section#invoicing .grid video::-webkit-media-controls-fullscreen-button {
    display: none;
}

section#invoicing .side {
    width: 55%;
    padding: 50px 75px 50px 250px;
    background-color: var(--complementary-color);
    color: #fff;
    place-self: end;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    gap: 15px;
    position: relative;
}

section#invoicing .side:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 20%;
    background-color: #fff;
    clip-path: polygon(0% 0%, 100% 0%, 30% 100%, 0% 100%);
}

section#invoicing .side h4 {
    font-family: "Anton SC", sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 400;
    gap: 1em;
    line-height: 1em;
}

section#invoicing .side h4 mark {
    font-size: 8rem;
    text-align: center;
    font-weight: 800;
}

section#invoicing .side h4 span:last-child {
    place-self: end;
}

section#invoicing .side a {
    background-color: #fff;
    color: var(--text-color);
    padding: 20px 50px 20px 20px;
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - 25px) 100%, 0% 100%);
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
    width: fit-content;
    position: relative;
    margin-top: 30px;
}

section#invoicing .side a:before {
    content: '';
    position: absolute;
    top: 0;
    right: 10px;
    bottom: 0;
    width: 35px;
    background-color: var(--complementary-color);
    clip-path: polygon(25px 0%, 100% 0%, 10px 100%, 0% 100%);
}

/* Map */

section#map {
    padding: 100px 0 0;
    background-color: var(--main-color);
    color: #fff;
}

section#map .content {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

section#map article {
    gap: 20px;
    align-items: start;
}

section#map article i {
    width: 100px;
    height: 100px;
}

section#map article h5 {
    font-size: 2.625rem;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1em;
}

section#map article h5 span {
    font-size: 6rem;
    font-family: 'Anton SC';
    font-weight: 400;
    line-height: 1em;
}

section#map .map {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: -20%;
    background: url("../assets/images/map.png") no-repeat center / contain;
}

/* Oportunity */

section#oportunity {
    background-color: #f4f4f2;
    padding: 50px 0 100px;
}

section#oportunity .content {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "title map" "form list";
    gap: 30px 50px;
    align-items: start;
}

section#oportunity h3 {
    grid-area: title;
    font-size: 2.625rem;
    text-transform: uppercase;
    color: var(--complementary-color);
}

section#oportunity h3 span {
    font-size: 4rem;
}

section#oportunity section.list {
    grid-area: list;
    color: #fff;
}

section#oportunity section.list h5 {
    text-align: center;
    padding: 10px;
    background-color: var(--accent-color);
    color: var(--complementary-color);
    font-size: 2.5rem;
    text-transform: uppercase;
    border-radius: 6px;
}

section#oportunity section.list .column {
    background-color: #005dbc;
    padding: 20px 30px;
    font-weight: 700;
}

section#oportunity section.list .column .grid {
    grid-template-columns: repeat(2, 1fr);
}

section#oportunity section.list .column .grid ul {
    padding: 0;
    list-style: none;
}

section#oportunity section.list .column .grid ul li:before {
    content: '-';
}

section#oportunity form.franchise {
    grid-area: form;
}

/* Diferentials */

section#diferentials {
    padding: 50px 0;
    background-color: var(--main-color);
    color: #fff;
    gap: 30px;
}

section#diferentials .content {
    align-items: center;
}

section#diferentials header {
    gap: 0;
    text-transform: uppercase;
}

section#diferentials header h3 {
    font-size: 3rem;
    color: var(--accent-color);
}

section#diferentials header p {
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
}

section#diferentials picture {
    text-align: center;
}

section#diferentials .row {
    width: 100%;
    background-color: #005dbc;
    gap: 0;
    margin-top: 30px;
    clip-path: polygon(20px -50px, 100% -50px, calc(100% - 20px) 100%, 0% 100%);
    padding: 0 20px;
}

section#diferentials .row article {
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    gap: 10px;
}

section#diferentials .row article:nth-child(2n) {
    background-color: #034c98;
    padding: 0 20px 10px;
    clip-path: polygon(20px -50px, 100% -50px, calc(100% - 20px) 100%, 0% 100%);
}

section#diferentials .row article i {
    width: 50px;
    aspect-ratio: 1;
    background-color: var(--accent-color);
    border-radius: 50%;
    align-self: center;
    margin-top: -30px;
    padding: 10px;
}

section#diferentials .row article h5 {
    font-size: 1.25rem;
    font-weight: 400;
}

section#diferentials .row article h5 span {
    text-transform: uppercase;
    font-weight: 700;
}

/* Depositions */

section#depositions {
    padding: 50px 0;
}

section#depositions .content {
    gap: 50px;
    align-items: center;
}

section#depositions h3 {
    text-align: center;
    font-size: 3rem;
    text-transform: uppercase;
    color: var(--text-color);
}

section#depositions .video-wrapper {
    position: relative;
    width: 800px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

section#depositions video {
    width: 100%;
    border: 10px solid #ddd;
    border-radius: 6px;
}

section#depositions .play-button {
    position: absolute;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10;
}

section#depositions .play-button:hover {
    transform: scale(1.1);
}

section#depositions .play-button.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Expansion */

section#expansion {
    background-color: #f4f4f2;
}

section#expansion .content {
    grid-template-columns: repeat(2, 1fr);
    padding: 100px 0;
    gap: 50px;
    align-items: center;
}

section#expansion .text {
    align-items: center;
    gap: 100px;
}

section#expansion .text header {
    gap: 25px;
    color: var(--complementary-color);
}

section#expansion .text header h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

section#expansion .text header h3 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

/* Responsive */

@media (max-width: 1280px) {

    section#invoicing .side {
        width: 60%;
    }

}

@media (min-width: 901px) {

    .mobile {
        display: none;
    }

}

@media (max-width: 900px) {

    .desktop {
        display: none;
    }

    h1 {
        font-size: 2rem;
    }

    h3 br {
        display: none;
    }

    header#mainHeader .content {
        justify-content: center;
    }

    section#banner:before {
        width: 100%;
        height: 50vw;
        position: relative;
    }

    section#banner .side {
        width: 100%;
        clip-path: polygon(0% 0%, 100% 25px, 100% 100%, 0% 100%);
        margin-top: -25px;
        padding: 70px 30px 30px;
    }

    section#banner .side p {
        font-size: 1.125rem;
        text-align: right;
    }

    section#banner form.franchise {
        width: 100%;
        margin: 20px 0 0 0;
    }

    section#invoicing .grid .video-wrapper {
        position: relative;
        width: 100%;
        height: auto;
    }

    section#invoicing .grid video {
        width: 100%;
        height: auto;
    }

    section#invoicing .grid video::-webkit-media-controls-panel {
        padding: 0 0 25px;
    }

    section#invoicing .side {
        width: 100%;
        padding: 50px;
        clip-path: polygon(0% 0%, 100% 25px, 100% 100%, 0% 100%);
        margin-top: -25px;
    }

    section#invoicing .side:before {
        width: 100%;
        clip-path: polygon(0% 0%, 100% 0%, 100% 50px, 0% 0%);
    }

    section#invoicing .side h4 mark {
        font-size: 6rem;
    }

    section#map .content {
        grid-template-columns: 1fr;
    }

    section#map article:nth-child(2) {
        flex-direction: row-reverse;
        text-align: right;
    }

    section#map article h5 {
        font-size: 1.25rem;
    }

    section#map article h5 span {
        font-size: 4rem;
    }

    section#oportunity {
        padding-top: 20%;
    }

    section#oportunity .content {
        grid-template-columns: 1fr;
        grid-template-areas: "title""list""form";
    }

    section#oportunity h3 {
        font-size: 1.25rem;
    }

    section#oportunity h3 span {
        font-size: 2rem;
    }

    section#oportunity section.list h5 {
        font-size: 1.5rem;
    }

    section#diferentials .row {
        padding: 0;
        align-items: stretch;
    }

    section#diferentials .row article h5 {
        font-size: 0.875rem;
    }

    section#diferentials .row article:nth-child(2n) {
        padding: 0 20px 10px 10px;
        margin-right: -10px;
    }

    section#depositions h3 {
        font-size: 2rem;
    }

    section#expansion .content {
        grid-template-columns: 1fr;
    }

    section#expansion .text {
        gap: 20px;
    }

    section#expansion .text header h3 {
        text-align: right;
    }

}

@media (max-width: 516px) {

    section#banner.grid {
        padding: 0;
    }

    section#banner {
        display: flex;
        flex-direction: column;
    }

    section#banner:before {
        display: none;
    }

    section#banner .side {
        width: 100%;
        clip-path: none;
        margin-top: 0;
        padding: 50px 20px;
    }

    section#banner .side h1 {
        font-size: 1.5rem;
    }

    section#banner .side p {
        font-size: 1rem;
        text-align: left;
    }

    section#banner form.franchise {
        width: 100%;
        margin: 0;
        position: relative;
        background: url(../assets/images/banner.jpg) no-repeat center center / cover;
    }

    section#banner form.franchise::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.9);
        z-index: 0;
    }

    section#banner form.franchise > * {
        position: relative;
        z-index: 1;
    }

}

@media (max-width: 400px) {
    section#invoicing .side {
        padding: 30px;
    }

    section#invoicing .side h4 mark {
        font-size: 5rem;
    }
}