: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);
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-attachment: fixed;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 30, 55, 0.72),
        rgba(5, 30, 55, 0.42),
        rgba(5, 30, 55, 0.25)
    );
    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 .hero-label {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

.page-hero h1 {
    font-size: clamp(3rem, 3.8vw, 4.8rem);
    line-height: 1.02;
    margin: 22px 0 18px;
    letter-spacing: -0.03em;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.page-hero p {
    max-width: 620px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    margin-bottom: 28px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.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;
    pointer-events: none;
    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;
}

/* Blog page: editorial structure with a technical, dimensional finish. */
body.page-blogs {
    background: #f5f9fc;
}

.page-blogs .navbar-content {
    width: 100%;
    max-width: 1240px;
}

.page-blogs .logo {
    width: 155px;
    min-width: 155px;
    flex: 0 0 155px;
    overflow: visible;
}

.page-blogs .logo-image {
    width: 132px;
    height: 92px;
    object-fit: contain;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 92px;
    margin-bottom: 18px;
    padding: 7px;
    border-radius: 6px;
    background: #fff;
}

.footer-brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-blogs .blog-hero {
    min-height: 78vh;
    isolation: isolate;
    background-position: center 42%;
}

.page-blogs .blog-hero::before {
    background: linear-gradient(100deg, rgba(13, 36, 56, 0.94) 0%, rgba(13, 36, 56, 0.68) 45%, rgba(13, 36, 56, 0.18) 100%);
}

.page-blogs .blog-hero::after {
    opacity: 0.7;
    background-image: linear-gradient(rgba(234, 246, 252, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(234, 246, 252, 0.12) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, black, transparent 70%);
}

.page-blogs .hero-shape,
.page-blogs .hero-circle {
    display: none;
}

.page-blogs .blog-hero h1 {
    max-width: 720px;
    font-size: clamp(3.4rem, 6.4vw, 6.7rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.blog-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.blog-hero-link {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 4px;
}

.blog-hero-link span {
    color: var(--vesta-blue);
    font-size: 1.3rem;
    margin-left: 5px;
}

.blog-hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 60px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.blog-hero-stats span + span {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 28px;
}

.blog-hero-stats strong {
    display: block;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 6px;
}

.page-blogs .filter-bar {
    position: relative;
    z-index: 2;
    margin-top: -12px;
    padding: 8px;
    width: fit-content;
    max-width: 100%;
    border: 1px solid var(--vesta-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 40px rgba(23, 50, 77, 0.1);
    backdrop-filter: blur(14px);
}

.page-blogs .filter-pill {
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 11px;
    letter-spacing: 0.12em;
}

.page-blogs .featured-card,
.page-blogs .blog-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.page-blogs .featured-card {
    border-radius: 8px;
    border-color: rgba(63, 169, 224, 0.22);
    box-shadow: 0 26px 60px rgba(23, 50, 77, 0.16), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

.page-blogs .featured-media {
    min-height: 480px;
    overflow: hidden;
    background: var(--vesta-dark);
}

.page-blogs .featured-copy {
    justify-content: center;
    padding: clamp(28px, 5vw, 64px);
    background: linear-gradient(145deg, #ffffff 0%, #eaf6fc 100%);
}

.page-blogs .featured-copy h2 {
    font-size: clamp(2.2rem, 3.4vw, 4rem);
}

.page-blogs .blog-grid {
    gap: 22px;
    margin-top: 22px;
}

.page-blogs .blog-card {
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(23, 50, 77, 0.1);
}

.page-blogs .blog-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 3px solid var(--vesta-blue);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.page-blogs .blog-card:hover::before {
    opacity: 1;
}

.page-blogs .blog-card-media {
    height: 218px;
}

.page-blogs .blog-card-body {
    min-height: 238px;
    padding: 24px 22px 22px;
}

.page-blogs .blog-card-footer {
    margin-top: auto;
}

.page-blogs .featured-card.is-hidden,
.page-blogs .blog-card.is-hidden {
    display: none;
}

.blog-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 72px;
    padding: 42px clamp(24px, 5vw, 64px);
    border-radius: 8px;
    color: #fff;
    background: var(--vesta-dark);
    box-shadow: 0 24px 52px rgba(13, 36, 56, 0.2);
    overflow: hidden;
    position: relative;
}

.blog-newsletter::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -100px;
    top: -180px;
    border: 1px solid rgba(63, 169, 224, 0.35);
    transform: rotate(45deg);
}

.blog-newsletter .section-label,
.blog-newsletter h2,
.blog-newsletter p,
.blog-newsletter-form {
    position: relative;
    z-index: 1;
}

.blog-newsletter .section-label {
    color: var(--vesta-blue);
}

.blog-newsletter h2 {
    margin: 8px 0 4px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.blog-newsletter p {
    color: rgba(255, 255, 255, 0.72);
}

.blog-newsletter-form {
    display: flex;
    gap: 10px;
    min-width: min(100%, 390px);
}

.blog-newsletter-form input {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.blog-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.blog-post-hero {
    position: relative;
    padding: 92px 0 84px;
    color: #fff;
    background: linear-gradient(135deg, var(--vesta-deep) 0%, var(--vesta-dark) 62%, #287da9 100%);
    overflow: hidden;
    isolation: isolate;
}

.blog-post-hero::before,
.blog-post-hero::after {
    content: "";
    position: absolute;
    inset: auto;
    border-radius: 50%;
    filter: blur(16px);
    opacity: 0.65;
    pointer-events: none;
    z-index: 0;
}

.blog-post-hero::before {
    width: 420px;
    height: 420px;
    right: -110px;
    top: -120px;
    background: radial-gradient(circle, rgba(63, 169, 224, 0.8), rgba(63, 169, 224, 0));
}

.blog-post-hero::after {
    width: 320px;
    height: 320px;
    left: -40px;
    bottom: -100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.blog-post-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    transform-style: preserve-3d;
    transition: transform 0.35s ease, text-shadow 0.35s ease;
}

.blog-post-hero-inner:hover {
    text-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.blog-back-link {
    display: inline-block;
    margin-bottom: 42px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: transform 0.25s ease, color 0.25s ease;
}

.blog-back-link:hover {
    color: #fff;
    transform: translateX(-4px);
}

.blog-post-hero .section-label {
    display: block;
    color: var(--vesta-blue);
    margin-bottom: 16px;
}

.blog-post-hero h1 {
    max-width: 820px;
    color: #fff;
    font-size: clamp(2.7rem, 6vw, 5.8rem);
    line-height: 0.98;
    margin-bottom: 22px;
}

.blog-post-hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.blog-post-meta span + span {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    gap: 42px;
    align-items: start;
}

.blog-post-article {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 25px 60px rgba(13, 36, 56, 0.12);
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-post-article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(63, 169, 224, 0.08), transparent 34%, rgba(13, 36, 56, 0.06));
    pointer-events: none;
}

.blog-post-article:hover,
.blog-post-aside-card:hover {
    box-shadow: 0 30px 70px rgba(13, 36, 56, 0.16);
}

.blog-post-image {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    transform: translateZ(20px);
    transition: transform 0.35s ease;
}

.blog-post-article:hover .blog-post-image {
    transform: scale(1.02) translateZ(26px);
}

.blog-post-copy {
    padding: clamp(24px, 5vw, 58px);
}

.blog-post-lead {
    color: var(--vesta-dark);
    font-size: 1.35rem;
    line-height: 1.65;
    margin-bottom: 34px;
}

.blog-post-copy section + section {
    margin-top: 32px;
}

.blog-post-copy h2 {
    color: var(--vesta-dark);
    font-size: 1.65rem;
    margin-bottom: 10px;
}

.blog-post-copy p {
    color: var(--vesta-muted);
    line-height: 1.85;
}

.blog-post-aside {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 110px;
}

.blog-post-aside-card {
    padding: 26px;
    border: 1px solid rgba(63, 169, 224, 0.18);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 18px 42px rgba(13, 36, 56, 0.08);
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.blog-post-aside-card:hover {
    border-color: rgba(63, 169, 224, 0.34);
}

.blog-post-aside-card .section-label {
    color: var(--vesta-blue);
}

.blog-post-aside-card ul {
    list-style: none;
    padding: 0;
    margin-top: 18px;
}

.blog-post-aside-card li {
    padding: 13px 0 13px 24px;
    border-top: 1px solid var(--vesta-border);
    color: var(--vesta-muted);
    position: relative;
}

.blog-post-aside-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 21px;
    width: 8px;
    height: 8px;
    background: var(--vesta-blue);
    transform: rotate(45deg);
}

.blog-post-cta {
    color: #fff;
    background: var(--vesta-dark);
}

.blog-post-cta h2 {
    color: #fff;
    font-size: 1.65rem;
    line-height: 1.2;
    margin: 14px 0 24px;
}

@media (max-width: 840px) {
    .blog-post-layout {
        grid-template-columns: 1fr;
    }

    .blog-post-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .blog-post-hero {
        padding: 64px 0;
    }

    .blog-post-hero h1 {
        font-size: 2.75rem;
    }

    .blog-post-aside {
        grid-template-columns: 1fr;
    }

    .blog-post-image {
        height: 270px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    body.page-blogs,
    body.page-blogs main,
    body.page-blogs .section--wide,
    body.page-blogs .section--wide > .container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .page-blogs .logo {
        width: 112px;
        min-width: 112px;
        flex-basis: 112px;
    }

    .page-blogs .logo-image {
        width: 100px;
        height: 78px;
    }

    .page-blogs .blog-hero {
        min-height: 76vh;
    }

    .page-blogs .blog-hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.6rem);
    }

    .blog-hero-stats {
        margin-top: 38px;
    }

    .page-blogs .filter-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin-top: 0;
        overflow: visible;
    }

    .page-blogs .filter-pill {
        width: 100%;
        min-width: 0;
        padding: 11px 6px;
        white-space: normal;
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .page-blogs .featured-media {
        min-height: 0;
    }

    .page-blogs .featured-image {
        width: 100%;
        height: 220px;
        min-height: 0;
        aspect-ratio: auto;
    }

    .page-blogs .featured-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .page-blogs .featured-copy {
        min-width: 0;
        padding: 28px 22px;
    }

    .page-blogs .blog-card-footer {
        flex-wrap: wrap;
        gap: 12px;
    }

    .page-blogs .blog-card-footer .btn {
        max-width: 100%;
    }

    .blog-newsletter {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 48px;
    }

    .blog-newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .footer-brand-logo {
        width: 138px;
        height: 84px;
    }
}

@media (max-width: 576px) {
    .navbar-content {
        min-height: 72px;
        padding: 12px 10px;
        gap: 10px;
    }

    .logo,
    .page-blogs .logo {
        width: 128px;
        min-width: 128px;
        flex: 0 0 128px;
    }

    .logo-image,
    .page-blogs .logo-image,
    body.page-gallery .logo-image {
        width: 128px !important;
        max-width: 128px !important;
        height: auto;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .btn-quote {
        min-width: 92px;
        padding: 10px 10px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-blogs .featured-card,
    .page-blogs .blog-card,
    .page-blogs .blog-card-image,
    .page-blogs .featured-image {
        transition: none;
    }
}

.contact-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.contact-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 560px;
    box-shadow: var(--shadow-soft);
    width: 100%;
}

.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);
    max-width: 100%;
    box-sizing: border-box;
}

.contact-info-panel,
.contact-overview .contact-split {
    display: grid;
    gap: 32px;
}

.contact-info-card,
.contact-spotlight-card,
.contact-card {
    background: #ffffff;
    border: 1px solid rgba(63, 169, 224, 0.14);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.contact-info-card h3 {
    font-size: 1.95rem;
    line-height: 1.1;
    margin: 18px 0 18px;
    color: var(--vesta-dark);
}

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.contact-info-list li {
    display: grid;
    gap: 6px;
}

.contact-info-list strong {
    display: block;
    color: var(--vesta-dark);
    font-size: 0.95rem;
}

.contact-info-list a {
    color: var(--vesta-dark);
    text-decoration: none;
    font-weight: 700;
}

.contact-info-list a:hover {
    color: var(--vesta-blue);
}

.contact-form-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid rgba(63, 169, 224, 0.14);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d5e1ea;
    border-radius: 9px;
    padding: 14px 16px;
    color: var(--vesta-dark);
    font-size: 0.95rem;
    min-height: 48px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card textarea {
    min-height: 140px;
    padding-top: 16px;
}

.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 3px rgba(65, 170, 220, 0.12);
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 16px;
    width: 100%;
    min-width: 0;
}

.quick-contact-grid .contact-card {
    display: block;
    padding: 28px 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 246, 252, 0.85));
    border: 1px solid rgba(63, 169, 224, 0.18);
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(23, 50, 77, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 230px;
}

.quick-contact-grid .contact-card:hover,
.quick-contact-grid .contact-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(20, 50, 80, 0.14);
}

.quick-contact-grid .contact-card:active {
    transform: translateY(-2px) scale(0.98);
}

.quick-contact-grid .contact-card:focus-visible {
    outline: 3px solid rgba(65, 170, 220, 0.35);
    outline-offset: 4px;
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vesta-blue);
    color: #ffffff;
    margin-bottom: 18px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.24), transparent 58%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-contact-grid .contact-card:hover .contact-card-icon,
.quick-contact-grid .contact-card:focus-visible .contact-card-icon {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 12px 28px rgba(63, 169, 224, 0.18);
}

.quick-contact-grid .contact-card:hover .contact-card-icon::after,
.quick-contact-grid .contact-card:focus-visible .contact-card-icon::after {
    opacity: 1;
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.quick-contact-grid .contact-card-title {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.quick-contact-grid .contact-card strong {
    display: block;
    font-size: 1.2rem;
    color: var(--vesta-dark);
    margin-bottom: 10px;
}

.quick-contact-grid .contact-card p {
    color: var(--vesta-muted);
    line-height: 1.75;
    margin: 0;
}

.why-contact-section .section-heading {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.why-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.why-contact-card {
    background: #ffffff;
    border: 1px solid rgba(63, 169, 224, 0.16);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.why-contact-card span {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--vesta-blue);
    margin-bottom: 18px;
}

.why-contact-card h3 {
    margin: 0 0 14px;
    color: var(--vesta-dark);
    font-size: 1.25rem;
}

.why-contact-card p {
    color: var(--vesta-muted);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 1024px) {
    .contact-split,
    .contact-info-panel,
    .why-contact-grid {
        grid-template-columns: 1fr;
    }

        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-form-card,
    .contact-info-card,
    .contact-card {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .contact-info-card h3 {
        font-size: 1.55rem;
    }

    .page-hero {
        padding: 90px 0 60px;
    }

    .page-hero .hero-buttons .btn {
        width: 100%;
        min-width: auto;
    }

    .quick-contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-split {
        gap: 24px;
    }

    .contact-form-card {
        padding: 28px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.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: #ffffff;
    border: 1px solid rgba(63, 169, 224, 0.18);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-strong);
    border-color: rgba(63, 169, 224, 0.28);
}

.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;
}

.form-validation-message {
    display: none;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(63, 169, 224, 0.08);
    border: 1px solid rgba(63, 169, 224, 0.18);
    color: var(--vesta-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-validation-message.is-visible {
    display: block;
}

.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-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
    border: 1px solid rgba(63, 169, 224, 0.18);
    box-shadow: 0 16px 45px rgba(23, 50, 77, 0.10), 0 0 0 1px rgba(63, 169, 224, 0.06);
    overflow: hidden;
}

.contact-map-section .map-card-header {
    margin-bottom: 20px;
}

.contact-map-section .map-card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vesta-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-map-section .map-card-label svg {
    width: 16px;
    height: 16px;
}

.contact-map-section .map-card-header h2 {
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
    margin: 0 0 8px;
    color: var(--vesta-dark);
}

.contact-map-section .map-card-header p {
    color: var(--vesta-muted);
    line-height: 1.8;
    margin: 0;
}

.contact-map-section .map-frame-shell {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(63, 169, 224, 0.16);
    background: var(--vesta-light-blue);
}

.contact-map-section iframe {
    display: block;
    width: 100%;
    min-height: 430px;
    height: 430px;
    border: 0;
}

.contact-map-section .map-directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--vesta-blue) 0%, #2f8dc5 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(63, 169, 224, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-map-section .map-directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(63, 169, 224, 0.32);
}

@media (max-width: 768px) {
    .contact-map-section .map-card {
        padding: 20px;
    }

    .contact-map-section iframe {
        min-height: 350px;
        height: 350px;
    }

    .contact-map-section .map-card-header p {
        font-size: 0.95rem;
    }
}

.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;
}

.footer-social-links {
    margin-top: 18px;
}

.footer-social-title {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.social-links,
.social-3d-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-social-links .social-links,
.footer-social-links .social-3d-icons {
    flex-wrap: nowrap;
    gap: 8px;
}

.social-links--light .footer-social-title,
.social-links--light .social-link,
.social-links--light .social-3d-icon {
    color: #0D2438;
}

.social-links--light .social-link,
.social-links--light .social-3d-icon {
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(17, 17, 17, 0.08);
}

.social-link,
.social-3d-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 26px rgba(0, 0, 0, 0.08);
    transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    color: #ffffff;
    text-decoration: none;
    line-height: 1;
}

.social-link svg,
.social-3d-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.footer-social-links .footer-social-icon {
    display: inline-flex;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    font-size: 20px;
    padding: 0;
}

.footer-social-links .footer-social-icon svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain;
}

.social-link:hover,
.social-3d-icon:hover {
    transform: translateY(-3px) scale(1.08);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 38px rgba(0, 0, 0, 0.10);
}

.social-link:active,
.social-3d-icon:active {
    transform: translateY(0);
}

@media (max-width: 992px) {
    .social-link,
    .social-3d-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .social-link svg,
    .social-3d-icon svg {
        width: 17px;
        height: 17px;
    }
}

@media (max-width: 768px) {
    .footer-social-links .social-link,
    .footer-social-links .social-3d-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
    }

    .footer-social-links {
        margin-top: 14px;
    }

    .social-link,
    .social-3d-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        border-radius: 12px;
    }

    .social-link svg,
    .social-3d-icon svg {
        width: 16px;
        height: 16px;
    }
}

.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);
}

@media (max-width: 768px) {
    .motion-reveal,
    .motion-reveal .card,
    .motion-reveal .gallery-preview-card,
    .motion-reveal .industries-card,
    .motion-reveal .product-applications-card,
    .motion-reveal .stats-3d-card,
    .motion-reveal .dark-card,
    .motion-reveal .faq-section-item {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    body.page-gallery main {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    body.page-gallery main section,
    body.page-gallery main .container,
    body.page-gallery .material-card,
    body.page-gallery .gallery-preview-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.page-gallery .container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 16px;
        padding-right: 16px;
    }

    body.page-gallery .material-card-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    body.page-gallery .material-card {
        margin-bottom: 20px;
    }

    body.page-gallery .gallery-preview-image {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    body.page-gallery .logo-image {
        width: 128px !important;
        max-width: 128px !important;
        height: auto;
    }

    body.page-gallery .navbar-content {
        flex-wrap: nowrap;
    }

    body.page-gallery .logo {
        flex: 0 0 128px;
        width: 128px !important;
        max-width: 128px;
    }

    body.page-gallery .nav-toggle {
        flex: 0 0 44px;
        width: 44px;
    }

    body.page-gallery .btn-quote {
        flex: 0 0 auto;
    }
}

.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);
}

.service-detail-page .page-hero {
    min-height: 68vh;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.legacy-services-grid {
    display: grid;
}

.service-detail-image {
    margin: 0;
    min-height: 360px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    background: var(--vesta-light-blue);
}

.service-detail-image img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.service-detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-detail-gallery {
    padding: 32px 32px 30px;
}

.service-detail-gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--vesta-light-blue);
    aspect-ratio: 5 / 4;
}

.service-detail-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.service-detail-gallery-item:hover img {
    transform: scale(1.04);
}

.spec-table-wrap {
    overflow-x: auto;
}

.service-spec-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--vesta-muted);
}

.service-spec-table th,
.service-spec-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--vesta-border);
    text-align: left;
    vertical-align: top;
    line-height: 1.55;
}

.service-spec-table th {
    width: 36%;
    color: var(--vesta-dark);
    font-weight: 700;
}

.service-spec-table tr:last-child th,
.service-spec-table tr:last-child td {
    border-bottom: 0;
}

.service-detail-page .hero-content {
    max-width: 760px;
}

.service-detail-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.service-detail-page .hero-actions .btn {
    min-width: 180px;
}

.service-detail-page .btn-whatsapp {
    background: linear-gradient(145deg, #2fd36f, #25d366);
    color: #fff;
    border: none;
    box-shadow: 0 6px 0 rgba(11, 102, 62, 0.26), 0 12px 24px rgba(37, 211, 102, 0.18);
}

.service-detail-page .btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 rgba(11, 102, 62, 0.26), 0 16px 28px rgba(37, 211, 102, 0.22);
}

.service-detail-shell {
    padding: 80px 0 36px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
    gap: 30px;
    align-items: start;
}

.detail-article {
    display: grid;
    gap: 24px;
}

.detail-block,
.detail-card,
.service-info-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 246, 252, 0.88));
    border: 1px solid rgba(23, 59, 95, 0.08);
    border-radius: 22px;
    padding: 28px 28px 26px;
    box-shadow: 0 18px 38px rgba(23, 59, 95, 0.08);
    position: relative;
    overflow: hidden;
}

.detail-block::before,
.detail-card::before,
.service-info-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #35A9DF, #173B5F);
}

.detail-block h2,
.detail-card h3,
.service-info-card h3 {
    margin: 0 0 16px;
    color: var(--vesta-dark);
    font-size: clamp(1.5rem, 1.7vw, 2.2rem);
}

.detail-block p,
.detail-card p,
.service-info-card p,
.detail-card li,
.service-info-card li,
.detail-list li {
    color: var(--vesta-muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.detail-card-wrap {
    display: block;
}

.detail-card ul,
.service-info-card ul,
.detail-list {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
    color: var(--vesta-muted);
}

.detail-list {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.service-side-panel {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 90px;
}

.service-info-card {
    padding: 24px 22px;
}

.service-info-card h3 {
    font-size: 1.25rem;
}

.service-cta {
    padding: 0 0 86px;
}

.service-cta .container {
    background: linear-gradient(135deg, #173B5F, #1d517f 40%, #35A9DF 130%);
    border-radius: 28px;
    padding: 42px 36px;
    box-shadow: 0 18px 42px rgba(23, 59, 95, 0.18);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
}

.service-cta .container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(255,255,255,0.1), transparent 35%, rgba(255,255,255,0.08));
    pointer-events: none;
}

.service-cta h2,
.service-cta p {
    position: relative;
    z-index: 1;
    color: #fff;
}

.service-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 2.4vw, 2.9rem);
}

.service-cta p {
    margin: 0 0 24px;
    color: rgba(255,255,255,0.82);
    max-width: 760px;
    line-height: 1.7;
}

.cta-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.service-cta .btn {
    min-width: 180px;
}

.service-detail-page .btn-primary,
.service-detail-page .btn-secondary,
.service-detail-page .btn-outline,
.service-detail-page .btn-whatsapp {
    box-shadow: 0 8px 22px rgba(23, 59, 95, 0.12);
}

.service-detail-page .btn-primary:hover,
.service-detail-page .btn-secondary:hover,
.service-detail-page .btn-outline:hover,
.service-detail-page .btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.01);
}

@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;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .service-side-panel {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .service-detail-page .page-hero {
        min-height: 60vh;
        padding: 80px 0 60px;
    }

    .service-detail-page .hero-content h1 {
        font-size: clamp(2.3rem, 7vw, 3.2rem);
    }

    .service-detail-page .hero-actions,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .service-detail-page .hero-actions .btn,
    .service-detail-page .btn,
    .service-cta .btn,
    .cta-buttons .btn {
        width: 100%;
        min-width: 0;
    }

    .service-detail-shell {
        padding-top: 52px;
    }

    .detail-grid,
    .service-side-panel {
        grid-template-columns: 1fr;
    }

    .service-detail-gallery-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-image,
    .service-detail-image img {
        min-height: 240px;
        height: 240px;
    }

    .detail-block,
    .detail-card,
    .service-info-card {
        padding: 22px 20px;
    }

    .service-cta .container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .service-detail-page .page-hero {
        min-height: 54vh;
    }

    .service-detail-page .hero-label,
    .service-cta h2 {
        letter-spacing: 0.08em;
    }

    .service-detail-page .hero-actions,
    .service-cta .container,
    .detail-block,
    .detail-card,
    .service-info-card {
        border-radius: 18px;
    }

    .detail-block p,
    .detail-card p,
    .service-info-card p,
    .detail-list li,
    .detail-card li,
    .service-info-card li {
        font-size: 0.98rem;
    }
}

@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;
    }
}
