/* Draft-only stylesheet for Integrated Safety Services, LLC
 * NOTE: Operator should review all styles before publish.
 */

:root {
  --iss-red: #c32026;  /* drawn from logo rings (approximate) */
  --iss-blue: #004b8d; /* drawn from logo text (approximate) */
  --iss-dark: #1d2833;
  --iss-light: #f5f7fa;
  --iss-accent: #ffb23f;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #ffffff;
  line-height: 1.6;
}

a { color: var(--iss-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

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

header {
  border-bottom: 3px solid var(--iss-red);
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 54px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text .name {
  font-weight: 700;
  color: var(--iss-dark);
  font-size: 1.05rem;
}

.brand-text .tagline {
  font-size: 0.86rem;
  color: #555;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background-color: var(--iss-red);
  color: #fff;
  border: none;
}

.nav-cta-secondary {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--iss-blue);
  color: var(--iss-blue);
  font-size: 0.85rem;
}

.emergency-call {
  font-size: 0.85rem;
  color: var(--iss-red);
  font-weight: 600;
}

.hero {
  background-color: var(--iss-dark);
  color: #ffffff;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 2.75rem 0 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero p {
  margin-top: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary {
  background-color: var(--iss-red);
  color: #ffffff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  font-size: 0.95rem;
  display: inline-block;
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.7);
  font-size: 0.9rem;
  display: inline-block;
}

.btn-ghost {
  background-color: transparent;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: 1px solid #ccc;
  font-size: 0.85rem;
}

.hero-emergency {
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.hero-emergency a {
  color: #ffdede;
  font-weight: 600;
}

.hero-image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,0.4);
}

.section {
  padding: 2.5rem 0;
}

.section-alt {
  background-color: var(--iss-light);
}

.section h2 {
  margin-top: 0;
  font-size: 1.55rem;
  color: var(--iss-dark);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.kpi {
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background-color: #ffffff;
  border: 1px solid #e1e5ea;
}

.kpi-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #777;
}

.kpi-value {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.3rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.list-check li::before {
  content: "\2713";
  color: var(--iss-red);
  font-weight: 700;
  margin-right: 0.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  border-radius: 10px;
  border: 1px solid #e1e5ea;
  padding: 1.25rem 1.3rem;
  background-color: #ffffff;
}

.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.highlight {
  border-left: 4px solid var(--iss-blue);
  padding-left: 1rem;
  margin: 1.25rem 0;
  background-color: #f9fbff;
}

.inline-emergency {
  font-weight: 600;
  color: var(--iss-red);
}

.footer {
  background-color: #0d141c;
  color: #d1d7e0;
  margin-top: 2rem;
}

.footer-inner {
  padding: 2rem 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.footer-brand img {
  height: 46px;
}

.footer h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.footer a {
  color: #e2e7ff;
}

.footer-bottom {
  border-top: 1px solid #202a36;
  padding: 0.8rem 0 1rem;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #1877f2;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #c6ccd5;
  font-size: 0.92rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-help {
  font-size: 0.78rem;
  color: #666;
}

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Draft-only: responsive tweak for very small screens */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .brand img {
    height: 44px;
  }
}