﻿:root {
  color-scheme: light;
  --bg: #f3f3f1;
  --surface: #ffffff;
  --surface-strong: #ededed;
  --text: #1e1e1e;
  --muted: #555555;
  --border: #d6d6d6;
  --accent: #d79d1f;
  --accent-dark: #a56b10;
  --accent-soft: rgba(215, 157, 55, 0.14);
  --shadow: 0 24px 60px rgba(6, 16, 34, 0.08);
  --radius: 22px;
  --max-width: 1160px;
}

* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.content-wrap {
  width: min(100%, calc(var(--max-width) - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo {
  width: 132px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.language-switcher {
  display: inline-flex;
  gap: 0.4rem;
}

.lang-btn {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.lang-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.hero {
  padding: 4rem 0 2rem;
}

.hero-image {
  width: 100%;   /* example */
  height: 100%;  /* example */
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-media {
  display: grid;
  gap: 1rem;
}

.hero-media img {
  border-radius: 28px;
  object-fit: cover;
  min-height: 220px;
  width: 100%;
}

.about {
  background: var(--surface-strong);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about-intro {
  max-width: 760px;
}

.about-intro p:not(.eyebrow) {
  color: var(--muted);
}

.about-values {
  display: grid;
  gap: 1rem;
}

.value-panel {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(215, 157, 31, 0.24);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 16px 42px rgba(6, 16, 34, 0.07);
}

.value-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.value-kicker {
  margin: 0 0 0.5rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.value-panel p:not(.value-kicker) {
  color: var(--muted);
}

.section {
  padding: 3rem 0;
}

.section-header {
  max-width: 700px;
  margin-bottom: 2rem;
}

.section-footer {
  margin-top: 1.5rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.15rem;
}

.card-grid,
.faq-grid,
.privacy-grid {
  display: grid;
  gap: 1.5rem;
}

.card,
.contact-card,
.quote-panel,
.privacy-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.services .card-grid {
  align-items: stretch;
}

.services .card {
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.services .card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.services .card:hover {
  border-color: rgba(215, 157, 31, 0.55);
  box-shadow: 0 20px 48px rgba(6, 16, 34, 0.13);
  transform: translateY(-6px);
}

.services .card:hover::before {
  opacity: 1;
}

.card h3,
.contact-card h3,
.privacy-grid h2 {
  margin-bottom: 0.75rem;
}

.card p,
.faq-grid p,
.contact-card p,
.privacy-grid p {
  color: var(--muted);
}

.contact-card a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-card a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.faq-page .content-wrap {
  max-width: 920px;
}

.faq-page .section-header {
  margin-inline: auto;
  text-align: center;
}

.faq-page .faq-grid {
  gap: 0.85rem;
}

.faq-item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface), var(--surface-strong));
  border: 1px solid rgba(215, 157, 31, 0.22);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(6, 16, 34, 0.08);
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.faq-item.is-open::before {
  opacity: 1;
}

.faq-question {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 72px;
  padding: 1.25rem 4.5rem 1.25rem 1.5rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.faq-question:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(215, 157, 31, 0.4);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.5rem;
  font-weight: 500;
  transform: translateY(-50%);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
  background: var(--accent);
  color: #fff;
  transform: translateY(-50%) rotate(180deg);
}

.faq-question:focus-visible {
  outline: 3px solid rgba(215, 157, 31, 0.35);
  outline-offset: -6px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--muted);
  line-height: 1.75;
  opacity: 0;
  transition: max-height 0.28s ease, padding 0.28s ease, opacity 0.2s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
  padding: 0 1.5rem 1.35rem;
  opacity: 1;
}

.quote-panel {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(215, 157, 55, .26);
}

.before-after {
  background: var(--surface-strong);
}

.before-after-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.before-after .section-header {
  margin-bottom: 0;
}

.before-after-media {
  margin: 0;
}

.before-after-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-card {
  height: 100%;
}

.field-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.field-row.full-width {
  grid-column: 1 / -1;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  font-weight: 600;
}

.required-label::after {
  content: " *";
  color: #d12f2f;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 16px;
  padding: 0.95rem 1rem;
}

input.invalid,
textarea.invalid,
select.invalid {
  border-color: #d12f2f;
  box-shadow: 0 0 0 3px rgba(209, 47, 47, 0.12);
}

.field-error {
  min-height: 1.25rem;
  margin: -0.2rem 0 0;
  color: #d12f2f;
  font-size: 0.9rem;
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.checkbox-row label {
  margin: 0;
  font-weight: 400;
}

input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.2rem;
  height: 1.2rem;
}

.privacy-note,
.form-message {
  font-size: 0.95rem;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 26px rgba(165, 107, 16, 0.22);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.button.secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.full-width {
  width: 100%;
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.footer-inner {
  padding: 1.25rem 0;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p,
.footer-inner a {
  color: var(--muted);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .card-grid,
  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 3fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .contact-card {
    align-self: start;
    height: 25%;
    min-height: 220px;
  }

  .services .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .before-after-grid {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .field-row.full-width {
    grid-column: initial;
  }
}

@media (max-width: 720px) {
  .content-wrap {
    width: min(100%, calc(100% - 30px));
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .brand {
    justify-content: center;
  }

  .logo {
    width: min(48vw, 120px);
  }

  .section {
    padding: 2rem 0;
  }

  .theme-toggle {
    width: 100%;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .language-switcher {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    width: 100%;
  }

  .language-switcher > * {
    min-width: 0;
  }

  .language-switcher .button,
  .language-switcher .lang-btn {
    width: 100%;
    min-width: 0;
    padding-inline: 0.45rem;
  }
}

body.dark {
  color-scheme: dark;
  --bg: #101419;
  --surface: #161f29;
  --surface-strong: #1f2937;
  --text: #f1f5f9;
  --muted: #cbd5e1;
  --border: #2f3a48;
  --accent: #f3c74e;
  --accent-dark: #b98608;
  --accent-soft: rgba(243, 199, 78, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

body.dark .site-header,
body.dark .site-footer {
  background: rgba(12, 20, 32, 0.95);
}

body.dark .button.secondary {
  border-color: rgba(248, 250, 252, 0.12);
}

body.dark .button.secondary,
body.dark .lang-btn,
body.dark .theme-toggle,
body.dark input,
body.dark textarea,
body.dark select,
body.dark .card,
body.dark .contact-card,
body.dark .quote-panel,
body.dark .privacy-grid article {
  background: #15222f;
}


body.dark input,
body.dark textarea,
body.dark select {
  border-color: #2a3747;
}

body.dark #hero {
  background-color: #101419;
}

/* ── Scroll-aware header ── */
.site-header.is-scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.1);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.56s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.56s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.is-visible > *:nth-child(1) { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }

/* ── Hero trust strip ── */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.25rem;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-trust-item::before {
  content: "✓";
  color: var(--accent-dark);
  font-weight: 800;
}

/* ── Card icons ── */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 1rem;
}
.card-icon svg {
  width: 22px;
  height: 22px;
}

/* ── Before/After labels ── */
.before-after-media {
  position: relative;
}
.ba-label {
  position: absolute;
  bottom: 1rem;
  padding: 0.3rem 0.85rem;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  user-select: none;
}
.before-label { left: 1rem; }
.after-label  { right: 1rem; }

/* ── Quote CTA ── */
.quote-panel .button {
  align-self: start;
  margin-top: 0.5rem;
}
