/* ============================================================
   InterGlobal Trade Limited — corporate site styles
   ============================================================ */

:root {
  --navy: #0c2340;
  --navy-2: #15355c;
  --blue: #1b66c9;
  --blue-dark: #134f9e;
  --gold: #d8a64b;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #1c2733;
  --muted: #5b6b7d;
  --border: #e3e8ef;
  --shadow: 0 6px 24px rgba(12, 35, 64, 0.08);
  --shadow-lg: 0 18px 50px rgba(12, 35, 64, 0.14);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--surface); }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: .98rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: #2a1c00; }
.btn--gold:hover { background: #c9952f; color: #2a1c00; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar {
  background: var(--navy);
  color: #cdd9e8;
  font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #e6eef7; }
.topbar a:hover { color: #fff; }
.topbar .topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .topbar-info span { display: inline-flex; align-items: center; gap: 7px; }

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.05rem;
  letter-spacing: -.02em; flex-shrink: 0;
}
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.1; }
.brand-name small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-menu a {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: var(--text); font-weight: 500; font-size: .98rem;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--blue); background: #eef4fc; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 700; color: var(--navy); white-space: nowrap; }
.nav-phone:hover { color: var(--blue); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(8,24,46,.92) 0%, rgba(14,46,86,.86) 55%, rgba(20,70,140,.7) 100%),
    radial-gradient(1200px 500px at 80% -10%, rgba(216,166,75,.25), transparent 60%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 500px at 75% 20%, #000, transparent 75%);
  opacity: .5;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 86px 0 92px; max-width: 720px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.18rem; color: #d6e2f1; margin: 22px 0 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 8px 14px; border-radius: 100px; font-size: .9rem; color: #eaf1fa;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); }
.stat .num { font-size: 2.3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat .num span { color: var(--gold); }
.stat .label { color: var(--muted); margin-top: 8px; font-size: .96rem; }

/* ---------- Feature / advantage cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature .ico {
  width: 52px; height: 52px; border-radius: 12px;
  background: #eef4fc; color: var(--blue);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ---------- Catalog cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c9dcf3; }
.cat-card .ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #eaf2fc, #dceafa); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 18px; font-size: 1.7rem;
}
.cat-card .ico svg { width: 28px; height: 28px; }
.cat-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.cat-card p { color: var(--muted); font-size: .94rem; flex: 1; margin-bottom: 18px; }
.cat-card .cat-tag {
  font-size: .78rem; color: var(--gold); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; margin-bottom: 14px;
}
.cat-card .btn { width: 100%; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split .media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  min-height: 340px;
  background:
    linear-gradient(135deg, rgba(12,35,64,.85), rgba(27,102,201,.55)),
    radial-gradient(600px 300px at 30% 20%, rgba(216,166,75,.4), transparent 60%),
    var(--navy-2);
  position: relative;
}
.split .media .media-cap {
  position: absolute; left: 26px; bottom: 26px; right: 26px; color: #fff;
}
.split .media .media-cap b { font-size: 1.3rem; display: block; }
.split ul.checks { list-style: none; margin: 22px 0 28px; }
.split ul.checks li { padding: 9px 0 9px 34px; position: relative; color: var(--text); }
.split ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #e7f3ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2321a35a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; position: relative; box-shadow: var(--shadow); }
.step .n {
  width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff;
  font-weight: 800; display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff; border-radius: var(--radius); padding: 48px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfdcec; margin-top: 8px; max-width: 560px; }

/* ---------- Requisites table ---------- */
.req-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.req-table th, .req-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: .96rem; }
.req-table th { width: 38%; color: var(--muted); font-weight: 600; background: #fafbfd; }
.req-table tr:last-child th, .req-table tr:last-child td { border-bottom: none; }

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ci-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px; background: #eef4fc; color: var(--blue); display: grid; place-items: center; }
.contact-item .ci-ico svg { width: 22px; height: 22px; }
.contact-item b { display: block; color: var(--navy); }
.contact-item span, .contact-item a { color: var(--muted); font-size: .96rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 16px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.fl { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.input, .textarea, select.input {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, select.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,102,201,.13); background: #fff; }
.textarea { min-height: 118px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 4px 0 18px; }
.consent input { margin-top: 3px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 20px;
  background: #e7f6ee; border: 1px solid #b6e3c9; border-radius: var(--radius-sm); color: #1c7a47;
  font-weight: 600; margin-top: 14px;
}
.form-success.show { display: block; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,20,38,.6); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--surface); border-radius: var(--radius); max-width: 480px; width: 100%;
  box-shadow: var(--shadow-lg); padding: 32px; position: relative; max-height: 92vh; overflow-y: auto;
  animation: pop .22s ease;
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: absolute; top: 16px; right: 16px; background: #f1f4f8; border: none; width: 36px; height: 36px; border-radius: 9px; font-size: 1.2rem; color: var(--muted); cursor: pointer; line-height: 1; }
.modal-close:hover { background: #e7ebf1; color: var(--navy); }
.modal h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modal .modal-sub { color: var(--muted); margin-bottom: 22px; font-size: .96rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff; padding: 54px 0;
}
.page-hero h1 { color: #fff; }
.page-hero .crumbs { font-size: .9rem; color: #aebfd3; margin-bottom: 14px; }
.page-hero .crumbs a { color: #d7e2f0; }
.page-hero p { color: #cfdcec; margin-top: 12px; max-width: 680px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c7d8; padding: 56px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #b9c7d8; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: .92rem; margin-top: 14px; color: #93a4b8; }
.footer-req { font-size: .86rem; line-height: 1.7; color: #93a4b8; }
.footer-req b { color: #cdd9e8; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #8295aa; }

/* ---------- Misc ---------- */
.notice {
  background: #fff8e9; border: 1px solid #f0dcae; border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 16px 20px; color: #6b5418; font-size: .94rem;
}
.prose { max-width: 820px; }
.prose p { margin-bottom: 16px; color: var(--text); }
.prose h2 { margin: 34px 0 14px; }
.prose h3 { margin: 24px 0 10px; }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
    background: #fff; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 86px 22px 22px; box-shadow: -10px 0 40px rgba(0,0,0,.15); transition: right .28s ease; z-index: 60;
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { padding: 13px 14px; font-size: 1.05rem; border-radius: 9px; }
  .nav-toggle { display: block; z-index: 61; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-phone { display: none; }
  .nav-actions .btn { display: none; }
  .topbar .topbar-info { gap: 14px; }
  .grid-3, .grid-2, .cat-grid, .stats, .steps { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero-inner { padding: 60px 0 64px; }
}
