@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
    --navy: #102b46;
    --blue: #1768b2;
    --blue-dark: #0c4e8d;
    --cyan: #31c5d6;
    --ink: #203044;
    --muted: #657384;
    --pale: #f3f6f7;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: var(--pale);
    font-family: "DM Sans", "Segoe UI", sans-serif;
    line-height: 1.65;
}

body.home-page {
    background:
        linear-gradient(rgba(243, 246, 247, .08), rgba(243, 246, 247, .08)),
        url("images/home-background.png") center / cover fixed;
}

body.contact-page-body {
    background:
        linear-gradient(rgba(243, 246, 247, .28), rgba(243, 246, 247, .28)),
        url("images/contact-background.png") center / cover fixed;
}

body.about-page-body {
    background:
        linear-gradient(rgba(243, 246, 247, .06), rgba(243, 246, 247, .06)),
        url("images/about-background.png") center / cover fixed;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    background: var(--navy);
    box-shadow: 0 4px 20px rgba(16, 43, 70, .08);
    backdrop-filter: blur(12px);
}

.navigation {
    width: min(1160px, calc(100% - 48px));
    min-height: 82px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 8px;
    color: var(--white);
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(49, 197, 214, .2);
}

.nav-toggle:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border-radius: 7px;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.nav-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(49, 197, 214, .2);
}

.nav-logo {
    display: flex;
    width: 110px;
    height: 68px;
    align-items: center;
    justify-content: center;
}

.whatsapp-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 24px;
    color: var(--white);
    background: #168c55;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.whatsapp-link:hover {
    background: #107346;
    transform: translateY(-1px);
}

.whatsapp-link:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.whatsapp-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.nav-logo img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: contain;
}

.hero {
    width: min(1160px, calc(100% - 48px));
    min-height: 570px;
    margin: 0 auto;
    display: grid;
    align-items: center;
    padding: 48px 0 68px;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    padding: 38px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 20px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 55px rgba(16, 43, 70, .09);
    backdrop-filter: blur(5px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy);
    font-family: "Manrope", "Segoe UI", sans-serif;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(2.6rem, 5vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1.08;
}

h1 span {
    color: var(--blue);
}

.hero-description {
    max-width: 450px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--blue);
}

.button-primary:hover {
    background: var(--blue-dark);
}

.button-secondary {
    border-color: #d7e1e9;
    color: var(--navy);
    background: var(--white);
}

.button-secondary:hover {
    background: #edf5fb;
}

.section-wrap {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.page-title {
    margin-bottom: 12px;
}

.home-intro {
    padding: 18px 0 90px;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.page-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 40px;
}

.page-cta p {
    margin: 0;
    color: var(--navy);
    font-weight: 700;
}

.services .page-cta p {
    color: #fff;
    text-shadow: 0 1px 3px rgba(16, 43, 70, .8);
}

.services {
    padding: 76px 0 90px;
    background:
        linear-gradient(rgba(243, 246, 247, .08), rgba(243, 246, 247, .08)),
        url("images/services-background.png") center / cover no-repeat;
    border-radius: 18px;
}

.services.section-wrap {
    width: 100%;
    padding-right: max(24px, calc((100% - 1160px) / 2));
    padding-left: max(24px, calc((100% - 1160px) / 2));
    border-radius: 0;
}

.section-heading {
    max-width: 620px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading h2,
.about h2,
.contact h2 {
    margin-bottom: 12px;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.15;
}

.section-heading > p:last-child,
.about-content > p:not(.eyebrow),
.contact > div > p:last-child {
    color: var(--muted);
}

.services .section-heading > p:last-child {
    color: #fff;
    text-shadow: 0 1px 3px rgba(16, 43, 70, .8);
}

.services .service-card p {
    color: #34495e;
}

.services .section-heading .eyebrow {
    color: #fff;
    text-shadow: 0 2px 4px rgba(16, 43, 70, .8);
}

.services .section-heading h1 {
    color: #ffdf32;
    text-shadow: 0 2px 4px rgba(16, 43, 70, .8);
}

.services .service-card h3 {
    color: #102b46;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    min-height: 220px;
    padding: 27px;
    border: 1px solid #e3eaf0;
    border-top: 4px solid var(--service-accent);
    border-radius: 13px;
    background: linear-gradient(145deg, var(--service-tint), #fff 78%);
    box-shadow: 0 12px 30px rgba(16, 43, 70, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(16, 43, 70, .12);
}

.service-card:nth-child(1) {
    --service-accent: #d65b78;
    --service-tint: #fff0f3;
}

.service-card:nth-child(2) {
    --service-accent: #2585c5;
    --service-tint: #edf7ff;
}

.service-card:nth-child(3) {
    --service-accent: #159b83;
    --service-tint: #eaf9f4;
}

.service-card:nth-child(4) {
    --service-accent: #7756c8;
    --service-tint: #f3efff;
}

.service-card:nth-child(5) {
    --service-accent: #d18a1c;
    --service-tint: #fff7e8;
}

.service-card:nth-child(6) {
    --service-accent: #368b50;
    --service-tint: #eff8ed;
}

.service-card:nth-child(7) {
    --service-accent: #db643b;
    --service-tint: #fff1e9;
}

.service-number {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--service-accent);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .1em;
}

.service-card h3 {
    margin-bottom: 9px;
    font-size: 19px;
}

.service-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.work {
    padding: 18px 0 90px;
}

.work.section-wrap {
    width: 100%;
}

.work > .section-heading {
    width: min(620px, calc(100% - 48px));
    padding: 20px 24px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 14px;
}

.work > .section-heading .eyebrow {
    color: #70e4ef;
}

.work > .section-heading h1 {
    color: #fff;
}

.work > .section-heading > p:last-child {
    color: #e4f2fb;
}

.work-copy {
    display: none;
    width: min(720px, calc(100% - 48px));
    margin: 0 auto 28px;
    color: #e4f2fb;
}

.work-copy p {
    margin-bottom: 12px;
}

.work-copy p:last-child {
    margin-bottom: 0;
}

.photo-gallery {
    width: 100%;
    margin: 0;
}

.gallery-carousel {
    position: relative;
}

.gallery-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 20px;
}

.gallery-slide {
    position: relative;
    height: clamp(270px, 39vw, 465px);
    margin: 0;
    overflow: hidden;
    border-radius: 9px;
    border: 1px solid #e3eaf0;
    background: #fff;
    box-shadow: 0 16px 36px rgba(16, 43, 70, .2), 0 4px 10px rgba(16, 43, 70, .08);
}

.gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-slide figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 34px 18px 16px;
    color: var(--white);
    background: linear-gradient(transparent, rgba(7, 24, 39, .78));
    font-size: 14px;
    font-weight: 700;
}

.gallery-track.is-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2px, .25vw, 4px);
    min-height: 371px;
}

.gallery-track.is-carousel .gallery-slide {
    display: none;
    flex: 0 0 16%;
    height: clamp(180px, 21.4vw, 259px);
    border-radius: 0;
    opacity: .76;
    transition: opacity .25s ease, transform .25s ease;
}

.gallery-track.is-carousel .gallery-slide.is-visible {
    display: block;
}

.gallery-track.is-carousel .gallery-slide.is-outer {
    flex-basis: 11%;
    height: clamp(160px, 19vw, 230px);
}

.gallery-track.is-carousel .gallery-slide.is-adjacent {
    flex-basis: 21%;
    height: clamp(210px, 25vw, 305px);
}

.gallery-track.is-carousel .gallery-slide.is-current {
    z-index: 1;
    flex-basis: 32%;
    height: clamp(248px, 30.4vw, 349px);
    opacity: 1;
}

.gallery-secondary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.gallery-secondary .gallery-slide {
    height: clamp(270px, 28vw, 390px);
    padding: 4px;
    border: 1px solid var(--photo-accent, #1768b2);
    border-radius: 10px;
    background: linear-gradient(145deg, var(--photo-wash, #eaf3fc), #fff 72%);
    box-shadow: 0 8px 18px rgba(16, 43, 70, .1);
    transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-secondary .gallery-photo-1 {
    --photo-accent: #1768b2;
    --photo-wash: #eaf3fc;
}

.gallery-secondary .gallery-photo-2 {
    --photo-accent: #159b83;
    --photo-wash: #e8f7f2;
}

.gallery-secondary .gallery-photo-3 {
    --photo-accent: #d18a1c;
    --photo-wash: #fff7e8;
}

.gallery-secondary .gallery-photo-4 {
    --photo-accent: #7756c8;
    --photo-wash: #f3efff;
}

.gallery-secondary .gallery-photo-5 {
    --photo-accent: #d65b78;
    --photo-wash: #fff0f3;
}

.gallery-secondary .gallery-photo-6 {
    --photo-accent: #368b50;
    --photo-wash: #eff8ed;
}

.gallery-secondary .gallery-photo-7 {
    --photo-accent: #db643b;
    --photo-wash: #fff1e9;
}

.gallery-secondary .gallery-photo-8 {
    --photo-accent: #2585c5;
    --photo-wash: #edf7ff;
}

.gallery-secondary .gallery-photo-9 {
    --photo-accent: #158b9a;
    --photo-wash: #e8f8fa;
}

.gallery-secondary .gallery-photo-10 {
    --photo-accent: #9b6a2d;
    --photo-wash: #fbf3e8;
}

.gallery-secondary .gallery-slide[role="button"] {
    cursor: pointer;
}

.gallery-secondary .gallery-slide:focus-visible {
    outline: 3px solid var(--photo-accent, #1768b2);
    outline-offset: 3px;
}

.gallery-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 41px;
    height: 41px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--blue);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 5px 22px rgba(16, 43, 70, .18);
    cursor: pointer;
    transform: translateY(-50%);
}

@media (hover: hover) and (pointer: fine) {
    .gallery-secondary .gallery-slide:hover {
        z-index: 1;
        transform: translateY(-6px) scale(1.04);
        box-shadow: 0 22px 42px rgba(16, 43, 70, .3), 0 5px 14px rgba(16, 43, 70, .12);
    }
}

.gallery-arrow:hover {
    color: var(--white);
    background: var(--blue);
}

.gallery-arrow:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.gallery-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}

.gallery-previous {
    left: 8px;
}

.gallery-next {
    right: 8px;
}

.gallery-count {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.gallery-slide[role="button"] {
    cursor: pointer;
    touch-action: manipulation;
}

.gallery-viewer,
.gallery-viewer[hidden] {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: rgba(5, 16, 28, .94);
}

.gallery-viewer[hidden] {
    display: none;
}

.gallery-viewer-open {
    overflow: hidden;
}

.viewer-figure {
    display: grid;
    max-width: min(100%, 1200px);
    max-height: 100%;
    justify-items: center;
    gap: 12px;
    margin: 0;
}

.viewer-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .45);
}

.viewer-caption {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.viewer-close,
.viewer-arrow {
    position: absolute;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: #fff;
    background: rgba(16, 43, 70, .8);
    cursor: pointer;
}

.viewer-close {
    top: 20px;
    right: 20px;
    font-size: 32px;
    line-height: 1;
}

.viewer-arrow {
    top: 50%;
    transform: translateY(-50%);
}

.viewer-previous {
    left: 20px;
}

.viewer-next {
    right: 20px;
}

.viewer-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}

.viewer-close:hover,
.viewer-arrow:hover {
    color: var(--navy);
    background: #fff;
}

.viewer-close:focus-visible,
.viewer-arrow:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.about {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    align-items: center;
    gap: 54px;
    padding: 60px;
    border-radius: 18px;
    background: var(--navy);
}

.about-page {
    margin-top: 48px;
    margin-bottom: 40px;
}

.about-mark {
    display: grid;
    width: min(100%, 260px);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: var(--cyan);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 76px;
    font-weight: 800;
    letter-spacing: -.08em;
    box-shadow: inset 0 0 0 16px rgba(255, 255, 255, .04);
}

.about .eyebrow {
    color: #83dce7;
}

.about h2 {
    color: var(--white);
}

.about-content > p:not(.eyebrow) {
    max-width: 620px;
    color: #d5e0e9;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #83dce7;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    color: var(--white);
}

.contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 76px;
    margin-bottom: 76px;
    padding: 38px 44px;
    border: 1px solid #e3eaf0;
    border-radius: 14px;
    background: #dff1ff;
}

.contact-page {
    min-height: 340px;
    margin-top: 76px;
    margin-bottom: 76px;
}

.contact h2 {
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.contact > div > p:last-child {
    margin-bottom: 0;
}

.contact-intro {
    flex: 1;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-top: 23px;
}

.contact-details a {
    display: grid;
    gap: 2px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-details a:hover {
    color: var(--blue);
}

.contact-details span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.social-links {
    display: grid;
    flex: 0 0 205px;
    gap: 8px;
    padding-left: 28px;
    border-left: 1px solid var(--blue);
}

.social-links p {
    margin: 0 0 3px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.social-link-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.social-icon {
    display: block;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
}

.tiktok-icon {
    fill: var(--navy);
}

.tiktok-shadow {
    fill: #25f4ee;
    transform: translate(-1px, 1px);
}

.tiktok-mark {
    fill: #fe2c55;
    stroke: var(--navy);
    stroke-linejoin: round;
    stroke-width: .35px;
}

.instagram-icon {
    fill: none;
    stroke: #c13584;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8px;
}

.instagram-dot {
    fill: #c13584;
    stroke: none;
}

.facebook-icon {
    fill: #1877f2;
}

.social-name {
    color: var(--blue-dark) !important;
    font-weight: 700 !important;
}

.social-links a span {
    color: var(--muted);
    font-weight: 500;
}

.social-links a:hover {
    color: var(--cyan);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px max(24px, calc((100% - 1160px) / 2));
    color: #d5e0e9;
    background: #0b2238;
    font-size: 13px;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: #a9e8ef;
    font-weight: 700;
    text-decoration: none;
}

.home-contact-details {
    display: none;
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 82px;
    }

    .navigation {
        width: calc(100% - 28px);
        min-height: 0;
        grid-template-areas:
            "logo whatsapp toggle"
            "links links links";
        grid-template-columns: 1fr auto auto;
        gap: 4px 8px;
        padding: 6px 0 8px;
    }

    .nav-logo {
        grid-area: logo;
    }

    .nav-toggle {
        display: inline-flex;
        grid-area: toggle;
    }

    .nav-links {
        grid-area: links;
        display: none;
        width: min(190px, 100%);
        justify-self: end;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 12px;
        background: rgba(7, 24, 39, .94);
    }

    .navigation.is-open .nav-links {
        display: flex;
    }

    .nav-link {
        gap: 7px;
        justify-content: flex-start;
        padding: 8px 10px;
        font-size: 13px;
    }

    .nav-link svg {
        width: 14px;
        height: 14px;
    }

    .whatsapp-link {
        grid-area: whatsapp;
        min-height: 38px;
        gap: 5px;
        padding: 0 10px;
        font-size: 12px;
    }

    .whatsapp-link svg {
        width: 18px;
        height: 18px;
    }

    .nav-logo {
        width: 76px;
        height: 56px;
    }

    .hero {
        width: calc(100% - 28px);
        min-height: 0;
        padding: 30px 0 46px;
    }

    body.home-page {
        background-attachment: scroll;
    }

    body.contact-page-body {
        background-attachment: scroll;
    }

    body.about-page-body {
        background-attachment: scroll;
    }

    .hero-content {
        padding: 26px;
    }

    .section-wrap {
        width: calc(100% - 28px);
    }

    .services {
        padding: 48px 0 58px;
    }

    .services.section-wrap {
        padding-right: 14px;
        padding-left: 14px;
    }

    .home-intro {
        padding: 0 0 58px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .work {
        padding: 0 0 58px;
    }

    .work-copy {
        display: block;
        text-align: center;
    }

    .work > .section-heading h1 {
        color: var(--blue);
    }

    .photo-gallery {
        width: calc(100% - 28px);
        margin-right: auto;
        margin-left: auto;
    }

    .gallery-secondary {
        display: none;
    }

    .service-card {
        min-height: 0;
    }

    .gallery-track,
    .gallery-track.is-carousel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        min-height: 0;
    }

    .gallery-track.is-carousel .gallery-slide,
    .gallery-track.is-carousel .gallery-slide.is-visible,
    .gallery-track.is-carousel .gallery-slide.is-current {
        display: block;
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 4 / 5;
        flex: auto;
        opacity: 1;
        margin: 0;
    }

    .gallery-slide[role="button"] {
        cursor: pointer;
    }

    .gallery-slide:focus-visible {
        outline: 3px solid var(--blue);
        outline-offset: 4px;
    }

    .gallery-slide img {
        height: 100%;
        max-height: none;
        object-fit: cover;
    }

    .gallery-arrow {
        display: none;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 30px 25px;
    }

    .about-page {
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .about-mark {
        width: 130px;
        font-size: 42px;
    }

    .contact {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 48px;
        margin-bottom: 48px;
        padding: 28px 24px;
    }

    .contact-page {
        min-height: 0;
        margin-top: 48px;
        margin-bottom: 48px;
    }

    .contact-details {
        flex-direction: column;
        gap: 13px;
    }

    .social-links {
        width: 100%;
        flex-basis: auto;
        padding: 18px 0 0;
        border-top: 1px solid var(--blue);
        border-left: 0;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-contact-details {
        display: grid;
        width: 100%;
        gap: 8px;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 10px;
        background: rgba(255, 255, 255, .04);
    }

    .home-contact-details h2 {
        margin: 0;
        color: var(--white);
        font-size: 16px;
    }

    .home-contact-details a {
        display: grid;
        color: #a9e8ef;
        overflow-wrap: anywhere;
    }

    .home-contact-details a span {
        color: #d5e0e9;
        font-size: 10px;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .home-footer-email {
        display: none;
    }
}

@media (max-width: 380px) {
    .nav-link {
        padding-right: 3px;
        padding-left: 3px;
        font-size: 10px;
    }

    .nav-logo {
        flex-basis: 64px;
        width: 64px;
    }

}
