:root {
    --gold: #bb8d39;
    --navy: #101d30;
    --navy-soft: #1a2a44;
    --paper: #ffffff;
    --paper-2: #f7f4ee;
    --ink: #2c3340;
    --muted: #6b7280;
    --line: #e6d8b8;
    --shadow: 0 18px 50px rgba(16, 29, 48, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.am-body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
    line-height: 1.8;
}

body.am-ltr { font-family: "Source Serif 4", Georgia, serif; }
body.am-ltr p, body.am-ltr .nav-link, body.am-ltr .btn, body.am-ltr input, body.am-ltr textarea {
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--navy); }

.am-title, h1, h2, h3, h4 {
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.am-kicker {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.am-rule {
    width: 72px;
    height: 3px;
    background: var(--gold);
    border-radius: 99px;
}

.am-card {
    background: #fff;
    border: 1px solid var(--gold);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.am-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(16, 29, 48, 0.12);
}

.am-topbar {
    background: var(--navy);
    color: #f3ead6;
    font-size: 0.9rem;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
.am-topbar-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}
.am-topbar-mail {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #f3ead6;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
}
.am-topbar-mail span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.am-topbar-social {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}
.am-topbar a { color: #f3ead6; }
.am-topbar a:hover { color: var(--gold); }

.am-navbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.am-navbar.is-scrolled {
    box-shadow: 0 10px 28px rgba(16, 29, 48, 0.08);
}
.am-navbar .navbar-brand {
    display: flex;
    align-items: center;
    background: transparent;
}
.am-navbar .navbar-brand img {
    height: 58px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    background: transparent;
}
.am-wordmark {
    color: var(--navy);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    border-bottom: 3px solid var(--gold);
    padding-bottom: 2px;
}
.am-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    background: #fff;
}
.am-navbar .nav-link {
    position: relative;
    color: var(--navy) !important;
    font-weight: 600;
    padding: 0.7rem 0.9rem !important;
    transition: color 0.25s ease;
}
.am-navbar .nav-link::after {
    content: "";
    position: absolute;
    inset-inline: 0.9rem;
    bottom: 0.28rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
}
.am-navbar .nav-link.active::after,
.am-navbar .nav-link:hover::after {
    transform: scaleX(1);
}
.am-navbar .nav-link.active,
.am-navbar .nav-link:hover {
    color: var(--gold) !important;
}
.am-lang {
    border: 1px solid var(--gold);
    color: var(--navy);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 700;
    font-size: 0.85rem;
}
.am-lang:hover { background: var(--gold); color: #fff; }

.am-hero {
    position: relative;
    overflow: hidden;
    min-height: 68vh;
    display: flex;
    align-items: center;
    color: #fff;
}
.am-hero::before {
    content: "";
    position: absolute;
    inset: -8%;
    background:
        linear-gradient(120deg, rgba(16, 29, 48, 0.88), rgba(16, 29, 48, 0.55)),
        url("../../img/about.jpg") center/cover no-repeat;
    animation: am-hero-drift 22s ease-in-out infinite alternate;
    z-index: 0;
}
.am-hero .container { position: relative; z-index: 1; }
.am-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.am-hero .lead { color: #f4ecdc; max-width: 40rem; }
.am-hero .am-rule { background: var(--gold); }
.am-hero .am-kicker { animation: am-fade-up 0.8s ease both; }
.am-hero .am-rule { animation: am-fade-up 0.8s ease 0.12s both; }
.am-hero h1 { animation: am-fade-up 0.8s ease 0.22s both; }
.am-hero .lead { animation: am-fade-up 0.8s ease 0.34s both; }
.am-hero .btn { animation: am-fade-up 0.8s ease 0.46s both; }

.am-page-hero {
    background: var(--navy);
    color: #fff;
    padding: 5.5rem 0 3.2rem;
    border-bottom: 4px solid var(--gold);
}
.am-page-hero h1 { color: #fff; }
.am-page-hero .am-kicker { animation: am-fade-up 0.7s ease both; }
.am-page-hero h1 { animation: am-fade-up 0.7s ease 0.12s both; }

.am-section { padding: 4.5rem 0; }
.am-section-alt { background: var(--paper-2); }

.am-stat {
    border: 1px solid var(--gold);
    background: #fff;
    border-radius: 14px;
    padding: 1.6rem;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.am-stat:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.am-stat .num { color: var(--gold); font-size: 2.2rem; font-weight: 800; }

.am-quote {
    border: 1px solid var(--gold);
    background: #fff;
    border-radius: 16px;
    padding: 1.8rem;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.am-quote:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.am-quote .who { color: var(--navy); font-weight: 700; }
.am-country {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    color: #8a8a8a;
    font-size: 0.88rem;
    font-weight: 500;
}
.am-country img {
    height: 16px;
    width: auto;
    border-radius: 2px;
}

.am-flag {
    border: 1px solid var(--gold);
    background: #fff;
    border-radius: 16px;
    padding: 1.4rem 0.8rem;
    text-align: center;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.am-flag:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.am-flag img { height: 42px; width: auto; }
.am-flag h3 { font-size: 1.05rem; margin-top: 0.8rem; }

.am-feat {
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    background: #fff;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.am-feat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.am-feat i { color: var(--gold); }

.am-table {
    border: 1px solid var(--gold);
    overflow: hidden;
    border-radius: 12px;
}
.am-table th {
    background: var(--navy);
    color: #fff;
    border-color: var(--gold) !important;
}
.am-table td { border-color: var(--line) !important; }
.am-compare { text-align: center; }
.am-compare .am-table { margin-inline: auto; }
.am-compare th,
.am-compare td { text-align: center; vertical-align: middle; }

.am-footer {
    background: var(--navy);
    color: #e8e2d6;
    border-top: 4px solid var(--gold);
    padding-top: 3rem;
}
.am-footer h3, .am-footer h4 { color: #fff; }
.am-footer .am-product-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}
@media (max-width: 420px) {
    .am-footer .am-product-title { white-space: normal; }
}
.am-footer a { color: #e8e2d6; }
.am-footer a:hover { color: var(--gold); }
.am-footer-brand {
    text-align: center;
}
.am-footer-brand .am-rule {
    margin-inline: auto;
}
.am-footer .am-company-logo {
    display: block;
    width: fit-content;
    margin-inline: auto;
}
.am-footer .am-company-logo img {
    display: block;
    height: 128px;
    width: auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
    mix-blend-mode: screen;
    transition: transform 0.3s ease;
}
.am-footer-brand .am-social {
    justify-content: center;
}
.am-footer .am-company-logo:hover img {
    transform: translateY(-3px);
}
.am-footer .am-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(187, 141, 57, 0.45);
    border-radius: 50%;
    font-size: 1.05rem;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.am-footer .am-social a:hover {
    transform: translateY(-3px);
    background: var(--gold);
    color: #fff;
}
.am-footer .copy {
    border-top: 1px solid rgba(187, 141, 57, 0.35);
    margin-top: 2rem;
    padding: 1rem 0;
    color: #c9c2b4;
}

.btn-gold {
    background: var(--gold);
    color: #fff;
    border: 1px solid var(--gold);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn-gold:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(16, 29, 48, 0.18);
}
.btn-outline-navy {
    border: 1px solid var(--gold);
    color: var(--navy);
    border-radius: 999px;
    font-weight: 700;
}
.btn-outline-navy:hover { background: var(--gold); color: #fff; }

.form-control, .form-select {
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
}
.form-control:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 0.2rem rgba(187, 141, 57, 0.2);
}

.am-wa {
    position: fixed;
    bottom: 22px;
    inset-inline-end: 22px;
    z-index: 40;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 24px rgba(18, 140, 126, 0.35);
    animation: am-wa-pulse 2.4s ease-in-out infinite;
    transition: transform 0.25s ease;
}
.am-wa:hover { color: #fff; transform: scale(1.08); }

.navbar-toggler { border: 1px solid var(--gold); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23101d30' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 767px) {
    .am-hero { min-height: 58vh; padding: 5rem 0 3rem; }
    .am-navbar .navbar-brand img { height: 48px; max-width: 160px; }
    .am-topbar { font-size: 0.78rem; }
    .am-topbar-row { gap: 0.5rem; }
    .am-topbar-social { gap: 0.55rem; }
}

.am-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--am-delay, 0ms);
}
.am-reveal.is-in {
    opacity: 1;
    transform: none;
}
.am-card.am-reveal.is-in:hover,
.am-quote.am-reveal.is-in:hover,
.am-flag.am-reveal.is-in:hover,
.am-feat.am-reveal.is-in:hover,
.am-stat.am-reveal.is-in:hover {
    transform: translateY(-6px);
}

@keyframes am-fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}
@keyframes am-hero-drift {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}
@keyframes am-wa-pulse {
    0%, 100% { box-shadow: 0 10px 24px rgba(18, 140, 126, 0.3); }
    50% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.14); }
}

@media (prefers-reduced-motion: reduce) {
    .am-hero::before,
    .am-hero .am-kicker,
    .am-hero .am-rule,
    .am-hero h1,
    .am-hero .lead,
    .am-hero .btn,
    .am-page-hero .am-kicker,
    .am-page-hero h1,
    .am-wa,
    .am-reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
