/* ============================================================
   EASE IT Solutions — design tokens
   ============================================================ */
:root {
  /* Brand colors (on-brand with ease-itsolutions.com) */
  --ink: #1a232b;
  --navy: #253745;
  --navy-light: #324a5c;
  --lime: #84c451;
  --lime-dark: #6a9c3f;
  --paper: #eef1ec;
  --white: #ffffff;

  --text-on-dark: #ffffff;
  --text-muted-dark: #9fb0b8;
  --text-on-light: #1a232b;
  --text-muted-light: #52606a;

  --border-dark: #33414c;
  --border-light: #d7ddd4;
  --danger: #cc3366;

  /* Typography */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Spacing (5px grid) */
  --sp-xs: 5px;
  --sp-sm: 10px;
  --sp-md: 20px;
  --sp-lg: 40px;
  --sp-xl: 80px;

  --radius: 6px;
  --radius-lg: 10px;

  --max-width: 1140px;
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-on-light);
  background-color: var(--paper);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

p { max-width: 62ch; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--navy);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-sm);
  padding-bottom: var(--sp-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: var(--white);
}

.logo-word strong {
  color: var(--lime);
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: var(--sp-lg);
}

.navigation a {
  color: var(--text-on-dark);
  font-weight: 400;
  font-size: 0.95rem;
  padding: var(--sp-xs) 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.navigation a:hover,
.navigation a.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-xs);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ============================================================
   Hero — diagonal split
   ============================================================ */
.hero {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 560px;
}

.hero-copy {
  background: var(--lime);
  color: var(--text-on-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-xl) var(--sp-lg);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.hero-copy h1 {
  font-size: 3rem;
  margin-bottom: var(--sp-md);
  max-width: 14ch;
}

.hero-copy .hero-lede {
  font-size: 1.05rem;
  color: var(--text-on-light);
  max-width: 48ch;
  margin-bottom: var(--sp-lg);
}

.hero-copy .hero-lede strong {
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.hero-visual {
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8%;
  padding-left: calc(8% + var(--sp-lg));
}

.hero-visual svg { width: 70%; max-width: 320px; height: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: #000000;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-on-light);
  border-color: var(--text-on-light);
}

.btn-secondary:hover {
  background: rgba(26, 35, 43, 0.08);
}

/* ============================================================
   Services
   ============================================================ */
.services {
  padding: var(--sp-xl) 0;
  background: var(--paper);
}

.section-head {
  max-width: 58ch;
  margin-bottom: var(--sp-xl);
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--lime-dark);
  margin-bottom: var(--sp-xs);
}

.section-head h2 {
  font-size: 2.1rem;
  color: var(--text-on-light);
}

.services-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-lg);
}

.service-featured {
  background: var(--navy);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}

.service-featured .service-icon { stroke: var(--lime); }

.service-featured h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin: var(--sp-md) 0 var(--sp-xs);
}

.service-featured p { color: var(--text-muted-dark); margin: 0; }

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.service-row {
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--border-light);
}

.service-row:last-child { border-bottom: none; }

.service-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  stroke: var(--lime-dark);
}

.service-row h3 {
  font-size: 1.05rem;
  color: var(--text-on-light);
  margin-bottom: var(--sp-xs);
}

.service-row p {
  color: var(--text-muted-light);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================================
   Stat strip
   ============================================================ */
.stats {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: var(--sp-lg) 0;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--lime);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  margin-top: var(--sp-xs);
}

/* ============================================================
   About
   ============================================================ */
.about {
  padding: var(--sp-xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-xl);
  align-items: start;
}

.about h2 { font-size: 2.1rem; color: var(--text-on-light); max-width: 10ch; }

.about-body p {
  color: var(--text-muted-light);
  margin-bottom: var(--sp-md);
}

.about-body p:last-child { margin-bottom: 0; }

/* ============================================================
   Contact
   ============================================================ */
.contact {
  padding: var(--sp-xl) 0;
  background: var(--navy);
  color: var(--text-on-dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--sp-xl);
}

.contact-intro h2 { color: var(--white); font-size: 2.1rem; margin-bottom: var(--sp-md); }
.contact-intro p { color: var(--text-muted-dark); }

.contact-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
}

.form-row { margin-bottom: var(--sp-md); }

.form-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted-light);
  margin-bottom: var(--sp-xs);
}

.form-input, .form-textarea {
  width: 100%;
  padding: var(--sp-sm);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-on-light);
  font-family: var(--font-body);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 3px rgba(132, 196, 81, 0.25);
}

.form-status {
  font-size: 0.9rem;
  margin-top: var(--sp-sm);
  min-height: 1.2em;
}

.form-status.success { color: var(--lime-dark); }
.form-status.error { color: var(--danger); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--text-muted-dark);
  padding: var(--sp-md) 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { clip-path: none; padding: var(--sp-xl) var(--sp-md); }
  .hero-visual { display: none; }

  .services-layout,
  .about-grid,
  .contact-layout { grid-template-columns: 1fr; }

  .stats .container { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-lg); }
}

@media (max-width: 640px) {
  .navigation { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--navy); border-top: 1px solid var(--border-dark); }
  .navigation.open { display: block; }
  .navigation ul { flex-direction: column; gap: 0; }
  .navigation a { display: block; padding: var(--sp-md); border-bottom: 1px solid var(--border-dark); }
  .nav-toggle { display: flex; }

  .hero-copy h1 { font-size: 2.1rem; }
  .section-head h2, .about h2, .contact-intro h2 { font-size: 1.6rem; }
  .about h2 { max-width: none; }

  .btn { width: 100%; text-align: center; }
  .hero-buttons { flex-direction: column; }
}

/* ============================================================
   Page banner (Services / Our Story)
   ============================================================ */
.page-banner {
  margin-top: 56px;
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26,35,43,0.92) 0%, rgba(26,35,43,0.55) 60%, rgba(26,35,43,0.25) 100%);
}

.page-banner .container { position: relative; z-index: 1; }

.page-banner .eyebrow {
  font-family: var(--font-body);
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--lime);
  margin-bottom: var(--sp-sm);
}

.page-banner h1 {
  font-size: 2.6rem;
  color: var(--white);
}

.page-intro {
  padding: var(--sp-lg) 0 0;
}

.page-intro p {
  color: var(--text-muted-light);
  font-size: 1.05rem;
  max-width: 70ch;
}

/* ============================================================
   Pain points (Home)
   ============================================================ */
.pain-points {
  padding: var(--sp-xl) 0;
}

.pain-points-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.pain-points-layout img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}

.pain-list li {
  padding: var(--sp-sm) var(--sp-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--lime-dark);
  border-radius: var(--radius);
  color: var(--text-on-light);
  font-weight: 500;
}

/* ============================================================
   Mission callout
   ============================================================ */
.mission-callout {
  background: var(--lime);
  color: var(--text-on-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  margin-top: var(--sp-lg);
}

.mission-callout .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: var(--sp-xs);
}

.mission-callout p {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0;
  max-width: 60ch;
}

/* ============================================================
   Reasons grid (Why choose us)
   ============================================================ */
.reasons {
  padding: var(--sp-xl) 0;
  background: var(--navy);
  color: var(--text-on-dark);
}

.reasons .section-head h2 { color: var(--white); }
.reasons .section-head p { color: var(--text-muted-dark); max-width: 70ch; }

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--sp-md);
}

.reason-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  border-top: 3px solid var(--lime);
}

.reason-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: var(--sp-xs);
}

.reason-card p { color: var(--text-muted-dark); font-size: 0.95rem; margin: 0; }

/* ============================================================
   Service detail rows (Services page)
   ============================================================ */
.service-detail {
  padding: var(--sp-xl) 0;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-xl);
  align-items: center;
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--border-light);
}

.service-detail-row:first-child { padding-top: 0; }
.service-detail-row:last-child { border-bottom: none; }

.service-detail-row:nth-child(even) { direction: rtl; }
.service-detail-row:nth-child(even) > * { direction: ltr; }

.service-detail-row img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.service-detail-row h3 {
  font-size: 1.6rem;
  color: var(--text-on-light);
  margin-bottom: var(--sp-sm);
}

.service-detail-row > div > p {
  color: var(--text-muted-light);
  margin-bottom: var(--sp-md);
}

.service-detail-row ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.service-detail-row ul li {
  padding-left: var(--sp-md);
  position: relative;
  color: var(--text-on-light);
  font-size: 0.95rem;
}

.service-detail-row ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lime-dark);
}

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  padding: var(--sp-xl) 0;
  background: var(--ink);
  color: var(--text-on-dark);
  text-align: center;
}

.cta-banner h2 { color: var(--white); font-size: 2rem; }
.cta-banner p { color: var(--text-muted-dark); max-width: 60ch; margin: 0 auto var(--sp-lg); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--sp-xl) 0; background: var(--paper); }

.faq-list { display: flex; flex-direction: column; gap: var(--sp-sm); max-width: 80ch; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: var(--sp-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-on-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-md);
}

.faq-question .faq-icon { color: var(--lime-dark); font-size: 1.2rem; flex-shrink: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer p {
  padding: 0 var(--sp-md) var(--sp-md);
  color: var(--text-muted-light);
  margin: 0;
}

.faq-item.open .faq-answer { max-height: 300px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-more {
  color: var(--text-muted-light);
  font-size: 0.95rem;
  margin-top: var(--sp-sm);
}

/* ============================================================
   About narrative
   ============================================================ */
.about-body p { max-width: none; }

/* ============================================================
   Responsive (page-specific)
   ============================================================ */
@media (max-width: 900px) {
  .pain-points-layout,
  .service-detail-row {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
