:root {
    --ld-forest: #16312c;
    --ld-forest-deep: #0f2420;
    --ld-teal: #0d7784;
    --ld-teal-dark: #034456;
    --ld-teal-mid: #044259;
    --ld-cyan: #00b0ff;
    --ld-cream: #fefaf1;
    --ld-mist: #f5f8fc;
    --ld-text: #272727;
    --ld-muted: #696969;
    --ld-white: #ffffff;
    --ld-radius: 18px;
    --ld-header: 76px;
}

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

html { scroll-behavior: smooth; }

body.ld-body {
    margin: 0;
    color: var(--ld-text);
    background: var(--ld-white);
    font-family: 'Cairo', 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.ld-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.ld-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--ld-forest);
}
.ld-preloader__spin {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.2);
    border-top-color: var(--ld-cyan);
    animation: ld-spin .8s linear infinite;
}
@keyframes ld-spin { to { transform: rotate(360deg); } }

/* Header */
.ld-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 100;
    height: var(--ld-header);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background .25s ease, box-shadow .25s ease;
}
.ld-header.is-solid {
    background: var(--ld-forest);
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.ld-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}
.ld-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    letter-spacing: .02em;
    flex-shrink: 0;
}
.ld-brand img { width: 42px; height: 42px; object-fit: contain; }

.ld-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.ld-nav a {
    color: rgba(255,255,255,.86);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 11px;
    border-radius: 999px;
    white-space: nowrap;
}
.ld-nav a:hover,
.ld-nav a.is-active { color: #fff; background: rgba(255,255,255,.1); }

.ld-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ld-lang {
    position: relative;
}
.ld-lang__btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    cursor: pointer;
}
.ld-lang__menu {
    display: none;
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 8px);
    min-width: 140px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(22,49,44,.18);
    z-index: 20;
}
.ld-lang.is-open .ld-lang__menu { display: block; }
.ld-lang__menu a {
    display: block;
    padding: 10px 14px;
    color: var(--ld-text);
    font-size: 14px;
}
.ld-lang__menu a:hover,
.ld-lang__menu a.is-current {
    background: #f0f7f7;
    color: var(--ld-teal-dark);
    font-weight: 700;
}

.ld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid transparent;
    transition: .2s ease;
}
.ld-btn--ghost {
    border-color: rgba(255,255,255,.7);
    color: #fff;
}
.ld-btn--ghost:hover { background: rgba(255,255,255,.14); }
.ld-btn--solid {
    background: var(--ld-teal);
    border-color: var(--ld-teal);
    color: #fff;
}
.ld-btn--solid:hover { background: var(--ld-teal-dark); border-color: var(--ld-teal-dark); }
.ld-btn--outline {
    border-color: var(--ld-teal);
    color: var(--ld-teal);
    background: transparent;
}
.ld-btn--outline:hover { background: var(--ld-teal); color: #fff; }
.ld-btn--light {
    background: #fff;
    color: var(--ld-forest);
    border-color: #fff;
}
.ld-btn--light:hover { background: var(--ld-cream); }

.ld-burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 10px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ld-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 120;
}
.ld-drawer.is-open { display: block; }
.ld-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,36,32,.55);
}
.ld-drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: min(320px, 88vw);
    background: var(--ld-forest);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,.3);
}
.ld-drawer__panel a {
    color: #fff;
    padding: 10px 8px;
    font-weight: 600;
    border-radius: 10px;
}
.ld-drawer__panel a:hover { background: rgba(255,255,255,.08); }
.ld-drawer__close {
    align-self: flex-end;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

/* Hero */
.ld-hero {
    min-height: 100vh;
    padding: calc(var(--ld-header) + 48px) 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--ld-forest);
    background-image: linear-gradient(160deg, rgba(22,49,44,.78), rgba(13,119,132,.55)), url('../img/hero_bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}
.ld-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    align-items: center;
}
.ld-kicker {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.28);
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: .04em;
}
.ld-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4.6vw, 58px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
}
.ld-hero__lead {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}
.ld-hero__sub {
    margin: 0 0 32px;
    font-size: 18px;
    color: rgba(255,255,255,.88);
    max-width: 34em;
}
.ld-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ld-hero__phone {
    display: flex;
    justify-content: center;
    position: relative;
}
.ld-hero__phone::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,176,255,.35), transparent 70%);
    top: 18%;
}
.ld-hero__phone img {
    position: relative;
    max-width: 280px;
    filter: drop-shadow(0 28px 40px rgba(0,0,0,.35));
}
.ld-hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    max-width: none;
    height: 72px;
    display: block;
    color: var(--ld-white);
    pointer-events: none;
}

/* Sections */
.ld-section { padding: 96px 0; }
.ld-section--cream { background: var(--ld-cream); }
.ld-section--mist { background: var(--ld-mist); }
.ld-section--forest { background: var(--ld-forest); color: #fff; }
.ld-section--teal {
    background: linear-gradient(135deg, var(--ld-teal) 0%, var(--ld-teal-dark) 100%);
    color: #fff;
}

.ld-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.ld-head h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3vw, 36px);
    color: var(--ld-forest);
    letter-spacing: 0;
}
.ld-head p { margin: 0; color: var(--ld-muted); font-size: 16px; }
.ld-section--forest .ld-head h2,
.ld-section--teal .ld-head h2,
.ld-section--forest .ld-head p,
.ld-section--teal .ld-head p { color: #fff; }
.ld-section--teal .ld-head p { color: rgba(255,255,255,.86); }

/* About */
.ld-about {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 48px;
}
.ld-about__media {
    border-radius: 28px;
    overflow: hidden;
    background: var(--ld-mist);
    box-shadow: 0 24px 50px rgba(22,49,44,.12);
}
.ld-about__media img { width: 100%; }
.ld-about__copy h2 {
    margin: 0 0 16px;
    font-size: clamp(26px, 3vw, 34px);
    color: var(--ld-forest);
    letter-spacing: 0;
}
.ld-about__copy p { margin: 0; color: var(--ld-muted); font-size: 16px; }

.ld-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ld-feature {
    background: var(--ld-white);
    border: 1px solid rgba(13,119,132,.12);
    border-radius: var(--ld-radius);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(22,49,44,.05);
}
.ld-feature__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(13,119,132,.1);
    color: var(--ld-teal);
    font-size: 20px;
    margin-bottom: 14px;
}
.ld-feature h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--ld-forest);
    letter-spacing: 0;
}
.ld-feature p { margin: 0; color: var(--ld-muted); font-size: 14.5px; }

/* Services */
.ld-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.ld-service {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 240px;
    box-shadow: 0 12px 32px rgba(22,49,44,.1);
    color: #fff;
}
.ld-service img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.ld-service:hover img { transform: scale(1.06); }
.ld-service::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22,49,44,.88), rgba(13,119,132,.2) 55%, transparent);
}
.ld-service span {
    position: absolute;
    inset-inline: 16px;
    bottom: 16px;
    z-index: 1;
    font-weight: 800;
    font-size: 18px;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* Screenshots */
.ld-shots .owl-carousel .owl-item {
    display: flex;
    justify-content: center;
}
.ld-shot {
    width: 220px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(22,49,44,.16);
    border: 6px solid #fff;
    background: #111;
}
.ld-shot img { width: 100%; }
.ld-shots .owl-dots { text-align: center; margin-top: 28px; }
.ld-shots .owl-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(22,49,44,.2);
    border: 0;
}
.ld-shots .owl-dot.active { background: var(--ld-teal); width: 22px; border-radius: 99px; }

/* Download */
.ld-download { text-align: center; }
.ld-download .ld-hero__actions { justify-content: center; }
.ld-store {
    min-width: 200px;
    background: #fff;
    color: var(--ld-forest);
    border-color: #fff;
}
.ld-store:hover { background: var(--ld-cream); color: var(--ld-forest); }
.ld-store i { font-size: 20px; }

/* Contact */
.ld-contact {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
}
.ld-card {
    background: #fff;
    color: var(--ld-text);
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.ld-card h3 {
    margin: 0 0 18px;
    font-size: 20px;
    color: var(--ld-forest);
    letter-spacing: 0;
}
.ld-contact-list { list-style: none; margin: 0; padding: 0; }
.ld-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    color: var(--ld-muted);
}
.ld-contact-list i {
    color: var(--ld-teal);
    margin-top: 4px;
    width: 18px;
}
.ld-form { display: grid; gap: 12px; }
.ld-form input,
.ld-form textarea {
    width: 100%;
    border: 1px solid #e4ecec;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ld-text);
    background: var(--ld-mist);
}
.ld-form textarea { min-height: 120px; resize: vertical; }
.ld-form input:focus,
.ld-form textarea:focus {
    outline: 2px solid rgba(13,119,132,.35);
    border-color: var(--ld-teal);
    background: #fff;
}
.ld-form button,
.ld-form input[type="submit"] {
    cursor: pointer;
    border: 0;
    background: var(--ld-teal);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    min-height: 48px;
}

/* Footer */
.ld-footer {
    background: var(--ld-forest-deep);
    color: rgba(255,255,255,.8);
    padding: 40px 0;
    text-align: center;
}
.ld-footer img { width: 48px; height: 48px; margin: 0 auto 16px; }
.ld-social { display: flex; justify-content: center; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.ld-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
}
.ld-social a:hover { background: var(--ld-teal); border-color: var(--ld-teal); }
.ld-footer p { margin: 0; font-size: 14px; }

/* Service detail */
.ld-detail { padding: calc(var(--ld-header) + 40px) 0 80px; }
.ld-crumb { font-size: 14px; color: var(--ld-muted); margin-bottom: 28px; }
.ld-crumb a { color: var(--ld-teal); font-weight: 700; }
.ld-crumb span { margin-inline: 8px; color: #bbb; }
.ld-detail__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 56px;
}
.ld-detail__media {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(22,49,44,.12);
}
.ld-detail h1 {
    margin: 0 0 16px;
    font-size: clamp(26px, 3vw, 36px);
    color: var(--ld-forest);
    letter-spacing: 0;
}
.ld-detail__body { color: #444; line-height: 1.8; }
.ld-other { padding-top: 36px; border-top: 1px solid #e8eeef; }
.ld-other h2 { margin: 0 0 22px; color: var(--ld-forest); font-size: 24px; letter-spacing: 0; }

@media (max-width: 991px) {
    .ld-nav, .ld-header__actions .ld-btn { display: none; }
    .ld-burger { display: inline-flex; }
    .ld-hero__grid,
    .ld-about,
    .ld-features,
    .ld-services,
    .ld-contact,
    .ld-detail__grid { grid-template-columns: 1fr; }
    .ld-hero { text-align: center; padding-bottom: 48px; }
    .ld-hero__sub { margin-inline: auto; }
    .ld-hero__actions { justify-content: center; }
    .ld-hero__phone { display: none; }
    .ld-section { padding: 72px 0; }
    .ld-about__media { max-width: 420px; margin-inline: auto; }
}

@media (max-width: 640px) {
    .ld-features,
    .ld-services { grid-template-columns: 1fr; }
    .ld-container { width: calc(100% - 28px); }
}
