/* =========================================================
   Shiba Tech Repair — custom design system
   ========================================================= */

:root {
  /* Brand palette (from the Shiba mascot logo) */
  --navy-900: #0a0f1c;
  --navy-850: #0d1424;
  --navy-800: #111a2e;
  --navy-700: #16213a;
  --surface:  #131c30;
  --surface-2:#182444;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --orange: #f26a21;      /* shiba fur / primary accent */
  --orange-600: #d9550f;
  --amber: #ffb703;       /* highlight */
  --red: #e6453a;         /* logo red accents */

  --text: #eaf0fa;
  --muted: #93a1bd;
  --muted-2: #6b7a99;

  --grad-accent: linear-gradient(135deg, #ff8a3d 0%, #f26a21 45%, #e6453a 100%);
  --grad-hero: radial-gradient(1200px 600px at 15% -10%, rgba(242,106,33,.18), transparent 60%),
               radial-gradient(900px 500px at 100% 0%, rgba(255,183,3,.10), transparent 55%),
               linear-gradient(180deg, var(--navy-900), var(--navy-850));

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  --shadow-glow: 0 10px 40px -8px rgba(242,106,33,.45);

  --ff-head: "Space Grotesk", "Poppins", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --maxw: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--navy-850);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--ff-head); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.grad-text { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.center .eyebrow::before { display: none; }

.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 620px; font-size: 1.05rem; }
.center .section-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-family: var(--ff-head);
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .2s ease;
  white-space: nowrap; font-size: .98rem;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 46px -8px rgba(242,106,33,.6); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease, padding .3s ease;
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(10,15,28,.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(0,0,0,.9);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--ff-head); font-weight: 700; }
/* The logo is a transparent emblem — no card framing, just the mark itself. */
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand__name { font-size: 1.12rem; line-height: 1; }
.brand__name span { display: block; font-size: .64rem; letter-spacing: .28em; color: var(--orange); font-weight: 600; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 15px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: .96rem;
  transition: color .2s ease, background .2s ease;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav__links a.active { color: var(--text); }
.nav__links a.active::after {
  content: ""; display: block; height: 2px; width: 18px; margin: 3px auto 0;
  background: var(--grad-accent); border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: .95rem; }
.nav__phone svg { color: var(--orange); }

.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; color: var(--text); }
.nav__toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 90px; background: var(--grad-hero); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: radial-gradient(700px 500px at 20% 20%, #000, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); margin-bottom: 22px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; }
.hero__badge { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; }
.hero__badge svg { color: var(--orange); flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  background: rgba(242,106,33,.12); border: 1px solid rgba(242,106,33,.3); color: #ffd0ad;
  font-size: .82rem; font-weight: 600; margin-bottom: 26px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,183,3,.18); }

/* Hero visual */
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__glow { position: absolute; width: 120%; height: 120%; background: var(--grad-accent); filter: blur(90px); opacity: .28; border-radius: 50%; }
/* The emblem is already a self-contained badge, so it stands alone here
   rather than sitting inside a second card frame. */
.hero__logo {
  position: relative; width: min(400px, 82%); aspect-ratio: 1;
  display: grid; place-items: center; animation: float 6s ease-in-out infinite;
}
.hero__logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)); }
.hero__chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: rgba(19,28,48,.9); backdrop-filter: blur(8px); border: 1px solid var(--line-strong);
  border-radius: 14px; box-shadow: var(--shadow); font-size: .86rem; font-weight: 600;
}
.hero__chip svg { color: var(--orange); }
.hero__chip--1 { top: 8%; left: -4%; animation: float 5s ease-in-out infinite; }
.hero__chip--2 { bottom: 10%; right: -6%; animation: float 7s ease-in-out infinite .5s; }
.hero__chip small { display: block; color: var(--muted); font-weight: 500; font-size: .74rem; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Marquee / trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: rgba(255,255,255,.02); }
.trust__inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; padding: 26px 0; }
.trust__item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-family: var(--ff-head); }
.trust__item svg { color: var(--orange); }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--surface), var(--navy-800));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(242,106,33,.12); border: 1px solid rgba(242,106,33,.25); color: var(--orange);
}
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--orange); font-weight: 600; font-size: .9rem; }
.card__link svg { transition: transform .2s ease; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 26px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.stat__num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); }
.stat__label { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step__n {
  counter-increment: step; font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--grad-accent); color: #fff;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { display: grid; gap: 18px; margin-top: 26px; }
.feature { display: flex; gap: 15px; }
.feature__ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(242,106,33,.12); border: 1px solid rgba(242,106,33,.25); color: var(--orange); }
.feature h4 { font-size: 1.05rem; margin-bottom: 3px; }
.feature p { color: var(--muted); font-size: .93rem; }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(242,106,33,.5); box-shadow: var(--shadow-glow); }
.price-card__tag { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); background: rgba(242,106,33,.12); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-card .price { font-family: var(--ff-head); font-weight: 700; font-size: 2.4rem; margin: 8px 0 4px; }
.price-card .price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card ul { display: grid; gap: 11px; margin: 20px 0 26px; }
.price-card li { display: flex; gap: 10px; color: var(--muted); font-size: .95rem; align-items: flex-start; }
.price-card li svg { color: var(--orange); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; }

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; gap: 16px; }
.quote__stars { color: var(--amber); display: flex; gap: 3px; }
.quote p { font-size: 1rem; color: var(--text); }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; background: var(--grad-accent); color: #fff; }
.quote__by strong { display: block; font-size: .95rem; }
.quote__by small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); padding: 20px 22px; font-family: var(--ff-head); font-weight: 600; font-size: 1.03rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q svg { flex: none; color: var(--orange); transition: transform .3s ease; }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 68px); background: var(--grad-accent); text-align: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn--primary { background: #fff; color: var(--orange-600); box-shadow: 0 14px 40px -10px rgba(0,0,0,.5); }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.15); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.info-card { display: flex; gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 16px; }
.info-card__ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(242,106,33,.12); border: 1px solid rgba(242,106,33,.25); color: var(--orange); }
.info-card h4 { font-size: 1rem; margin-bottom: 3px; }
.info-card p, .info-card a { color: var(--muted); font-size: .95rem; }
.info-card a:hover { color: var(--orange); }

.form { background: linear-gradient(180deg, var(--surface), var(--navy-800)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); background: var(--navy-900);
  border: 1px solid var(--line-strong); color: var(--text); font-family: inherit; font-size: .97rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,106,33,.2); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2393a1bd' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-note { color: var(--muted-2); font-size: .82rem; margin-top: 14px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .93rem; display: none; }
.form-status.ok { display: block; background: rgba(46,204,113,.12); border: 1px solid rgba(46,204,113,.35); color: #7ee2a8; }
.form-status.err { display: block; background: rgba(230,69,58,.12); border: 1px solid rgba(230,69,58,.35); color: #ff9a91; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 150px 0 60px; background: var(--grad-hero); position: relative; overflow: hidden; text-align: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(600px 400px at 50% 0%, #000, transparent 70%); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; position: relative; z-index: 1; }
.page-hero p { color: var(--muted); max-width: 560px; margin-inline: auto; position: relative; z-index: 1; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; color: var(--muted-2); font-size: .88rem; margin-bottom: 18px; position: relative; z-index: 1; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); margin: 18px 0; max-width: 300px; font-size: .95rem; }
.footer h4 { font-size: 1rem; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer a { color: var(--muted); font-size: .95rem; transition: color .2s ease; }
.footer a:hover { color: var(--orange); }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); transition: .2s; }
.socials a:hover { color: #fff; background: var(--grad-accent); border-color: transparent; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted-2); font-size: .88rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; margin-bottom: 10px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 70px; left: 16px; right: 16px; padding: 16px;
    background: rgba(13,20,36,.97); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav.open .nav__links a { padding: 12px 14px; }
  .grid--3, .grid--4, .steps, .stats, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__chip { display: none; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-band .btn { width: auto; }
}
@media (max-width: 420px) { .hero__cta .btn, .cta-band .btn { width: 100%; } }
