/* ==========================================================================
   Evolve Technology Services — stylesheet
   Colors, fonts, and spacing are set as CSS variables below.
   Change a value here and it updates everywhere it's used.
   ========================================================================== */

:root {
  --color-orange: #FF6A00;
  --color-orange-dark: #E8580F;
  --color-charcoal: #22262B;
  --color-charcoal-soft: #3A3F46;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F7F8;
  --color-text: #22262B;
  --color-text-muted: #5B6167;
  --color-border: #E7E7E9;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1120px;
}

/* --- Reset & base --- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--color-orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; color: var(--color-charcoal); }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--color-orange);
  color: #fff;
}
.btn-primary:hover { background: var(--color-orange-dark); }
.btn-ghost {
  background: transparent;
  border-color: var(--color-charcoal);
  color: var(--color-charcoal);
}
.btn-ghost:hover { background: var(--color-charcoal); color: #fff; }

.section-title {
  font-size: 2rem;
  font-weight: 800;
}
.section-lede {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon { width: 34px; height: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: var(--color-charcoal);
}
.brand-sub {
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--color-orange-dark);
}

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  color: var(--color-charcoal);
  font-weight: 500;
}
.primary-nav a:hover { color: var(--color-orange-dark); text-decoration: none; }
.nav-cta {
  background: var(--color-orange);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--color-orange-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-charcoal);
}

/* --- Hero --- */
.hero {
  padding: 100px 0 90px;
  background: var(--color-bg-alt);
}
.hero-inner { max-width: 760px; }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 2rem; flex-wrap: wrap; }

/* --- Services --- */
.services { padding: 100px 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 12px 30px rgba(34, 38, 43, 0.08);
  transform: translateY(-3px);
}
.service-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--color-text-muted); margin-bottom: 0; }

/* --- About --- */
.about { padding: 100px 0; background: var(--color-bg-alt); }
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-copy p { color: var(--color-text-muted); font-size: 1.05rem; }
.about-facts { display: flex; flex-direction: column; gap: 24px; }
.fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid var(--color-orange);
}
.fact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.fact-value { font-weight: 600; color: var(--color-charcoal); }

/* --- Contact --- */
.contact { padding: 100px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.form-status {
  margin-top: 1.5rem;
  padding: 14px 18px;
  border-radius: 6px;
  font-weight: 500;
}
.form-status.success {
  background: #EAF7EE;
  color: #1E7A34;
  border: 1px solid #BFE6C9;
}
.form-status.error {
  background: #FDECEA;
  color: #B3261E;
  border: 1px solid #F5C6C2;
}

/* Honeypot: hidden from real visitors, still present in the DOM for bots that
   fill fields blindly without checking CSS. Do not use display:none/visibility:
   hidden alone — some bots specifically skip those, so this combination is used
   instead. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

.contact-form { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-weight: 600; font-size: 0.9rem; margin-top: 12px; }
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-orange);
  outline-offset: 1px;
}
.contact-form button { margin-top: 20px; align-self: flex-start; }

/* --- Footer --- */
.site-footer {
  background: var(--color-charcoal);
  color: #C9CCD1;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.footer-icon { width: 24px; height: auto; }

/* --- Responsive --- */
@media (max-width: 860px) {
  .service-grid { grid-template-columns: 1fr; }
  .about-inner,
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .primary-nav.open { max-height: 260px; }
  .primary-nav a {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-cta { border-radius: 0; text-align: center; }
  .hero { padding: 70px 0 60px; }
  .services, .about, .contact { padding: 70px 0; }
}
