/* ---------------------------------------------
   Captech — tokens
--------------------------------------------- */
:root {
  --ink: #17161a;
  --muted: #6b6a70;
  --paper: #faf9f7;
  --panel: #ffffff;
  --red: #c8102e;
  --red-dark: #970c22;
  --focus: #1b6cf2;

  --font-display: "Baloo 2", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
}

/* ---------------------------------------------
   Reset & base
--------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  position: relative;
  margin: 0;
  background:
    radial-gradient(120% 60% at 50% 0%, #ffffff 0%, var(--paper) 60%),
    linear-gradient(180deg, var(--paper) 0%, #f2f0ec 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------------------------------------------
   Page-wide watermark
--------------------------------------------- */
.page-mark {
  position: absolute;
  top: -4%;
  right: -6%;
  width: 30vw;
  max-width: 380px;
  height: auto;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

/* ---------------------------------------------
   Header
--------------------------------------------- */
.site-header { position: relative; z-index: 2; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
}

.brand img { height: 42px; width: auto; }

.header-call {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  white-space: nowrap;
}
.header-call:hover { color: var(--red); }

@media (max-width: 420px) {
  .brand img { height: 34px; }
  .header-call { font-size: 0.85rem; }
}

/* ---------------------------------------------
   Hero
--------------------------------------------- */
.hero { position: relative; z-index: 1; padding: 88px 0 72px; }

.tagline {
  font-weight: 700;
  font-size: clamp(2.8rem, 7.5vw, 5.6rem);
  line-height: 1.03;
  margin-bottom: 44px;
}

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 17px 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(200, 16, 46, 0.45);
}
.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-secondary { border-color: #d8d6d2; color: var(--ink); background: var(--panel); }
.btn-secondary:hover { border-color: var(--red); color: var(--red); }

/* ---------------------------------------------
   Services
--------------------------------------------- */
.services { position: relative; z-index: 1; padding: 40px 0 40px; }

.service {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 28px;
  align-items: start;
  padding: 44px 0;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 10px 24px -12px rgba(23, 22, 26, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon { width: 28px; height: 28px; color: var(--red); }

.service h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 12px; }

.service li {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 8px;
}
.service li:last-child { margin-bottom: 0; }

.service .detail { opacity: 0.8; font-size: 0.92em; }

@media (max-width: 560px) {
  .service { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
}

/* ---------------------------------------------
   Contact
--------------------------------------------- */
.contact { position: relative; z-index: 1; padding: 40px 0 96px; }

.contact-inner {
  background: var(--panel);
  border-radius: 20px;
  box-shadow: 0 24px 60px -24px rgba(23, 22, 26, 0.22);
  padding: 64px 48px;
}

.contact h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 32px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact address { color: var(--muted); font-size: 1.05rem; }

.contact-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
}
.contact-links a { color: var(--ink); }
.contact-links a:hover { color: var(--red); }

@media (max-width: 620px) {
  .contact-row { grid-template-columns: 1fr; gap: 24px; }
  .contact-inner { padding: 48px 28px; border-radius: 16px; }
}

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer { position: relative; z-index: 1; padding: 8px 0 40px; }
.site-footer .wrap { color: var(--muted); font-size: 0.85rem; }
