/* CSS Reset */

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

ul {
    list-style-position: inside;
}

/* Variables */

:root {
    --border-radius: 12px;

    --color-blue: #0261a9;
    --color-orange: #ffa600;
    --color-orange-dark: #db9000;
    --color-background-light-gray: #fafafa;
    --color-background-gray: #ebebeb;
    --color-background-transparent-dark: #555555e6;
    --color-background-dark-gray: #555555;
    --color-border: #cccccc;
    --color-border-dark-gray: #333333;
    --color-border-light-gray: #ebebeb;
    --color-text-black: #404040;
    --color-text-blue: #0261a9;
    --color-text-gray: #808080;
    --color-text-orange: #ffa600;
    --color-text-orange-dark: #db9000;
    --color-text-orange-light: #ffad10;
    --color-text-white: #ffffff;
    --color-text-yellow: #fbbc04;
    --color-white: #ffffff;

    --max-width-medium: 896px;
}

/* Elements */

html {
    color: var(--color-text-black);
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
}

a {
    color: var(--color-text-orange);
    text-decoration: none;
}

a:hover {
    color: var(--color-text-orange-dark);
}

.container {
    margin: 0 auto;
    max-width: 1440px;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
}

h1 {
    color: var(--color-text-orange);
    font-size: 72px;
    font-weight: 700;
    line-height: 100%;
}

h2 {
    color: var(--color-text-orange);
    font-size: 40px;
    font-weight: 900;
    line-height: 110%;
    text-align: center;
}

h2.black {
    color: var(--color-text-black);
}

h3 {
    color: var(--color-text-orange);
    font-size: 24px;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -1px;
}

h3.black {
    color: var(--color-text-black);
}

h4 {
    font-size: 24px;
    font-weight: 500;
    line-height: 125%;
}

p {
    margin-top: 24px;
}

/* Sections */

section {
    padding: 64px;
}

section.dark {
    background-color: var(--color-background-light-gray);
    border: 1px solid var(--color-border-light-gray);
}

section.text {
    padding: 0;
    margin: 64px 0;
}

section.page-header {
    background: linear-gradient(to right, #db9000, #ffad10);
    box-shadow: 1px 1px 4px #00000029;
    padding: 32px 0;
    margin: 0;
}

section.page-header h1 {
    color: var(--color-text-white);
    font-size: 48px;
}

section .header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

section .header > sub {
    display: block;
    font-size: 20px;
    font-weight: 300;
    line-height: 110%;
    text-align: center;
}

section.text .container {
    max-width: 860px;
}

section.text .container h2 {
    text-align: left;
}

section.text .container sub {
    text-align: left;
}

/* Components */

.call-to-action-component {
    background: var(--color-orange);
    border: 1px solid var(--color-orange-dark);
    border-radius: var(--border-radius);
    display: inline-block;
    padding: 24px;
}

.call-to-action-component:hover {
    background: var(--color-orange-dark);
}

.call-to-action-component a {
    align-items: stretch;
    color: var(--color-text-white);
    display: flex;
    flex-direction: row;
    gap: 18px;
}

.call-to-action-component .phone {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 110%;
}

.call-to-action-component .subtitle {
    font-size: 15px;
    line-height: 110%;
}

.call-to-action-component .title {
    font-size: 18px;
    font-weight: 700;
    line-height: 110%;
}

.call-to-action-component .left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.call-to-action-component .middle {
    background-color: var(--color-white);
    width: 1px;
}

.call-to-action-component .right {
    align-items: center;
    display: flex;
}

.call-to-action-component.small {
    padding: 18px;
}

.call-to-action-component.small a {
    color: var(--color-text-white);
    gap: 14px;
}

.call-to-action-component.small .phone {
    font-size: 18px;
    letter-spacing: -1px;
}

.call-to-action-component.small .subtitle {
    font-size: 13px;
}

.call-to-action-component.small .title {
    font-size: 15px;
}

.call-to-action-box-component {
    background: var(--color-white);
    border: 1px solid var(--color-border-light-gray);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 64px;
    margin: 0 16px;
}

.call-to-action-box-component .content {
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 32px;
}

.google-maps-embed-component {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.google-maps-embed-component .address {
    border: 1px solid var(--color-border-light-gray);
    border-radius: var(--border-radius);
    display: flex;  
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 24px;
    text-align: center;
}

div.google-maps-embed-component .address h2  {
    text-align: center;
}


.google-maps-embed-component .map {
    flex: 1;
    height: 320px;
}

.google-reviews-component {
    background-color: var(--color-background-light-gray);
    border: 1px solid var(--color-border-light-gray);
    border-radius: var(--border-radius);
    display: inline-block;
}

.google-reviews-component.dark {
    background-color: var(--color-background-transparent-dark);
    border: 1px solid var(--color-border-dark-gray);
}

.google-reviews-component a {
    align-items: center;
    color: var(--color-text-yellow);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px;
}

.google-reviews-component:hover {
    background-color: var(--color-background-gray);
}

.google-reviews-component.dark:hover {
    background-color: var(--color-background-dark-gray);
}

.google-reviews-component img {
    width: 32px;
}

.google-reviews-component .rating {
    font-size: 20px;
    font-weight: 700;
    line-height: 110%;
}

.google-reviews-component .subtitle {
    color: var(--color-text-gray);
}

.google-reviews-component.dark .subtitle {
    color: var(--color-text-white);
}

.google-reviews-component .title {
    align-items: center;
    display: flex;
    gap: 8px;
}

.review-component {
    background: var(--color-white);
    border: 1px solid var(--color-border-light-gray);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
}

.service-component {
    border: 1px solid var(--color-border-light-gray);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-component .header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-component .header sub {
    text-align: left;
}

.service-component .image {
    background-size: cover;
    height: 176px;
}

.service-component sub {
    color: var(--color-text-gray);
    font-size: 20px;
    font-weight: 300;
    text-align: left;
}

.service-component .text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.service-component .text p {
    margin-top: 0;
}

.stars-component {
    display: flex;
    gap: 4px;
}

.stars-component > .description {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.stars-component img {
    width: 16px;
}

/* Navigation */

footer {
    border-top: 1px solid lightgray;
    background-color: var(--color-background-light-gray);
    padding: 48px;
}

footer a {
    color: var(--color-text-orange-dark);
}

footer a:hover {
    color: var(--color-text-orange);
}

footer img {
    height: 92px;
}

footer h4 {
    margin-top: 16px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

footer .links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

nav {
    align-items: center;
    background-color: var(--color-background-light-gray);
    border-bottom: 1px solid lightgray;
    display: flex;
    padding: 12px 0;
    flex-direction: column;
}

nav a {
    color: var(--color-text-orange-dark);
    font-size: 20px;
}

nav a:hover {
    color: var(--color-text-orange);
}

nav a.selected {
    text-decoration: underline;
}

nav button {
    color: var(--color-blue);
    padding: 12px 16px;
}

nav img {
    height: 82px;
}

nav .container {
    align-items: center;
    display: flex;
    gap: 36px;
}

nav .container.bottom {
    border-top: 1px solid var(--color-border-light-gray);
    display: none;
    justify-content: center;
    margin-top: 16px;
    padding: 16px 0 0 0;
}

nav .links {
    align-items: center;
    display: flex;
    gap: 36px;
}

nav .logo {
    display: block;
    flex: 1;
}

/* Responsive */

@media screen and (max-width: 1024px) {
    footer .container {
        flex-direction: column;
    }

    section {
        padding: 64px 16px;
    }

    .call-to-action-box-component .content {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    nav .container .links {
        display: none;
    }

    nav .container.bottom {
        display: flex;
    }

    nav .container.bottom .links {
        display: flex;
    }
    
    .google-maps-embed-component {
        align-items: center;
        flex-direction: column;
    }
   
    .google-maps-embed-component .map {
        flex: none;
        width: 100%;
    }
}

@media screen and (max-width: 540px) {
    h1 {
        color: var(--color-blue);
        font-size: 48px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 16px;
    }

    footer {
        padding: 24px 0;
    }

    footer .content {
        flex-direction: column;
        gap: 48px;
    }

    section {
        padding: 32px 8px;
    }

    .call-to-action-component {
        padding: 16px;
    }

    .call-to-action-component a {
        align-items: center;
        flex-direction: column;
        gap: 8px;
    }

    .call-to-action-component.small {
        padding: 12px;
    }

    .call-to-action-component.small a {
        gap: 8px;
    }

    .call-to-action-component.small .phone {
        font-size: 16px;
        letter-spacing: -1px;
    }

    .call-to-action-component.small .subtitle {
        font-size: 12px;
    }

    .call-to-action-component.small .title {
        font-size: 14px;
    }

    .call-to-action-component .middle {
        display: none;
    }

    .call-to-action-box-component {
        padding: 32px;
    }
}