/* Arrowmatics Magnets — design system
   Palette: deep navy/charcoal + magnetic blue + WhatsApp green CTAs */
:root {
  --navy: #0a1628;
  --navy-mid: #132238;
  --charcoal: #1a2332;
  --steel: #2c3e50;
  --magnetic-blue: #1e6fff;
  --magnetic-blue-light: #3d8bff;
  --magnetic-blue-soft: #e8f0ff;
  --wa: #25d366;
  --wa-dark: #1da851;
  --text: #1a2332;
  --text-muted: #5a6a7a;
  --bg: #f5f7fa;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--magnetic-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

/* —— Header / Nav —— */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}
.logo:hover { text-decoration: none; color: var(--white); }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--magnetic-blue), #0d4ecc);
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  align-items: center;
}
.nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid var(--magnetic-blue-light);
}
.nav-cta {
  background: var(--wa) !important;
  color: var(--white) !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 999px !important;
  border: none !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--wa-dark) !important; }

/* —— Hero —— */
.hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 50%, #0d2a4a 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(30,111,255,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(30,111,255,0.25);
  color: #a8c8ff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  opacity: 0.9;
  max-width: 38rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-wa {
  background: var(--wa);
  color: var(--white);
}
.btn-wa:hover { background: var(--wa-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-primary {
  background: var(--magnetic-blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--magnetic-blue-light); color: var(--white); }

/* —— Sections —— */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); }
.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}
.section-head p { color: var(--text-muted); }

/* Answer-first callout */
.answer-box {
  background: var(--magnetic-blue-soft);
  border-left: 4px solid var(--magnetic-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.35rem 1.5rem;
  margin: 1.5rem 0;
}
.answer-box h2, .answer-box h3 {
  color: var(--navy);
  margin-bottom: 0.65rem;
}
.answer-box p { color: var(--text); margin-bottom: 0.75rem; }
.answer-box p:last-child { margin-bottom: 0; }

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card-icon {
  width: 56px; height: 56px;
  background: var(--magnetic-blue-soft);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  color: var(--magnetic-blue);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; flex-grow: 1; }
.card-link {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--magnetic-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card-link:hover { text-decoration: underline; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.pill {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  color: var(--steel);
  font-weight: 500;
}

/* Feature / why list */
.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--magnetic-blue);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.spec-table th, .spec-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.spec-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: #f8fafc; }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.faq-item h2, .faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}
.faq-item p { color: var(--text-muted); margin-bottom: 0.65rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { opacity: 0.9; max-width: 32rem; margin: 0 auto 1.5rem; }

/* Contact NAP */
.nap-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.nap-block h2 { margin-bottom: 1.25rem; }
.nap-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.nap-row strong { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.15rem; }
.nap-row a { color: var(--magnetic-blue); font-weight: 500; }

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { color: var(--navy); font-weight: 500; }

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  color: var(--white);
  padding: 2.5rem 0 3rem;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { opacity: 0.9; max-width: 40rem; }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.site-footer a {
  color: rgba(255,255,255,0.75);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.site-footer a:hover { color: var(--white); }
.footer-nap p { font-size: 0.9rem; margin-bottom: 0.4rem; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  opacity: 0.65;
  text-align: center;
}

/* Sticky WhatsApp FAB */
.wa-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
  background: var(--wa);
  color: var(--white);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.wa-fab:hover {
  background: var(--wa-dark);
  transform: scale(1.06);
  text-decoration: none;
  color: var(--white);
}
.wa-fab svg { width: 28px; height: 28px; }

@media (max-width: 640px) {
  .nav { width: 100%; gap: 0.5rem 0.85rem; }
  .nav a { font-size: 0.82rem; }
  .hero { padding: 2.5rem 0 3rem; }
  .section { padding: 2.5rem 0; }
  .wa-fab { bottom: 1rem; right: 1rem; width: 54px; height: 54px; }
}

/* Type list for separators */
.type-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.type-block h3 { color: var(--navy); display: flex; align-items: center; gap: 0.5rem; }
.type-block .gauss {
  font-size: 0.8rem;
  background: var(--magnetic-blue-soft);
  color: var(--magnetic-blue);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}


/* Floating call (mobile primary) — sits left of WhatsApp FAB */
.call-fab {
  position: fixed;
  right: 5.75rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 3.25rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: #0b3a5b;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(11, 58, 91, 0.35);
}
.call-fab:hover { filter: brightness(1.08); color: #fff; }
@media (max-width: 640px) {
  .call-fab { right: 5.25rem; bottom: 1rem; }
}

/* Product photography */
.card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: #0b1c2c;
}
.hero-visual {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.photo-grid figure {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(10,30,60,.08);
}
.photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-grid figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.9rem;
  color: #334155;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}
.brand-text { font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; }
@media (max-width: 640px) {
  .brand-logo { height: 32px; }
  .brand-text { font-size: 0.85rem; }
}
.site-footer .brand-logo { height: 36px; margin-bottom: 0.75rem; }

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.logo .brand-logo {
  height: 42px;
  width: auto;
  flex-shrink: 0;
}
.logo .logo-mark { display: none; } /* prefer real logo image */

.gallery-cat {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.15rem;
  color: #0b3a5b;
}
.gallery-cat:first-of-type {
  margin-top: 0.5rem;
}
