/*
Theme Name: HSEvision – HSE Agent (V2 SAFE)
Theme URI: https://hsevision.com/
Author: HSEvision
Author URI: https://hsevision.com/
Description: V2 landing theme for HSE Agent with extended sections, safe fallbacks, and Customizer image controls.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hsevision-agent
Tags: one-column, custom-colors, custom-logo, custom-menu, landing-page
*/

:root{
  --brand:#0E7C86;          /* Primary */
  --brand-2:#0B4F52;        /* Darker shade */
  --accent:#F9A825;         /* Accent for CTAs */
  --ink:#0F172A;            /* Headings */
  --muted:#475569;          /* Body */
  --bg:#F8FAFC;             /* Page bg */
  --card:#FFFFFF;           /* Cards */
  --ring:rgba(14,124,134,.18);
  --radius:20px;
  --max:1200px;
}

*{box-sizing:border-box}
html,body{margin:0;height:100%;scroll-behavior:smooth;background:var(--bg);color:var(--muted);font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif}
img{max-width:100%;display:block}
a{color:var(--brand);text-decoration:none}
.container{max-width:var(--max);margin-inline:auto;padding:clamp(16px,2vw,28px)}
.grid{display:grid;gap:clamp(16px,2vw,28px)}
header.site-header{position:sticky;top:0;background:#ffffffcc;backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid #e5e7eb;z-index:50}
.nav{display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:38px;height:38px;border-radius:10px}
.brand h1{font-size:18px;color:var(--ink);margin:0}
.menu{display:flex;gap:18px;align-items:center}
.menu a{font-weight:600}
.cta{background:var(--brand);color:#fff;padding:10px 16px;border-radius:12px;display:inline-flex;align-items:center;gap:10px;border:1px solid #0d6e77;box-shadow:0 6px 20px var(--ring)}
.cta.secondary{background:#fff;color:var(--brand);border:1px solid var(--brand);box-shadow:none}
.mobile-toggle{display:none}

.hero{padding:64px 0}
.hero .wrap{display:grid;gap:28px;grid-template-columns:1.1fr .9fr;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:#E6FFFA;border:1px solid #b6ece6;color:#0b6369;padding:6px 10px;border-radius:999px;font-weight:700;letter-spacing:.02em}
h2.title{font-size:clamp(34px,5vw,56px);line-height:1.05;color:var(--ink);margin:8px 0 10px}
p.lead{font-size:clamp(16px,2.2vw,20px);color:#334155}
.metrics{display:flex;gap:22px;flex-wrap:wrap}
.metric{background:var(--card);padding:14px 16px;border-radius:14px;border:1px solid #e5e7eb;min-width:140px}
.metric b{display:block;color:var(--ink);font-size:22px}

.card{background:var(--card);border:1px solid #e5e7eb;border-radius:var(--radius);padding:22px}
section{padding:56px 0}
section h3{color:var(--ink);font-size:clamp(24px,3vw,32px);margin:0 0 14px}
.pill{display:inline-block;background:#eef7f8;border:1px solid #d9eef0;color:#0b6369;padding:6px 10px;border-radius:999px;font-weight:600}

.features{grid-template-columns:repeat(3,1fr)}
.feature h4{margin:10px 0 6px;color:var(--ink)}

.how{grid-template-columns:repeat(4,1fr)}
.how .step-number{width:34px;height:34px;display:grid;place-items:center;border-radius:999px;background:var(--brand);color:#fff;font-weight:800}

.industries{grid-template-columns:repeat(6,1fr)}
.industries .chip{padding:10px 12px;border-radius:12px;border:1px dashed #cbd5e1;background:#fff;text-align:center;font-weight:600}

.showcase{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center}
.showcase .panel{height:360px;border-radius:var(--radius);border:1px solid #e5e7eb;background:linear-gradient(180deg,#f1f5f9, #fff)}

.pricing{grid-template-columns:repeat(3,1fr)}
.price .h{display:flex;align-items:baseline;gap:8px}
.price .h b{font-size:34px;color:var(--ink)}
.price ul{padding-left:18px;margin:12px 0}

.integrations{grid-template-columns:repeat(6,1fr)}
.logo{height:42px;display:grid;place-items:center;border:1px solid #e5e7eb;border-radius:12px;background:#fff}

.faq .q{cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #e5e7eb;color:var(--ink);font-weight:700}
.faq .a{display:none;padding:10px 0 16px}

footer.site-footer{background:#0b1b1c;color:#cbd5e1}
footer.site-footer a{color:#e2e8f0}

/* v2 extra components */
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.kpi{background:var(--card);border:1px solid #e5e7eb;border-radius:16px;padding:16px}
.kpi b{color:var(--ink);font-size:28px}
.badges{display:flex;flex-wrap:wrap;gap:10px}
.badge{background:#eef7f8;border:1px solid #d9eef0;padding:6px 10px;border-radius:999px;font-weight:600;color:#0b6369}
.logos-simple{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.logos-simple .logo{height:38px;border-radius:10px;display:grid;place-items:center;border:1px dashed #cbd5e1;background:#fff}
.two-col{display:grid;gap:24px;grid-template-columns:1.1fr .9fr;align-items:start}
.timeline{display:grid;gap:16px}
.timeline .step{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start}
.timeline .num{width:34px;height:34px;border-radius:999px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800}
.table{width:100%;border-collapse:separate;border-spacing:0}
.table th,.table td{border:1px solid #e5e7eb;padding:10px 12px}
.table th{background:#f1f5f9;color:#0f172a;text-align:left}

/* Responsive */
@media (max-width: 1000px){
  .hero .wrap, .showcase{grid-template-columns:1fr}
  .features{grid-template-columns:repeat(2,1fr)}
  .how{grid-template-columns:repeat(2,1fr)}
  .industries{grid-template-columns:repeat(3,1fr)}
  .integrations{grid-template-columns:repeat(3,1fr)}
  .pricing{grid-template-columns:1fr}
  .kpis{grid-template-columns:repeat(2,1fr)}
  .two-col{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .menu{display:none}
  .mobile-toggle{display:inline-flex;border:1px solid #cbd5e1;padding:8px 10px;border-radius:10px;background:#fff}
  .mobile-panel{display:none;flex-direction:column;gap:10px;margin-top:12px}
  .mobile-panel a{padding:10px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
  .eyebrow{font-size:12px}
}

/* Form styles */
form label{display:flex;flex-direction:column;gap:6px;font-weight:600}
form label input, form label textarea{border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px;outline:none}
form label input:focus, form label textarea:focus{border-color:var(--brand);box-shadow:0 0 0 4px var(--ring)}
form .wide{grid-column:1/-1}