/* Computer Fix Plus — modern repair shop site */

:root {
  --ink: #0b1f33;
  --ink-soft: #1a3348;
  --steel: #3d5a6e;
  --mist: #e8f0f4;
  --fog: #f3f7f9;
  --paper: #fafcfd;
  --accent: #0f9d8a;
  --accent-deep: #0a7a6b;
  --accent-glow: rgba(15, 157, 138, 0.22);
  --warn: #e8a317;
  --line: rgba(11, 31, 51, 0.1);
  --shadow: 0 18px 50px rgba(11, 31, 51, 0.12);
  --radius: 1.25rem;
  --font-display: "Bungee", Impact, sans-serif;
  --font-body: "Manrope", sans-serif;
  --nav-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);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(15, 157, 138, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(11, 31, 51, 0.08), transparent 50%),
    linear-gradient(180deg, var(--fog) 0%, var(--paper) 40%, var(--mist) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Top bar */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  padding: 0.55rem 0;
}

.topbar-link {
  color: #fff;
  font-weight: 600;
}

.topbar-link:hover {
  color: #9eefe3;
}

.topbar-hours {
  opacity: 0.75;
}

/* Nav */
.site-nav {
  background: rgba(250, 252, 253, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  min-height: var(--nav-h);
  transition: box-shadow 0.3s var(--ease);
}

.site-nav.scrolled {
  box-shadow: 0 10px 30px rgba(11, 31, 51, 0.08);
}

.navbar-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  color: var(--ink) !important;
  line-height: 1;
}

.brand-logo {
  display: block;
  height: 40px !important;
  width: auto !important;
  max-width: 170px !important;
  max-height: 40px !important;
  object-fit: contain;
  border-radius: 0.35rem;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--steel);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-left: 0.15rem;
}

.site-nav .nav-link {
  font-weight: 600;
  color: var(--ink-soft) !important;
  padding: 0.55rem 0.85rem !important;
  position: relative;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  transform: scaleX(1);
}

.site-nav .nav-link.active {
  color: var(--ink) !important;
}

.navbar-toggler {
  border: 1px solid var(--line);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(11, 31, 51, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn-accent {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-deep);
  --bs-btn-hover-border-color: var(--accent-deep);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--accent-deep);
  --bs-btn-active-border-color: var(--accent-deep);
  --bs-btn-active-color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  box-shadow: 0 10px 24px var(--accent-glow);
}

.btn-ghost {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.45);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
}

.btn-ink {
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-bg: var(--ink-soft);
  --bs-btn-hover-border-color: var(--ink-soft);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
}

/* Hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: calc(100vh - 6.5rem);
  min-height: calc(100svh - 6.5rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 20, 34, 0.88) 0%, rgba(8, 20, 34, 0.55) 48%, rgba(8, 20, 34, 0.35) 100%),
    linear-gradient(0deg, rgba(8, 20, 34, 0.75) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  max-width: 40rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-line {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 28rem;
  margin: 0 0 1.75rem;
  animation: rise 0.9s 0.12s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.22s var(--ease) both;
}

@keyframes hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.65rem;
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

.section-head p,
.page-hero p {
  color: var(--steel);
  margin: 0;
  font-size: 1.05rem;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
}

.page-hero .lead-tight {
  max-width: 34rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Service cards — Arial text, photo bg, 3-up */
.services-section .service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.services-section .service-link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 2rem 1.85rem;
  border-radius: calc(var(--radius) + 0.15rem);
  border: 1px solid transparent;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(180deg, rgba(8, 20, 34, 0.35) 0%, rgba(8, 20, 34, 0.82) 55%, rgba(8, 20, 34, 0.92) 100%),
    var(--service-bg) center / cover no-repeat;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.services-section .service-link:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 157, 138, 0.55);
  color: #fff;
  box-shadow: var(--shadow);
}

.services-section .service-link i {
  font-size: 1.85rem;
  color: #9eefe3;
  margin-bottom: 1rem;
  display: block;
}

.services-section .service-link h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 0.55rem;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.services-section .service-link p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .services-section .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .services-section .service-grid {
    grid-template-columns: 1fr;
  }

  .services-section .service-link {
    min-height: 240px;
  }
}

/* Split band */
.split-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split-band .band-visual {
  min-height: 360px;
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  position: relative;
}

.split-band .band-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band-copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 1rem;
}

.band-copy p {
  color: var(--steel);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

/* Areas */
.area-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.area-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.area-chip:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--ink);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-panel {
  background: var(--ink);
  color: #fff;
  border-radius: calc(var(--radius) + 0.15rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-panel h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.contact-panel p,
.contact-panel a {
  color: rgba(255, 255, 255, 0.82);
}

.contact-panel a:hover {
  color: #9eefe3;
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-meta li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.contact-meta i {
  color: var(--accent);
  margin-top: 0.2rem;
}

.form-shell {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-shell .form-label {
  font-weight: 700;
  font-size: 0.9rem;
}

.form-shell .form-control,
.form-shell .form-select {
  border-radius: 0.8rem;
  border-color: var(--line);
  padding: 0.75rem 0.95rem;
  background: #fff;
}

.form-shell .form-control:focus,
.form-shell .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem var(--accent-glow);
}

.reserve-block {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(15, 157, 138, 0.08);
  border: 1px solid rgba(15, 157, 138, 0.2);
}

.reserve-hint {
  margin: 0 0 0.85rem;
  color: var(--steel);
  font-size: 0.92rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.alert-soft {
  border: none;
  border-radius: 0.9rem;
  font-weight: 600;
}

.alert-soft.success {
  background: rgba(15, 157, 138, 0.12);
  color: var(--accent-deep);
}

.alert-soft.error {
  background: rgba(200, 60, 60, 0.1);
  color: #9b1c1c;
}

/* Detail service blocks */
.service-detail {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.service-detail .icon-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.service-detail .icon-row i {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  background: var(--accent-glow);
  color: var(--accent-deep);
}

/* CTA strip */
.cta-strip {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.35rem);
  background:
    linear-gradient(120deg, rgba(11, 31, 51, 0.92), rgba(15, 157, 138, 0.78)),
    url("https://images.unsplash.com/photo-1597872200969-2b65d56bd16b?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem);
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  max-width: 18ch;
}

.cta-strip p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.35rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
  color: #fff !important;
}

.footer-logo .brand-tagline {
  color: rgba(255, 255, 255, 0.55);
}

.footer-logo .brand-logo {
  height: 44px !important;
  max-width: 180px !important;
  max-height: 44px !important;
}

.footer-brand p {
  max-width: 28rem;
  margin: 0;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: #9eefe3;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.footer-social a {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.call-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 12px 30px var(--accent-glow);
  z-index: 1040;
}

.call-fab:hover {
  color: #fff;
  background: var(--accent-deep);
}

.map-embed {
  border: 0;
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius);
  filter: grayscale(0.15) contrast(1.05);
}

@media (max-width: 991.98px) {
  .split-band,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-brand {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .reveal,
  .hero-brand,
  .hero-line,
  .hero-actions {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
