﻿:root {
    --bg-deep: #0a1222;
    --bg-mid: #101f37;
    --bg-light: #f6f8fc;
    --surface: #ffffff;
    --text-main: #0f213d;
    --text-muted: #5a6a84;
    --primary: #0fa3b1;
    --primary-dark: #0b7f8a;
    --accent: #ff8a4c;
    --border-soft: #d5deed;
    --shadow-soft: 0 18px 40px rgba(6, 19, 44, 0.12);
    --shadow-strong: 0 25px 55px rgba(3, 12, 28, 0.35);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--text-main);
    background: #f3f7ff;
    line-height: 1.65;
}

body.home-page {
    background: radial-gradient(circle at 10% 0%, #1d3359 0%, var(--bg-deep) 32%, #070b15 100%);
}

body.inner-page main {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    min-height: 70vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", sans-serif;
    margin-top: 0;
    line-height: 1.15;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    overflow: hidden;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    background: #fff;
    color: #111;
    padding: 10px 14px;
}

.skip-link:focus {
    left: 12px;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav.is-scrolled {
    background: rgba(7, 14, 28, 0.9);
    border-bottom: 1px solid rgba(177, 197, 231, 0.26);
    backdrop-filter: blur(10px);
}

body.inner-page .site-nav {
    background: rgba(8, 18, 36, 0.88);
    border-bottom: 1px solid rgba(168, 189, 227, 0.24);
    backdrop-filter: blur(10px);
}

.brand img {
    height: 40px;
    width: auto;
    display: block;
}

.brand {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(193, 210, 237, 0.85);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(5, 16, 36, 0.2);
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: #dbe8ff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: 0.2px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 11px 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-nav {
    margin-left: 8px;
    background: linear-gradient(120deg, var(--primary) 0%, #18cad7 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(20, 179, 196, 0.35);
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary) 0%, #18cad7 100%);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(20, 179, 196, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn-ghost {
    border-color: rgba(217, 231, 255, 0.55);
    color: #e7f0ff;
    background: rgba(255, 255, 255, 0.03);
}

.btn-block {
    width: 100%;
}

.schedule-page {
    padding: 150px 20px 90px;
    background: linear-gradient(135deg, #edf8fb 0%, #f8fbff 52%, #fff4ed 100%);
    min-height: 100vh;
}

.schedule-shell {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 72px;
    align-items: start;
}

.schedule-intro {
    padding-top: 28px;
}

.schedule-intro h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.schedule-intro > p:not(.eyebrow) {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 440px;
}

.schedule-details {
    margin: 32px 0 0;
    border-top: 1px solid var(--border-soft);
}

.schedule-details div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-soft);
}

.schedule-details dt {
    color: var(--text-muted);
}

.schedule-details dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.schedule-panel {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    padding: 34px;
}

.schedule-step,
.schedule-fields {
    margin: 0 0 26px;
}

.schedule-step label,
.schedule-label,
.schedule-fields legend,
.schedule-fields label {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
}

.schedule-fields {
    padding: 0;
    border: 0;
}

.schedule-fields legend {
    padding: 0;
}

.schedule-fields label span {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    color: var(--text-muted);
}

.schedule-panel input,
.schedule-panel textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 5px;
    color: var(--text-main);
    font: inherit;
    margin: 0 0 16px;
}

.schedule-panel textarea {
    min-height: 96px;
    resize: vertical;
}

.schedule-panel input:focus,
.schedule-panel textarea:focus,
.schedule-slot:focus-visible {
    outline: 3px solid rgba(15, 163, 177, 0.28);
    outline-offset: 2px;
    border-color: var(--primary);
}

.schedule-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    min-height: 45px;
}

.schedule-slot {
    border: 1px solid var(--border-soft);
    border-radius: 5px;
    background: #fff;
    color: var(--text-main);
    padding: 10px 6px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.schedule-slot:hover,
.schedule-slot.is-selected {
    border-color: var(--primary);
    background: #eaf9fa;
    color: var(--primary-dark);
}

.schedule-slot-status {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--text-muted);
}

.schedule-reply {
    min-height: 26px;
    margin: 14px 0 0;
    color: #1d6e4e;
}

.schedule-reply.error {
    color: #a52c2c;
}

.schedule-confirmation h2 {
    font-size: 30px;
}

@media (max-width: 820px) {
    .schedule-page {
        padding-top: 120px;
    }

    .schedule-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .schedule-intro {
        padding-top: 0;
    }

    .schedule-intro h1 {
        font-size: 38px;
    }
}

@media (max-width: 460px) {
    .schedule-panel {
        padding: 22px;
    }

    .schedule-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    margin-left: auto;
    cursor: pointer;
    padding: 8px 4px;
}

.nav-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 4px 0;
    background: #dbe8ff;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 8px 20px 14px;
    border-top: 1px solid rgba(177, 197, 231, 0.22);
    background: rgba(7, 14, 28, 0.97);
}

.mobile-nav a {
    color: #e8f1ff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(177, 197, 231, 0.14);
}

.mobile-nav.is-open {
    display: flex;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 20px 80px;
    background-image: url('/images/zamliy-home.jpg');
    background-size: cover;
    background-position: center;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 15, 30, 0.9) 10%, rgba(10, 40, 74, 0.72) 55%, rgba(7, 18, 35, 0.9) 100%);
}

.hero-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    color: #eff6ff;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    color: #9ec9ff;
    font-weight: 700;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(32px, 6vw, 64px);
    margin-bottom: 18px;
}

.hero-copy {
    max-width: 660px;
    font-size: clamp(17px, 2.5vw, 22px);
    color: #d0e2ff;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 38px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-stats article {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(205, 224, 255, 0.18);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.hero-stats h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.hero-stats p {
    margin: 0;
    font-size: 15px;
    color: #cbdcff;
}

.section {
    padding: 88px 20px;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: linear-gradient(180deg, #0f1f38 0%, #0a1222 100%);
    color: #edf3ff;
}

.section-contact {
    background: linear-gradient(150deg, #132746 0%, #0a1222 60%, #121026 100%);
    color: #edf3ff;
}

.section-header {
    max-width: 1180px;
    margin: 0 auto 34px;
}

.section-header h2 {
    font-size: clamp(28px, 5vw, 46px);
    margin-bottom: 14px;
}

.section-header p {
    max-width: 760px;
    color: var(--text-muted);
    margin: 0;
}

.section-dark .section-header p,
.section-contact .section-header p {
    color: #c9d6eb;
}

.service-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.service-card i {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 14px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.service-card p {
    margin: 0;
    color: var(--text-muted);
}

.process-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.process-step {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(211, 225, 251, 0.2);
    border-radius: 16px;
    padding: 22px;
}

.process-step span {
    display: inline-block;
    margin-bottom: 10px;
    color: #6be4ef;
    font-weight: 700;
    letter-spacing: 1px;
}

.process-step h3 {
    margin-bottom: 8px;
    font-size: 21px;
}

.process-step p {
    margin: 0;
    color: #cfdbf0;
}

.about-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 26px;
    align-items: center;
}

.about-media img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: block;
}

.about-content h2 {
    font-size: clamp(28px, 5vw, 46px);
    margin-bottom: 14px;
}

.about-content p {
    color: var(--text-muted);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.tag-list span {
    background: #e6eefb;
    border: 1px solid #cddcf5;
    color: #17345c;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.contact-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-intro h2 {
    font-size: clamp(30px, 5vw, 48px);
    margin-bottom: 14px;
}

.contact-intro p {
    color: #d2ddf2;
}

.contact-intro .btn {
    margin-top: 14px;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(207, 224, 248, 0.22);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-strong);
}

.contact-form-card label {
    display: block;
    font-weight: 700;
    margin: 10px 0 6px;
    color: #dbe8ff;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(211, 225, 248, 0.35);
    background: rgba(11, 25, 49, 0.72);
    color: #eff5ff;
    padding: 12px 13px;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
}

.contact-form-card textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #a7bad8;
}

.form-reply {
    margin-top: 12px;
    display: none;
    font-weight: 600;
}

.form-reply.error {
    color: #ffb6b6;
}

.form-reply.success {
    color: #83f7d0;
}

.site-footer {
    background: #070d1b;
    color: #d9e7ff;
    padding: 70px 20px 28px;
}

.footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 20px;
}

.footer-grid h3,
.footer-grid h4 {
    margin-bottom: 12px;
}

.footer-grid p,
.footer-grid a {
    display: block;
    color: #c3d3ef;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-grid a:hover {
    color: #7de5f1;
}

.footer-bottom {
    max-width: 1180px;
    margin: 26px auto 0;
    border-top: 1px solid rgba(199, 217, 245, 0.2);
    padding-top: 16px;
}

.footer-bottom p {
    margin: 0;
    color: #95a8cb;
    font-size: 13px;
}

.strategy-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1200;
}

.strategy-modal.is-open {
    display: block;
}

.strategy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 19, 0.72);
    backdrop-filter: blur(4px);
}

.strategy-modal-content {
    position: relative;
    width: min(980px, calc(100% - 28px));
    margin: 3.5vh auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(2, 9, 23, 0.45);
    overflow: hidden;
}

.strategy-modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid #dbe5f3;
}

.strategy-modal-header h2 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #102948;
}

.strategy-modal-header p {
    margin: 0;
    color: #5a6a84;
}

.strategy-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #5a6a84;
    font-size: 30px;
    line-height: 1;
    padding: 2px 8px;
    cursor: pointer;
}

.strategy-modal-embed-wrap {
    height: min(78vh, 760px);
    background: #f4f7fd;
}

.strategy-modal-embed-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

body.modal-open {
    overflow: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bio-section {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    padding: 42px clamp(22px, 5vw, 64px);
}

.about-hero {
    margin-top: 60px;
    padding: 28px 20px 28px 20px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #10294b 0%, #0c7480 100%);
}

.about-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.about-hero .eyebrow {
    color: #9bf0e6;
    margin-bottom: 14px;
}

.about-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(44px, 8vw, 78px);
    letter-spacing: 0;
}

.about-hero p:last-child {
    margin: 0;
    color: #d9f4f3;
    font-size: clamp(17px, 2.5vw, 23px);
}

.about-page-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 72px 20px 90px;
}

.bio-copy {
    max-width: 820px;
}

.bio-section h4,
.about-detail-column h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 22px;
}

.bio-section p,
.timeline-item p,
.platform-panel p,
.about-cta p {
    color: var(--text-muted);
}

.about-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 34px;
}

.about-detail-column > h4 i {
    color: var(--primary);
}

.competency-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.competency-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
}

.competency-list li {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 14px;
}

.competency-list li:last-child {
    border-bottom: 0;
}

.competency-list i {
    width: 18px;
    color: #15966e;
}

.platform-panel {
    border-left: 3px solid var(--primary);
    background: #ffffff;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow-soft);
    padding: 18px 22px;
}

.platform-panel p {
    display: flex;
    gap: 10px;
    margin: 12px 0;
}

.platform-panel p:first-child {
    display: block;
    margin-top: 0;
    color: var(--text-main);
}

.platform-panel i {
    width: 18px;
    flex: 0 0 18px;
}

.platform-amazon { color: #e47911; }
.platform-shopify { color: #5e8e3e; }
.platform-walmart { color: #0875c1; }

.journey-section {
    padding: 58px 10px 16px;
}

.journey-section > h3 {
    font-size: 32px;
    margin-bottom: 28px;
}

.timeline-item {
    border-left: 3px solid var(--primary);
    padding: 2px 0 8px 24px;
    margin: 0 0 28px 8px;
}

.timeline-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 19px;
}

.timeline-item h4 i {
    color: var(--primary);
}

.about-cta {
    margin-top: 32px;
    padding: 42px 24px;
    border: 1px solid #bce8e4;
    border-radius: 8px;
    text-align: center;
    background: linear-gradient(135deg, #e9fbfa 0%, #fff7f0 100%);
}

.about-cta h3 {
    font-size: 28px;
}

.about-cta .btn {
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .site-nav-inner {
        padding: 12px 14px;
    }

    .brand {
        padding: 6px 9px;
    }

    .brand img {
        height: 34px;
    }

    .nav-links,
    .btn-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-block;
    }

    .hero {
        min-height: auto;
        padding: 104px 14px 54px;
        background-image: url('/images/zamliy-home-m.jpg');
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 68px 14px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-hero {
        margin-top: 54px;
        padding: 64px 16px 58px;
    }

    .about-page-content {
        padding: 48px 14px 64px;
    }

    .about-detail-grid,
    .competency-grid {
        grid-template-columns: 1fr;
    }

    .journey-section {
        padding-left: 0;
        padding-right: 0;
    }

    .strategy-modal-content {
        width: calc(100% - 14px);
        margin: 1.5vh auto;
        border-radius: 12px;
    }

    .strategy-modal-header {
        padding: 14px 16px;
    }

    .strategy-modal-header h2 {
        font-size: 24px;
    }

    .strategy-modal-embed-wrap {
        height: 82vh;
    }
}

/* Compatibility for existing pages that still use legacy image sections */
.bgimg-1,
.bgimg-2,
.bgimg-3 {
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 360px;
}

.bgimg-1 {
    background-image: linear-gradient(rgba(8, 16, 32, 0.65), rgba(8, 16, 32, 0.65)), url('/images/zamliy-home.jpg');
}

.bgimg-2,
.bgimg-3 {
    background-image: linear-gradient(rgba(8, 16, 32, 0.7), rgba(8, 16, 32, 0.7)), url('/images/zamliy-img2.jpg');
}

body.inner-page .bgimg-1 {
    background-image: linear-gradient(rgba(8, 23, 44, 0.48), rgba(8, 23, 44, 0.48)), url('/images/zamliy-home.jpg');
}

body.inner-page .w3-content {
    color: #183154;
}

body.inner-page .w3-content h3,
body.inner-page .w3-content h4,
body.inner-page .w3-content p,
body.inner-page .w3-content li {
    color: #173255;
}

body.inner-page .w3-content .w3-panel,
body.inner-page .w3-content .w3-border {
    background: #ffffff;
    border-color: #d2deef !important;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(16, 36, 72, 0.08);
}

body.inner-page .w3-content .w3-pale-blue {
    background: #eaf6ff !important;
}

