:root {
    --navy: #0d2b4e;
    --ocean: #1a5a8a;
    --sky: #4da6d6;
    --foam: #cce9f7;
    --sand: #e8f4fd;
    --olive: #7a8c2e;
    --gold: #c8a84b;
    --white: #ffffff;
    --text-dark: #0d2b4e;
    --text-mid: #2d5a80;
    --text-light: #6b9bb8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

/* ── WAVES ── */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-bottom svg {
    display: block;
}

/* ── NAVBAR ── */
#navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 43, 78, .1);
    box-shadow: 0 2px 20px rgba(13, 43, 78, .07);
    transition: box-shadow .3s;
}

.nav-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    padding: 0 28px;
    height: 68px;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ocean), var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(13, 43, 78, .25);
}

.nav-logo-icon svg {
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.01em;
}

.nav-logo-text span {
    color: var(--sky);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    display: block;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    transition: color .18s, background .18s;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--ocean);
    background: var(--foam);
}

.nav-menu a.active {
    color: var(--ocean);
    font-weight: 600;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, var(--ocean), var(--navy));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(13, 43, 78, .25);
    transition: transform .15s, box-shadow .15s;
    text-decoration: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 43, 78, .32);
}

.nav-cta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sky);
    box-shadow: 0 0 6px var(--sky);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .6;
        transform: scale(1.4);
    }
}

/* mobile hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

.nav-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--foam);
}

.nav-mobile-menu a {
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    transition: background .18s, color .18s;
}

.nav-mobile-menu a:hover {
    background: var(--foam);
    color: var(--ocean);
}

.nav-mobile-cta {
    margin-top: 8px;
    text-align: center;
    background: linear-gradient(135deg, var(--ocean), var(--navy));
    color: #fff;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-mobile-menu.open {
        display: flex;
    }
}

/* ── HERO ── */
#hero {
    position: relative;
    background: url('<?= theme_url(' img/hero-img.jpg') ?>') center center / cover no-repeat;
    padding: 72px 24px 120px;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            rgba(5, 15, 35, 0.90) 0%,
            rgba(8, 24, 58, 0.82) 40%,
            rgba(13, 43, 78, 0.52) 70%,
            rgba(13, 43, 78, 0.22) 100%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1 1 480px;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-text p {
    font-size: 1.05rem;
    color: #e0f2fc;
    line-height: 1.7;
    margin-bottom: 32px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-text p span {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #ffffff;
}

.btn-primary {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--navy);
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    border: 2px solid rgba(255, 255, 255, .25);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 8px;
    background: var(--gold);
    color: #ffffff;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 18px rgba(200, 168, 75, 0.4);
    text-decoration: none;
}

.btn-secondary:hover {
    background: #b5922e;
    border-color: #b5922e;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(200, 168, 75, 0.5);
}

/* phone image */
.phone-mock {
    flex: 0 0 260px;
    width: 260px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .5));
    animation: float-phone 4s ease-in-out infinite;
}

.phone-mock img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes float-phone {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ── SECTION COMMONS ── */
section {
    position: relative;
}

.section-inner {
    max-width: 1100px;
    margin: auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--navy);
    margin-bottom: 10px;
}

.section-sub {
    text-align: center;
    color: var(--text-mid);
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ── WHAT IS ── */
#what {
    background: var(--white);
    padding: 70px 24px 60px;
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 40px;
    max-width: 680px;
    margin: 24px auto 28px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .97rem;
    color: var(--text-dark);
}

.check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ocean);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: .7rem;
    font-weight: 700;
}

.operated-by {
    text-align: center;
    color: var(--text-mid);
    font-size: .95rem;
    margin-top: 4px;
}

.operated-by strong {
    color: var(--navy);
}

/* ── SERVICES ── */
#services {
    background: var(--sand);
    padding: 70px 24px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 43, 78, .07);
    border: 1px solid rgba(13, 43, 78, .07);
}

.service-card-header {
    background: linear-gradient(90deg, var(--foam), #ddf0fb);
    padding: 16px 22px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--sky);
}

.header-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--ocean);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-badge svg {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 8px;
    gap: 10px;
    border-right: 1px solid var(--sand);
    transition: background .2s;
}

.service-item:last-child {
    border-right: none;
}

.service-item:hover {
    background: var(--foam);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--foam) 0%, #c2dff2 100%);
    border: 2px solid rgba(26, 90, 138, .15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    stroke: var(--ocean);
    fill: none;
    stroke-width: 1.8;
}

.service-label {
    font-size: .8rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.3;
}

/* ── HOW IT WORKS ── */
#how {
    background: linear-gradient(160deg, var(--navy) 0%, var(--ocean) 100%);
    padding: 70px 24px 80px;
    overflow: hidden;
}

#how .section-title {
    color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 14px;
}

.step-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    padding: 28px 22px;
    backdrop-filter: blur(4px);
    transition: background .25s, transform .2s;
}

.step-card:hover {
    background: rgba(255, 255, 255, .13);
    transform: translateY(-4px);
}

.step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--sky);
    color: var(--navy);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(77, 166, 214, .35);
}

.step-card h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.step-card p {
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
    line-height: 1.6;
}

/* ── BUILT FOR ── */
#built {
    background: var(--white);
    padding: 70px 24px;
}

.built-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
}

.built-line {
    flex: 1;
    height: 1px;
    background: var(--foam);
    max-width: 180px;
}

.built-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: var(--navy);
}

.built-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.built-item {
    text-align: center;
    padding: 32px 20px;
    border: 1px solid var(--foam);
    border-radius: 16px;
    transition: box-shadow .2s, transform .2s;
}

.built-item:hover {
    box-shadow: 0 8px 30px rgba(13, 43, 78, .1);
    transform: translateY(-4px);
}

.built-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--foam), #b9dcf5);
    border: 2px solid var(--sky);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.built-badge svg {
    stroke: var(--ocean);
    fill: none;
    stroke-width: 1.8;
}

.built-item h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 6px;
}

.built-item p {
    font-size: .88rem;
    color: var(--text-light);
}

/* ── UMA SUPPORT ── */
#uma {
    background: var(--sand);
    padding: 70px 24px;
}

.uma-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.uma-left {}

.uma-tag {
    display: inline-block;
    background: var(--ocean);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.uma-left h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.uma-partner {
    color: var(--text-mid);
    font-size: .95rem;
    margin-bottom: 24px;
}

.uma-partner strong {
    color: var(--navy);
}

.support-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .97rem;
    color: var(--text-dark);
}

.support-list .tick {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ocean);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    flex-shrink: 0;
    font-weight: 700;
}

.uma-right {
    background: linear-gradient(160deg, var(--navy) 0%, var(--ocean) 100%);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 12px 40px rgba(13, 43, 78, .2);
    color: var(--white);
    text-align: center;
}

.uma-right h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.uma-right p {
    color: var(--foam);
    font-size: .95rem;
    margin-bottom: 24px;
}

.platform-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: var(--white);
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    transition: background .2s;
}

.platform-btn:hover {
    background: rgba(255, 255, 255, .22);
}

/* ── CONTACT / ADDRESS ── */
#contact {
    background: var(--white);
    padding: 70px 24px;
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(13, 43, 78, .07);
    box-shadow: 0 12px 40px rgba(13, 43, 78, .08);
    position: relative;
    z-index: 2;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--foam), #b9dcf5);
    border: 2px solid var(--sky);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon svg {
    stroke: var(--ocean);
    fill: none;
    stroke-width: 1.8;
}

.contact-details {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.contact-details strong {
    color: var(--navy);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.contact-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--sand);
    color: var(--navy);
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: background .2s, transform .2s;
    border: 1px solid var(--foam);
}

.contact-btn:hover {
    background: var(--foam);
    transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .5);
    padding: 24px;
    font-size: .85rem;
}

footer strong {
    color: var(--sky);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .phone-mock {
        width: 180px;
        height: 320px;
    }

    .check-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .steps-grid,
    .built-grid,
    .uma-inner {
        grid-template-columns: 1fr;
    }

    .service-items {
        grid-template-columns: repeat(2, 1fr);
    }
}