﻿/* ============================================================
   Excel Signs Inc. - Pixel-Perfect Homepage CSS
   Reference: https://excel-signs-ca-home.thesigntech.chatgpt.site/
   ============================================================ */

:root {
  --ink: #0b1220;
  --navy: #111a2a;
  --blue: #1769ff;
  --red: #e4232c;
  --white: #fff;
  --mist: #f2f5f9;
  --muted: #5e6878;
  --line: #dfe5ed;
  --shadow: 0 24px 60px rgba(11, 18, 32, 0.14);
  --font-heading: 'Barlow Condensed', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--navy);
  color: #dfe8f5;
  font-size: 0.86rem;
  padding: 0.55rem 0;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar strong {
  color: #fff;
}

.topbar a {
  color: inherit;
}

.topbar a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ============================================================
   HEADER & NAVBAR
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

nav.main-nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: max-content;
}

.brand-logo {
  width: 250px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.92rem;
  font-weight: 700;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navlinks a {
  color: var(--ink);
}

.navlinks a:hover {
  color: var(--blue);
}

/* Common Buttons */
.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border: 2px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  cursor: pointer;
  border-radius: 0;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-action.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(228, 35, 44, 0.25);
}

.btn-action.primary:hover {
  background: #c81821;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(228, 35, 44, 0.35);
}

.btn-action.secondary {
  border-color: var(--ink);
  background: #fff;
  color: var(--ink);
}

.btn-action.secondary:hover {
  background: var(--ink);
  color: #fff;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
  padding: 0.4rem;
}

/* Mobile Offcanvas Menu */
.offcanvas-header {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 1.5rem;
}

.offcanvas-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-navlinks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-navlinks a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
}

.mobile-navlinks a:hover {
  color: var(--red);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #f7f9fc 0%, #fff 55%);
  padding: 64px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -110px;
  width: 52%;
  height: 180px;
  background: var(--blue);
  transform: skewY(-8deg);
  opacity: 0.08;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 3.4rem;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 4px;
  background: var(--red);
  display: inline-block;
}

h1 {
  font-size: clamp(4rem, 7vw, 7.2rem);
  letter-spacing: -0.035em;
  margin: 1rem 0 1.2rem;
  max-width: 760px;
}

h1 span {
  color: var(--red);
}

.hero-copy > p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 650px;
  margin: 0 0 1.8rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  min-height: 530px;
}

.hero-frame {
  position: absolute;
  inset: 0 0 24px 24px;
  background: var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 45%, rgba(11, 18, 32, 0.75));
  pointer-events: none;
}

.hero-label {
  position: absolute;
  z-index: 2;
  right: -18px;
  bottom: 0;
  background: var(--blue);
  color: #fff;
  padding: 1rem 1.3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.hero-corner {
  position: absolute;
  top: -15px;
  right: -14px;
  width: 96px;
  height: 96px;
  border-top: 14px solid var(--red);
  border-right: 14px solid var(--red);
  pointer-events: none;
}

/* ============================================================
   PROOFBAR
   ============================================================ */
.proofbar {
  background: var(--navy);
  color: #fff;
}

.proofbar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof {
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.proof:last-child {
  border-right: 0;
}

.proof b {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.proof i {
  font-style: normal;
  color: #69a0ff;
  font-weight: 900;
  font-size: 1.5rem;
  font-family: var(--font-heading);
}

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.3rem;
}

h2 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  letter-spacing: -0.025em;
}

.section-head p {
  max-width: 470px;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: var(--mist);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  background: #fff;
  padding: 2rem;
  min-height: 240px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: all 0.2s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.09);
  position: relative;
  z-index: 1;
}

.service-no {
  font-family: var(--font-heading);
  color: var(--blue);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

h3 {
  font-size: 2rem;
  margin: 1rem 0 0.8rem;
}

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

.more-services {
  margin-top: 1.4rem;
  padding: 1.2rem 1.4rem;
  background: #fff;
  border-left: 5px solid var(--red);
  font-weight: 700;
  color: #3e4958;
  box-shadow: 0 4px 12px rgba(11, 18, 32, 0.03);
}

/* ============================================================
   EQUIPMENT SECTION
   ============================================================ */
.equipment {
  background: #fff;
}

.equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.equipment-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 310px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.equipment-card:nth-child(2) {
  background: #182840;
}

.equipment-image {
  min-height: 310px;
  display: grid;
  place-items: center;
  background: #eef2f7;
  padding: 1rem;
  overflow: hidden;
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.equipment-card:hover .equipment-image img {
  transform: scale(1.04);
}

.equipment-copy {
  padding: 2rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.equipment-copy small {
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #78a8ff;
  text-transform: uppercase;
}

.equipment-copy h3 {
  font-size: 2.35rem;
  margin: 0.65rem 0;
  color: #fff;
}

.equipment-copy p {
  color: #c3cedd;
  margin: 0;
}

.work-strip {
  margin-top: 1.5rem;
  background: var(--mist);
  padding: 1rem;
  border: 1px solid var(--line);
}

.work-strip img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.work-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.4rem 0;
  font-weight: 800;
  font-size: 0.95rem;
}

/* ============================================================
   PROCESS / ABOUT SECTION
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.process-card {
  background: var(--navy);
  color: #fff;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.process-card::after {
  content: "EXCEL";
  position: absolute;
  right: -20px;
  bottom: -50px;
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--font-heading);
  font-size: 10rem;
  font-weight: 900;
  pointer-events: none;
  line-height: 1;
}

.step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.step:last-child {
  border-bottom: 0;
}

.step b {
  color: #6ea1ff;
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.step strong {
  display: block;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.step span {
  color: #b8c3d3;
  font-size: 0.92rem;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.5rem;
  margin: 1.7rem 0 2rem;
}

.check {
  font-weight: 700;
  display: flex;
  align-items: center;
}

.check::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 0.65rem;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  padding: 72px 0;
  background: linear-gradient(115deg, var(--blue), #0b4dd1);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -160px;
  width: 520px;
  height: 520px;
  border: 80px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cta h2 {
  max-width: 720px;
  color: #fff;
}

.cta p {
  margin: 0.8rem 0 0;
  color: #dce7ff;
  font-size: 1.05rem;
}

.cta .btn-action {
  background: #fff;
  color: var(--ink);
  min-width: 190px;
}

.cta .btn-action:hover {
  background: #f2f5f9;
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #080d17;
  color: #b8c3d3;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

footer h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

footer p {
  margin: 0.3rem 0;
}

footer a {
  color: #b8c3d3;
}

footer a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.4rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */
@media (max-width: 900px) {
  .navlinks {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid, .split {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 46px;
  }
  .hero-visual {
    min-height: 430px;
  }
  .proofbar .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .proof {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }
  .topbar .wrap {
    display: block;
    text-align: center;
  }
  .topbar span:last-child {
    display: none;
  }
  nav.main-nav {
    height: 72px;
  }
  .brand-logo {
    width: 205px;
    max-height: 56px;
  }
  h1 {
    font-size: 3.7rem;
  }
  .hero-visual {
    min-height: 330px;
  }
  .hero-frame {
    inset: 0 0 16px 0;
  }
  .hero-label {
    right: 0;
    font-size: 1rem;
  }
  .proofbar .wrap {
    grid-template-columns: 1fr;
  }
  .proof {
    padding: 1.2rem 0.8rem;
    border-right: 0;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service {
    min-height: unset;
  }
  .equipment-card {
    grid-template-columns: 1fr;
  }
  .equipment-image {
    min-height: 230px;
  }
  .work-strip img {
    height: 170px;
  }
  .work-caption {
    align-items: flex-start;
    flex-direction: column;
  }
  .split {
    gap: 2.5rem;
  }
  .process-card {
    padding: 1.6rem;
  }
  .checklist {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .copyright {
    flex-direction: column;
  }
  section {
    padding: 64px 0;
  }
}
