/* Base theme values */
:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --muted: #e6e6e6;
  --ink: #1f1f1f;
  --subtle: #555555;
  --accent: #cc1f1f;
  --accent-dark: #a41616;
  --accent-blue: #2f6ca8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #2b2b2b 0%, #1f1f1f 40%, #111 100%);
  color: #f8f8f8;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

header {
  background: rgba(17, 17, 17, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #2b2b2b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text span:first-child {
  text-transform: uppercase;
  font-size: 14px;
}

.brand-text span:last-child {
  color: var(--accent);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #f2f2f2;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav a.active {
  background: var(--accent);
  color: #fff;
}

.nav .cta {
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
  color: #fff;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

main {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  border-radius: 22px 22px 0 0;
  margin-top: -6px;
  padding-bottom: 80px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding-top: 40px;
}

.hero-copy {
  background: #ffffff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--muted);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 8px 0;
  font-size: 36px;
  color: var(--ink);
}

h2 {
  margin: 0 0 20px 0;
  font-size: 28px;
  color: var(--ink);
}

h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  color: var(--ink);
}

p {
  margin: 0 0 14px 0;
  color: var(--subtle);
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.secondary {
  background: #f1f1f1;
  color: var(--ink);
  border: 1px solid var(--muted);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  background: var(--accent-dark);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(47, 108, 168, 0.12);
  color: var(--accent-blue);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--muted);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.65), transparent 45%);
  pointer-events: none;
}

.hero-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

.pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.pill {
  background: #f6f6f6;
  color: var(--subtle);
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid var(--muted);
  font-size: 13px;
}

.grid {
  display: grid;
  gap: 18px;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--muted);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.card .tag {
  display: inline-block;
  background: rgba(204, 31, 31, 0.12);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.quick-links {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.link-card a {
  color: var(--accent);
  font-weight: 700;
}

.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.strip .chip {
  background: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--muted);
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.values-list li {
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--muted);
  box-shadow: var(--shadow);
  display: flex;
  gap: 10px;
  align-items: center;
}

.values-list strong {
  color: var(--ink);
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card .service-meta {
  color: var(--subtle);
  font-size: 13px;
}

.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card .placeholder-img {
  background: linear-gradient(135deg, rgba(204, 31, 31, 0.8), rgba(47, 108, 168, 0.7));
  color: #fff;
  height: 160px;
  display: grid;
  place-items: center;
  font-weight: 700;
  border-radius: 10px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.filter-chip {
  border: 1px solid var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--subtle);
  font-weight: 600;
}

form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--muted);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.map-placeholder {
  background: #dfe6ef;
  border-radius: var(--radius);
  border: 1px dashed #9aa8ba;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #567091;
}

footer {
  background: #0f0f0f;
  color: #d9d9d9;
  padding: 32px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.small {
  font-size: 13px;
  color: #bfbfbf;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--muted);
  padding: 20px;
  box-shadow: var(--shadow);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.info-list li strong {
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #1f1f1f;
  color: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  transform: translateY(150%);
  transition: transform 0.3s ease-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  flex: 1;
  min-width: 280px;
}

.cookie-content p {
  margin: 0;
  font-size: 14px;
  color: #d9d9d9;
}

.cookie-content a {
  color: #fff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.btn-small {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  border: none;
}

.btn-accept {
  background: var(--accent);
  color: #fff;
}

.btn-accept:hover {
  background: var(--accent-dark);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    inset: 64px 20px auto 20px;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    flex-direction: column;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .topbar {
    position: relative;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .section {
    padding: 48px 18px;
  }

  .hero-copy {
    padding: 22px;
  }

  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 12px 12px 0 0;
  }
}
