:root {
    --bg: #f6f1e8;
    --surface: #fffdf8;
    --ink: #14213d;
    --muted: #576074;
    --accent: #d88a1b;
    --accent-dark: #9d5a00;
    --border: rgba(20, 33, 61, 0.12);
    --shadow: 0 18px 40px rgba(20, 33, 61, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(216, 138, 27, 0.18), transparent 28%),
        linear-gradient(180deg, #fffaf0 0%, #f4eee5 52%, #fffdf9 100%);
    width: 100%;
    overflow-x: hidden;
}

/* Keep automatic translation invisible and prevent Google UI from shifting the layout. */
body > .skiptranslate,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-gadget,
.goog-te-gadget-icon,
.goog-logo-link,
#google_translate_element,
.goog-te-menu-frame,
.goog-te-menu-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.VIpgJd-ZVi9od-ORHb,
.VIpgJd-ZVi9od-aZ2wEe,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-yAWNEb-L7lbkb,
.VIpgJd-yAWNEb-r4nke,
.VIpgJd-yAWNEb-VIpgJd-fmcmS,
.VIpgJd-yAWNEb-hvhgNd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.skiptranslate {
    display: none !important;
    visibility: hidden !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

html,
body {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: static !important;
}

body.translated-ltr,
body.translated-rtl,
html.translated-ltr,
html.translated-rtl {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.goog-te-spinner-pos,
.goog-te-spinner-pos * {
    display: none !important;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
    background: rgba(10, 20, 35, 0.12) !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header::before,
.site-header::after {
    content: none;
    display: none;
}

.nav-shell {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-shell {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
}

.header-logo-hidden {
    width: 1px;
    min-width: 1px;
    opacity: 0;
    pointer-events: none;
}

.brand-logo-icon {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand-name {
    display: none;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--ink);
    line-height: 1.2;
    max-width: 260px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    justify-self: center;
}

.site-nav a {
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.2rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.lang-switcher .lang-switch,
.lang-switcher .lang-switch-separator {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.lang-switcher .lang-switch {
    opacity: 0.78;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.lang-switcher .lang-switch.is-active,
.lang-switcher .lang-switch[aria-current='true'] {
    opacity: 1;
    color: #fff3d5;
    font-weight: 800;
}

.nav-contact-icons {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.2rem;
}

.nav-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #f5f7ff;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    transition: opacity 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-contact-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-contact-icon:hover,
.nav-contact-icon:focus-visible {
    opacity: 1;
    color: #fff;
    transform: translateY(-1px);
}

.site-nav .nav-back-top {
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.85;
    padding: 0 0.2rem;
}

.nav-cta,
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #f0b14f);
    color: #1b160d;
    box-shadow: 0 14px 28px rgba(216, 138, 27, 0.24);
}

.nav-admin,
.btn-secondary,
.btn-outline {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.6);
}

.nav-cta,
.nav-admin,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.15rem;
    border-radius: 999px;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    justify-self: end;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: transparent;
    padding: 0.7rem;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
}

.hero-section,
.services-section,
.about-section,
.gallery-section,
.quote-section,
.contact-section,
.success-section,
.login-section {
    padding: 5.5rem 0;
}

.hero-brand-clean {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(14px, 1.8vw, 24px);
    width: auto;
    max-width: 620px;
    margin: 0 auto 24px;
}

.hero-brand-clean-logo-wrap {
    flex: 0 0 auto;
}

.hero-brand-clean-logo {
    width: clamp(154px, 16vw, 220px);
    height: auto;
    flex: 0 0 auto;
    object-fit: contain;
    display: block;
}

.hero-brand-clean-text {
    min-width: 0;
    width: 100%;
}

.hero-brand-clean h1 {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.04em;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #fff;
    max-width: none;
}

.hero-brand-clean h1 span {
    display: block;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

.hero-brand-clean h1 span:first-child {
    font-size: clamp(2.25rem, var(--hero-left-title-size, 80px), 6.2rem);
}

.hero-brand-clean h1 span:last-child {
    font-size: clamp(1.7rem, calc(var(--hero-left-title-size, 80px) * 0.58), 4.5rem);
}

.hero-section {
    position: relative;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0;
    overflow: hidden;
    min-height: 680px;
    background: linear-gradient(135deg, #f7efe4 0%, #fff8ed 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section.hero-with-background {
    background-color: #0f274a;
    background-size: cover;
    background-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(8, 21, 44, 0.78) 0%,
        rgba(8, 21, 44, 0.58) 42%,
        rgba(8, 21, 44, 0.35) 100%
    );
}

.recent-work-section {
    padding: 70px 0;
}

.hero-layout,
.quote-layout,
.contact-grid,
.about-grid,
.footer-grid {
    display: grid;
    gap: 1.75rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    grid-template-columns: minmax(260px, 310px) 1fr minmax(0, 250px);
    gap: clamp(20px, 2.8vw, 48px);
    align-items: start;
    min-height: clamp(430px, 53vh, 560px);
    padding: clamp(14px, 2.6vw, 34px) 0 clamp(22px, 4.2vw, 54px);
}

.hero-copy {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-self: flex-start;
    padding-top: clamp(28px, 4.5vw, 56px);
    min-height: 0;
    min-width: 0;
    grid-column: 2;
}

.hero-right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    padding-top: 0;
    margin-top: -430px;
    transform: none;
    min-width: 0;
    grid-column: 1;
}

.hero-copy-content {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.hero-copy-content .eyebrow {
    order: 1;
    font-size: clamp(0.75rem, var(--hero-left-eyebrow-size, 16px), 1.625rem);
}

.hero-copy-content .hero-brand-clean {
    order: 2;
}

.hero-copy-content .hero-description {
    order: 3;
}

.hero-copy-content .hero-subtext {
    order: 4;
}

.hero-left-content {
    max-width: 520px;
}

.hero-copy h1,
.section-heading h2,
.about-card h2,
.success-card h1,
.login-card h1,
.contact-grid h2 {
    margin: 0 0 1rem;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.hero-section .eyebrow,
.hero-section .hero-brand-clean h1,
.hero-section .hero-copy .lead,
.hero-section .hero-copy .sublead {
    color: #fff;
}

.hero-section:not(.hero-with-background) .eyebrow {
    color: var(--accent-dark);
}

.hero-section:not(.hero-with-background) .hero-brand-clean h1,
.hero-section:not(.hero-with-background) .hero-copy .lead,
.hero-section:not(.hero-with-background) .hero-copy .sublead {
    color: var(--ink);
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
    font-size: 0.95rem;
}

.lead,
.sublead,
.section-heading p,
.about-card p,
.quote-layout p,
.contact-list,
.login-card p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-left-content .lead,
.hero-left-content .sublead {
    max-width: 480px;
    font-size: clamp(0.875rem, var(--hero-left-desc1-size, 22px), 1.75rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 20px;
}

.hero-left-content .sublead {
    font-size: clamp(0.875rem, var(--hero-left-desc2-size, 22px), 1.75rem);
}

.hero-subtext {
    margin-bottom: 0;
}

.hero-card {
    width: 100%;
    max-width: 370px;
    border-radius: 32px !important;
    overflow: hidden;
    isolation: isolate;
    background: rgba(16, 38, 70, 0.6);
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    clip-path: inset(0 round 32px);
    box-shadow: 0 20px 45px rgba(7, 18, 36, 0.16);
}

.hero-card-inner {
    min-height: 520px;
    padding: 34px 30px;
    border-radius: inherit;
    overflow: hidden;
}

.hero-card-inner span {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: clamp(0.75rem, var(--hero-right-eyebrow-size, 18px), 1.625rem);
}

.hero-card-inner strong {
    font-size: clamp(2rem, var(--hero-right-title-size, 64px), 5.125rem);
    line-height: 1.02;
    font-weight: 800;
    max-width: 11ch;
    margin: 0 0 18px;
}

.hero-card-inner p {
    max-width: 32ch;
    line-height: 1.6;
    font-size: clamp(0.875rem, var(--hero-right-desc-size, 18px), 1.625rem);
}

.hero-more-btn {
    margin-top: 16px;
    align-self: flex-start;
    justify-self: start;
    margin-left: 0;
    font-size: clamp(0.75rem, var(--hero-button-size, 16px), 1.375rem);
}

.hero-left-actions {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 16px;
}

.hero-left-actions .hero-more-btn {
    position: static;
    float: none;
    margin-top: 0;
}

.hero-right-actions {
    width: 100%;
    max-width: 370px;
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.hero-right-actions .hero-more-btn {
    position: static;
    float: none;
    margin-top: 0;
    margin-left: 0;
}

@media (max-width: 1180px) {
    .hero-content {
        grid-template-columns: minmax(230px, 270px) 1fr minmax(0, 140px);
        gap: 22px;
    }

    .hero-right-column {
        margin-top: -190px;
        transform: none;
    }

    .hero-brand-clean h1 span:first-child {
        font-size: clamp(2.1rem, calc(var(--hero-left-title-size, 72px) * 0.78), 5.2rem);
    }

    .hero-brand-clean h1 span:last-child {
        font-size: clamp(1.6rem, calc(var(--hero-left-title-size, 72px) * 0.52), 3.6rem);
    }

    .hero-left-content .lead,
    .hero-left-content .sublead {
        max-width: 540px;
    }
}

.hero-card.has-image {
    border-radius: inherit;
    overflow: hidden;
}

.hero-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    aspect-ratio: auto;
    position: relative;
    background: linear-gradient(180deg, rgba(6, 24, 54, 0.08), rgba(4, 18, 42, 0.22));
    backdrop-filter: none;
    color: #fff;
    box-shadow: inset 0 -28px 42px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-card-inner span {
    font-size: clamp(0.75rem, calc(var(--hero-right-eyebrow-size, 18px) * 0.85), 1.2rem);
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-card-inner strong,
.hero-card-inner p {
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.hero-card-inner p {
    margin: 0;
    font-size: clamp(0.85rem, calc(var(--hero-right-desc-size, 18px) * 0.9), 1.2rem);
    color: rgba(255, 255, 255, 0.94);
}

.section-heading {
    text-align: center;
    margin-bottom: 2.2rem;
}

.cards-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.service-card,
.gallery-card {
    overflow: hidden;
}

.recent-work-section .gallery-card {
    border-radius: 18px;
}

.recent-work-section .gallery-card .gallery-image {
    border-radius: inherit;
    aspect-ratio: 3 / 4;
    min-height: 0;
    background-size: contain;
    background-color: #0b1a33;
    background-repeat: no-repeat;
}

.services-grid {
    display: grid;
    gap: 1.75rem;
}

.service-title-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: center;
}

.service-title-card-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    color: #b7791f;
    font-weight: 800;
}

.service-title {
    font-size: 30px;
    color: #0f274a;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.service-description {
    font-size: 14px;
    line-height: 1.6;
    color: #34415a;
    margin: 0;
}

.service-more-btn {
    width: fit-content;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid #0f274a;
    color: #0f274a;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
}

.service-gallery-area {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.service-gallery-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #51607a;
    font-size: 13px;
    font-weight: 600;
}

.service-gallery-shell {
    position: relative;
    min-width: 0;
}

.service-gallery-shell.is-carousel.has-overflow {
    padding-inline: 40px;
}

.service-gallery-track {
    display: flex;
    gap: 22px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 6px 18px;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(20, 33, 61, 0.25) transparent;
}

.service-gallery-track::-webkit-scrollbar {
    height: 8px;
}

.service-gallery-track::-webkit-scrollbar-thumb {
    background: rgba(20, 33, 61, 0.22);
    border-radius: 999px;
}

.service-project-card {
    position: relative;
    flex: 0 0 clamp(190px, 22vw, 230px);
    min-width: 190px;
    aspect-ratio: 3 / 4;
    height: auto;
    scroll-snap-align: start;
    border-radius: 18px;
    overflow: hidden;
    background: #13233c;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.service-project-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.35s ease;
}

.service-project-card:hover .service-project-image {
    transform: scale(1.06);
}

.service-project-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.service-project-card figcaption strong,
.service-project-card figcaption small {
    display: block;
}

.service-project-card figcaption strong {
    font-size: 14px;
}

.service-project-card figcaption small {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

.js-lightbox-item {
    cursor: zoom-in;
}

.js-lightbox-item:focus {
    outline: 3px solid rgba(214, 145, 43, 0.75);
    outline-offset: 4px;
}

.gallery-card.js-lightbox-item,
.gallery-card.js-lightbox-item .gallery-image {
    cursor: zoom-in;
}

.gallery-card.js-lightbox-item:focus {
    outline: 3px solid rgba(214, 145, 43, 0.75);
    outline-offset: 4px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5, 10, 20, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox-content {
    position: relative;
    max-width: min(1100px, 94vw);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.image-lightbox-img {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    background: #fff;
    user-select: none;
    touch-action: pan-y;
}

.image-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: #0f274a;
    font-size: 32px;
    font-weight: 800;
    cursor: pointer;
    z-index: 10001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.image-lightbox-prev {
    left: 24px;
}

.image-lightbox-next {
    right: 24px;
}

.image-lightbox-hit {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 18%;
    z-index: 2;
    cursor: pointer;
}

.image-lightbox-hit-left {
    left: 0;
}

.image-lightbox-hit-right {
    right: 0;
}

.image-lightbox-caption {
    color: #fff;
    text-align: center;
    max-width: 800px;
}

.image-lightbox-caption h3 {
    margin: 0 0 6px;
    font-size: 22px;
}

.image-lightbox-caption p {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

.image-lightbox-counter {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.75;
}

.image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: #fff;
    color: #0f274a;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    z-index: 10000;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero-right-actions {
        justify-content: flex-start;
    }

    .image-lightbox {
        padding: 12px;
    }

    .image-lightbox-nav {
        width: 46px;
        height: 46px;
        font-size: 28px;
    }

    .image-lightbox-prev {
        left: 8px;
    }

    .image-lightbox-next {
        right: 8px;
    }

    .image-lightbox-hit {
        width: 22%;
    }
}

.gallery-placeholder {
    background: linear-gradient(135deg, rgba(20, 33, 61, 0.96), rgba(41, 69, 110, 0.88));
}

.gallery-placeholder .service-project-image {
    object-fit: contain;
    padding: 1.2rem;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 33, 61, 0.9);
    color: #fff;
    display: none;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(20, 33, 61, 0.22);
}

.service-gallery-shell.is-carousel.has-overflow .gallery-arrow {
    display: grid;
}

.gallery-arrow span {
    font-size: 1.6rem;
    line-height: 1;
}

.gallery-arrow-left {
    left: 0;
}

.gallery-arrow-right {
    right: 0;
}

.service-image,
.gallery-image {
    background-size: cover;
    background-position: center;
}

.service-content,
.gallery-card figcaption {
    padding: 1.35rem;
}

.service-content h3,
.gallery-card strong {
    margin: 0 0 0.7rem;
    font-size: 1.25rem;
}

.text-link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--accent-dark);
    font-weight: 800;
}

.about-grid,
.contact-grid,
.footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-section {
    padding: 90px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 42px;
    align-items: center;
}

.about-intro {
    max-width: 560px;
}

.about-intro h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    color: #0f274a;
    margin: 12px 0 18px;
    font-family: 'Playfair Display', serif;
}

.about-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: #34415a;
    margin: 0;
}

.mission-vision-card {
    background: #fff;
    border-radius: 28px;
    padding: 38px;
    box-shadow: 0 22px 55px rgba(15, 39, 74, 0.1);
    border: 1px solid rgba(15, 39, 74, 0.08);
}

.mission-vision-group {
    display: grid;
    gap: 20px;
}

.mission-vision-block {
    display: grid;
    gap: 10px;
}

.mission-vision-block p {
    font-size: 1rem;
    line-height: 1.75;
    color: #34415a;
    margin: 0;
}

.mission-vision-divider {
    height: 1px;
    background: rgba(15, 39, 74, 0.12);
    margin: 28px 0;
}

.section-eyebrow {
    margin: 0;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-dark);
    font-weight: 800;
}

.about-card,
.success-card,
.login-card {
    padding: 2rem;
}

.login-branding {
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    text-align: center;
}

.login-logo {
    width: min(440px, 100%);
    max-height: 120px;
    object-fit: contain;
}

.accent-card {
    background: linear-gradient(135deg, rgba(20, 33, 61, 0.96), rgba(41, 69, 110, 0.96));
    color: #fff;
}

.accent-card p {
    color: rgba(255, 255, 255, 0.82);
}

.quote-layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
}

.quote-form,
.login-form,
.admin-form {
    display: grid;
    gap: 1rem;
}

.quote-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.75rem;
}

.quote-row {
    display: grid;
    gap: 1rem;
}

.quote-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.full-width {
    grid-column: 1 / -1;
}

label span {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    font-size: 0.92rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(20, 33, 61, 0.14);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    font: inherit;
    background: rgba(255, 255, 255, 0.92);
}

textarea {
    resize: vertical;
}

[aria-invalid='true'] {
    border-color: rgba(170, 45, 45, 0.55);
    box-shadow: 0 0 0 3px rgba(170, 45, 45, 0.12);
}

.alert {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(44, 120, 77, 0.12);
    color: #21583a;
}

.alert-error {
    background: rgba(170, 45, 45, 0.12);
    color: #8f2525;
}

.image-preview-grid,
.request-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.preview-card {
    width: 108px;
    height: 108px;
    border-radius: 18px;
    overflow: hidden;
    background: #f0ede6;
}

.preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    padding: 0.5rem 0;
}

.contact-links,
.contact-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    align-content: start;
}

.info-card {
    display: grid;
    place-items: center;
    min-height: 120px;
    font-weight: 800;
}

.site-footer {
    padding: 2rem 0 0;
    background: #111827;
    color: rgba(255, 255, 255, 0.8);
}

.site-footer a,
.site-footer h3,
.site-footer h4 {
    color: #fff;
}

.site-footer h4 {
    margin-top: 0;
}

.site-footer a,
.site-footer p {
    display: block;
    margin: 0 0 0.6rem;
}

.footer-bottom {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.login-card,
.success-card {
    max-width: 620px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .hero-copy,
    .hero-right-column {
        grid-column: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 96px 0 56px;
    }

    .hero-section.hero-with-background {
        background-size: cover;
        background-position: center;
    }

    .hero-copy,
    .hero-copy-content,
    .hero-left-content {
        max-width: 100%;
    }

    .hero-copy {
        justify-content: flex-start;
        align-self: auto;
        align-items: flex-start;
        padding-top: 0;
    }

    .hero-copy-content {
        align-items: flex-start;
        text-align: left;
    }

    .hero-right-column {
        align-items: flex-start;
        justify-content: flex-start;
        align-self: auto;
        margin-top: 0;
        padding-top: 0;
        transform: translateY(-14px);
    }

    .hero-brand-clean {
        gap: 16px;
        width: 100%;
        max-width: 100%;
        margin: 0 0 24px;
    }

    .hero-brand-clean-logo {
        width: clamp(132px, 16vw, 182px);
    }

    .hero-brand-clean h1 span:first-child {
        font-size: clamp(2.2rem, 6.8vw, 4rem);
    }

    .hero-brand-clean h1 span:last-child {
        font-size: clamp(1.55rem, 5vw, 2.85rem);
    }

    .hero-card {
        max-width: 520px;
    }

    .hero-right-actions {
        max-width: 520px;
    }

    .hero-card-inner {
        min-height: 420px;
        padding: 30px 26px;
    }

    .hero-card-inner strong {
        max-width: 12ch;
    }
}

@media (max-width: 640px) {
    .hero-right-column {
        transform: none;
    }
}

@media (max-width: 960px) {
    .site-header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: transparent !important;
        background-color: transparent !important;
    }

    .site-header.scrolled {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .nav-shell {
        position: relative;
    }

    .hero-layout,
    .quote-layout,
    .about-grid,
    .about-layout,
    .contact-grid,
    .footer-grid,
    .cards-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
        gap: 24px;
        padding: 96px 0 64px;
    }

    .hero-copy {
        min-height: auto;
    }

    .hero-right-column {
        align-items: flex-start;
    }

    .hero-right-actions {
        justify-content: flex-start;
        width: 100%;
        max-width: none;
    }

    .hero-card {
        width: min(100%, 520px);
        min-height: 420px;
    }

    .hero-card-inner {
        min-height: 420px;
        padding: 1.75rem;
        aspect-ratio: auto;
    }

    .service-title-card {
        grid-template-columns: 1fr;
    }

    .service-project-card {
        flex-basis: 250px;
        min-width: 250px;
    }

    .site-nav {
        position: absolute;
        top: 82px;
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: var(--shadow);
        gap: 0.8rem;
    }

    .site-nav a,
    .lang-switcher .lang-switch,
    .lang-switcher .lang-switch-separator,
    .nav-contact-icon {
        color: var(--ink);
        text-shadow: none;
    }

    .site-nav a {
        font-size: 0.82rem;
        letter-spacing: 0.06em;
    }

    .lang-switcher {
        align-self: flex-start;
        margin-left: 0;
        background: rgba(20, 33, 61, 0.08);
        padding: 0.12rem 0.45rem;
        gap: 0.32rem;
    }

    .lang-switcher .lang-switch,
    .lang-switcher .lang-switch-separator {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .nav-contact-icons {
        align-self: flex-start;
        margin-left: 0;
        gap: 0.6rem;
    }

    .nav-contact-icon {
        width: 22px;
        height: 22px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .quote-form,
    .quote-row-2,
    .quote-row-3,
    .contact-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-intro {
        max-width: none;
    }

    .mission-vision-card {
        padding: 28px;
    }
}

@media (max-width: 640px) {
    .hero-section,
    .services-section,
    .about-section,
    .gallery-section,
    .quote-section,
    .contact-section,
    .success-section,
    .login-section {
        padding: 4.25rem 0;
    }

    .container {
        width: min(100% - 1.25rem, 1120px);
    }

    .hero-content {
        width: min(100% - 28px, 100%);
        gap: 24px;
        padding: 104px 0 48px;
    }

    .hero-brand-clean {
        grid-template-columns: clamp(76px, 24vw, 108px) 1fr;
        gap: 12px;
        align-items: center;
    }

    .hero-brand-clean-logo {
        width: clamp(112px, 30vw, 152px);
    }

    .hero-brand-clean h1 span:first-child {
        font-size: clamp(1.95rem, 8.8vw, 3.25rem);
    }

    .hero-brand-clean h1 span:last-child {
        font-size: clamp(1.35rem, 6.2vw, 2.25rem);
        white-space: nowrap;
    }

    .hero-left-content .lead,
    .hero-left-content .sublead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-card {
        width: 100%;
        max-width: 100%;
        min-height: clamp(300px, 86vw, 460px);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        border-radius: 22px !important;
        clip-path: inset(0 round 22px);
    }

    .hero-card-inner {
        min-height: clamp(300px, 86vw, 460px);
        padding: 24px 20px;
        border-radius: 22px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .hero-card-inner strong {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-more-btn {
        width: auto;
    }

    .service-title-card {
        padding: 20px;
        border-radius: 18px;
    }

    .service-title {
        font-size: 24px;
    }

    .service-gallery-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .gallery-arrow {
        display: none;
    }

    .service-gallery-shell.is-carousel.has-overflow {
        padding-inline: 0;
    }

    .service-project-card {
        flex-basis: 82%;
        min-width: 230px;
        height: auto;
        min-height: clamp(300px, 82vw, 440px);
        aspect-ratio: 3 / 4;
        background: transparent;
    }

    .service-project-card:not(.gallery-placeholder) .service-project-image {
        object-fit: cover;
        object-position: center;
    }

    .brand-logo-icon {
        width: 48px;
        height: 48px;
    }

    .image-lightbox {
        padding: 14px;
    }

    .image-lightbox-img {
        max-height: 68vh;
        border-radius: 14px;
    }

    .image-lightbox-nav {
        width: 46px;
        height: 46px;
        font-size: 28px;
    }

    .image-lightbox-prev {
        left: 8px;
    }

    .image-lightbox-next {
        right: 8px;
    }

    .image-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }

    .image-lightbox-hit {
        width: 22%;
    }

    .image-lightbox-caption h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        width: min(100% - 24px, 100%);
        padding: 100px 0 44px;
    }

    .hero-brand-clean {
        gap: 10px;
    }

    .hero-brand-clean-logo {
        width: clamp(102px, 32vw, 136px);
    }

    .hero-brand-clean h1 span:first-child {
        font-size: clamp(2.15rem, 11.2vw, 3.4rem);
    }

    .hero-brand-clean h1 span:last-child {
        font-size: clamp(1.4rem, 6.7vw, 2.1rem);
        white-space: normal;
    }

    .lang-switcher {
        padding: 0.08rem 0.38rem;
        gap: 0.28rem;
    }

    .nav-contact-icons {
        gap: 0.65rem;
    }

    .nav-contact-icon {
        width: 24px;
        height: 24px;
    }

    .hero-card {
        min-height: clamp(280px, 92vw, 420px);
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        border-radius: 20px !important;
        clip-path: inset(0 round 20px);
    }

    .hero-card-inner {
        min-height: clamp(280px, 92vw, 420px);
        padding: 24px 18px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .hero-card-inner p {
        font-size: 0.95rem;
    }

    .service-project-card {
        min-height: clamp(280px, 88vw, 400px);
    }
}

@media (max-width: 520px) {
    .about-section {
        padding: 60px 0;
    }

    .mission-vision-card {
        border-radius: 22px;
        padding: 22px;
    }

    .about-intro h2 {
        font-size: 2.2rem;
    }
}
