:root {
  --bg: #f0f3f6;
  --bg-soft: #ffffff;
  --surface: #f8fafb;
  --surface-2: #eaeff4;
  --line: #cdd5df;
  --text: #1a2233;
  --text-soft: #4a5568;
  --accent: #1b8a9e;
  --accent-2: #0e6b7f;
  --steel: #2f3f56;
  --shadow-1: 0 12px 26px rgba(15, 25, 40, 0.12);
  --shadow-2: 0 18px 38px rgba(10, 18, 32, 0.2);
  --radius: 18px;
  --nav-bg: rgba(248, 250, 252, 0.92);
  --nav-line: rgba(170, 185, 205, 0.55);
  --hero-glow-1: rgba(27, 138, 158, 0.18);
  --hero-glow-2: rgba(47, 63, 86, 0.14);
}

body.theme-dark {
  --bg: #0c1018;
  --bg-soft: #131a24;
  --surface: #151d2a;
  --surface-2: #1c2738;
  --line: #2a3a50;
  --text: #ecf2fa;
  --text-soft: #a8b8cc;
  --accent: #2bb5cc;
  --accent-2: #1a8fa5;
  --steel: #8faabe;
  --shadow-1: 0 12px 28px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 22px 44px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(12, 16, 24, 0.92);
  --nav-line: rgba(50, 68, 90, 0.7);
  --hero-glow-1: rgba(43, 181, 204, 0.18);
  --hero-glow-2: rgba(100, 140, 190, 0.15);
}

/* ── Premium micro-interactions ── */
::selection {
  background: var(--accent);
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 450ms ease, background-color 240ms ease, color 240ms ease;
}

body.page-ready {
  opacity: 1;
}

.body-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(620px 260px at 10% 8%, var(--hero-glow-1), transparent 62%),
    radial-gradient(720px 280px at 92% 0%, var(--hero-glow-2), transparent 58%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.scene,
header,
main,
section,
footer {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: 0.6px;
}

h2 {
  font-size: clamp(34px, 5vw, 48px);
}

p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 17px;
}

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--nav-line);
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.logo:hover {
  opacity: 0.85;
}

.logo-text {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.logo-accent {
  color: var(--accent);
}

.nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-soft);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.nav nav a:hover {
  transform: translateY(-1px);
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.nav nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu-toggle,
.mobile-nav,
.mobile-nav-backdrop {
  display: none;
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(82px, 9vw, 120px) clamp(16px, 5vw, 80px) 70px;
}

.title {
  font-size: clamp(48px, 8vw, 96px);
  color: var(--text);
}

.accent {
  color: var(--accent);
}

.lead {
  max-width: 720px;
  font-size: clamp(18px, 2.3vw, 24px);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

/* ── Premium focus rings ── */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 107, 127, 0.18);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(14, 107, 127, 0.3);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-2);
}

.hero-stats {
  display: grid;
  gap: 12px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: color-mix(in srgb, var(--surface) 84%, var(--steel) 16%);
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-soft);
}

.stat-value {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}

.section {
  padding: 74px clamp(16px, 5vw, 80px);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-1);
  padding: clamp(18px, 3vw, 28px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 16px;
  box-shadow: var(--shadow-1);
  transition: transform 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.card h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.card p {
  margin-bottom: 0;
}

.card-icon {
  display: block;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.kpi-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.kpi-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px;
}

.kpi-item strong {
  display: block;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}

.kpi-item span {
  display: block;
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.booking-form {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  min-height: 48px;
}

.field textarea {
  min-height: 94px;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 1px;
}

.form-note {
  margin-top: 10px;
  font-size: 13px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.badge-chip {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  padding: 14px;
}

.price-card h3 {
  margin-bottom: 6px;
}

.price-row {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  color: var(--text-soft);
}

.price-row strong {
  color: var(--accent-2);
}

.cta-band {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface-2));
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cta-band p {
  margin: 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.hours-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 11px;
}

.hours-item strong {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
}

.hours-item span {
  display: block;
  margin-top: 4px;
  font-weight: 800;
  color: var(--text);
}

.check-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.check-list li {
  margin-bottom: 6px;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tiny {
  font-size: 12px;
  color: var(--text-soft);
}

.work-item a {
  text-decoration: none;
}

.thumb {
  height: 140px;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 14px, rgba(0, 0, 0, 0.03) 14px 28px),
    linear-gradient(135deg, color-mix(in srgb, var(--steel) 56%, #fff), color-mix(in srgb, var(--accent) 32%, #fff));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-phone {
  display: block;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  margin: 12px 0 2px;
  letter-spacing: -0.5px;
}

.contact-phone-hint {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0 0 18px;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.contact-line strong {
  flex-shrink: 0;
  margin-right: 12px;
  color: var(--text);
}

.contact-line a {
  color: var(--accent);
  text-decoration: none;
}

.contact-map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.contact-map-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.contact-form-card {
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.testimonial {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.testimonial p {
  font-style: normal;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--text);
}

.testimonial cite {
  font-weight: 700;
  color: var(--accent-2);
}

.project-page {
  padding: 120px clamp(16px, 5vw, 80px) 52px;
}

.case-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.case-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px;
}

.case-card h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.project-figure {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 250px;
  background:
    radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 55%),
    linear-gradient(140deg, color-mix(in srgb, var(--steel) 60%, #fff), color-mix(in srgb, var(--accent) 26%, #fff));
}

.quick-contact-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 250;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 0 16px;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.quick-contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.quick-contact-panel {
  position: fixed;
  right: 16px;
  bottom: 70px;
  z-index: 245;
  width: min(92vw, 340px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 14px;
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.quick-contact-panel-title {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 26px;
  color: var(--text);
}

.quick-contact-panel-link {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  background: var(--bg-soft);
  font-weight: 700;
}

body.quick-contact-open .quick-contact-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.quick-contact-open .quick-contact-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-phone-link[hidden] {
  display: none !important;
}


.footer {
  padding: 24px clamp(16px, 5vw, 80px) 48px;
  font-size: 14px;
  color: var(--text-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 86px;
  }

  .grid,
  .case-grid,
  .kpi-strip,
  .price-grid,
  .hours-grid {
    grid-template-columns: 1fr;
  }


  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 11px 12px;
  }

  .nav nav,
  .theme-toggle {
    display: none;
  }

  .logo {
    font-size: 26px;
  }

  .logo-text {
    font-size: 22px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    min-height: 44px;
    min-width: 74px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 10px;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    z-index: 180;
    transition: opacity 200ms ease;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 9px;
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 320px);
    height: 100dvh;
    padding: 14px;
    z-index: 190;
    border-left: 1px solid var(--line);
    background: var(--surface);
    transform: translateX(105%);
    transition: transform 220ms ease;
    overflow: auto;
  }

  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
    margin-bottom: 4px;
  }

  .mobile-nav-title {
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 30px;
  }

  .mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
  }

  .mobile-nav-link {
    display: block;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    background: var(--bg-soft);
  }

  .mobile-nav-link.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
  }

  .mobile-theme-toggle {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 6px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  body.mobile-nav-open .mobile-nav {
    transform: translateX(0);
  }

  body.mobile-nav-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .section {
    padding: 62px 14px;
  }

  .project-page {
    padding: 104px 14px 42px;
  }

  .quick-contact-panel {
    right: 10px;
    left: 10px;
    width: auto;
  }

  .quick-contact-fab {
    right: 10px;
    bottom: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ── Legal & Compliance ── */
.legal-hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.5;
}

.legal-link {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 200ms ease;
}

.legal-link:hover {
  color: var(--accent);
}

/* ── Privacy page ── */
.privacy-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
}

.privacy-page h2 {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-top: 32px;
}

.privacy-page ul {
  padding-left: 20px;
  color: var(--text-soft);
}

.privacy-page ul li {
  margin-bottom: 6px;
}

.legal-updated {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

/* ── Extended footer ── */
.footer {
  text-align: center;
  padding: 28px clamp(16px, 4vw, 56px) 48px;
  font-size: 13px;
  color: var(--text-soft);
  border-top: 1px solid var(--line);
}

.footer-top {
  margin-bottom: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 200ms ease;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 380px;
  padding: 16px 20px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-soft);
  animation: cookieSlideIn 400ms ease-out;
}

.cookie-banner a {
  color: var(--accent);
  white-space: nowrap;
}

.cookie-btn {
  flex-shrink: 0;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease;
}

.cookie-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@keyframes cookieSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 70px;
    max-width: none;
  }
}