/* ============================================================
   Digital Appliance Services Inc - Landing Page
   Brand colours: Charcoal #232323 | Lime #89D15A | Mist #EFEFEF | Steel Blue #004C7F
   ============================================================ */

:root {
  --charcoal: #232323;
  --lime: #89d15a;
  --lime-dark: #6fb544;
  --mist: #efefef;
  --steel: #004c7f;
  --steel-dark: #003a61;
  --steel-light: #1a6398;
  --white: #ffffff;
  --text: #232323;
  --text-muted: #5a5a5a;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --maxw: 1140px;
  --call-bar-h: 68px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  /* room for the fixed mobile call bar */
  padding-bottom: var(--call-bar-h);
}

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

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

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

h1, h2, h3 { line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }

.display {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 14px;
}

.section { padding: 88px 0; }
.section-mist { background: var(--mist); }
.section-charcoal { background: var(--charcoal); color: var(--white); }
.section-steel { background: var(--steel); color: var(--white); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section-charcoal .section-head p,
.section-steel .section-head p { color: rgba(255, 255, 255, 0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  letter-spacing: 0.01em;
}
.btn:active { transform: translateY(1px); }

.btn-call {
  background: var(--lime);
  color: var(--charcoal);
  box-shadow: 0 8px 24px rgba(137, 209, 90, 0.4);
}
.btn-call:hover { background: var(--lime-dark); transform: translateY(-2px); }

.btn-call-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-call-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-lg { font-size: 1.2rem; padding: 20px 40px; }
.btn svg { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
}
.header-logo img { height: 38px; width: auto; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--lime);
  color: var(--charcoal);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 11px 22px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.header-cta:hover { background: var(--lime-dark); transform: translateY(-1px); }
.header-cta svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--steel) 0%, var(--steel-dark) 65%, #00253d 100%);
  color: var(--white);
  overflow: hidden;
  padding: 88px 0 96px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: url('submark.png') center/contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; }
.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--lime); }
.hero-sub {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 34px;
  max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-phone {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-trust-item { display: flex; align-items: center; gap: 9px; font-size: 0.95rem; }
.hero-trust-item svg { width: 22px; height: 22px; color: var(--lime); flex-shrink: 0; }

/* ---------- Stat bar ---------- */
.statbar { background: var(--charcoal); }
.statbar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.stat { text-align: center; color: var(--white); }
.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--lime);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(137, 209, 90, 0.5);
}
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(0, 76, 127, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; color: var(--steel); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 44px;
}
.why-item { display: flex; gap: 16px; }
.why-check {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-check svg { width: 20px; height: 20px; color: var(--charcoal); }
.why-item h3 { font-size: 1.12rem; margin-bottom: 4px; }
.why-item p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 36px 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  position: relative;
}
.step-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { color: rgba(255, 255, 255, 0.75); font-size: 0.97rem; }

/* ---------- Service area ---------- */
.area-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-top: 22px;
}
.area-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
}
.area-list svg { width: 16px; height: 16px; color: var(--lime-dark); flex-shrink: 0; }
.area-card {
  background: var(--steel);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
}
.area-card .submark { width: 90px; margin: 0 auto 20px; }
.area-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.area-card p { color: rgba(255, 255, 255, 0.8); margin-bottom: 24px; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.stars { color: var(--lime-dark); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { font-size: 1rem; margin-bottom: 18px; }
.review-author { font-weight: 600; font-size: 0.95rem; }
.review-meta { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 16px; }
.final-cta p { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px; }
.final-phone {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--lime);
  display: inline-block;
  margin-bottom: 26px;
  letter-spacing: 0.02em;
}
.final-hours { margin-top: 22px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255, 255, 255, 0.7); padding: 56px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col p, .footer-col a { font-size: 0.95rem; line-height: 2; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Sticky mobile call bar ---------- */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--call-bar-h);
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 200;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
  color: var(--charcoal);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}
.call-bar svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid, .reviews-grid, .steps { grid-template-columns: 1fr 1fr; }
  .statbar .container { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .area-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 72px; }
  .container { padding: 0 18px; }
  .header-cta span { display: none; }
  .header-cta { padding: 11px 14px; }
  .services-grid, .reviews-grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 14px 22px; }
  .area-list { grid-template-columns: 1fr; }
}

/* hide the always-on call bar once the user is on a wide screen where header CTA is obvious */
@media (min-width: 901px) {
  .call-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
