:root {
    --text: #fff;
    --panel-border: rgba(255,255,255,.62);
    --panel-fill: rgba(9, 30, 36, .12);
    --shadow: rgba(0,0,0,.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
    font-family: Calibri, "Noto Sans Arabic", Arial, sans-serif;
    color: var(--text);
    background: #10242b;
}

.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative;
    isolation: isolate;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(8,31,38,.23), rgba(12,25,31,.03) 55%, rgba(33,18,18,.13));
}

.card {
    width: min(100%, 620px);
    text-align: center;
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 12px var(--shadow));
}

.brand-logo {
    width: 112px;
    height: 112px;
    object-fit: contain;
    display: block;
    margin: 0 auto 4px;
}

h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.02em;
}

.social-links {
    width: min(100%, 455px);
    margin: 0 auto;
    display: grid;
    gap: 14px;
    direction: ltr;
}

.social-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}

.icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 35px;
    transition: transform .18s ease;
}

.label {
    min-height: 52px;
    display: grid;
    place-items: center;
    padding: 7px 12px;
    border: 1px solid var(--panel-border);
    background: var(--panel-fill);
    direction: rtl;
    text-align: center;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.25;
    backdrop-filter: blur(1.5px);
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.social-row:hover .icon { transform: scale(1.07); }
.social-row:hover .label {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    transform: translateX(2px);
}
.social-row:focus-visible { outline: 3px solid #fff; outline-offset: 5px; border-radius: 4px; }

.whatsapp .icon { color: #25D366; }
.facebook .icon { color: #1877F2; }
.instagram .icon {
    color: #e1306c;
    text-shadow: 1px 1px 0 #833ab4, -1px -1px 0 #fcb045;
}
.tiktok .icon { color: #fff; text-shadow: 2px 0 #25F4EE, -2px 0 #FE2C55; }
.telegram .icon { color: #29A9EA; }

.branches {
    margin-top: 29px;
    text-shadow: 0 2px 5px rgba(0,0,0,.25);
}
.branches h2 {
    margin: 0 0 17px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 700;
}
.branches p {
    margin: 10px 0;
    font-size: clamp(.92rem, 1.55vw, 1.15rem);
    line-height: 1.5;
    font-weight: 600;
}

@media (max-width: 600px) {
    .hero { padding: 22px 16px; background-position: 56% center; }
    .card { width: 100%; }
    .brand-logo { width: 90px; height: 90px; }
    h1 { margin-bottom: 16px; }
    .social-links { gap: 11px; }
    .social-row { grid-template-columns: 46px 1fr; gap: 10px; }
    .icon { width: 46px; height: 46px; font-size: 31px; }
    .label { min-height: 48px; padding-inline: 9px; }
    .branches { margin-top: 25px; }
}

@media (max-height: 680px) and (min-width: 700px) {
    .hero { padding-block: 10px; }
    .brand-logo { width: 78px; height: 78px; }
    h1 { font-size: 2.55rem; margin-bottom: 11px; }
    .social-links { gap: 8px; }
    .social-row { grid-template-columns: 42px 1fr; gap: 10px; }
    .icon { width: 42px; height: 42px; font-size: 29px; }
    .label { min-height: 42px; font-size: 1.1rem; }
    .branches { margin-top: 15px; }
    .branches h2 { font-size: 1.55rem; margin-bottom: 8px; }
    .branches p { margin: 5px 0; font-size: .9rem; }
}
