/* ==========================================================================
   Strenatech — IT & Digital Solutions
   Brand: Crimson #8C1226 / Maroon #4A0D18 / Graphite #23282B
   ========================================================================== */

:root {
  --accent: #8C1226;
  --accent-deep: #4A0D18;
  --accent-tint: #F2DCE0;
  --accent-tint-soft: #F7EEEF;
  --ink: #23282B;
  --ink-soft: #5a6065;
  --ink-muted: #6b7075;
  --paper: #FDFBFA;
  --border: rgba(35, 40, 43, 0.08);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 9px;
}

* , *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { color: var(--accent-deep); }

img { max-width: 100%; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 640px) { .container { padding: 0 22px; } }

.accent-text { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(35, 40, 43, 0.18);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--accent-deep); border: none; cursor: pointer; }
.btn-light:hover { background: var(--accent-tint); }
.btn-small { padding: 11px 22px; font-size: 14px; }

/* ---------- Top contact strip ---------- */
.topbar {
  background: var(--accent-deep);
  color: #F2DCE0;
  font-size: 13px;
  padding: 9px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-links { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 600; letter-spacing: 0.01em; }
.topbar-links a { color: #F2DCE0; }
.topbar-links a:hover { color: #fff; }
.topbar-note { opacity: 0.85; font-weight: 500; }
@media (max-width: 600px) { .topbar-inner { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(253, 251, 250, 0.92);
  backdrop-filter: blur(6px);
  z-index: 20;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: var(--ink); }
.brand-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 34px; align-items: center; font-size: 14.5px; font-weight: 600; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.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); }

@media (max-width: 780px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 22px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .header-actions .btn-small { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 108px;
}
.hero-glow {
  position: absolute;
  top: -160px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(140, 18, 38, 0.14), rgba(140, 18, 38, 0) 70%);
  pointer-events: none;
}
.hero-swirl {
  position: absolute;
  bottom: -60px;
  left: -90px;
  opacity: 0.05;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
}
@media (max-width: 940px) {
  .hero-inner { flex-direction: column; align-items: stretch; gap: 64px; }
}

.hero-copy { flex: 1; min-width: 0; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-tint-soft);
  color: var(--accent-deep);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.04;
}

.hero-sub {
  margin-top: 26px;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }

.hero-visual { flex: 0 0 340px; }
@media (max-width: 940px) {
  .hero-visual { flex: none; width: 100%; max-width: 380px; margin: 0 auto; }
}

.float-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 20px 40px -22px rgba(35, 40, 43, 0.25);
  transform: rotate(var(--rot)) translateX(var(--dx));
  margin-bottom: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.float-card:hover {
  transform: rotate(0deg) translateX(var(--dx)) translateY(-4px);
  box-shadow: 0 22px 44px -20px rgba(35, 40, 43, 0.3);
}
.float-card:last-child { margin-bottom: 0; }

.dots { display: flex; gap: 6px; margin-bottom: 10px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: #e3b0b6; display: inline-block; }
.dots .dot-accent { background: var(--accent); }

.float-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.float-desc { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-tint { background: var(--accent-tint-soft); }

.section-head { max-width: 560px; margin-bottom: 52px; }
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; margin-top: 10px; }
.section-lead { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin-top: 14px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(35, 40, 43, 0.28); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card { padding: 28px 24px; color: var(--accent); }
.service-card h3 { font-size: 17.5px; font-weight: 700; margin-top: 18px; color: var(--ink); }
.service-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin-top: 10px; }

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 980px) {
  .products-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

.product-card { padding: 30px 26px; border: 1px solid rgba(35, 40, 43, 0.06); }
.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-tint);
  padding: 5px 11px;
  border-radius: 999px;
}
.product-name { font-size: 23px; font-weight: 700; margin-top: 16px; }
.product-tagline { font-size: 12.5px; font-weight: 700; color: var(--accent); margin-top: 2px; letter-spacing: 0.02em; }
.product-card p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); margin-top: 14px; }
.product-link { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 700; }

.products-footnote { text-align: center; font-size: 14.5px; color: var(--ink-muted); margin-top: 44px; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-bar { width: 44px; height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 16px; }
.why-item h3 { font-size: 16.5px; font-weight: 700; }
.why-item p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Contact ---------- */
.contact {
  padding: 96px 0;
  background: var(--accent-deep);
  position: relative;
  overflow: hidden;
}
.contact-swirl { position: absolute; top: -70px; right: -70px; opacity: 0.14; pointer-events: none; }

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .contact-inner { grid-template-columns: 1fr; } }

.contact-copy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: #fff; }
.contact-copy p { font-size: 16.5px; line-height: 1.6; color: #F2DCE0; max-width: 480px; margin-top: 14px; }

.contact-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.contact-item { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 18px; font-weight: 700; }
.contact-item:hover { color: #F2DCE0; }

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: #F2DCE0; }
.field input, .field textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-notice {
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.form-notice.success { background: rgba(255, 255, 255, 0.16); color: #fff; }
.form-notice.error { background: rgba(0, 0, 0, 0.2); color: #ffd7dc; }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0 0; background: var(--ink); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-name { font-size: 17px; font-weight: 700; color: #fff; }
.footer-slogan { font-size: 13.5px; color: #9aa0a3; margin-top: 10px; }

.footer-links { display: flex; gap: 36px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.footer-links a { color: #c7cbcd; }
.footer-links a:hover { color: #fff; }

.footer-contact { font-size: 13.5px; color: #9aa0a3; }
.footer-contact a { color: #c7cbcd; }
.footer-contact div + div { margin-top: 4px; }

.footer-bottom {
  margin-top: 0;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom p { font-size: 12.5px; color: #797f82; }
