/* Sensor Easy — shared stylesheet */

:root {
  --brand: #0070c0;
  --brand-dark: #005a9c;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --accent: #f6c544;
  --success: #16a34a;
  --max-w: 1180px;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(0, 0, 0, .06);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5rem; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
p { margin: 0 0 1rem; color: var(--ink-soft); }
ul { padding-left: 1.2rem; }
li { margin: .25rem 0; color: var(--ink-soft); }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section-soft { background: var(--bg-soft); }
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
}

/* 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(--line);
}
.nav { display: flex; align-items: center; gap: 1.5rem; padding: .9rem 1.25rem; max-width: var(--max-w); margin: 0 auto; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--brand); }
.nav-lang { display: flex; gap: .35rem; align-items: center; font-size: .85rem; padding-left: 1rem; border-left: 1px solid var(--line); margin-left: .5rem; }
.nav-lang a { padding: .25rem .5rem; border-radius: 4px; }
.nav-lang a.active { background: var(--brand); color: #fff; }
.nav-toggle {
  display: none;
  background: none; border: 0; padding: .5rem;
  cursor: pointer; margin-left: auto;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 1rem 1.25rem;
    flex-direction: column; align-items: flex-start;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-lang { border-left: 0; padding-left: 0; margin: .5rem 0 0; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  background: var(--brand);
  color: #fff !important;
  border: 0;
  cursor: pointer;
  transition: background .15s, transform .05s;
  text-decoration: none;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.1rem; }
.btn-outline {
  background: transparent;
  color: var(--brand) !important;
  border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff !important; }

/* Hero — side-by-side variant (homepage) */
.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #eef5fb 0%, #fff 100%);
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero p.lede { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-img { display: flex; justify-content: center; }
.hero-img img {
  border-radius: var(--radius);
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 0; }
  .hero-img img { max-height: 340px; }
}

/* Hero — banner variant (industry landing pages) */
.hero-banner {
  position: relative;
  min-height: 560px;
  background: #eef5fb center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 38%, rgba(255,255,255,.18) 68%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.hero-banner .container { position: relative; padding: 4rem 1.25rem; }
.hero-banner-content { max-width: 560px; }
.hero-banner h1 { margin-bottom: 1rem; }
.hero-banner p.lede { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.hero-banner .hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero-banner { min-height: 480px; }
  .hero-banner .container { padding: 3rem 1.25rem; }
  .hero-banner::before {
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.85) 35%, rgba(255,255,255,.55) 65%, rgba(255,255,255,.25) 100%);
  }
  .hero-banner-content { max-width: 100%; }
}

/* Value props */
.value-card {
  background: #fff;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.value-card h3 { margin-bottom: .5rem; }
.value-card img { height: 64px; width: auto; margin-bottom: 1rem; }
.value-card .icon-blob { width: 64px; height: 64px; border-radius: 50%; background: #e8f1fa; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }

/* Industries */
.industries-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1.5rem; padding-left: 1.2rem; }
.industries-list li { padding: .25rem 0; }

/* Steps */
.steps { counter-reset: step; }
.step { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-num { flex: 0 0 48px; height: 48px; width: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; }

/* Product card */
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.product img { max-height: 360px; margin: 0 auto; }
.product h2 { margin-bottom: .5rem; }
.price-row { display: flex; align-items: baseline; gap: .75rem; margin: 1rem 0; }
.price { font-size: 2rem; font-weight: 700; color: var(--ink); }
.price-strike { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.badge {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: .25rem .65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 1rem;
}
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; padding: 1.25rem; }
}

/* Guarantee strip */
.guarantee {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.guarantee img { width: 120px; height: auto; }
@media (max-width: 600px) {
  .guarantee { grid-template-columns: 1fr; text-align: center; }
  .guarantee img { margin: 0 auto; }
}

/* Story */
.story { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: center; }
.story img { border-radius: var(--radius); max-height: 380px; object-fit: cover; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--brand); transition: transform .15s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 0 1.25rem; color: var(--ink-soft); }

/* Footer */
.site-footer {
  background: #11243a;
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { color: #fff; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin: .35rem 0; color: #cbd5e1; }
.footer-grid img { height: 38px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-bottom {
  border-top: 1px solid #1f3a5c;
  padding-top: 1rem;
  font-size: .85rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Utility */
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.tag {
  display: inline-block;
  background: #e8f1fa;
  color: var(--brand);
  padding: .35rem .75rem;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Contact */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.contact-card .btn { margin-top: 1rem; }

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal-content h3 { font-size: 1.15rem; margin-top: 1.25rem; }
.legal-content p, .legal-content li { font-size: .95rem; }

/* Skip-to-content for a11y */
.skip-link {
  position: absolute; left: -9999px;
  background: var(--brand); color: #fff; padding: .5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }
