/**
 * Faized Public Site – arccomp.com-style professional theme
 * Top bar, two-row header, hero with CTAs, service cards with bullet lists
 * Colors and typography aligned with arccomp.com
 */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #0266cc;
  --primary-dark: #0154a8;
  --primary-light: #0085e6;
  --accent: #e67e22;
  --accent-hover: #d35400;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #2c3e50;
  --text-muted: #5a6c7d;
  --border: #dce4ec;
  --topbar-bg: #0154a8;
  --header-bg: #0266cc;
  --font: "Open Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

/* Top bar – contact info (arccomp-style) */
.site-topbar {
  background: var(--topbar-bg);
  color: rgba(255,255,255,0.9);
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-topbar a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  transition: color 0.2s;
}

.site-topbar a:hover { color: white; }

.site-topbar-left { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.site-topbar-right { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

/* Main header */
.site-header {
  background: var(--header-bg);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.site-logo {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: white;
}

.site-nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}

.site-nav a.active {
  background: rgba(255,255,255,0.18);
  color: white;
}

/* Hero – arccomp-style */
.hero {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 50%, #013d7a 100%);
  color: white;
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero .lead {
  font-size: 1.05rem;
  opacity: 0.95;
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

/* Hero service cards – 6 across like arccomp */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto 2rem;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.hero-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.hero-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-card p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Hero CTAs – Request Assessment + Call + Email */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-ctas .btn {
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
}

.hero-ctas .btn-phone,
.hero-ctas .btn-email {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
}

.hero-ctas .btn-phone:hover,
.hero-ctas .btn-email:hover {
  background: rgba(255,255,255,0.25);
}

/* Sections */
.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--primary);
}

.section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}

.section p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

/* Service cards – arccomp style with bullet lists */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: var(--primary-light);
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--primary);
}

.service-card ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-card li { margin-bottom: 0.25rem; }

/* Content cards (why choose, etc.) */
.content-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.content-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.content-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--primary);
}

.content-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Why Choose – numbered list like arccomp */
.why-choose-list {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
}

.why-choose-list li {
  padding: 0.75rem 0;
  padding-left: 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.why-choose-list li:last-child { border-bottom: none; }

.why-choose-list li::before {
  content: attr(data-num);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.75rem;
  text-align: center;
}

.why-choose-list strong { display: block; margin-bottom: 0.25rem; color: var(--text); }

/* Simple bullet list */
ul.services-list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.4rem;
}

ul.services-list li {
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
}

ul.services-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* CTA section */
.cta {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.cta h2 { color: white; margin-bottom: 0.5rem; }
.cta p { color: rgba(255,255,255,0.95); margin-bottom: 1.5rem; }

.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.3);
}

/* Footer – dark like arccomp */
.site-footer {
  background: #1a252f;
  color: rgba(255,255,255,0.8);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: #5dade2;
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

.site-footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 480px;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 4px;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(2,102,204,0.2);
}

.msg-success { background: #e8f5e9; color: #2e7d32; padding: 1rem; border-radius: 4px; margin-bottom: 1rem; }
.msg-error { background: #ffebee; color: #c62828; padding: 1rem; border-radius: 4px; margin-bottom: 1rem; }
.text-muted { color: var(--text-muted); }

/* Mobile */
@media (max-width: 640px) {
  .site-topbar { padding: 0.5rem 1rem; font-size: 0.85rem; }
  .site-topbar-left, .site-topbar-right { justify-content: center; }
  .site-header { padding: 0.75rem 1rem; }
  .site-nav { width: 100%; justify-content: center; }
  .hero { padding: 2rem 1rem 2.5rem; }
  .hero-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; align-items: center; }
  .section { padding: 2rem 1rem; }
}
