:root {
  --plum: #25001c;
  --plum-deep: #1c0015;
  --ink: #070000;
  --magenta: #a5087d;
  --magenta-dark: #4a0037;
  --paper: #faf7f4;
  --white: #ffffff;
  --muted: #5c5558;
  --line: rgba(37, 0, 28, 0.12);
  --shadow: 0 18px 40px rgba(37, 0, 28, 0.12);
  --radius: 14px;
  --max: 1120px;
  --header: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-decoration: none; }
a:hover { color: var(--magenta-dark); }
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--plum-deep);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 0.55em; }
h3 { font-size: 1.15rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1.2em; padding-left: 1.15em; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: var(--plum);
  color: #f4e8ef;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img {
  width: min(190px, 42vw);
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: var(--plum);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nav a:hover,
.nav a.is-active { color: var(--magenta); }
.nav a.btn,
.nav a.btn:hover { color: #fff; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--plum);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--magenta);
  color: #fff;
  font: 700 0.92rem/1 Montserrat, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--magenta-dark); color: #fff; }
.btn:active { transform: scale(0.96); }
.btn-ghost {
  background: transparent;
  color: var(--plum);
  border: 1.5px solid var(--plum);
}
.btn-ghost:hover { background: var(--plum); color: #fff; }
.btn-wa { background: #25d366; }
.btn-wa:hover { background: #1da851; color: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  place-items: end stretch;
  color: #fff;
  overflow: hidden;
  background: var(--plum-deep) center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 0, 0, 0.15) 0%, rgba(28, 0, 21, 0.78) 62%, rgba(7, 0, 0, 0.92) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 56px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { max-width: 46ch; color: #f4e8ef; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.page-hero {
  background: var(--plum);
  color: #fff;
  padding: 72px 0 48px;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #f4e8ef; max-width: 52ch; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--paper); }
.lead { font-size: 1.12rem; max-width: 62ch; }
.grid-2, .grid-3, .grid-services, .grid-gallery {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3, .grid-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px 20px;
  box-shadow: var(--shadow);
}
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.service a { font-weight: 700; }
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step-num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.section-tight { padding: 40px 0 48px; }
.section-tight h2 { margin-bottom: 1rem; }

/* Gallery */
.grid-gallery {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.grid-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  aspect-ratio: 1;
}
.grid-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.grid-gallery a:hover img { transform: scale(1.05); }
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--plum);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--magenta); }
.faq details p { margin: 10px 0 4px; color: var(--muted); }

/* Forms */
.form {
  display: grid;
  gap: 14px;
}
.form label { font-size: 0.82rem; font-weight: 700; color: var(--plum); }
.form input,
.form textarea,
.form select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.form .check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.form-msg {
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
}
.form-msg.ok { display: block; background: #e8f8ee; color: #146c3b; }
.form-msg.err { display: block; background: #fdecef; color: #8a1230; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}
.contact-card {
  background: var(--plum);
  color: #f4e8ef;
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card h2, .contact-card a { color: #fff; }
.contact-card p { color: #f4e8ef; }

/* Footer */
.site-footer {
  background: var(--plum-deep);
  color: #f4e8ef;
  padding: 56px 0 28px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f3b6e0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer h3 { color: #fff; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.8rem;
  color: #c9b4c2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float img { width: 100%; height: 100%; }

.cookies {
  position: fixed;
  left: 16px;
  right: auto;
  bottom: 16px;
  z-index: 60;
  width: min(360px, calc(100% - 32px));
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  display: none;
}
.cookies.is-on { display: block; }
.cookies p { margin: 0 0 12px; font-size: 0.9rem; color: var(--muted); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 0, 0, 0.88);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 24px;
}
.lightbox.is-on { display: grid; }
.lightbox img { max-width: min(1100px, 100%); max-height: 90vh; border-radius: 8px; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

body.tci-page { background: var(--white); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-services, .contact-grid, .footer-grid, .form .row {
    grid-template-columns: 1fr;
  }
  .grid-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: calc(var(--header) + 32px);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
  body.nav-open .nav { display: flex; }
  .nav a, .nav .btn { padding: 12px 8px; }
  .section { padding: 52px 0; }
  .hero-inner { padding: 56px 0 40px; }
  .cookies {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 84px;
  }
}
