/* AMARC — site styles */
:root {
  --navy: #0f2540;
  --navy-dark: #0a1a2e;
  --accent: #e8730f;
  --accent-dark: #c65e05;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f4;
  --gray-300: #cbd3dc;
  --gray-600: #5a6672;
  --text: #1c2733;
  --radius: 10px;
  --max-width: 1180px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 34px; width: auto; }

.main-nav { flex: 1; }
.nav-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-link {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  background: var(--gray-100);
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.lang-switch { display: flex; gap: 4px; }
.lang-link {
  font-size: 13px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--gray-600);
}
.lang-link.lang-current { background: var(--navy); color: #fff; }
.phone-link {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  font-size: 15px;
}
.phone-link:hover { color: var(--accent-dark); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Hero (home) ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 90px 0 100px;
}
.hero-inner { max-width: 760px; }
.hero h1 { font-size: 42px; margin-bottom: .4em; }
.hero-text { font-size: 18px; color: #d7e0ea; margin-bottom: 2em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 64px 0 70px;
}
.page-hero h1 { font-size: 34px; }
.page-hero-text { font-size: 17px; color: #d7e0ea; max-width: 680px; }
.brand-logo-badge {
  display: inline-block;
  background: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.brand-logo-badge img { height: 46px; width: auto; display: block; }
.brand-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.12);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-title { font-size: 28px; text-align: center; margin-bottom: 40px; }

/* Brand grid (home) */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.brand-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: left;
}
.brand-mark { height: 40px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 16px; }
.brand-card h3 { font-size: 19px; margin-bottom: 8px; }
.brand-card p { color: var(--gray-600); font-size: 14.5px; margin-bottom: 14px; min-height: 66px; }
.link-arrow { font-weight: 700; color: var(--accent-dark); }
.link-arrow:hover { text-decoration: underline; }

/* About snippet */
.about-snippet { background: var(--gray-50); }
.about-snippet-inner { max-width: 760px; }

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  padding: 26px 20px;
  border-left: 3px solid var(--accent);
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.why-card h3 { font-size: 17px; }
.why-card p { color: var(--gray-600); font-size: 14.5px; margin: 0; }

/* CTA strip */
.cta-strip { background: var(--navy); color: #fff; padding: 46px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: 22px; margin-bottom: 6px; }
.cta-inner p { color: #d7e0ea; margin: 0; max-width: 520px; }

/* Prose (about page) */
.prose { max-width: 780px; font-size: 16.5px; }
.prose h2 { margin-top: 1.3em; font-size: 22px; }

/* Brand pages */
.brand-hero-akalm { background: linear-gradient(135deg, #1c2f45, #0a1a2e); }
.brand-hero-indelec { background: linear-gradient(135deg, #35281a, #0a1a2e); }
.brand-hero-soprema { background: linear-gradient(135deg, #14324a, #0a1a2e); }
.brand-hero-tecsound { background: linear-gradient(135deg, #2a1c3f, #0a1a2e); }

.catalog-section { background: var(--gray-50); }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.catalog-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
}
.catalog-card h3 { font-size: 17px; color: var(--navy); }
.catalog-card p { color: var(--gray-600); font-size: 14.5px; margin: 0; }
.catalog-note { text-align: center; color: var(--gray-600); font-size: 13.5px; margin-top: 28px; }

.applications-inner { max-width: 780px; }
.applications-list li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.applications-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-item { margin-bottom: 22px; }
.contact-item h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-600); margin-bottom: 4px; }
.contact-item p { font-size: 17px; font-weight: 600; margin: 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); }
.map-wrap iframe { width: 100%; height: 260px; border: 0; }

.contact-form {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
}
.contact-form button { width: 100%; margin-top: 4px; border: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #c6d0da; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 56px 0 32px;
}
.footer-logo { height: 28px; margin-bottom: 14px; }
.footer-tagline { font-size: 14px; color: #8fa0b3; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { font-size: 14.5px; color: #c6d0da; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14.5px; margin: 0 0 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  font-size: 13px;
  color: #8fa0b3;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .brand-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.open { max-height: 500px; }
  .nav-list { flex-direction: column; padding: 10px 24px 20px; gap: 2px; }
  .phone-link { display: none; }
  .burger { display: flex; }
}

@media (max-width: 640px) {
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 30px; }
  .brand-grid, .why-grid, .catalog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 52px 0; }
}
