:root {
  --bg: #0d1117;
  --surface: #121826;
  --surface-2: #171f30;
  --line: rgba(255,255,255,0.09);
  --text: #f4f7fb;
  --muted: #b7c1cf;
  --red: #d5005b;
  --red-2: #941341;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(0,0,0,.28);
  --radius: 24px;
  --radius-sm: 16px;
  --wrap: min(1180px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(213,0,91,.18), transparent 28%),
    linear-gradient(180deg, #090d13 0%, #0d1117 100%);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0 0 1rem; line-height: 1.08; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
ul { padding-left: 1.1rem; }
.wrap { width: var(--wrap); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(9,13,19,.72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
}
.brand-logo img,
.custom-logo {
  max-height: 54px;
  width: auto;
}
.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--red), #6a1034);
  font-weight: 800;
  letter-spacing: .08em;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text strong {
  font-size: 1rem;
}
.brand-text small {
  color: var(--muted);
  font-size: .84rem;
}

.primary-nav { justify-self: center; }
.menu-list,
.menu-fallback,
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-list,
.menu-fallback {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.menu-list a,
.menu-fallback a {
  color: var(--muted);
  font-weight: 600;
  font-size: .97rem;
}
.menu-list a:hover,
.menu-fallback a:hover {
  color: var(--white);
}
.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 999px;
  padding: .95rem 1.35rem;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.header-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: var(--white);
  box-shadow: 0 16px 40px rgba(213,0,91,.26);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  background: rgba(255,255,255,.03);
}
.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--white);
  display: block;
}

.section,
.hero,
.metrics { padding: 5.5rem 0; }
.hero {
  padding-top: 4rem;
  overflow: clip;
}
.hero-grid,
.split-layout,
.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(213,0,91,.12);
  color: #ffd5d8;
  font-size: .86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-copy p {
  max-width: 62ch;
  font-size: 1.06rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin: 1.8rem 0 1.6rem;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.hero-points span,
.contact-list li,
.check-list li {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.hero-points span {
  padding: .65rem .9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .92rem;
}
.hero-visual {
  position: relative;
  min-height: 540px;
}
.visual-card,
.metric-card,
.info-card,
.process-box,
.mini-card,
.gallery-card,
.contact-form-wrap,
.entry-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.main-card {
  height: 100%;
  min-height: 540px;
  overflow: hidden;
  position: relative;
}
.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.placeholder-media {
  height: 100%;
  min-height: 240px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: .5rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.08)),
    repeating-linear-gradient(135deg, rgba(213,0,91,.12), rgba(213,0,91,.12) 12px, transparent 12px, transparent 24px);
}
.placeholder-media strong { font-size: 1.1rem; }
.placeholder-media span { color: var(--muted); }
.placeholder-media.tall { min-height: 520px; }
.floating-kpi {
  position: absolute;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(7,10,14,.82);
  box-shadow: var(--shadow);
}
.floating-kpi strong,
.metric-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
}
.floating-kpi span,
.metric-card span {
  color: var(--muted);
  font-size: .92rem;
}
.kpi-1 { left: -28px; bottom: 36px; }
.kpi-2 { right: -20px; top: 44px; }

.metrics-grid,
.cards-grid,
.gallery-grid,
.footer-grid,
.form-grid,
.mini-cards {
  display: grid;
  gap: 1.2rem;
}
.metrics-grid { grid-template-columns: repeat(4, 1fr); }
.metric-card {
  padding: 1.6rem;
  min-height: 170px;
}
.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}
.services-grid { grid-template-columns: repeat(3, 1fr); }
.info-card {
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}
.info-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.section-dark {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-box {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}
.process-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
}
.process-step span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), #6a1034);
  font-weight: 800;
}
.check-list,
.contact-list {
  display: grid;
  gap: .8rem;
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
}
.check-list li,
.contact-list li {
  padding: .95rem 1rem;
  border-radius: 16px;
}
.reverse { grid-template-columns: .95fr 1.05fr; }
.media-panel { min-height: 100%; }
.mini-cards { margin-top: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.mini-card { padding: 1.1rem; }
.mini-card strong { display: block; margin-bottom: .4rem; }
.mini-card span { color: var(--muted); font-size: .94rem; }

.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-card {
  overflow: hidden;
  min-height: 300px;
}
.gallery-card .placeholder-media { min-height: 300px; }

.section-faq details {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,.03);
}
.section-faq details + details { margin-top: .9rem; }
.section-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--white);
}
.section-faq details p { padding-top: .8rem; }

.contact-form-wrap { padding: 1.4rem; }
.contact-form label {
  display: grid;
  gap: .45rem;
  font-weight: 700;
  color: var(--white);
}
.form-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 1rem;
}
.full-width { grid-column: 1 / -1; }
input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--white);
  border-radius: 14px;
  padding: .95rem 1rem;
  font: inherit;
}
input:focus,
textarea:focus {
  outline: 2px solid rgba(255,74,85,.35);
  outline-offset: 2px;
}
.form-message {
  min-height: 1.5rem;
  margin-top: .8rem;
  color: #ffd5d8;
}

.generic-content { min-height: 60vh; }
.prose-area { max-width: 880px; }
.entry-card { padding: 2rem; }
.entry-content > * + * { margin-top: 1rem; }
.entry-content ul,
.entry-content ol { color: var(--muted); }
.entry-thumb {
  border-radius: 22px;
  overflow: hidden;
  margin: 1rem 0 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  background: rgba(0,0,0,.22);
}
.footer-grid { grid-template-columns: 1.25fr 1fr 1fr; }
.footer-list {
  display: grid;
  gap: .8rem;
}
.footer-list li,
.footer-list a { color: var(--muted); }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .metrics-grid,
  .services-grid,
  .gallery-grid,
  .mini-cards,
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid,
  .split-layout,
  .cta-grid,
  .reverse { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; }
  .main-card { min-height: 460px; }
}

@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto auto auto; }
  .primary-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(9,13,19,.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .menu-list,
  .menu-fallback { flex-direction: column; align-items: flex-start; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .header-cta { display: none; }
  .kpi-1 { left: 14px; bottom: 12px; }
  .kpi-2 { right: 14px; top: 12px; }
}

@media (max-width: 640px) {
  .section,
  .hero,
  .metrics { padding: 4rem 0; }
  .metrics-grid,
  .services-grid,
  .gallery-grid,
  .mini-cards,
  .footer-grid,
  .form-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .hero-visual { min-height: 360px; }
  .main-card,
  .placeholder-media.tall { min-height: 360px; }
  .hero-actions.compact,
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .entry-card { padding: 1.3rem; }
}


.default-logo-wrap img {
  max-height: 78px;
  width: auto;
}
.custom-logo-link {
  display: inline-flex;
}
.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;
}
@media (max-width: 860px) {
  .default-logo-wrap img {
    max-height: 52px;
  }
}
