body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f7fb;
    color: #212121;
    direction: rtl;
    text-align: right;
}

a {
    color: #0f5cba;
    text-decoration: none;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: #071b3c;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 0;
}

.brand {
    font-size: 1.3rem;
    font-weight: 700;
}

.site-nav a {
    margin-left: 20px;
    color: #f3f6ff;
    font-weight: 600;
}

.hero {
    padding: 72px 0;
    background: linear-gradient(135deg, #09235c 0%, #1a4f98 100%);
    color: #fff;
}

.hero-content {
    max-width: 680px;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: 2.9rem;
    line-height: 1.05;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.94;
}

.btn {
    display: inline-block;
    background: #f5c518;
    color: #111;
    padding: 14px 26px;
    border-radius: 999px;
    margin-top: 24px;
    font-weight: 700;
}

.section {
    padding: 64px 0;
}

.section.alt {
    background: #ffffff;
}

.section h2 {
    margin-bottom: 22px;
    font-size: 2rem;
}

.grid,
.price-grid,
.contact-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card,
.price-card,
.form-card,
.placeholder,
.empty {
    background: #fff;
    border: 1px solid #e4e8f0;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 92, 186, 0.08);
}

.card h3,
.price-card h3 {
    margin-top: 0;
}

.price-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.price {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 16px;
    background: #0f5cba;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
}

.placeholder,
.empty {
    text-align: center;
    color: #525252;
}

.contact-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 32px;
}

.contact-card {
    background: #fff;
    border: 1px solid #e4e8f0;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 92, 186, 0.08);
}

.contact-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.contact-card p {
    line-height: 1.8;
}

.contact-link {
    color: #0f5cba;
    font-weight: 700;
    direction: ltr;
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}

.social-btn img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f5ff;
    color: #0f5cba;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #0f5cba;
    color: #fff;
    transform: translateY(-3px);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b);
    color: #fff;
}

.social-btn.instagram:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b);
    opacity: 0.8;
}

.social-btn.bale {
    background: #00c6e0;
    color: #fff;
}

.social-btn.bale:hover {
    background: #009cb5;
}

.social-btn.rubika {
    background: #ff6b6b;
    color: #fff;
}

.social-btn.rubika:hover {
    background: #d43a3a;
}

.icon-svg {
    width: 24px;
    height: 24px;
}

.btn-maps {
    display: inline-block;
    background: #0f5cba;
    color: #fff;
    border: none;
    padding: 11px 18px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
    position: relative;
    font-size: 0.95rem;
}

.btn-maps:hover {
    background: #0a4090;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}

.modal-card {
    background: #fff;
    border-radius: 18px;
    max-width: 420px;
    width: 100%;
    padding: 28px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f4f7fb;
    color: #212121;
    font-size: 22px;
    cursor: pointer;
}

.modal-form .form-group {
    margin-bottom: 16px;
}

.btn-login {
    background: #ffffff;
    color: #071b3c;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-left: 12px;
}

.btn-login:hover {
    background: #f5f5ff;
}

.hidden {
    display: none !important;
}

.maps-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.maps-menu.hidden {
    display: none;
}

.maps-menu a {
    display: block;
    background: #f0f5ff;
    color: #0f5cba;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #d2dff0;
    transition: all 0.3s ease;
}

.maps-menu a:hover {
    background: #0f5cba;
    color: #fff;
}

.site-footer {
    padding: 32px 0;
    background: #071b3c;
    color: #f0f5ff;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: auto auto;
    gap: 40px;
    justify-content: space-between;
}

.site-footer p {
    margin: 8px 0;
}

.site-footer a {
    color: #f5c518;
}

.site-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-links {
        justify-content: center;
    }
}

form {
    margin-top: 12px;
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d2d8e7;
    border-radius: 12px;
    font-size: 1rem;
    box-sizing: border-box;
}

button {
    background: #0f5cba;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px 20px;
    font-weight: 700;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    padding: 14px 12px;
    border: 1px solid #e4e8f0;
}

th {
    background: #f2f6ff;
    text-align: right;
}

.actions a,
.actions form {
    display: inline-block;
    margin-left: 8px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e9f3ff;
    color: #0f5cba;
    font-weight: 700;
}

.error-box {
    background: #ffe8e8;
    color: #9f1f1f;
    padding: 16px 18px;
    margin-bottom: 20px;
    border-radius: 14px;
    border: 1px solid #f1c2c2;
}

@media (max-width: 768px) {
    .site-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
