/* =========================================================
   FixMate — Landing page styles
   Brand: charcoal (#1f1f1f) + signature red (#e63946) + white
   ========================================================= */

:root {
  --c-ink: #1f1f1f;
  --c-ink-2: #2a2a2a;
  --c-muted: #6b7280;
  --c-line: #e8e8ec;
  --c-bg: #ffffff;
  --c-bg-soft: #f7f7f9;
  --c-red: #e63946;
  --c-red-dark: #c82a36;
  --c-red-soft: #fdecee;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.04), 0 1px 3px rgba(15, 15, 15, 0.06);
  --shadow: 0 8px 24px rgba(15, 15, 15, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 15, 15, 0.18);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--sm { padding: 9px 14px; font-size: 13.5px; }

.btn--primary {
  background: var(--c-red);
  color: #fff;
  box-shadow: 0 8px 18px rgba(230, 57, 70, 0.28);
}
.btn--primary:hover { background: var(--c-red-dark); box-shadow: 0 12px 22px rgba(230, 57, 70, 0.36); }

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn--ghost:hover { border-color: var(--c-ink); background: #fff; }

/* ===== Eyebrow / section headings ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
  background: var(--c-red-soft);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { margin-bottom: 16px; }

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.section-title--light { color: #fff; }

.section-lede {
  font-size: 17px;
  color: var(--c-muted);
  margin: 0;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.brand__tag {
  font-size: 11.5px;
  color: var(--c-muted);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-ink-2);
  position: relative;
}
.nav__links a:hover { color: var(--c-red); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: inline-flex;
  align-items: center;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 3px;
}
.lang__btn {
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 6px 11px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang__btn.is-active {
  background: var(--c-ink);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background:
    linear-gradient(180deg, #f3f1ee 0%, #ece9e4 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* coloured glows */
    radial-gradient(900px 380px at 95% -10%, rgba(230, 57, 70, 0.14), transparent 70%),
    radial-gradient(700px 320px at -10% 100%, rgba(31, 31, 31, 0.10), transparent 70%),
    /* subtle dot-grid pattern */
    radial-gradient(circle at 1px 1px, rgba(31, 31, 31, 0.10) 1px, transparent 0);
  background-size: auto, auto, 22px 22px;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero__copy { max-width: 600px; }

.hero__title {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 18px 0 22px;
}
.hero__title span { display: block; }
.hero__title-accent {
  color: var(--c-red);
  position: relative;
}
.hero__lede {
  font-size: 18px;
  color: var(--c-muted);
  margin: 0 0 30px;
  max-width: 560px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 26px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-ink-2);
  font-weight: 500;
}
.hero__trust svg { color: var(--c-red); }

/* Hero visual — actual business card image, rounded with shadow */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}
.hero__card {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 60px -15px rgba(15, 15, 15, 0.45),
    0 12px 24px -8px rgba(15, 15, 15, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transform: rotate(-3deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
  background: var(--c-ink);
}
.hero__card:hover {
  transform: rotate(-1deg) translateY(-6px) scale(1.02);
  box-shadow:
    0 40px 80px -16px rgba(15, 15, 15, 0.55),
    0 16px 30px -10px rgba(230, 57, 70, 0.30),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}
.hero__card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* Decorative floating accents behind the card */
.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero__visual::before {
  width: 280px; height: 280px;
  background: radial-gradient(circle at 30% 30%, rgba(230, 57, 70, 0.22), transparent 70%);
  top: -20px; right: -10px;
}
.hero__visual::after {
  width: 200px; height: 200px;
  background: radial-gradient(circle at 50% 50%, rgba(31, 31, 31, 0.14), transparent 70%);
  bottom: 10px; left: 10px;
}
.hero__card { position: relative; z-index: 1; }

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.service:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 57, 70, 0.35);
  box-shadow: var(--shadow);
}
.service__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-red-soft);
  color: var(--c-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.service p {
  font-size: 15px;
  color: var(--c-muted);
  margin: 0;
}

.service--accent {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}
.service--accent h3 { color: #fff; }
.service--accent p { color: rgba(255,255,255,0.72); }
.service__icon--inverted {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}
.service__link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--c-red);
}
.service--accent .service__link { color: #ff6b78; }
.service__link:hover { color: #fff; }

/* ===== CONTACT ===== */
.contact {
  position: relative;
  padding: 100px 0;
  background: var(--c-ink);
  color: #fff;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 280px at 100% 0%, rgba(230, 57, 70, 0.20), transparent 70%),
    radial-gradient(500px 250px at 0% 100%, rgba(230, 57, 70, 0.08), transparent 70%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.contact__copy { max-width: 520px; }
.contact__copy .eyebrow { margin-bottom: 16px; }
.contact__lede {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  margin: 14px 0 0;
}
.contact__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(230, 57, 70, 0.18);
  border: 1px solid rgba(230, 57, 70, 0.45);
  border-radius: 999px;
}
.contact__location svg { color: var(--c-red); }

.contact__cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.contact__card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(230, 57, 70, 0.5);
  transform: translateY(-2px);
}
.contact__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.contact__card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact__card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}
.contact__card-value {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ===== FOOTER ===== */
.footer {
  padding: 28px 0;
  background: #141414;
  color: rgba(255, 255, 255, 0.7);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.footer__brand div { display: flex; flex-direction: column; line-height: 1.3; }
.footer__brand strong { color: #fff; font-weight: 700; }
.footer__brand span { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }
.footer__meta {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}
.footer__copy { color: rgba(255, 255, 255, 0.7); }
.footer__credit { color: rgba(255, 255, 255, 0.55); font-size: 12.5px; }
.footer__credit a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
  transition: color .2s ease, border-color .2s ease;
}
.footer__credit a:hover { color: var(--c-red); border-color: var(--c-red); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { min-height: 320px; order: -1; }
  .hero__card { transform: rotate(-2deg); max-width: 320px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .nav__links { display: none; }
}

@media (max-width: 620px) {
  .hero { padding: 56px 0 72px; }
  .services { padding: 72px 0; }
  .contact { padding: 72px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .nav__inner { gap: 12px; height: 64px; }
  .nav .btn--sm span { display: none; }
  .nav .btn--sm { padding: 9px; }
  .brand__tag { display: none; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer__meta { text-align: left; }
}

/* ===== A11Y / motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 3px solid var(--c-red);
  outline-offset: 3px;
  border-radius: 4px;
}
