:root {
    --vesta-blue: #3FA9E0;
    --vesta-dark: #17324D;
    --vesta-deep: #0D2438;
    --vesta-white: #FFFFFF;
    --vesta-light-blue: #EAF6FC;
    --vesta-background: #F5F9FC;
    --vesta-border: #D7E4EC;
    --vesta-text: #0D2438;
    --vesta-muted: #4B677F;
    --shadow-soft: 0 16px 45px rgba(23, 50, 77, 0.12);
    --shadow-strong: 0 22px 55px rgba(23, 50, 77, 0.18);
    --shadow-glow: 0 30px 90px rgba(63, 169, 224, 0.14);
    --font-primary: "Times New Roman", Times, serif;
}

body.page-gallery,
body.page-blogs,
body.page-contact {
    background: linear-gradient(180deg, var(--vesta-background) 0%, #ffffff 100%);
    color: var(--vesta-text);
}

body.page-gallery,
body.page-blogs,
body.page-contact,
button,
a,
input,
textarea,
select,
.btn,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div {
    font-family: var(--font-primary) !important;
}

.section-label,
.hero-label,
.contact-card-title,
.blog-card-category,
.filter-pill,
.footer h3 {
    font-family: var(--font-primary);
}

.section-label,
.hero-label,
.contact-card-title,
.blog-card-category,
.filter-pill {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.18em;
    font-size: 12px;
}

.section--wide {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0 24px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 74vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    color: var(--vesta-white);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 36, 56, 0.82) 0%, rgba(23, 50, 77, 0.22) 55%, rgba(63, 169, 224, 0.08) 100%);
    z-index: 1;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(63, 169, 224, 0.18), transparent 28%),
                radial-gradient(circle at bottom right, rgba(63, 169, 224, 0.12), transparent 32%);
    z-index: 2;
}

.page-hero .hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
}

.page-hero h1 {
    font-size: clamp(3rem, 3.8vw, 4.8rem);
    line-height: 1.02;
    margin: 22px 0 18px;
    letter-spacing: -0.03em;
}

.page-hero p {
    max-width: 620px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.9;
    margin-bottom: 28px;
}

.page-hero .btn-hero {
    padding: 16px 30px;
}

.page-hero .hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(36px);
    opacity: 0.45;
    z-index: 2;
}

.page-hero--gallery .hero-shape--small {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    background: rgba(63, 169, 224, 0.3);
}

.page-hero--gallery .hero-shape--large {
    width: 220px;
    height: 220px;
    bottom: 18%;
    right: 8%;
    background: rgba(63, 169, 224, 0.17);
}

.page-hero--blog .hero-shape--small {
    width: 100px;
    height: 100px;
    top: 14%;
    right: 12%;
    background: rgba(63, 169, 224, 0.24);
}

.page-hero--blog .hero-shape--large {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: 14%;
    background: rgba(63, 169, 224, 0.10);
}

.page-hero--contact .hero-shape--small {
    width: 90px;
    height: 90px;
    top: 22%;
    left: 16%;
    background: rgba(63, 169, 224, 0.22);
}

.page-hero--contact .hero-shape--large {
    width: 200px;
    height: 200px;
    bottom: 22%;
    right: 16%;
    background: rgba(63, 169, 224, 0.12);
}

.page-hero .hero-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
    opacity: 0.6;
    z-index: 2;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 42px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--vesta-dark);
    border: 1px solid rgba(23, 50, 77, 0.12);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(23, 50, 77, 0.06);
    transition: var(--transition-premium);
}

.filter-pill.active {
    background: var(--vesta-blue);
    color: var(--vesta-white);
    border-color: transparent;
    box-shadow: 0 14px 38px rgba(63, 169, 224, 0.18);
}

.filter-pill:hover {
    box-shadow: 0 14px 38px rgba(63, 169, 224, 0.17);
}

.gallery-grid,
.blog-grid {
    display: grid;
    gap: 24px;
}

.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-card,
.blog-card,
.featured-card,
.contact-card,
.contact-form-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: var(--vesta-white);
    border: 1px solid rgba(23, 50, 77, 0.08);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-premium);
}

.gallery-card:hover,
.blog-card:hover,
.featured-card:hover,
.contact-card:hover,
.contact-form-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.gallery-card::after,
.blog-card::after,
.featured-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(63, 169, 224, 0.08);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.gallery-card:hover::after,
.blog-card:hover::after,
.featured-card:hover::after {
    opacity: 1;
}

.gallery-card-image,
.blog-card-image,
.featured-image,
.contact-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
    display: block;
}

.gallery-card:hover .gallery-card-image,
.blog-card:hover .blog-card-image,
.featured-card:hover .featured-image,
.contact-visual:hover .contact-figure img {
    transform: scale(1.06);
}

.gallery-card {
    min-height: 260px;
}

.gallery-card--large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 520px;
}

.gallery-card--tall {
    min-height: 520px;
}

.gallery-card--wide {
    grid-column: span 2;
    min-height: 360px;
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    background: linear-gradient(180deg, rgba(23, 50, 77, 0) 0%, rgba(23, 50, 77, 0.72) 100%);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-overlay span {
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
}

.gallery-card-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--vesta-dark);
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-card:hover .gallery-card-button {
    transform: translateY(-2px);
    background: var(--vesta-blue);
    color: var(--vesta-white);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(13, 36, 56, 0.92);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 28px;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-panel {
    position: relative;
    width: min(1080px, 100%);
    max-height: 92vh;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.lightbox-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 520px;
}

.lightbox-image-wrapper {
    position: relative;
    overflow: hidden;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lightbox-details {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lightbox-details h3 {
    font-size: 28px;
    margin-bottom: 18px;
}

.lightbox-details p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.85;
}

.lightbox-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.lightbox-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--vesta-white);
    font-size: 12px;
    letter-spacing: 0.16em;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 10;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--vesta-deep);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 32px rgba(23, 50, 77, 0.28);
    transition: transform 0.25s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    transform: scale(1.04);
}

.lightbox-close {
    top: 18px;
    right: 18px;
}

.lightbox-prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.blog-hero {
    min-height: 82vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 36, 56, 0.78) 0%, rgba(23, 50, 77, 0.16) 50%, rgba(63, 169, 224, 0.05) 100%);
}

.blog-hero .hero-content {
    position: relative;
    z-index: 3;
    max-width: 760px;
}

.blog-hero p {
    max-width: 640px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    overflow: hidden;
}

.featured-image {
    aspect-ratio: 4 / 5;
    min-height: 100%;
    width: 100%;
}

.featured-copy {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.featured-copy h2 {
    font-size: clamp(2.5rem, 3vw, 3.2rem);
    line-height: 1.05;
    color: var(--vesta-dark);
}

.featured-copy p {
    color: var(--vesta-muted);
    line-height: 1.9;
}

.featured-copy .btn-secondary {
    width: fit-content;
}

.blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card-media {
    height: 240px;
    overflow: hidden;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.blog-card h3 {
    font-size: 1.35rem;
    margin: 0;
    line-height: 1.3;
    color: var(--vesta-dark);
}

.blog-card p {
    color: var(--vesta-muted);
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-card-footer span {
    color: var(--vesta-muted);
    font-size: 14px;
}

.contact-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: start;
}

.contact-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 560px;
    box-shadow: var(--shadow-soft);
}

.contact-figure {
    width: 100%;
    height: 100%;
    min-height: 560px;
    overflow: hidden;
}

.contact-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}

.contact-visual:hover .contact-figure img {
    transform: scale(1.05);
}

.contact-visual-overlay {
    position: absolute;
    top: 24px;
    left: 24px;
    right: auto;
    width: min(320px, calc(100% - 48px));
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(23, 50, 77, 0.18);
}

.contact-visual-overlay span,
.contact-visual-overlay p {
    color: #ffffff;
}

.contact-visual-overlay h3 {
    margin: 14px 0 10px;
    color: #ffffff;
    font-size: 1.6rem;
}

.contact-visual-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.contact-info-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 32px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(23, 50, 77, 0.08);
    padding: 28px;
}

.contact-card-title {
    color: var(--vesta-blue);
    margin-bottom: 14px;
}

.contact-card strong {
    display: block;
    font-size: 1.05rem;
    color: var(--vesta-dark);
    margin-bottom: 8px;
}

.contact-form-card {
    padding: 32px;
}

.contact-form-card form {
    display: grid;
    gap: 20px;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--vesta-border);
    border-radius: 12px;
    padding: 16px 18px;
    color: var(--vesta-dark);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: var(--vesta-blue);
    box-shadow: 0 0 0 6px rgba(63, 169, 224, 0.10);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-row--full {
    grid-column: 1 / -1;
}

.contact-map-section .map-placeholder {
    min-height: 320px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #edf7fb 100%);
    border: 1px solid rgba(23, 50, 77, 0.08);
    padding: 42px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-map-section h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-map-section p {
    color: var(--vesta-muted);
    line-height: 1.9;
}

.contact-cta {
    background: linear-gradient(135deg, rgba(23, 50, 77, 1) 0%, rgba(23, 50, 77, 0.92) 100%);
    padding: 70px 0;
}

.cta-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 38px 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(23, 50, 77, 0.22);
}

.cta-shell h2 {
    color: #ffffff;
    margin: 0;
    font-size: clamp(2rem, 2.2vw, 2.6rem);
    line-height: 1.08;
}

.cta-shell p {
    color: rgba(255, 255, 255, 0.7);
    margin: 10px 0 0;
}

.btn-quote-alt {
    background: #ffffff;
    color: var(--vesta-deep);
}

.btn-quote-alt:hover {
    background: rgba(255, 255, 255, 0.92);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-links li a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 24px 0 16px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.motion-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.motion-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.motion-reveal.delay-1 { transition-delay: 0.1s; }
.motion-reveal.delay-2 { transition-delay: 0.2s; }
.motion-reveal.delay-3 { transition-delay: 0.3s; }
.motion-reveal.delay-4 { transition-delay: 0.4s; }
.motion-reveal.delay-5 { transition-delay: 0.5s; }

.hero-parallax {
    transform: translate3d(0, 0, 0);
    transition: transform 0.5s ease;
}

.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .contact-split {
        grid-template-columns: 1fr;
    }

    .cta-shell {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 840px) {
    .page-hero {
        padding: 80px 0;
    }

    .page-hero h1 {
        font-size: 2.6rem;
    }

    .filter-bar {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        gap: 20px;
    }

    .featured-copy {
        padding: 28px;
    }

    .contact-visual {
        min-height: 420px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .page-hero {
        min-height: 64vh;
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .container {
        padding: 0 18px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card--large,
    .gallery-card--wide,
    .gallery-card--tall {
        grid-column: auto;
        grid-row: auto;
        min-height: 320px;
    }

    .cta-shell {
        padding: 28px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
