/* ============================================================================
   contact.css — extracted from contact.html (CSP cleanup)
   Barcha forma qoidalari .container ichiga scope qilingan: ilgari yalang'och
   label/small/input selektorlari umumiy navbar'ga oqib kirib, qidiruv pilini
   vertikal ustunga aylantirar va brand matnini surib yuborar edi.
   ========================================================================== */

:root {
    --bg: #071029;
    --card-bg: rgba(255, 255, 255, 0.04);
    --accent: #06b6d4;
    --text: #e5e7eb;
    --muted: #94a3b8;
    --radius: 14px;
}

* { box-sizing: border-box; text-decoration: none; margin: 0; padding: 0; }

body {
    background: linear-gradient(180deg, #071029 0%, #07192b 60%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    /* Poppins — boshqa sahifalardagi navbar/footer tipografiyasiga mos
       (main.css'dagi body { font-family: 'Inter' } ni yengadi). */
    font-family: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
}

/* HEADER COMPATIBILITY FOR PRE-LOAD */
body {
    padding-top: var(--navbar-offset, 86px);
}

/* FORM SECTION — hammasi .container ichida, navbar/footerga ta'sir qilmaydi */
.container {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.container section {
    width: 100%;
    max-width: 800px;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.container h2 { font-size: 32px; margin-bottom: 8px; color: #fff; text-align: center; }
.container p.description { color: var(--muted); margin-bottom: 30px; text-align: center; }

.container form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.container form label { display: flex; flex-direction: column; min-width: 0; }
.container form small { margin-bottom: 8px; color: var(--accent); font-weight: 600; font-size: 13px; text-transform: uppercase; }

.container input,
.container select,
.container textarea {
    width: 100%;
    min-width: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 14px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: 0.3s;
}

.container input:focus,
.container select:focus,
.container textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.full-width { grid-column: 1 / -1; }

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-column: 1 / -1;
    margin: 10px 0;
}

.checkbox-row input { width: auto; cursor: pointer; }

.actions {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

button.btn {
    width: 100%;
    max-width: 300px;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    border: none;
    color: #021020;
    font-weight: 800;
    padding: 16px 32px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    transition: 0.3s;
}

button.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

#formMsg { font-weight: 600; text-align: center; min-height: 20px; }

@media (max-width: 768px) {
    .container form { grid-template-columns: 1fr; }
    .container section { padding: 30px 20px; }
    .container h2 { font-size: 26px; }
}

/* ── Extracted inline style="" attributes (CSP cleanup) ──────────────────── */
/* NOTE: .menu-ico / .menu-ico-plain now live in shared-ui.css (DRY). */

/* Order-form consent label (was inline) */
.agree-label {
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
}

/* ============================================================
   NAVBAR & HAMBURGER — 480px / 360px / 320px GACHA moslashuv
   (oquv.html bilan bir xil — barcha sahifalarda qatiy bir xil)
============================================================ */
@media (max-width: 480px) {
  .nav-shell { padding: 0 14px; height: 64px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { font-size: 8px; letter-spacing: 1.5px; }
  .brand-mark { width: 32px; height: 32px; font-size: 17px; border-radius: 7px; }
  .menu-toggle { width: 30px; margin-left: 8px; }
}
@media (max-width: 360px) {
  .nav-shell { padding: 0 10px; height: 60px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 7px; letter-spacing: 1px; }
  .brand-mark { width: 30px; height: 30px; font-size: 15px; }
  .nav-actions { gap: 8px; }
  .lang-switcher { flex: 0 0 96px; width: 96px; max-width: 96px; font-size: 11px; }
  .nav-signin { display: none; }
  .menu-toggle { width: 28px; margin-left: 4px; }
}
@media (max-width: 320px) {
  .nav-shell { padding: 0 8px; height: 58px; }
  .brand-text strong { font-size: 13px; }
  .brand-mark { width: 28px; height: 28px; font-size: 14px; }
  .lang-switcher { flex: 0 0 88px; width: 88px; max-width: 88px; font-size: 10px; }
  .menu-toggle { width: 26px; }
}
