@font-face {
    font-family: "Josefin Sans";
    src: url("../fonts/josefin-sans-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 700;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("../fonts/playfair-display-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --lime: #a7d110;
    --gold: #efb810;
    --ink: #23282d;
    --muted: #898989;
    --body: #30373e;
    --footer: #23282d;
    --shell: 1100px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    margin: 0;
    color: var(--body);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 15px;
    line-height: 1.733;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    padding: 10px 14px;
    color: #fff;
    background: var(--ink);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.section-shell,
.header-inner {
    width: min(var(--shell), calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 50;
    height: 131px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.085);
    background: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    align-self: flex-start;
    margin-top: 10px;
    margin-bottom: 20px;
}

.brand img {
    width: auto;
    height: 100px;
}

.primary-nav {
    display: flex;
    align-items: center;
    height: 90px;
    font-family: "Josefin Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.primary-nav a {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 0 14px;
    color: #23282d;
    transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.active {
    color: var(--lime);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: #111;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
    width: 100%;
}

.carousel {
    position: relative;
    padding-bottom: 30px;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 860;
    background: #ececec;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.slide picture,
.slide img {
    width: 100%;
    height: 100%;
}

.slide img {
    object-fit: cover;
}

.carousel-arrow {
    position: absolute;
    top: calc(50% - 15px);
    z-index: 3;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #444;
    background: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
    position: absolute;
    right: 0;
    bottom: 9px;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 11px;
}

.carousel-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d5d5d5;
    cursor: pointer;
}

.carousel-dots button.is-active {
    background: #000;
}

.about {
    height: 706px;
    padding: 70px 0;
}

.about h1,
.about .tagline,
.about h2,
.services h2,
.vacation-cta h2,
.gallery-section h2,
.contact-section h2,
.contact-info h3,
.phone,
.email {
    font-family: "Josefin Sans", sans-serif;
}

.about h1 {
    margin: 0;
    color: #000;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.about .tagline {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 20px);
    margin: 20px auto 0;
}

.about-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.about-copy h2,
.services-copy h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}

.about-copy h2 {
    color: #000;
}

.gold-rule {
    display: block;
    width: 77px;
    height: 5px;
    margin: 12px 0 27px;
    background: var(--gold);
}

.gold-rule.centered {
    margin-right: auto;
    margin-left: auto;
}

.serif-copy,
.contact-intro {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 16px;
    font-weight: 400;
}

.serif-copy {
    line-height: 1.733;
}

.about-copy .serif-copy {
    color: #5d5d5d;
    line-height: 1.733;
    text-align: justify;
}

.about-copy .gold-rule {
    margin-bottom: 22px;
}

.about-copy .serif-copy {
    margin-bottom: 20px;
}

.serif-copy p {
    margin: 20px 0;
}

.gold-button {
    display: inline-block;
    min-width: 132px;
    padding: 12px 24px;
    border: 0;
    border-radius: 2px;
    color: #000;
    background: var(--gold);
    font-family: "Josefin Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.gold-button:hover,
.gold-button:focus-visible {
    color: #fff;
    background: #000;
}

.intro-picture {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px;
}

.intro-picture img {
    width: 100%;
    max-width: 520px;
    height: auto;
}

.services {
    position: relative;
    min-height: 676px;
    padding: 100px 0;
    color: #fff;
    background-color: #3f3f3f;
    background-image: url("../images/services-bg.jpg");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.services-overlay,
.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
}

.services-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(1140px, calc(100% - 40px));
}

.services-copy {
    padding: 20px;
}

.services-copy h2 {
    color: #fff;
    font-size: 30px;
}

.services-copy .serif-copy {
    line-height: 1.733;
}

.vacation-cta {
    display: flex;
    min-height: 300px;
    padding: 80px 15px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.vacation-cta h2 {
    max-width: 1020px;
    margin: 0 0 24px;
    color: #4d4d4d;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}

.gallery-section {
    height: 498px;
    padding: 80px 0;
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
    background: #fbfbfb;
}

.gallery-section h2 {
    margin: 0 0 29px;
    color: #000;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
}

.gallery a {
    display: block;
    min-width: 0;
    padding: 4px;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 700;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery a:hover img,
.gallery a:focus-visible img {
    opacity: 0.9;
    transform: scale(1.02);
}

.contact-section {
    position: relative;
    min-height: 833px;
    padding: 70px 0;
    color: #fff;
    background: url("../images/contact-bg.jpg") center / cover no-repeat;
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    width: min(1140px, calc(100% - 40px));
}

.contact-card {
    display: flex;
    flex-direction: column;
    min-height: 693px;
    padding: 40px;
    border: 1px solid #ededed;
    border-radius: 6px;
    color: #000;
    background: #fff;
    box-shadow: 2px 1px 4px -2px rgba(0, 0, 0, 0.5);
}

.contact-card h2,
.contact-info h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.contact-intro {
    margin: 10px 0 40px;
    line-height: 1.733;
    text-align: center;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin-top: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 1px;
    font-weight: 700;
    line-height: 24.8px;
}

.field-full {
    grid-column: 1 / -1;
}

.field b {
    color: #d64141;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0;
    color: #30373e;
    background: #fff;
    outline: 0;
}

.field input {
    height: 42px;
    padding: 8px 10px;
    line-height: 16px;
}

.field textarea {
    min-height: 120px;
    padding: 10px;
    line-height: 24px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-bottom-color: var(--lime);
    box-shadow: 0 0 0 1px rgba(167, 209, 16, 0.2);
}

.trap-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
}

.send-button {
    width: max-content;
    margin-top: 10px;
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0;
    color: #555;
    background: #eee;
    line-height: 17.25px;
    cursor: pointer;
}

.send-button:hover,
.send-button:focus-visible {
    color: #fff;
    background: var(--lime);
}

.form-notice {
    margin: -30px 0 22px;
    padding: 10px 12px;
    border-left: 4px solid;
    font-size: 14px;
}

.form-notice.success {
    border-color: var(--lime);
    background: #f4f9e6;
}

.form-notice.error {
    border-color: #c13b32;
    background: #fff1f0;
}

.contact-info {
    display: flex;
    min-height: 693px;
    align-items: flex-start;
    justify-content: center;
    padding: 79px 40px;
    text-align: center;
}

.contact-info > div {
    width: 100%;
}

.contact-info ul {
    margin: 44px 0 44px 40px;
    padding-left: 0;
    line-height: 1.72;
    text-align: justify;
}

.contact-info li {
    margin-bottom: 0.4em;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0 0 20px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.social-links .facebook { background: #4666a8; }
.social-links .instagram { background: #955af4; }

.social-links svg {
    width: 25px;
    height: 25px;
    fill: #fff;
}

.contact-info h3 {
    margin: 20px 0;
    font-size: 27px;
    line-height: 1;
}

.phone,
.email {
    display: block;
    margin: 0 0 20px;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}

.email {
    margin-bottom: 0;
    font-size: 30px;
}

.mobile-phone {
    display: none;
}

.site-footer {
    display: grid;
    place-items: center;
    min-height: 76px;
    color: #9ba1a7;
    background: var(--footer);
}

.site-footer p {
    margin: 0;
}

.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    color: #fff;
    background: rgba(35, 40, 45, 0.7);
    font-size: 25px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.lightbox {
    width: min(900px, calc(100% - 50px));
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.88);
}

.lightbox img {
    width: 100%;
    max-height: 84vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-arrow {
    position: absolute;
    z-index: 2;
    border: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.58);
    cursor: pointer;
}

.lightbox-close {
    top: -42px;
    right: 0;
    width: 38px;
    height: 38px;
    font-size: 30px;
}

.lightbox-arrow {
    top: 50%;
    width: 42px;
    height: 58px;
    font-size: 30px;
    transform: translateY(-50%);
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

@media (max-width: 960px) {
    .site-header {
        height: 121px;
    }

    .header-inner {
        width: calc(100% - 60px);
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        height: auto;
        border-top: 1px solid #eaeaea;
        background: #fff;
        box-shadow: 0 15px 25px -10px rgba(50, 52, 54, 0.18);
    }

    .primary-nav.open {
        display: block;
    }

    .primary-nav a {
        display: block;
        height: auto;
        padding: 10px 30px;
        border-bottom: 1px solid #eaeaea;
    }

    .services {
        background-image: url("../images/services-bg-960.webp");
        background-attachment: scroll;
    }

    .contact-section {
        background-image: url("../images/contact-bg-960.webp");
    }
}

@media (max-width: 767px) {
    .section-shell {
        width: calc(100% - 60px);
    }

    .carousel-arrow {
        width: 27px;
        height: 27px;
    }

    .about {
        height: auto;
        padding: 70px 0;
    }

    .about h1 {
        max-width: 310px;
        margin-right: auto;
        margin-left: auto;
        font-size: 34px;
        line-height: 1;
    }

    .about .tagline {
        max-width: 310px;
        margin-top: 5px;
        margin-right: auto;
        margin-left: auto;
        font-size: 30px;
        line-height: 1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        width: calc(100% - 20px);
        margin-top: 20px;
        margin-right: auto;
        margin-left: auto;
    }

    .about-copy {
        padding: 20px;
    }

    .about-copy h2,
    .services-copy h2 {
        font-size: 28px;
        line-height: 1;
    }

    .about-copy .serif-copy,
    .services-copy .serif-copy,
    .contact-info .serif-copy {
        font-size: 16px;
        line-height: 1.733;
    }

    .about-copy .serif-copy {
        text-align: justify;
    }

    .intro-picture {
        padding: 10px;
    }

    .services {
        min-height: 816px;
        padding: 100px 0;
        background-position: top right;
    }

    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .services-copy {
        padding: 20px;
    }

    .vacation-cta {
        min-height: 420px;
        padding: 80px 15px;
    }

    .vacation-cta h2 {
        margin-bottom: 28px;
        font-size: 30px;
        line-height: 1.02;
    }

    .gallery-section {
        height: auto;
        min-height: 311px;
        padding: 80px 0;
    }

    .gallery-section h2 {
        margin-bottom: 29px;
    }

    .gallery {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
    }

    .contact-section {
        min-height: 0;
        padding: 70px 0 0;
        background: #fff;
    }

    .contact-overlay {
        display: none;
    }

    .contact-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: 721px;
        margin: 0 30px 60px;
        padding: 40px 10px;
        border-color: #fff;
        box-shadow: none;
    }

    .contact-card h2,
    .contact-info h2 {
        font-size: 30px;
        line-height: 1;
    }

    .contact-card > .gold-rule {
        margin: 12px auto 23px;
    }

    .contact-form {
        column-gap: 20px;
        margin-top: 24px;
    }

    .field input {
        height: 42px;
    }

    .field textarea {
        min-height: 120px;
    }

    .contact-info {
        min-height: 690px;
        align-items: flex-start;
        padding: 40px;
        background: linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.58)), url("../images/contact-bg-960.webp") center / cover no-repeat;
    }

    .contact-info ul {
        margin: 44px 0 44px 40px;
        padding-left: 0;
    }

    .contact-info h3 {
        font-size: 27px;
    }

    .desktop-phone {
        display: none;
    }

    .mobile-phone {
        display: block;
    }

    .phone {
        margin-bottom: 20px;
        font-size: 30px;
        line-height: 1;
    }

    .email {
        font-size: 20px;
        line-height: 1;
    }

    .site-footer {
        min-height: 76px;
        font-size: 14px;
    }

    .scroll-top {
        right: 18px;
        bottom: 18px;
    }
}

@media (max-width: 420px) {
    .brand img {
        height: 100px;
    }

    .about-copy h2 {
        font-size: 28px;
    }

    .contact-card {
        margin-inline: 30px;
    }

    .contact-info {
        padding-inline: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
