/* ============================================================
   Vitay Global — industrial dark theme
   ============================================================ */
:root {
  --bg:        #0f1518;   /* gunmetal, teal undertone */
  --bg-alt:    #141f23;   /* panel */
  --surface:   #1a262b;   /* card */
  --surface-2: #24333a;
  --steel:     #8ea3a8;   /* cool steel-teal grey */
  --steel-dk:  #2c3b41;   /* borders */
  --text:      #e9efed;
  --muted:     #9bb0b4;
  --accent:    #c98a3c;   /* brass / amber — primary */
  --accent-dk: #b1742b;
  --accent-soft: rgba(201,138,60,.12);
  --accent2:   #2bb7a6;   /* industrial teal — secondary */
  --accent2-dk: #229b8c;
  --accent2-soft: rgba(43,183,166,.14);
  --max: 1180px;
  --radius: 4px;
  --shadow: 0 10px 34px rgba(0,0,0,.42);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: .5px; text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.15rem; letter-spacing: .3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; font-size: 1.05rem;
  padding: 13px 26px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #14171a; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--steel-dk); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,23,26,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--steel-dk);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand-logo { height: 30px; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--steel); font-size: 1rem; transition: .15s; }
.main-nav a:hover { color: var(--accent); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  letter-spacing: .5px; font-size: 1.05rem; color: var(--text);
  white-space: nowrap; transition: .15s;
}
.header-phone svg { color: var(--accent); flex-shrink: 0; }
.header-phone:hover { color: var(--accent); }
.header-cta { }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, #0e1417 0%, #14222400 40%, #122a2a 100%),
    linear-gradient(135deg, #0e1417 0%, #16232a 60%, #101a1d 100%);
  border-bottom: 1px solid var(--steel-dk);
}
.hero-fx {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(circle at 82% 8%, rgba(201,138,60,.12), transparent 46%),
    radial-gradient(circle at 12% 95%, rgba(43,183,166,.10), transparent 42%);
}
.hero-content { position: relative; z-index: 2; padding: 96px 24px 84px; max-width: 880px; }
.eyebrow { color: var(--accent2); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.hero h1 { margin-bottom: 22px; }
.hero-sub { font-size: 1.18rem; color: var(--muted); max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { list-style: none; display: flex; gap: 48px; flex-wrap: wrap; border-top: 1px solid var(--steel-dk); padding-top: 28px; }
.hero-stats strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 2rem; color: var(--text); position: relative; padding-bottom: 6px; }
.hero-stats strong::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; background: var(--accent2); }
.hero-stats span { color: var(--steel); font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }
.specialties { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.specialties li {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .92rem;
  text-transform: uppercase; letter-spacing: 1px; color: var(--steel);
  border: 1px solid var(--steel-dk); border-radius: 100px; padding: 6px 14px;
  transition: .15s;
}
.specialties li:hover { color: var(--accent2); border-color: var(--accent2); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--steel-dk); border-bottom: 1px solid var(--steel-dk); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.08rem; }
.tag {
  display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; font-size: .85rem;
  color: var(--accent); background: var(--accent-soft);
  padding: 5px 12px; border-radius: 3px; margin-bottom: 16px;
  border-left: 3px solid var(--accent);
}

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.card {
  background: var(--surface); border: 1px solid var(--steel-dk);
  border-radius: var(--radius); padding: 26px 24px;
  transition: .18s; position: relative;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--accent); transition: .2s; }
.card:hover { border-color: var(--surface-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.card:hover::before { height: 100%; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- About ---------- */
.about-grid { align-items: center; }
.lead { font-size: 1.12rem; color: var(--muted); margin: 18px 0 22px; }
.check-list { list-style: none; margin-bottom: 26px; display: grid; gap: 11px; }
.check-list li { padding-left: 28px; position: relative; color: var(--text); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; background: var(--accent); clip-path: polygon(14% 44%, 0 65%, 43% 100%, 100% 16%, 80% 0, 40% 60%); }
.about-panel { background: var(--surface); border: 1px solid var(--steel-dk); border-radius: var(--radius); padding: 8px 26px; }
.panel-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--steel-dk); }
.panel-row:last-child { border-bottom: 0; }
.panel-row span { color: var(--steel); text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; }
.panel-row strong { font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; }

/* ---------- Brands ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.brand-tile {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--steel-dk); border-radius: var(--radius);
  padding: 24px 22px; min-height: 120px; transition: .15s;
}
.brand-tile:hover { border-color: var(--accent); }
/* monochrome logo recolored via CSS mask */
.brand-mark {
  display: block; width: 100%; height: 52px; background: var(--steel);
  -webkit-mask: var(--logo) center / contain no-repeat;
          mask: var(--logo) center / contain no-repeat;
  transition: .15s;
}
.brand-tile:hover .brand-mark { background: var(--accent); }
.brand-img {
  display: block; width: 100%; height: auto;
  max-width: 100%; max-height: 64px;
  opacity: .92; transition: .15s;
}
.brand-tile:hover .brand-img { opacity: 1; }
.brand-word {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--steel);
  font-size: 1.6rem; transition: .15s;
}
.brand-tile:hover .brand-word { color: var(--accent); }

/* ---------- What we stock ---------- */
.stock-grid { gap: 44px; }
.stock-col h3 {
  font-size: 1.45rem; padding-bottom: 14px; margin-bottom: 20px;
  border-bottom: 1px solid var(--steel-dk); position: relative;
}
.stock-col h3::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--accent); }
.stock-list { list-style: none; display: grid; gap: 14px; }
.stock-list li {
  position: relative; padding-left: 26px; color: var(--text); font-size: 1.05rem;
}
.stock-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 9px; height: 9px; background: var(--accent2);
  transform: rotate(45deg);
}

/* ---------- Forms ---------- */
.form-grid { align-items: start; }
.form { background: var(--surface); border: 1px solid var(--steel-dk); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--steel); font-weight: 600; }
.form input, .form select, .form textarea {
  background: var(--bg); border: 1px solid var(--steel-dk); border-radius: var(--radius);
  color: var(--text); padding: 12px 14px; font-family: inherit; font-size: 1rem;
  text-transform: none; letter-spacing: normal; font-weight: 400; transition: .15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: .95rem; text-transform: none; letter-spacing: normal; min-height: 1.2em; }
.form-status.ok { color: #4ad07a; }
.form-status.err { color: #ff5d52; }

/* ---------- Login modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,11,13,.78); backdrop-filter: blur(3px); }
.modal-dialog {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  background: var(--bg-alt); border: 1px solid var(--steel-dk); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px 32px 30px;
  animation: modal-in .2s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-dialog h2 { margin-bottom: 6px; }
.modal-dialog .lead { margin: 0 0 22px; font-size: 1.02rem; }
.modal-dialog .form { background: transparent; border: 0; border-radius: 0; padding: 0; }
.modal-close {
  position: absolute; top: 12px; right: 14px; background: none; border: 0;
  color: var(--steel); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: .15s;
}
.modal-close:hover { color: var(--accent); }
.login-fineprint { margin-top: 18px; color: var(--steel); font-size: .9rem; }
.login-fineprint a { color: var(--accent); text-decoration: underline; }
.login-fineprint a:hover { color: var(--accent-dk); }

/* Contact section: darkened live map background */
#contact { position: relative; overflow: hidden; }
#contact > .container { position: relative; z-index: 2; }
.map-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(.5) brightness(.45) contrast(1.05);
  pointer-events: none; z-index: 0;
}
.map-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,23,26,.90) 0%, rgba(20,23,26,.82) 100%),
    radial-gradient(circle at 80% 20%, rgba(43,183,166,.12), transparent 50%);
}

.contact-info { display: grid; gap: 16px; margin-top: 24px; }
.contact-info > div { display: grid; gap: 3px; }
.contact-info span { color: var(--steel); text-transform: uppercase; letter-spacing: 1px; font-size: .78rem; }
.contact-info a, .contact-info strong { font-size: 1.1rem; }
.contact-info a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #0f1215; border-top: 1px solid var(--steel-dk); padding: 56px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--steel-dk); }
.footer-inner > div { max-width: 420px; }
.footer-logo { height: 28px; margin-bottom: 14px; }
.footer-inner p { color: var(--muted); font-size: .94rem; }
.footer-addr { margin-top: 12px; line-height: 1.7; }
.footer-addr a { color: var(--steel); }
.footer-addr a:hover { color: var(--accent); }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav a { color: var(--steel); text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; }
.site-footer nav a:hover { color: var(--accent); }
.footer-legal { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; color: var(--steel); font-size: .85rem; flex-wrap: wrap; gap: 10px 24px; }
.footer-legal-links { display: flex; gap: 18px; }
.footer-legal-links a { color: var(--steel); transition: .15s; }
.footer-legal-links a:hover { color: var(--accent); }

/* ---------- Legal pages ---------- */
.legal-main { max-width: 820px; margin: 0 auto; padding: 64px 24px 80px; }
.legal-main h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.legal-updated { color: var(--steel); text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; margin-bottom: 40px; }
.legal-main h2 { font-size: 1.5rem; margin: 38px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--steel-dk); }
.legal-main h3 { font-size: 1.12rem; margin: 24px 0 10px; color: var(--text); }
.legal-main p, .legal-main li { color: var(--muted); margin-bottom: 14px; line-height: 1.7; }
.legal-main ul, .legal-main ol { padding-left: 24px; margin-bottom: 14px; }
.legal-main li { margin-bottom: 8px; }
.legal-main a { color: var(--accent); text-decoration: underline; }
.legal-main a:hover { color: var(--accent-dk); }
.legal-main strong { color: var(--text); }
.legal-contact { background: var(--surface); border: 1px solid var(--steel-dk); border-radius: var(--radius); padding: 22px 24px; margin-top: 28px; }
.legal-contact p { margin-bottom: 4px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 44px; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }
.legal-back:hover { color: var(--accent-dk); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav { display: none; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 28px; }
  .header-cta { display: none; }
}
