:root {
    --pm-bg: #f5f8fc;
    --pm-white: #ffffff;
    --pm-primary: #0c2d57;
    --pm-primary-2: #153f73;
    --pm-text: #21314a;
    --pm-muted: #5e6f89;
    --pm-accent: #15a0db;
    --pm-border: #dbe5f3;
    --pm-shadow: 0 16px 35px rgba(12, 45, 87, 0.1);
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Source Sans 3", sans-serif;
    background: radial-gradient(circle at 10% 0, #eef5ff 0%, #f8fbff 45%, #ffffff 100%);
    color: var(--pm-text);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    filter: blur(70px);
    opacity: 0.55;
}

body::before {
    width: 220px;
    height: 220px;
    background: #8ec8ff;
    top: 8%;
    left: -40px;
}

body::after {
    width: 260px;
    height: 260px;
    background: #9ce6ff;
    bottom: 5%;
    right: -60px;
}

h1, h2, h3, .navbar-brand {
    font-family: "Montserrat", sans-serif;
}

.section-anchor {
    scroll-margin-top: 94px;
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(219, 229, 243, 0.7);
}

.navbar .nav-link {
    color: var(--pm-primary);
    font-weight: 600;
    padding: 0.75rem 0.9rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--pm-accent);
}

.brand-logo-header {
    display: block;
    width: auto;
    height: 58px;
    max-width: 100%;
}

.navbar-title {
    margin-left: 1.1rem;
    font-family: "Montserrat", sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #1b3f71;
    letter-spacing: 0.01em;
    text-transform: capitalize;
    white-space: nowrap;
}

.btn-brand {
    background: linear-gradient(90deg, var(--pm-primary), var(--pm-primary-2));
    border: 0;
    color: var(--pm-white);
}

.btn-brand:hover,
.btn-brand:focus {
    background: linear-gradient(90deg, var(--pm-primary-2), var(--pm-primary));
    color: var(--pm-white);
}

.btn-outline-brand {
    border-color: var(--pm-primary);
    color: var(--pm-primary);
}

.btn-outline-brand:hover {
    background-color: var(--pm-primary);
    color: var(--pm-white);
}

.hero-section {
    padding: 0;
}

.hero-kicker {
    display: inline-block;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-highlights span {
    background: #ebf3ff;
    border: 1px solid #d4e4fb;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    color: var(--pm-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.price-note {
    color: var(--pm-muted);
}

.card-soft,
.feature-card,
.gallery-card,
.process-card,
.location-card,
.contact-details,
.contact-form {
    background: var(--pm-white);
    border: 1px solid var(--pm-border);
    border-radius: 1rem;
    box-shadow: var(--pm-shadow);
}

.hero-slider {
    padding: 0.6rem;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-full {
    padding: 0;
}

.hero-slider .swiper-slide {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: radial-gradient(circle at 10% 8%, #f6fbff 0%, #e8f1ff 70%, #dce9ff 100%);
    min-height: min(66vh, 620px);
    height: min(66vh, 620px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.hero-slider .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 24, 45, 0.28) 0%, rgba(8, 24, 45, 0.42) 65%, rgba(8, 24, 45, 0.48) 100%);
    z-index: 1;
}

.heroSwiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.heroSwiper .swiper-wrapper {
    max-width: none;
    overflow: visible;
}

.heroSwiper .swiper-slide {
    width: 100%;
    max-width: none;
    overflow: hidden;
}

.hero-pin {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    filter: none;
    padding: 0;
    transform: scale(1.02);
}

.hero-pin.eager {
    aspect-ratio: auto;
}

.hero-caption {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.25rem;
    width: min(1100px, 92vw);
    max-width: calc(100vw - 1.2rem);
    background: linear-gradient(145deg, rgba(8, 32, 64, 0.94), rgba(14, 51, 93, 0.92));
    color: #fff;
    padding: 1.1rem 1.2rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 24px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-caption h2 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.hero-caption p {
    margin-bottom: 0;
    font-size: 0.92rem;
    opacity: 0.95;
}

.hero-caption.hero-caption-xl h1 {
    font-size: clamp(1.3rem, 3vw, 2.3rem);
    margin-bottom: 0.35rem;
}

.hero-caption.hero-caption-xl p {
    font-size: clamp(0.92rem, 1.35vw, 1.02rem);
}

.swiper-pagination-bullet-active {
    background: var(--pm-primary);
}

.hero-section .swiper-button-prev,
.hero-section .swiper-button-next {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(12, 45, 87, 0.72);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
}

.hero-section .swiper-button-prev::after,
.hero-section .swiper-button-next::after {
    font-size: 14px;
    font-weight: 700;
}

.hero-section .swiper-button-prev {
    left: 12px;
}

.hero-section .swiper-button-next {
    right: 12px;
}

.hero-section .swiper-pagination {
    bottom: 10px !important;
}

.formal-overview {
    margin-top: 0.2rem;
}

.formal-panel {
    border: 1px solid #d5e2f5;
    border-radius: 0.8rem;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: 0 10px 24px rgba(12, 45, 87, 0.08);
    padding: 1.5rem;
}

.formal-label {
    font-family: "Montserrat", sans-serif;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: #2c4c77;
}

.formal-panel h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.95rem);
    margin-bottom: 0.7rem;
}

.formal-panel p {
    color: var(--pm-muted);
    margin-bottom: 0;
}

.formal-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #ccdbf3;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #fff;
}

.formal-metrics article {
    padding: 1rem 1rem 0.95rem;
    border-right: 1px solid #e0e9f8;
    border-bottom: 1px solid #e0e9f8;
}

.formal-metrics article:nth-child(2n) {
    border-right: 0;
}

.formal-metrics article:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.formal-metrics strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    color: var(--pm-primary);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.formal-metrics span {
    color: #5a6d89;
    font-size: 0.9rem;
}

.section-heading h2 {
    font-weight: 800;
    margin-bottom: 0.6rem;
    text-align: left;
}

.section-heading p {
    color: var(--pm-muted);
    max-width: 760px;
    margin: 0;
    text-align: left;
}

.section-heading-work {
    max-width: 760px;
}

.section-heading-work .section-kicker {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #2d4f7c;
    background: #eaf2ff;
    border: 1px solid #d2e1f9;
    border-radius: 999px;
    padding: 0.24rem 0.72rem;
}

.section-heading-work h2 {
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    margin-bottom: 0.45rem;
}

.section-heading-work p:last-child {
    margin: 0;
    max-width: 640px;
}

.feature-card {
    padding: 1.4rem 1.1rem;
    border-top: 3px solid #c8dcfb;
}

.feature-card i {
    color: var(--pm-primary);
    font-size: 1.6rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-top: 0.7rem;
    margin-bottom: 0.45rem;
}

.feature-card p {
    color: var(--pm-muted);
    margin-bottom: 0;
}

.bg-soft {
    background-color: rgba(236, 244, 255, 0.6);
}

.gallery-card {
    padding: 0.8rem;
    min-height: 185px;
    display: grid;
    place-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: linear-gradient(160deg, #ffffff 0%, #f5f9ff 100%);
}

.gallery-preview {
    cursor: zoom-in;
}

.gallery-preview:focus-visible {
    outline: 3px solid #8bb8f4;
    outline-offset: 2px;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 28px rgba(12, 45, 87, 0.14);
}

.gallery-card img {
    max-height: 180px;
    object-fit: contain;
}

.process-card {
    padding: 1.2rem;
    height: 100%;
    background: linear-gradient(155deg, #ffffff 0%, #f3f8ff 100%);
    border-left: 4px solid #95bef5;
}

.process-card span {
    color: var(--pm-accent);
    font-weight: 800;
    font-size: 1.3rem;
}

.process-card h3 {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

.process-card p {
    color: var(--pm-muted);
    margin-bottom: 0;
}

.accordion-item {
    border-color: var(--pm-border);
}

.accordion-button:not(.collapsed) {
    color: var(--pm-primary);
    background-color: #eef4ff;
}

.location-card,
.contact-details {
    padding: 1.35rem;
}

.location-card a,
.contact-details a,
.site-footer a {
    color: var(--pm-accent);
    text-decoration: none;
}

.location-card a:hover,
.contact-details a:hover,
.site-footer a:hover {
    text-decoration: underline;
}

.map-wrap {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--pm-border);
    box-shadow: var(--pm-shadow);
    height: 100%;
    min-height: 320px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

.contact-form {
    padding: 1.2rem;
    background: linear-gradient(165deg, #ffffff 0%, #f4f9ff 100%);
}

.form-control:focus {
    border-color: #9fc0f3;
    box-shadow: 0 0 0 0.25rem rgba(21, 160, 219, 0.12);
}

.form-feedback {
    font-weight: 600;
}

.form-feedback.is-success {
    color: #157347;
}

.form-feedback.is-error {
    color: #b02a37;
}

.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    z-index: 1100;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.05);
}

.site-footer {
    background: linear-gradient(145deg, #0f2544, #0b1c34);
    color: #eef4ff;
}

.site-footer h3 {
    font-size: 1.1rem;
}

.brand-logo-footer {
    display: block;
    width: min(240px, 100%);
    height: auto;
}

.site-footer hr {
    border-color: rgba(238, 244, 255, 0.2);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 0;
    }

    .navbar .nav-link {
        padding: 0.6rem 0.2rem;
    }

    .navbar .btn-brand {
        margin-top: 0.5rem;
    }

    .brand-logo-header {
        height: 50px;
    }

    .hero-slider .swiper-slide {
        min-height: 58vh;
        height: 58vh;
    }
}

@media (min-width: 768px) {
    .hero-slider .swiper-slide {
        position: relative;
    }

    .hero-pin {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 767.98px) {
    .section-anchor {
        scroll-margin-top: 82px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .gallery-card {
        min-height: 160px;
    }

    .hero-slider {
        padding: 0.45rem;
        overflow: visible;
    }

    .hero-slider .swiper-slide {
        min-height: auto;
        height: auto;
        display: block;
        padding: 0.45rem 0 0.95rem;
        overflow: visible;
    }

    .heroSwiper .swiper-slide {
        overflow: visible;
    }

    .heroSwiper {
        overflow: visible;
    }

    .hero-section .swiper-pagination {
        position: relative;
        bottom: auto !important;
        margin-top: 0.35rem;
        z-index: 3;
    }

    .hero-pin {
        display: block;
        width: 100%;
        max-width: none;
        height: clamp(210px, 40vh, 320px);
        max-height: none;
        object-fit: cover;
        object-position: center;
        padding: 0;
        margin: 0;
        transform: none;
    }

    .hero-caption {
        position: relative;
        left: auto;
        transform: none;
        bottom: auto;
        width: calc(100vw - 1.8rem);
        max-width: calc(100vw - 1.8rem);
        margin: 0.45rem auto 0;
        padding: 0.9rem;
        border-radius: 0.85rem;
        background: linear-gradient(145deg, rgba(8, 32, 64, 0.96), rgba(18, 59, 104, 0.94));
    }

    .hero-caption h2 {
        font-size: 0.95rem;
    }

    .hero-caption p {
        font-size: 0.9rem;
    }

    .hero-caption.hero-caption-xl h1 {
        font-size: 1.65rem;
        line-height: 1.18;
    }

    .hero-kicker {
        font-size: 0.78rem;
    }

    .hero-section .swiper-pagination {
        bottom: 4px !important;
    }

    .hero-section .swiper-button-prev,
    .hero-section .swiper-button-next {
        width: 34px;
        height: 34px;
        top: 37%;
    }

    .formal-panel {
        padding: 1.05rem;
    }

    .formal-metrics {
        grid-template-columns: 1fr;
    }

    .formal-metrics article {
        border-right: 0;
        border-bottom: 1px solid #e0e9f8;
    }

    .formal-metrics article:last-child {
        border-bottom: 0;
    }
}
