:root {
    --white: #fff;
    --black: #000;
    --gray-100: #F0F0F0;
    --gray-200: #eeeaea;
    --gray-700: #6e6e6e;
    --gray-800: #404040;
    --bright-green: #22c55e;
    --light-blue: #4AA1C8;
    --blue: #416473;
    --orange: #D65034;
}

* {
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

html {
    background-color: var(--gray-200);
}

body {
    max-width: 1900px;
    /*height: 100vh;*/
    margin: 0 auto;
    background-color: var(--white);
    color: var(--black);
}

header {
    background-image: url('/img/beach-background.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.page-home main {
    margin-top: 120px;

    @media (min-width: 768px) {
        margin-top: 40px;
    }
}

.top-nav {
    padding: 0.75rem 0;

    @media (min-width: 768px) {
        /*background-color: var(--white);*/
    }
}

.logo {
    height: 40px;

    @media (min-width: 768px) {
        height: 50px;
    }
}

h1 {
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1.1;

    @media (min-width: 768px) {
        font-size: 2.8rem;
        line-height: 1.1;
    }
}

h2 {
    font-weight: 600;
    line-height: 1.2;
    font-size: 1.75rem;
}

p,
li {
    font-size: 1.25rem;
    font-weight: 200;
    line-height: 1.4;
}

.page-home ol {
    counter-reset: custom-counter;
    padding-left: 2.5rem;
}

.page-home ol li {
    counter-increment: custom-counter;
    position: relative;
    list-style: none;
    margin-bottom: 0.75rem;
}

.page-home ol li::before {
    content: counter(custom-counter);
    background-color: var(--light-blue);
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 50%;
    position: absolute;
    left: -2.5rem;
    top: 0;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    line-height: 1.25;
}

p strong,
li strong {
    font-weight: 600;
}

.intro-text {
    margin: 40px 0;

    @media (min-width: 768px) {
        margin: 100px 0;
    }
}

.intro p {
    font-size: 1.4rem;
    line-height: 1.2;
}

.header-tfn {
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: 300;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--white);

    @media (min-width: 768px) {
        font-size: 1rem;
        /*color: var(--gray-800);*/
    }
}

.header-tfn .animate-ping {
    height: 12px;
    width: 12px;
    background-color: var(--bright-green);
    border-radius: 100%;
    opacity: 1;
}

.header-tfn .dot {
    content: "";
    position: absolute;
    height: 8px;
    width: 8px;
    top: 2px;
    right: 2px;
    background-color: var(--bright-green);
    border-radius: 100%;
}

.header-tfn .tfn {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--white);
    line-height: 1;

    @media (min-width: 768px) {
        font-size: 1.75rem;
        /*color: var(--gray-800);*/
    }
}

.header-tfn strong {
    font-weight: 600;
}

.action-wrapper {
    position: relative;
    height: 100px;

    @media (min-width: 768px) {
        height: 130px;
    }
}

.action {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 1.25rem;
    color: var(--black);
    border: 2px solid var(--orange);
    box-shadow: 0 3px 13px -3px rgba(0, 0, 0, 0.25);

    @media (min-width: 768px) {
        top: 0;
    }
}

.action .phone-text {
    line-height: 1.3;
    text-align: center;
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.action .phone-text p {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
}

.action .phone-text a {
    font-size: 2.25rem;
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
}

.action .agent {
    position: relative;
    padding-right: 60px;
}

.action .agent::after {
    content: url('/img/agent.png');
    position: absolute;
    bottom: -29px;
    right: -15px;
}

.action .agent h2 {
    line-height: 1.2;
    font-size: 1.25rem;
    color: var(--orange);
    margin-bottom: 0.25rem;
}

.action .agent p {
    font-size: 1rem;
    margin: 0;
    line-height: 1;
}

.panel {
    margin: 30px 0;
}

.panel--how-works {
    margin-bottom: 0;
}

.panel--how-works .container {
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
}

.panel--how-works svg.airplane {
    position: absolute;
    top: 0;
    width: 480px;
    right: 0;
    opacity: 0.05;

    @media (min-width: 768px) {
        opacity: 0.1;
        right: 50px;
    }
}

.panel--how-works svg.airplane path {
    fill: var(--blue);
}

.panel--book {
    margin-top: 0;
    background-color: var(--blue);
    color: var(--white);
    padding: 30px 0;
}

.panel--book h2 {
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.panel--book p {
    margin-bottom: 0.25rem;
}

.panel--book a {
    font-size: 1.75rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

footer p {
    font-size: 1rem;
    color: var(--gray-700);
}

footer a {
    color: var(--gray-700);
}

.slider {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.slider .slick-slide {
    padding: 0 calc(var(--bs-gutter-x)* .5);
}

.slider .slick-dots {
    bottom: 5px;
}

.slider img {
    border-radius: 16px;
    width: 100%;
}

/* Animation */
@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1
    }

    75%,100% {
        transform: scale(2);
        opacity: 0
    }
}

.animate-ping {
    animation: ping 2s cubic-bezier(0,0,.2,1) infinite;
}
