/* =========================================================
   Vysio — premium static website
   No external fonts · no tracking · GitHub Pages ready
========================================================= */

:root {
  --bg: #191612;
  --bg-soft: #1f1b16;
  --surface: #252019;
  --surface-2: #2d271f;
  --text: #f7f0e6;
  --text-strong: #fff8ed;
  --muted: #d1c7b8;
  --muted-2: #b9ad9d;
  --line: rgba(227, 207, 178, 0.18);
  --line-strong: rgba(227, 207, 178, 0.32);
  --accent: #d9b878;
  --accent-strong: #f0d69a;
  --accent-soft: rgba(217, 184, 120, 0.14);
  --danger: #ffb7a6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --container: min(1120px, calc(100% - 48px));
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 8%, rgba(217, 184, 120, 0.14), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(255, 245, 226, 0.06), transparent 28%),
    linear-gradient(135deg, #1b1713 0%, #151310 48%, #201b15 100%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

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

a:not(.btn):not(.brand):not(.nav-cta):not(.mobile-menu__cta):hover {
  color: var(--accent-strong);
}

img, svg { display: block; max-width: 100%; }

button, input, textarea, select { font: inherit; }

h1, h2, h3, p { margin-top: 0; }

p { color: var(--muted); }

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  color: #15120f;
  background: var(--accent-strong);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

::selection {
  color: #16120e;
  background: var(--accent-strong);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  background: rgba(25, 22, 18, 0.96);
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .site-header.is-scrolled,
  .site-header.menu-visible {
    background: rgba(25, 22, 18, 0.84);
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
  }
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.brand-logo {
  width: clamp(132px, 12vw, 168px);
  height: auto;
  object-fit: contain;
}

.footer-brand .brand-logo { width: clamp(146px, 14vw, 184px); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1;
  transition: color 160ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 220ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--text-strong); }
.nav-links a:hover::after { width: 100%; }

.nav-cta,
.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.93rem;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta:hover,
.mobile-menu__cta:hover {
  transform: translateY(-1px);
  background: var(--accent-soft);
  border-color: rgba(217, 184, 120, 0.48);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 78px;
  left: 16px;
  right: 16px;
  z-index: 99;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #211d17;
  box-shadow: var(--shadow);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 2px;
  color: var(--text);
  border-bottom: 1px solid rgba(227, 207, 178, 0.12);
}

.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu__cta { margin-top: 12px; width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 132px 0 80px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.hero::before {
  width: min(56vw, 620px);
  aspect-ratio: 1;
  right: -12vw;
  top: 15vh;
  border: 1px solid rgba(217, 184, 120, 0.18);
  background: radial-gradient(circle, rgba(217, 184, 120, 0.08), transparent 62%);
}

.hero::after {
  width: min(34vw, 390px);
  aspect-ratio: 1;
  left: -11vw;
  bottom: 8vh;
  border: 1px solid rgba(255, 245, 226, 0.09);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
}

.eyebrow,
.section-label {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-title {
  max-width: 980px;
  margin-bottom: 28px;
  color: var(--text-strong);
  font-size: clamp(3rem, 8.2vw, 7.35rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--text);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 52px;
  padding: 0 23px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #17130f;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 18px 44px rgba(217, 184, 120, 0.18);
}

.btn-secondary {
  color: var(--text-strong);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.btn-secondary:hover {
  border-color: rgba(217, 184, 120, 0.5);
  background: var(--accent-soft);
}

.hero-note {
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-framework {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
}

.hero-framework article,
.service-card,
.ai-examples article,
.benefit,
.method-step,
.solution-card,
.contact-form,
.policy-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.hero-framework article {
  min-height: 158px;
  padding: 22px;
  border-radius: var(--radius-md);
}

.hero-framework span,
.card-number,
.method-step > span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero-framework h3 {
  margin-bottom: 8px;
  color: var(--text-strong);
  font-size: 1.02rem;
  line-height: 1.25;
}

.hero-framework p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* Sections */
.section {
  position: relative;
  padding: 112px 0;
}

.section + .section { border-top: 1px solid rgba(227, 207, 178, 0.08); }

.split,
.ai-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.section h2,
.policy-layout h1 {
  margin-bottom: 18px;
  color: var(--text-strong);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-body p,
.solution-card p,
.section-intro p,
.ai-copy p,
.contact-copy p,
.policy-card p {
  font-size: 1.06rem;
}

.compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px 12px 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.98rem;
}

.compact-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.solution-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 76px);
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 12%, rgba(217, 184, 120, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.statement {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-strong);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem) !important;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 46px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  border-radius: var(--radius-md);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 184, 120, 0.42);
  background: linear-gradient(180deg, rgba(217, 184, 120, 0.11), rgba(255, 255, 255, 0.035));
}

.service-card--wide { grid-column: span 2; }

.service-card h3,
.ai-examples h3,
.method-step h3 {
  margin-bottom: 12px;
  color: var(--text-strong);
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.service-card p,
.ai-examples p,
.method-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.method-step {
  padding: 26px;
  border-radius: var(--radius-md);
  min-height: 220px;
}

.ai-layout {
  align-items: center;
}

.ai-copy {
  position: sticky;
  top: 120px;
}

.ai-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ai-examples article {
  min-height: 170px;
  padding: 24px;
  border-radius: var(--radius-md);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.benefit {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 650;
}

.contact-layout {
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.direct-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.direct-contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.direct-contact a {
  color: var(--accent-strong);
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.contact-form {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.form-note,
.form-legal {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.form-legal {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field { margin-bottom: 18px; }

label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-strong);
  font-size: 0.95rem;
  font-weight: 680;
}

input,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--text-strong);
  background: rgba(19, 17, 14, 0.78);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

input::placeholder,
textarea::placeholder { color: var(--muted-2); }

input:focus,
textarea:focus {
  border-color: rgba(217, 184, 120, 0.72);
  background: rgba(20, 18, 15, 0.95);
  box-shadow: 0 0 0 4px rgba(217, 184, 120, 0.12);
}

.field-error {
  display: block;
  min-height: 20px;
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.9rem;
}

.privacy-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 4px 0 4px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.privacy-check input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.privacy-check a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.btn-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.btn-submit:disabled:hover { transform: none; }

/* Policy pages */
.policy-main {
  padding-top: 72px;
}

.policy-layout {
  max-width: 900px;
}

.policy-layout h1 {
  max-width: 820px;
}

.policy-updated {
  margin-bottom: 32px;
  color: var(--muted);
}

.policy-card {
  padding: clamp(24px, 5vw, 48px);
  border-radius: var(--radius-lg);
}

.policy-card h2 {
  margin: 34px 0 10px;
  color: var(--text-strong);
  font-size: clamp(1.22rem, 2.1vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.policy-card h2:first-child { margin-top: 0; }
.policy-card p { margin-bottom: 0; }
.policy-card a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer {
  padding: 68px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(17, 15, 12, 0.58);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.72fr));
  gap: 38px;
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-company p {
  max-width: 390px;
  margin-top: 18px;
}

.footer-title {
  margin: 0 0 16px;
  color: var(--text-strong);
  font-size: 0.93rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer a:hover { color: var(--accent-strong); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(227, 207, 178, 0.12);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.9rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Tablet */
@media (max-width: 1040px) {
  .nav-links { gap: 18px; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile / Android readability */
@media (max-width: 840px) {
  :root { --container: min(100% - 32px, 680px); }

  body {
    background: #1f1b16;
    font-size: 16px;
    line-height: 1.7;
  }

  .site-bg {
    background:
      radial-gradient(circle at 50% 0%, rgba(217, 184, 120, 0.12), transparent 32%),
      linear-gradient(180deg, #241f19 0%, #1f1b16 54%, #211c16 100%);
  }

  .site-bg::after { opacity: 0.11; background-size: 52px 52px; }

  .site-header,
  .site-header.is-scrolled,
  .site-header.menu-visible {
    background: rgba(31, 27, 22, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav { min-height: 72px; }
  .brand-logo { width: 132px; }
  .nav-links,
  .nav-cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .mobile-menu { top: 74px; }

  .hero {
    min-height: auto;
    padding: 118px 0 58px;
  }

  .hero::before,
  .hero::after { display: none; }

  .eyebrow,
  .section-label {
    margin-bottom: 14px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }

  .hero-title {
    margin-bottom: 22px;
    font-size: clamp(2.55rem, 12.4vw, 4.55rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
  }

  .hero-copy {
    margin-bottom: 28px;
    color: var(--text);
    font-size: 1.03rem;
    line-height: 1.68;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    padding-inline: 18px;
  }

  .hero-note {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 0.96rem;
  }

  .hero-framework,
  .split,
  .solution-card,
  .ai-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-framework article {
    min-height: auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.055);
  }

  .section { padding: 76px 0; }

  .section h2,
  .policy-layout h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .section-body p,
  .solution-card p,
  .section-intro p,
  .ai-copy p,
  .contact-copy p,
  .policy-card p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.68;
  }

  .compact-list,
  .cards-grid,
  .method-list,
  .ai-examples,
  .benefits-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .compact-list li {
    min-height: 50px;
    border-radius: 16px;
    color: var(--text);
  }

  .solution-card,
  .contact-form,
  .policy-card {
    padding: 24px;
    border-radius: 22px;
  }

  .service-card,
  .method-step,
  .ai-examples article {
    min-height: auto;
    padding: 22px;
    background: rgba(255, 255, 255, 0.055);
  }

  .service-card--wide { grid-column: auto; }
  .ai-copy,
  .contact-copy { position: static; }
  .benefit { min-height: 60px; background: rgba(255, 255, 255, 0.055); }

  input,
  textarea {
    min-height: 52px;
    font-size: 16px;
    background: rgba(16, 14, 12, 0.72);
  }

  .footer { padding-top: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 420px) {
  :root { --container: min(100% - 24px, 680px); }
  .hero-title { font-size: clamp(2.35rem, 13vw, 3.45rem); }
  .hero-copy { font-size: 1rem; }
  .section { padding: 64px 0; }
  .solution-card,
  .contact-form,
  .policy-card { padding: 20px; }
  .mobile-menu { left: 12px; right: 12px; }
}

@media (hover: none), (pointer: coarse) {
  .service-card:hover,
  .btn:hover,
  .nav-cta:hover,
  .mobile-menu__cta:hover {
    transform: none;
  }
}


@media (max-width: 560px) {
  .direct-contact-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .direct-contact-separator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.footer a[href^="mailto:"],
.footer a[href^="tel:"] {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}


/* Cookie consent */
.cookie-consent[hidden],
.cookie-preferences[hidden],
.cookie-btn[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  width: min(520px, calc(100% - 36px));
  pointer-events: none;
}

.cookie-consent__panel {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(227, 207, 178, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(33, 29, 23, 0.94);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34);
  pointer-events: auto;
}

@supports ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
  .cookie-consent__panel,
  .cookie-preferences {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}

.cookie-consent__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(227, 207, 178, 0.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.cookie-consent__eyebrow {
  margin: 0 34px 6px 0;
  color: var(--accent-strong);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cookie-consent h2 {
  margin: 0 34px 8px 0;
  color: var(--text-strong);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cookie-consent p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.48;
}

.cookie-consent__details {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
}

.cookie-consent__category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(227, 207, 178, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.cookie-consent__category strong,
.cookie-consent__category span {
  display: block;
}

.cookie-consent__category strong {
  margin-bottom: 2px;
  color: var(--text-strong);
  font-size: 0.9rem;
}

.cookie-consent__category span {
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.42;
}

.cookie-consent__category input {
  width: 22px;
  min-height: 22px;
  accent-color: var(--accent);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cookie-btn,
.cookie-preferences,
.inline-policy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.cookie-btn:hover,
.cookie-preferences:hover,
.inline-policy-button:hover { transform: translateY(-1px); }

.cookie-btn--primary {
  border: 1px solid rgba(240, 214, 154, 0.68);
  color: #18130e;
  background: linear-gradient(135deg, #f0d69a, #d9b878);
}

.cookie-btn--secondary,
.cookie-btn--ghost,
.inline-policy-button {
  border: 1px solid rgba(227, 207, 178, 0.24);
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.045);
}

.cookie-btn--ghost {
  color: var(--muted);
}

.cookie-consent__links {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 12px 0 0;
  font-size: 0.8rem;
}

.cookie-consent__links a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-preferences {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 90;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(227, 207, 178, 0.24);
  color: var(--text-strong);
  background: rgba(33, 29, 23, 0.78);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}


@media (max-width: 640px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .cookie-consent__panel {
    max-height: min(78vh, 560px);
    overflow: auto;
    padding: 16px;
    border-radius: 18px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-btn--primary,
  .cookie-btn--save {
    grid-column: 1 / -1;
  }

  .cookie-preferences {
    left: 10px;
    bottom: 10px;
    min-height: 34px;
    font-size: 0.8rem;
  }
}

.policy-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 22px 0 28px;
  border: 1px solid rgba(227, 207, 178, 0.14);
  border-radius: 18px;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.policy-table th,
.policy-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(227, 207, 178, 0.12);
  text-align: left;
  vertical-align: top;
}

.policy-table th {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-table td {
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-table tr:last-child td { border-bottom: 0; }

.inline-policy-button { margin-top: 8px; }

