
* {
    box-sizing: border-box;
}

:root {
    --navy: #166297;
    --green: #166297;
    --emerald: #166297;
    --primary: #166297;
    --accent: #166297;
    --white: #ffffff;
    --text: #183247;
    --muted: #64748b;
    --border: #e0e8ec;
    --soft: #f1f6fa;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font: 16px/1.7 system-ui, -apple-system, Segoe UI, sans-serif;
    color: #183247;
    background: #fff;
}

a {
    color: #166297;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    line-height: 1.18;
    color: #166297;
    margin: 0 0 18px;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    letter-spacing: -.04em;
}

h2 {
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    letter-spacing: -.025em;
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 20px;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

/* HEADER AND LOGO */

.header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 20;
    box-shadow: 0 2px 18px #102a4312;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #102a43;
    line-height: 1.3;
    text-decoration: none;
}

.brand strong {
    display: block;
    font-size: 1.05rem;
}

.brand small {
    display: block;
    color: #6c7d89;
    font-size: .78rem;
}

.brand-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #166297;
    color: white;
    font-weight: 800;
}

.site-logo {
    display: block;
    width: auto;
    height: 70px;
    max-width: 220px;
    object-fit: contain;
}

/* NAVIGATION */

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav > a,
.mega-toggle {
    font-weight: 650;
    color: #263746;
}

.nav > a:hover {
    color: #166297;
}

.mega-toggle {
    font: inherit;
    font-weight: 650;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 14px 0;
    color: #263746;
}

/* SERVICES TAB: ALWAYS BLACK, NO HOVER EFFECT */

.mega-toggle:hover,
.mega-toggle:focus,
.mega-toggle:active,
.nav-group.open > .mega-toggle {
    color: #263746 !important;
    background: transparent !important;
    text-decoration: none;
    box-shadow: none !important;
}

/* MEGA MENU */

.nav-group {
    position: static;
}

.mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5eef1;
    box-shadow: 0 15px 30px #102a4322;
    padding: 30px max(20px, calc((100vw - 1160px)/2));
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.nav-group.open .mega {
    display: grid;
}

.mega h3 {
    font-size: 1rem;
    margin: 0 0 10px;
    color: #166297;
}

.mega a {
    display: block;
    padding: 5px 0;
    color: #3a5665;
}

.mega a:hover {
    color: #166297;
}

/* BUTTONS */

.btn {
    display: inline-block;
    background: #166297;
    color: #fff !important;
    padding: 13px 22px;
    border-radius: 9px;
    border: 2px solid #166297;
    font-weight: 750;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    background: #104c75;
    border-color: #104c75;
    color: #fff !important;
    text-decoration: none;
}

.btn-sm {
    padding: 9px 15px;
}

.btn-outline {
    background: transparent;
    color: #166297 !important;
}

.btn-outline:hover {
    background: #166297;
    color: #fff !important;
}

.btn-light {
    background: #fff;
    border-color: #fff;
    color: #166297 !important;
}

.btn-light:hover {
    background: #f1f6fa;
    color: #104c75 !important;
}

button {
    color: #fff;
}

button:hover {
    color: #fff;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.8rem;
    color: #166297;
}

/* HERO */

.hero {
    background: linear-gradient(125deg, #edf5fa, #f5f8fc);
    padding: 85px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    gap: 65px;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    color: #166297;
    letter-spacing: .13em;
    font-size: .78rem;
    font-weight: 850;
    display: block;
    margin-bottom: 15px;
}

.lead {
    font-size: 1.16rem;
    color: #4b6675;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0;
}

.hero-stats {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats strong {
    font-size: 1.12rem;
    color: #166297;
}

.hero-stats span {
    font-size: .85rem;
    color: #5d7380;
}

.hero-panel {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px #102a431c;
}

.hero-panel img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.hero-panel-caption {
    padding: 20px 25px;
}

.hero-panel-caption strong,
.hero-panel-caption span {
    display: block;
}

/* SECTIONS */

.section {
    padding: 85px 0;
}

.soft {
    background: #f1f6fa;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-heading p {
    color: #58717f;
}

/* SERVICE CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cards-three {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    border: 1px solid #e0e8ec;
    background: #fff;
    border-radius: 15px;
    padding: 26px;
    box-shadow: 0 5px 20px #102a4308;
}

.card p {
    color: #57717f;
    font-size: .95rem;
}

.card-symbol {
    display: inline-grid;
    place-items: center;
    background: #e6f1f8;
    color: #166297;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.text-link {
    font-weight: 750;
    color: #166297;
}

/* OTHER CONTENT */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.align-start {
    align-items: start;
}

.feature-list > div {
    border-bottom: 1px solid #d9e4e9;
    padding: 15px 0;
}

.feature-list p {
    margin: 6px 0 0;
}

.callout {
    background: #166297;
    color: #fff;
    border-radius: 20px;
    padding: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.callout h2 {
    color: white;
}

.callout p {
    margin-bottom: 0;
}

.center {
    text-align: center;
}

/* FAQ */

.faq {
    width: 100%;
    max-width: 100%;
    margin: auto;
}

.faq-category {
    grid-column: 1 / -1;
    margin: 24px 0 10px;
    color: #166297;
    font-size: 1.15rem;
}

.faq details {
    width: 100%;
    border-bottom: 1px solid #d8e3e9;
    padding: 18px 0;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #263746;
    padding: 10px 20px;
}

.faq details p {
    margin: 14px 0;
    padding: 0 20px 10px;
    line-height: 1.6;
    color: #57717f;
}

@media (min-width: 900px) {
    .faq {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 24px;
        align-items: start;
    }
}

@media (max-width: 899px) {
    .faq {
        display: block;
    }
}

/* INNER PAGES */

.page-hero {
    background: #edf5fa;
    padding: 80px 0;
}

.page-hero .container {
    max-width: 1160px;
}

.page-hero h1 {
    max-width: 850px;
}

.page-hero .lead {
    max-width: 760px;
}

.portrait {
    width: 100%;
    border-radius: 18px;
}

/* FORMS */

.form {
    display: grid;
    gap: 17px;
}

.form label {
    display: grid;
    gap: 6px;
    font-weight: 650;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    font: inherit;
    border: 1px solid #bcced5;
    border-radius: 9px;
    padding: 12px;
    background: #fff;
    color: #183247;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: 3px solid #c5dfee;
}

.form .check {
    display: flex;
    align-items: start;
    gap: 10px;
    font-weight: 400;
    font-size: .9rem;
}

.check input {
    width: auto;
    margin-top: 6px;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.contact-panel {
    background: #f1f6fa;
    border-radius: 18px;
    padding: 35px;
}

.map {
    width: 100%;
    height: 390px;
    border: 0;
    border-radius: 14px;
}

.price {
    font-size: 2rem;
    color: #166297;
    font-weight: 800;
    margin: 20px 0;
}

.price span {
    font-size: .85rem;
    font-weight: 400;
    color: #617782;
}

.qr {
    width: 240px;
    max-width: 100%;
}

/* GALLERY */

.gallery .card {
    padding: 12px;
}

.gallery-button {
    display: block;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    width: 100%;
}

.gallery-button img {
    width: 100%;
    display: block;
    border-radius: 9px;
}

.gallery figcaption {
    padding: 15px;
}

.gallery figcaption p {
    margin: 5px 0;
}

/* TEXT CONTENT */

.prose {
    max-width: 830px;
}

.prose h2 {
    margin-top: 35px;
    font-size: 1.55rem;
}

.notice {
    background: #fff7e8;
    padding: 16px;
    border-left: 4px solid #b78b31;
}

.small {
    font-size: .85rem;
}

.muted {
    color: #6c7d89;
}

/* FOOTER */

.footer {
    background: #102a43;
    color: #d6e3ea;
    padding: 55px 0 25px;
}

.footer strong {
    color: #fff;
}

.footer a {
    color: #d6e3ea;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
}

.footer-bottom {
    border-top: 1px solid #355166;
    margin-top: 35px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom a {
    display: inline;
}

.legal-note {
    font-size: .78rem;
    color: #b1c3ce;
    margin-top: 18px;
}

/* FLOATING WHATSAPP */

.whatsapp {
    position: fixed;
    bottom: 18px;
    right: 18px;
    background: #166297;
    color: white !important;
    padding: 12px 16px;
    border-radius: 50px;
    z-index: 10;
    font-weight: 700;
}

/* ACCESSIBILITY */

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 10px;
    top: 10px;
    z-index: 50;
    background: white;
    padding: 10px;
}

dialog {
    border: 0;
    border-radius: 14px;
    max-width: min(90vw, 800px);
    padding: 25px;
}

dialog::backdrop {
    background: #000a;
}

dialog img {
    max-height: 70vh;
    display: block;
    margin: auto;
}

.dialog-close {
    float: right;
    margin-bottom: 12px;
    cursor: pointer;
}

/* TABLET */

@media (max-width: 1000px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        gap: 35px;
    }

    .nav {
        gap: 12px;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    .mobile-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 12px 20px #102a4322;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .nav.active {
        display: flex;
    }

    .mega {
        position: static;
        box-shadow: none;
        border: 0;
        padding: 10px 0;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nav-group.open .mega {
        display: grid;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 55px 0;
    }

    .section {
        padding: 55px 0;
    }

    .cards,
    .cards-three {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 440px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .callout {
        flex-direction: column;
        align-items: start;
        padding: 30px;
    }

    .header-inner {
        min-height: 72px;
    }

    .brand strong {
        font-size: .9rem;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
    }

    .hero-stats {
        gap: 15px;
    }

    .site-logo {
        height: 45px;
        max-width: 180px;
    }
}

/* SMALL MOBILE LOGO */

@media (max-width: 600px) {
    .site-logo {
        height: 45px;
        max-width: 180px;
    }
}



/* Rewards Gallery - Final Layout */
main .rewards-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 25px !important;
    width: 100% !important;
}

main .rewards-gallery > .gallery-button {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 380px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f5f7fa !important;
    box-shadow: none !important;
}

main .rewards-gallery > .gallery-button img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    margin: 0 !important;
}

@media (max-width: 600px) {
    main .rewards-gallery {
        grid-template-columns: 1fr !important;
    }

    main .rewards-gallery > .gallery-button {
        height: auto !important;
        min-height: 250px;
    }

    main .rewards-gallery > .gallery-button img {
        height: auto !important;
        max-height: 380px !important;
    }
}



/* Portrait Image Placeholders */
main .rewards-gallery > .portrait-placeholder {
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
}

main .rewards-gallery > .portrait-placeholder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

@media (max-width: 600px) {
    main .rewards-gallery > .portrait-placeholder {
        width: 100% !important;
        max-width: 380px !important;
        aspect-ratio: 4 / 5 !important;
        justify-self: center;
    }
}



/* Google Reviews & Testimonials */
.testimonials-section {
    background: #f5f8fb;
}

.testimonials-section .section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 38px;
}

.testimonials-section .section-heading h2 {
    margin-bottom: 12px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5ebf1;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(20, 50, 80, 0.05);
}

.testimonial-google {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.google-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #526273;
    font-size: 13px;
    font-weight: 600;
}

.google-g {
    font-size: 23px;
    font-weight: 700;
    color: #4285F4;
}

.testimonial-stars {
    color: #E6A817;
    font-size: 18px;
    letter-spacing: 2px;
}

.testimonial-quote {
    color: #166297;
    font-size: 55px;
    line-height: 0.8;
    font-family: Georgia, serif;
    margin-bottom: 12px;
}

.testimonial-card > p {
    color: #526273;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 24px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #edf0f3;
}

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #eaf2f8;
    color: #166297;
    font-size: 17px;
    font-weight: 700;
}

.testimonial-author strong {
    display: block;
    color: #263746;
    font-size: 15px;
}

.testimonial-author div span {
    display: block;
    color: #84909c;
    font-size: 12px;
    margin-top: 3px;
}

.testimonials-cta {
    text-align: center;
    margin-top: 35px;
}

.testimonials-cta p {
    color: #526273;
    margin-bottom: 16px;
}

.testimonials-cta .btn {
    display: inline-block;
    text-decoration: none;
}

/* Responsive Testimonials */
@media (max-width: 760px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonial-card {
        padding: 22px;
    }

    .testimonial-card > p {
        font-size: 14px;
    }
}

.testimonials-cta .btn {
    background: #ec9829 !important;
    color: #ffffff !important;
    border-color: #E6A817 !important;
}

.testimonials-cta .btn:hover {
    background: #C98F08 !important;
    border-color: #C98F08 !important;
    color: #ffffff !important;
}


/* Footer Social Media Buttons */
.footer-social > strong {
    display: block;
    margin-bottom: 12px;
}

.footer-social p {
    font-size: 14px;
    color: #cbd5df;
    line-height: 1.6;
    margin-bottom: 16px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 125px;
    padding: 9px 16px;
    border-radius: 6px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: 0.2s ease;
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.linkedin {
    background: #0A66C2;
}

.social-btn.youtube {
    background: #D93025;
}

.social-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* Footer four-column layout */
.footer-grid {
    grid-template-columns: 1.4fr 0.7fr 1fr 1fr;
}

@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
