/* SMB Services - design system */
:root {
  --navy: #0f172a;
  --navy-2: #132033;
  --slate: #1e293b;
  --cyan: #38bdf8;
  --teal: #0ea5b7;
  --text-light: #f1f5f9;
  --text-muted-light: #94a3b8;
  --text-dark: #0f172a;
  --text-muted-dark: #64748b;
  --border-light: #e2e8f0;
  --max-width: 1120px;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* Header */
header.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--text-light);
}
.logo .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  display: inline-block;
}
nav.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav.main-nav a {
  color: var(--text-muted-light);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--text-light); }
nav.main-nav a.btn-primary, nav.main-nav a.btn-primary:hover { color: var(--navy); }
nav.main-nav a.btn-ghost, nav.main-nav a.btn-ghost:hover { color: var(--text-light); }
nav.main-nav a.lang-link {
  padding: 4px 10px;
  border: 1px solid rgba(241,245,249,0.3);
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
}
nav.main-nav a.lang-link:hover { border-color: rgba(241,245,249,0.6); }

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--navy);
  color: var(--text-light);
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  max-width: 680px;
  color: var(--text-light);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner button {
  cursor: pointer;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid transparent;
}
.cookie-banner .btn-accept {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}
.cookie-banner .btn-decline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(241,245,249,0.4);
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-banner p { max-width: none; }
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: opacity .15s;
}
.btn:hover { opacity: 0.88; }
.btn-primary {
  background: var(--cyan);
  color: var(--navy);
}
.btn-ghost {
  border: 1px solid rgba(241,245,249,0.25);
  color: var(--text-light);
}

/* Hero / dark sections */
.section-dark {
  background: var(--navy);
  color: var(--text-light);
  padding: 72px 0;
}
.section-dark .eyebrow {
  color: var(--cyan);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-dark h1, .section-dark h2 {
  color: var(--text-light);
}
.section-dark p { color: var(--text-muted-light); }

.stats-intro {
  white-space: normal;
}
@media (min-width: 960px) {
  .stats-intro { white-space: nowrap; }
}

h1 { font-size: 42px; font-weight: 800; line-height: 1.15; }
h2 { font-size: 30px; font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
p { margin-bottom: 14px; color: #334155; }

/* Light sections */
.section { padding: 64px 0; }
.section-alt { background: #f8fafc; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 8px 24px rgba(15,23,42,0.08); transform: translateY(-2px); }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Photo card grid: 3 per row, extra row(s) centered (e.g. 3 + 2) */
.photo-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
.photo-card {
  display: block;
  flex: 1 1 300px;
  max-width: 300px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.photo-card:hover {
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  transform: translateY(-2px);
  border-color: var(--teal);
}
.photo-card .photo-card-img {
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
}
.photo-card .photo-card-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.photo-card .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.photo-card h3 {
  margin-top: 6px;
  font-size: 17px;
  color: var(--navy);
  line-height: 1.35;
}
.photo-card .photo-card-img + h3 {
  margin-top: 16px;
}
.photo-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted-dark);
  line-height: 1.5;
}
@media (max-width: 420px) {
  .photo-card { flex-basis: 100%; max-width: 100%; }
}

/* Stats band */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.stat-item {
  text-align: center;
  padding: 24px 16px;
}
.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
}
.stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted-dark);
  line-height: 1.5;
}
.section-dark .stat-label { color: var(--text-muted-light); }

/* Stats combo: hero stat + progress bars */
.stats-combo {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stats-hero {
  flex-shrink: 0;
  min-width: 170px;
  text-align: center;
}
.stats-hero-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.1;
}
.stats-hero-label {
  margin: 8px auto 0;
  font-size: 14px;
  color: var(--text-muted-light);
  line-height: 1.4;
  max-width: 200px;
}
.stats-divider {
  width: 1px;
  align-self: stretch;
  background: var(--slate);
}
.stats-bars {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stat-bar-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted-light);
  margin-bottom: 6px;
}
.stat-bar-row strong { color: var(--text-light); font-weight: 700; }
.stat-bar-track {
  height: 7px;
  background: var(--slate);
  border-radius: 4px;
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--slate), var(--teal));
  border-radius: 4px;
}
@media (max-width: 640px) {
  .stats-combo { flex-direction: column; align-items: stretch; gap: 24px; }
  .stats-divider { display: none; }
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--text-light);
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius);
}
.cta-band h2 { color: var(--text-light); }
.cta-band p { color: var(--text-muted-light); }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: var(--text-muted-light);
  padding: 48px 0 28px;
  font-size: 14px;
}
footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
footer.site-footer h4 {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
footer.site-footer ul { list-style: none; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer a:hover { color: var(--text-light); }
.footer-bottom {
  border-top: 1px solid rgba(241,245,249,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted-light);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--cyan); }

/* FAQ accordion */
details.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}
details.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 17px;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  float: right;
  font-weight: 400;
  color: var(--teal);
}
details.faq-item[open] summary::after { content: '\2212'; }
details.faq-item p { margin-top: 12px; color: #334155; }

/* Forms */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--cyan); border-color: transparent; }

/* Mobile nav toggle (simple) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  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: 860px) {
  .nav-toggle { display: flex; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 24px;
    gap: 2px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }
  nav.main-nav.is-open { display: flex; }
  nav.main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(241,245,249,0.08); }
  nav.main-nav a.btn-primary, nav.main-nav a.lang-link {
    display: inline-block;
    width: fit-content;
    margin-top: 10px;
    border-bottom: none;
  }
  h1 { font-size: 32px; }
}

/* RAID calculator */
.raid-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
@media (max-width: 640px) {
  .raid-grid-2 { grid-template-columns: 1fr; }
}
