/* NeoTech Computers Repair — brand from visiting card */
:root {
  --neo: #e34234;
  --neo-deep: #c73528;
  --ink: #2a2a2a;
  --ink-soft: #4a4a4a;
  --mute: #6b6b6b;
  --paper: #f7f5f2;
  --paper-2: #efebe6;
  --white: #ffffff;
  --line: rgba(42, 42, 42, 0.12);
  --shadow: 0 18px 50px rgba(42, 42, 42, 0.08);
  --font-display: "Outfit", sans-serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Source Sans 3", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(227, 66, 52, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(42, 42, 42, 0.04), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 40%, var(--paper-2) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--neo);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--neo-deep);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

/* —— Brand —— */
.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1;
  margin: 0;
}

.neo {
  color: var(--neo);
}

.tech {
  color: var(--ink);
}

.script-name {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand:hover .neo {
  color: var(--neo-deep);
}

.brand-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 2px;
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--neo);
  transform-origin: left;
  animation: grow-line 0.45s var(--ease) both;
}

.site-nav .nav-cta {
  background: var(--neo);
  color: var(--white) !important;
  margin-left: 0.35rem;
  padding: 0.5rem 1rem;
}

.site-nav .nav-cta:hover {
  background: var(--neo-deep);
}

.site-nav .nav-cta.active::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* —— Layout —— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neo);
  margin: 0 0 0.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--ink);
}

.section-lead {
  max-width: 38rem;
  color: var(--ink-soft);
  margin: 0 0 2rem;
  font-size: 1.125rem;
}

.accent {
  color: var(--neo);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(247, 245, 242, 0.96) 0%, rgba(247, 245, 242, 0.78) 38%, rgba(42, 42, 42, 0.45) 100%),
    url("../assets/hero-motherboard.jpg") right center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 42, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 42, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
  width: 100%;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neo);
  margin: 0 0 1.25rem;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.1s forwards;
}

.hero .script-name {
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.2s forwards;
}

.hero-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.28s forwards;
}

.hero-sub {
  max-width: 28rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 2rem;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.38s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.48s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--neo);
  color: var(--white);
  border-color: var(--neo);
}

.btn-primary:hover {
  background: var(--neo-deep);
  border-color: var(--neo-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes grow-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* —— Feature strip —— */
.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  padding: 1.75rem 0;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.trust-list span {
  font-size: 0.9rem;
  color: var(--mute);
}

/* —— Services grid —— */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.service-item h3 a {
  color: inherit;
  text-decoration: none;
}

.service-item h3 a:hover {
  color: var(--neo);
}

.service-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.service-item::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--neo);
  margin-bottom: 1rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.service-grid.reveal.visible .service-item::before,
.service-item.reveal.visible::before {
  transform: scaleX(1);
}

/* —— About / split —— */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.split-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(227, 66, 52, 0.12), transparent 50%),
    linear-gradient(45deg, var(--paper-2), var(--white));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.split-visual img {
  max-height: none;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: none;
}

.split-copy p {
  color: var(--ink-soft);
}

.people {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.people li {
  padding-left: 1rem;
  border-left: 3px solid var(--neo);
}

.people strong {
  font-family: var(--font-display);
  display: block;
  font-size: 1.05rem;
}

.people a {
  text-decoration: none;
  font-weight: 600;
}

/* —— CTA band —— */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 50%, rgba(227, 66, 52, 0.35), transparent 45%),
    linear-gradient(90deg, transparent 60%, rgba(255, 255, 255, 0.03) 61%, transparent 62%);
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
}

.cta-band h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
  margin: 0 0 1.75rem;
}

.cta-band .btn-primary {
  margin-right: 0.75rem;
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.cta-band .btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(227, 66, 52, 0.05), transparent 70%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--mute);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--mute);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--neo);
}

/* —— Content —— */
.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 1.2rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.side-panel {
  padding: 1.75rem 0 0;
  border-top: 3px solid var(--neo);
}

.side-panel h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.side-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-panel li {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.side-panel a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.side-panel a:hover {
  color: var(--neo);
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.contact-block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.contact-block p,
.contact-block a {
  color: var(--ink-soft);
}

.contact-block a {
  font-weight: 600;
  color: var(--neo);
  text-decoration: none;
  font-size: 1.15rem;
}

.contact-block a:hover {
  text-decoration: underline;
}

.map-note {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.map-note p {
  margin: 0;
  color: var(--ink-soft);
}

.map-embed {
  margin-top: 1.25rem;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}

.map-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 450px;
  border: 0;
}

/* —— Forms —— */
.form {
  max-width: 36rem;
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--neo);
  box-shadow: 0 0 0 3px rgba(227, 66, 52, 0.15);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-msg {
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--neo);
  background: rgba(227, 66, 52, 0.08);
  color: var(--ink);
}

.form-msg.error {
  border-color: var(--ink);
  background: rgba(42, 42, 42, 0.06);
}

/* —— SEO page —— */
.seo-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.seo-related h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.seo-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.seo-related a {
  font-weight: 600;
  text-decoration: none;
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 0;
  margin-top: 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr 1.4fr;
  gap: 2.5rem;
}

.footer-brand .brand-mark {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand .brand-mark .tech,
.footer-brand .tech {
  color: rgba(255, 255, 255, 0.92);
}

.footer-brand .script-name {
  font-size: 1.85rem;
  color: var(--white);
  margin: 0.35rem 0 0.5rem;
}

.footer-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.75rem;
}

.footer-specialist {
  color: var(--neo);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 1.15rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--neo);
}

.footer-contact strong {
  color: var(--white);
}

.footer-seo li {
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 1.25rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem;
    gap: 0.15rem;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(247, 245, 242, 0.97) 0%, rgba(247, 245, 242, 0.88) 50%, rgba(42, 42, 42, 0.5) 100%),
      url("../assets/hero-motherboard.jpg") center top / cover no-repeat;
  }

  .trust-list {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .service-grid,
  .split,
  .content-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.25rem 0;
  }
}
