/* ============================================================
   The Digital PCS Store — digitalpcs.net
   Brand: navy #001642 · orange #F96905 · royal #0D4A9A · white
   ============================================================ */
:root {
  --navy: #001642;
  --orange: #F96905;
  --orange-dark: #d85800;
  --royal: #0D4A9A;
  --royal-light: #1a5fb8;
  --paper: #ffffff;
  --mist: #f2f6fb;
  --ink: #1c2b3a;
  --line: #dce6f0;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(0, 22, 66, .10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--royal); }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 2px 10px rgba(0, 22, 66, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 58px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 9px 13px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  white-space: nowrap;
}

.main-nav a:hover { background: var(--mist); color: var(--royal); }

.main-nav a.active { color: var(--orange); }

.main-nav a.nav-cta {
  background: var(--orange);
  color: #fff;
  margin-left: 8px;
}
.main-nav a.nav-cta:hover { background: var(--orange-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 7px 11px;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1;
}

/* ---------- Hero (brand-gradient, no stock imagery) ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #062a63 55%, var(--royal) 100%);
  color: #fff;
  overflow: hidden;
}

/* subtle diagonal swoosh accent echoing the logo */
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 480px;
  height: 480px;
  background: linear-gradient(135deg, rgba(249, 105, 5, .35), rgba(249, 105, 5, 0) 65%);
  transform: rotate(18deg);
  border-radius: 80px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 22px 72px;
  max-width: 1120px;
  margin: 0 auto;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  margin-bottom: 14px;
  max-width: 21ch;
}

.hero .tagline {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: clamp(.85rem, 1.6vw, 1.05rem);
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 56ch;
  color: #dbe6f5;
  margin-bottom: 28px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: background .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }

.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .65); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--royal); }

/* page heroes (interior) */
.hero.hero-page .hero-inner { padding: 48px 22px 54px; }

.hero .crumb {
  font-size: .85rem;
  color: #9db5d8;
  margin-bottom: 10px;
}
.hero .crumb a { color: #9db5d8; text-decoration: none; }
.hero .crumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.tint { background: var(--mist); }

.section-head { max-width: 62ch; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.section-head p { color: #44566b; }

.kicker {
  display: inline-block;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 8px;
}

/* ---------- Service grid (home) ---------- */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--royal), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex: none;
}
.card .icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.8; }

.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: #44566b; font-size: .96rem; flex: 1; }

.card .card-link {
  margin-top: 16px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
}
.card .card-link:hover { color: var(--orange-dark); text-decoration: underline; }

.card.flagship { border-top: 4px solid var(--orange); }

/* ---------- Feature rows / checklists ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
}

.checklist { list-style: none; }
.checklist li {
  padding: 9px 0 9px 36px;
  position: relative;
  color: #2b3c50;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/15px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/15px no-repeat;
}
.checklist li strong { color: var(--navy); }

/* ---------- Photo placeholder slots (real store photos swap in later) ---------- */
.photo-slot {
  border-radius: var(--radius);
  min-height: 300px;
  background: linear-gradient(150deg, var(--royal) 0%, var(--navy) 80%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.photo-slot::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -100px;
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(249, 105, 5, .4), rgba(249, 105, 5, 0) 70%);
  transform: rotate(-15deg);
  border-radius: 60px;
}
.photo-slot svg { width: 84px; height: 84px; stroke: rgba(255, 255, 255, .85); fill: none; stroke-width: 1.4; position: relative; z-index: 1; }
/* real store photos: no orange swoosh overlay, taller frame */
.photo-slot--filled { min-height: 360px; }
.photo-slot--filled::after { content: none; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: #44566b; font-size: .95rem; }

/* ---------- Callout band ---------- */
.band {
  background: linear-gradient(120deg, var(--navy), var(--royal));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, rgba(249, 105, 5, .45), rgba(249, 105, 5, 0) 65%);
  transform: rotate(20deg);
  border-radius: 50px;
}
.band h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: 6px; }
.band p { color: #d6e2f3; max-width: 52ch; }
.band .btn { position: relative; z-index: 1; }

/* ---------- Notice / info boxes ---------- */
.note {
  background: var(--mist);
  border-left: 4px solid var(--royal);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  color: #2b3c50;
  font-size: .95rem;
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.info-card h3 { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 24px; height: 24px; stroke: var(--orange); fill: none; stroke-width: 2; flex: none; }
.info-card p { color: #2b3c50; }
.info-card .big { font-size: 1.45rem; font-weight: 800; color: var(--navy); }
.info-card a { font-weight: 600; }

table.hours { width: 100%; border-collapse: collapse; }
table.hours td { padding: 7px 4px; border-bottom: 1px solid var(--line); color: #2b3c50; }
table.hours td:last-child { text-align: right; font-weight: 600; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c3d2e8;
  margin-top: 64px;
  border-top: 4px solid var(--orange);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 22px 30px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c3d2e8; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer .foot-logo { background: #fff; border-radius: 10px; padding: 10px 14px; display: inline-block; margin-bottom: 14px; }
.site-footer .foot-logo img { height: 52px; width: auto; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
  padding: 18px 22px;
  font-size: .85rem;
  color: #8fa6c6;
}

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 12px 24px rgba(0, 22, 66, .18);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 14px 16px; }
  .main-nav a { padding: 13px 12px; border-radius: 8px; font-size: 1.02rem; }
  .main-nav a.nav-cta { margin: 8px 0 0; text-align: center; }

  .split { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .brand img { height: 48px; }
  .band { padding: 30px 24px; }
}
