﻿/* Gemaura theme - palette taken from the logo */
:root {
    --navy: #1b3a8f;
    --blue: #1f5fae;
    --teal: #2cb5c8;
    --ink: #262626;
    --mist: #f2f7fa;
    --line: #dce6ee;
    --white: #fff;
    --danger: #c62828;
    --radius: 10px;
    --header-h: 76px;
    --bar-h: 64px;
}

*, *::before, *::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h)
}

body {
    margin: 0;
    font-family: 'Montserrat',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
    color: var(--ink);
    line-height: 1.65;
    background: var(--white);
    -webkit-font-smoothing: antialiased
}

    body.no-scroll {
        overflow: hidden
    }

img {
    max-width: 100%;
    height: auto;
    display: block
}

a {
    color: var(--blue)
}

ul {
    list-style: none;
    margin: 0;
    padding: 0
}

h1, h2, h3 {
    line-height: 1.25;
    margin: 0 0 .6em;
    color: var(--ink)
}

h1 {
    font-size: clamp(1.6rem,3.2vw,2.5rem);
    font-weight: 800;
    letter-spacing: -.01em
}

h2 {
    font-size: clamp(1.5rem,2.8vw,2.1rem);
    font-weight: 700
}

h3 {
    font-size: 1.1rem;
    font-weight: 600
}

p {
    margin: 0 0 1em
}

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px
}

.container {
    width: min(1160px,100% - 40px);
    margin-inline: auto
}

.section {
    padding: clamp(48px,7vw,92px) 0
}

.section__head {
    max-width: 640px;
    margin-bottom: 36px
}

    .section__head p {
        color: #555
    }

/* Buttons */
.btn {
    display: inline-block;
    border: 2px solid var(--navy);
    background: var(--navy);
    color: var(--white);
    font: 600 .95rem/1 'Montserrat',sans-serif;
    padding: 14px 26px;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background .2s,color .2s,border-color .2s
}

    .btn:hover {
        background: var(--blue);
        border-color: var(--blue)
    }

.btn--outline {
    background: transparent;
    color: var(--navy)
}

    .btn--outline:hover {
        background: var(--navy);
        color: var(--white);
        border-color: var(--navy)
    }

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s
}

    .header.scrolled {
        box-shadow: 0 4px 18px rgba(27,58,143,.12)
    }

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h)
}

.logo img {
    height: 52px;
    width: auto
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 26px
}

.nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: .92rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color .2s,color .2s
}

    .nav a:hover {
        color: var(--blue);
        border-color: var(--teal)
    }

.nav .btn-verify {
    color: var(--white);
    background: linear-gradient(120deg,var(--teal),var(--blue) 60%,var(--navy));
    padding: 11px 20px;
    border-radius: 999px;
    font-weight: 700;
    border: 0;
    box-shadow: 0 0 0 0 rgba(44,181,200,.6);
    animation: glow 2.8s ease-out infinite
}

    .nav .btn-verify:hover {
        color: var(--white);
        filter: brightness(1.08)
    }

@keyframes glow {
    0% {
        box-shadow: 0 0 0 0 rgba(44,181,200,.55)
    }

    70%,100% {
        box-shadow: 0 0 0 12px rgba(44,181,200,0)
    }
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 10px
}

    .nav-toggle span {
        display: block;
        height: 3px;
        background: var(--navy);
        margin: 5px 0;
        border-radius: 2px;
        transition: transform .25s,opacity .2s
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg)
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg)
    }

/* Hero - image only */
.hero {
    background: var(--navy)
}

    .hero img {
        width: 100%;
        height: clamp(240px,40vw,560px);
        object-fit: cover
    }

/* About + counters */
.about {
    background: var(--white)
}

    .about .container {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 56px;
        align-items: center
    }

.about__text p {
    color: #444
}

.counters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

    .counters li {
        background: var(--mist);
        border-left: 4px solid var(--teal);
        border-radius: var(--radius);
        padding: 24px 20px
    }

    .counters strong {
        display: block;
        font-size: clamp(1.8rem,3vw,2.4rem);
        font-weight: 800;
        color: var(--navy);
        line-height: 1.1
    }

    .counters span {
        font-size: .9rem;
        color: #555
    }

/* Services */
.services {
    background: var(--mist)
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 26px
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: transform .25s,box-shadow .25s
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(27,58,143,.14)
    }

    .card img {
        width: 100%;
        aspect-ratio: 3/2;
        object-fit: cover
    }

.card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1
}

    .card__body p {
        color: #555;
        font-size: .93rem;
        flex: 1
    }

.card .btn {
    align-self: flex-start;
    padding: 12px 22px
}

/* Certification */
.cert {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center
}

.cert__img img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(27,58,143,.15)
}

.ticks {
    margin: 0 0 28px
}

    .ticks li {
        position: relative;
        padding: 8px 0 8px 34px;
        font-weight: 500
    }

        .ticks li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 12px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat
        }

/* Testimonials */
.testimonials {
    background: var(--navy);
    color: var(--white)
}

    .testimonials h2 {
        color: var(--white)
    }

.slider {
    max-width: 820px;
    margin-inline: auto;
    overflow: hidden
}

.slider__track {
    display: flex;
    transition: transform .5s ease;
    touch-action: pan-y
}

.slide {
    flex: 0 0 100%;
    margin: 0;
    padding: 0 8px
}

    .slide blockquote {
        margin: 0 0 20px;
        font-size: clamp(1.1rem,2.2vw,1.45rem);
        font-weight: 500;
        line-height: 1.55
    }

    .slide figcaption {
        color: #b9e6ee;
        font-size: .95rem
    }

        .slide figcaption strong {
            color: var(--white);
            margin-right: 8px
        }

.slider__dots {
    display: flex;
    gap: 10px;
    margin-top: 28px
}

    .slider__dots button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 0;
        background: rgba(255,255,255,.35);
        padding: 0;
        cursor: pointer;
        transition: background .2s,width .2s
    }

        .slider__dots button.active {
            background: var(--teal);
            width: 30px;
            border-radius: 6px
        }

/* FAQ */
.faq__inner {
    max-width: 820px
}

.acc-item {
    border-bottom: 1px solid var(--line)
}

    .acc-item h3 {
        margin: 0
    }

.acc-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 20px 40px 20px 0;
    font: 600 1.02rem/1.4 'Montserrat',sans-serif;
    color: var(--ink);
    cursor: pointer;
    position: relative
}

    .acc-btn::after {
        content: "+";
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.6rem;
        color: var(--teal);
        transition: transform .25s
    }

    .acc-btn[aria-expanded="true"] {
        color: var(--navy)
    }

        .acc-btn[aria-expanded="true"]::after {
            transform: translateY(-50%) rotate(45deg)
        }

.acc-panel {
    display: none;
    padding: 0 0 8px;
    color: #555
}

/* Contact */
.contact {
    background: var(--mist)
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start
}

.info-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 10px 0
}

.info-list .ico {
    flex: 0 0 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1rem
}

.info-list a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500
}

    .info-list a:hover {
        color: var(--blue)
    }

/* Forms */
.form {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line)
}

.modal .form {
    padding: 0;
    border: 0
}

.field {
    margin-bottom: 16px
}

    .field label {
        display: block;
        font-size: .85rem;
        font-weight: 600;
        margin-bottom: 6px
    }

    .field input, .field select, .field textarea {
        width: 100%;
        padding: 12px 14px;
        border: 1.5px solid #c5d3de;
        border-radius: 8px;
        font: inherit;
        background: var(--white);
        color: var(--ink)
    }

        .field input:focus, .field select:focus, .field textarea:focus {
            outline: 0;
            border-color: var(--teal);
            box-shadow: 0 0 0 3px rgba(44,181,200,.25)
        }

    .field.error input, .field.error select {
        border-color: var(--danger)
    }

    .field .msg {
        display: block;
        color: var(--danger);
        font-size: .8rem;
        margin-top: 4px
    }

.form .btn {
    width: 100%
}

.form__status {
    margin: 12px 0 0;
    font-weight: 600;
    color: var(--navy);
    min-height: 1.2em
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(15,25,60,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto
}

    .modal[hidden] {
        display: none
    }

.modal__box {
    position: relative;
    background: var(--white);
    border-radius: 14px;
    padding: 32px 28px 28px;
    width: min(480px,100%);
    max-height: 100%;
    overflow-y: auto;
    animation: pop .25s ease
}

@keyframes pop {
    from {
        transform: translateY(14px) scale(.97);
        opacity: 0
    }

    to {
        transform: none;
        opacity: 1
    }
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    background: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ink)
}

/* Footer */
/* Footer: logo left, copyright center, social right */
.footer {
    background: #17203d;
    color: #c9d3ee;
    padding: 28px 0;
    font-size: .88rem
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px
}

.footer__logo {
    justify-self: start;
    display: inline-block;
    background: var(--white);
    padding: 6px 12px;
    border-radius: 8px;
    line-height: 0
}

    .footer__logo img {
        height: 36px;
        width: auto
    }

.footer__copy {
    margin: 0;
    text-align: center
}

.social {
    display: flex;
    gap: 10px;
    justify-self: end
}

    .social a {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
        color: var(--white);
        transition: background .2s,transform .2s
    }

        .social a:hover {
            background: var(--teal);
            transform: translateY(-3px)
        }

    .social svg {
        width: 18px;
        height: 18px;
        fill: currentColor
    }

/* Stack on tablet and mobile */
@media (max-width:991px) {
    .footer__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 16px
    }

    .footer__logo, .social {
        justify-self: center
    }
}
/* Scroll to top + mobile sticky bar */
.to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 60;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg,var(--teal),var(--navy));
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(27,58,143,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s,transform .25s,visibility .25s
}

    .to-top.show {
        opacity: 1;
        visibility: visible;
        transform: none
    }

.sticky-cta {
    display: none
}

/* Tablet */
@media (max-width:991px) {
    .cards {
        grid-template-columns: repeat(2,1fr)
    }

    .about .container, .cert, .contact__inner {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .nav-toggle {
        display: block
    }

    .nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height .3s ease,visibility .3s
    }

        .nav.open {
            max-height: calc(100vh - var(--header-h));
            visibility: visible;
            overflow-y: auto;
            box-shadow: 0 12px 20px rgba(27,58,143,.12)
        }

        .nav ul {
            flex-direction: column;
            align-items: stretch;
            gap: 0;
            padding: 8px 20px 20px
        }

        .nav li a {
            display: block;
            padding: 14px 0;
            border-bottom: 1px solid var(--line)
        }

        .nav .btn-verify {
            margin-top: 14px;
            text-align: center;
            border-bottom: 0
        }
}

/* Mobile */
@media (max-width:640px) {
    :root {
        --header-h: 66px
    }

    .logo img {
        height: 42px
    }

    .cards {
        grid-template-columns: 1fr
    }

    .counters {
        gap: 12px
    }

        .counters li {
            padding: 18px 14px
        }

    body {
        padding-bottom: var(--bar-h)
    }

    .sticky-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        height: var(--bar-h);
        padding: 10px 14px;
        background: var(--white);
        box-shadow: 0 -4px 18px rgba(27,58,143,.18)
    }

        .sticky-cta .btn {
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center
        }

        .sticky-cta .btn--outline {
            background: var(--white)
        }

    .to-top {
        bottom: calc(var(--bar-h) + 16px);
        right: 14px;
        width: 44px;
        height: 44px
    }

    .form {
        padding: 20px
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important
    }
}
