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

:root {
  --bg: #070D18;
  --surface: #0D1625;
  --surface-2: #131F32;
  --gold: #C8A84B;
  --gold-light: #E0C46A;
  --gold-dim: rgba(200,168,75,0.15);
  --blue: #4A9EE8;
  --text: #EDF0F7;
  --text-muted: #6E80A0;
  --text-soft: #A8B8CC;
  --border: #1A2B40;
  --border-gold: rgba(200,168,75,0.3);
  --white: #FFFFFF;
  --nav-scrolled-bg: rgba(7,13,24,0.96);
  --footer-bg: #030710;
  --footer-text: rgba(255,255,255,0.7);
  --footer-link: rgba(255,255,255,0.3);
  --footer-link-hover: rgba(255,255,255,0.65);
  --footer-copy: rgba(255,255,255,0.2);
  --contact-form-bg: #F7F9FB;
  --contact-form-heading: #0C1320;
  --contact-form-sub: #7A8AA0;
  --form-label-color: #5A6A80;
  --form-input-border: #D4DCE8;
  --form-input-bg: #FFFFFF;
  --form-input-text: #1A2535;
  --form-submit-bg: #0C1320;
  --form-submit-bg-hover: #1A2E4A;
  --cb-bg: #030710;
  --cb-panel-bg: #06091A;
}

html[data-theme="light"] {
  --bg: #F4F1EB;
  --surface: #FFFFFF;
  --surface-2: #EDE8DF;
  --gold: #B8891A;
  --gold-light: #C8A84B;
  --gold-dim: rgba(184,137,26,0.12);
  --blue: #2A7AC8;
  --text: #0D1625;
  --text-muted: #5A6A80;
  --text-soft: #3D4E62;
  --border: #D0CBC0;
  --border-gold: rgba(184,137,26,0.35);
  --white: #0C1320;
  --nav-scrolled-bg: rgba(244,241,235,0.96);
  --footer-bg: #0C1320;
  --footer-text: rgba(255,255,255,0.7);
  --footer-link: rgba(255,255,255,0.35);
  --footer-link-hover: rgba(255,255,255,0.7);
  --footer-copy: rgba(255,255,255,0.25);
  --contact-form-bg: #EDE8DF;
  --contact-form-heading: #0C1320;
  --contact-form-sub: #5A6A80;
  --form-label-color: #4A5A70;
  --form-input-border: #C8C3BA;
  --form-input-bg: #FFFFFF;
  --form-input-text: #1A2535;
  --form-submit-bg: #0C1320;
  --form-submit-bg-hover: #1A2E4A;
  --cb-bg: #0C1320;
  --cb-panel-bg: #0D1625;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Fraunces', serif;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 0;
  transition: background 0.4s, border-color 0.4s, padding 0.3s;
}
nav.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
nav .inner {
  display: flex;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 32px;
}
nav .inner .nav-logo { margin-right: auto; }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.nav-logo em {
  font-style: normal;
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 10px 22px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 9px;
  cursor: pointer;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 299;
  pointer-events: none;
}
.mobile-menu.open { pointer-events: auto; }
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,13,24,0.65);
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
}
.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22,1,0.36,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
  z-index: 100;
}
.mobile-menu-close:hover { color: var(--text); border-color: var(--text-muted); }
.mobile-menu-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 80px;
}
.mobile-nav-links {
  display: block;
  padding: 0 32px 24px;
}
.mobile-nav-links a,
.mobile-nav-links a:link,
.mobile-nav-links a:visited,
.mobile-nav-links a:active {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--dark) !important;
  text-decoration: none !important;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.2;
  transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--gold) !important; }
.mobile-menu-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.mobile-menu-phone svg { width: 15px; height: 15px; flex-shrink: 0; }
.mobile-menu-bottom {
  padding: 24px 32px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.mobile-menu-copy {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(74,158,232,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 20% 80%, rgba(200,168,75,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-words {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-word {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--text);
  opacity: 0.025;
  letter-spacing: -0.02em;
  white-space: nowrap;
  user-select: none;
  animation: floatHero 13.5s ease-in-out infinite both;
}
.hw1 { font-size: 140px; top: 5%; left: -2%; animation-duration: 15s; animation-delay: -2s; }
.hw2 { font-size: 100px; top: 28%; right: -1%; animation-duration: 16.5s; animation-delay: -5s; }
.hw3 { font-size: 80px; bottom: 20%; left: 8%; animation-duration: 12s; animation-delay: -10s; }
.hw4 { font-size: 120px; bottom: 5%; right: 5%; animation-duration: 13.5s; animation-delay: -15s; }
.hw5 { font-size: 60px; top: 55%; left: 35%; animation-duration: 18s; animation-delay: -3s; }
.hw6 { font-size: 90px; top: 10%; right: 20%; animation-duration: 10.5s; animation-delay: -8s; }

@keyframes floatHero {
  0% { transform: translate(0, 0); }
  50% { transform: translate(30px, 20px); }
  100% { transform: translate(0, 0); }
}

.hero-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold) 30%, var(--border-gold) 70%, transparent);
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-kicker-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
}
.hero-kicker-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 {
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 36px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  display: block;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 52px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--bg);
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,168,75,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  padding: 16px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.04em;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}
.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scan 2s ease-in-out infinite;
}
@keyframes scan {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ─── STATS ─── */
.stats {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border);
}
@media (max-width: 768px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }
.stat-item {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span {
  font-size: 32px;
  font-weight: 700;
  vertical-align: super;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── SERVICES ─── */
.services {
  padding: 120px 0;
  background: var(--bg);
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.eyebrow-line { width: 32px; height: 1px; background: var(--gold); }
.eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.05;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 72px;
  line-height: 1.7;
  font-weight: 300;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--surface);
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  border: 1px solid var(--border);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}
.service-card:hover { background: var(--surface-2); }
.service-card:hover::before { height: 100%; }
.sc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-weight: 700;
  color: rgba(200,168,75,0.08);
  position: absolute;
  top: 20px;
  right: 28px;
  line-height: 1;
  pointer-events: none;
}
.sc-icon {
  font-size: 32px;
  margin-bottom: 24px;
  display: block;
  color: var(--gold);
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.sc-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sc-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: 2px;
}

/* ─── PROCESS ─── */
.process {
  padding: 120px 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
  .process::before { display: none; }
}
.process-intro {
  padding: 0 80px 0 0;
}
@media (max-width: 768px) { .process-intro { padding: 0 0 64px 0; } }
.process-steps {
  padding: 0 0 0 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (max-width: 768px) { .process-steps { padding: 0; } }
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.ps-num {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.ps-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.ps-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}
.guarantee-badge {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--gold-light);
  line-height: 1.5;
}
.guarantee-badge svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); }

/* ─── CLIENTS ─── */
.clients {
  padding: 120px 0;
  background: var(--bg);
}
.clients-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
@media (max-width: 768px) { .clients-header { grid-template-columns: 1fr; gap: 32px; } }
.clients-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (max-width: 640px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}
.client-cell {
  background: var(--surface);
  padding: 28px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.client-cell:hover {
  background: var(--surface-2);
  color: var(--white);
}
.client-cell::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.clients-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ─── CONTACT ─── */
.contact-section {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) { .contact-section { grid-template-columns: 1fr; } }
.contact-left {
  background: var(--surface);
  padding: 100px 64px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
.contact-left::before { display: none; }
.contact-left h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
  position: relative;
}
.contact-left h2 em { color: var(--gold); font-style: italic; }
.contact-left p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 52px;
  position: relative;
}
.contact-data {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.cd-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cd-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cd-icon svg { width: 18px; height: 18px; color: var(--gold); }
.cd-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cd-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}
.cd-value a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.cd-value a:hover { color: var(--gold); }
.cd-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.contact-right {
  background: var(--contact-form-bg);
  padding: 100px 64px;
}
@media (max-width: 900px) {
  .contact-left, .contact-right { padding: 64px 32px; }
  .contact-left::before { font-size: 220px; }
}
.contact-right h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--contact-form-heading);
  margin-bottom: 8px;
}
.contact-right .form-sub {
  font-size: 14px;
  color: var(--contact-form-sub);
  margin-bottom: 36px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--form-label-color);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--form-input-border);
  border-radius: 4px;
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--form-input-text);
  background: var(--form-input-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  appearance: none;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-submit {
  display: block;
  width: 100%;
  background: var(--form-submit-bg);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
}
.form-submit:hover { background: var(--form-submit-bg-hover); transform: translateY(-1px); }

/* ─── FOOTER ─── */
footer {
  background: var(--footer-bg);
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--footer-text);
  letter-spacing: 0.02em;
}
.footer-brand em {
  display: block;
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 2px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 12px;
  color: var(--footer-link);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--footer-link-hover); }
.footer-copy {
  font-size: 12px;
  color: var(--footer-copy);
  width: 100%;
  letter-spacing: 0.02em;
}

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── COOKIE BANNER ─── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--cb-bg);
  border-top: 1px solid var(--border-gold);
  padding: 20px 24px;
  font-family: 'Inter', sans-serif;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
}
#cookie-banner.cb-visible { transform: translateY(0); }
.cb-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cb-text { flex: 1; min-width: 260px; }
.cb-text strong { color: var(--text); font-size: 14px; display: block; margin-bottom: 4px; }
.cb-text p { color: var(--text-muted); font-size: 12px; line-height: 1.5; margin: 0; }
.cb-text a { color: var(--gold); text-decoration: none; }
.cb-text a:hover { text-decoration: underline; }
.cb-buttons { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cb-btn {
  padding: 9px 18px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.cb-btn-accept { background: var(--gold); color: var(--bg); }
.cb-btn-accept:hover { background: var(--gold-light); }
.cb-btn-necessary { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.7); border: 1px solid var(--border); }
.cb-btn-necessary:hover { background: rgba(255,255,255,0.12); }
.cb-btn-settings { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.cb-btn-settings:hover { color: var(--text); }
#cb-panel { background: var(--cb-panel-bg); border-top: 1px solid var(--border); margin-top: 16px; }
.cb-panel-inner { max-width: 1120px; margin: 0 auto; padding: 20px 0 8px; }
.cb-panel-inner h3 { color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px; font-weight: 600; }
.cb-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.cb-option:last-of-type { border-bottom: none; }
.cb-option-info { flex: 1; }
.cb-option-info strong { color: var(--text); font-size: 13px; display: block; margin-bottom: 2px; }
.cb-option-info span { color: var(--text-muted); font-size: 12px; }
.cb-toggle-locked .cb-toggle-on { color: #6FCF97; font-size: 11px; font-weight: 600; }
.cb-toggle-switch { position: relative; display: inline-block; width: 42px; height: 22px; flex-shrink: 0; }
.cb-toggle-switch input { opacity: 0; width: 0; height: 0; }
.cb-slider { position: absolute; cursor: pointer; inset: 0; background: rgba(255,255,255,0.12); border-radius: 22px; transition: background 0.2s; }
.cb-slider:before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s; }
.cb-toggle-switch input:checked + .cb-slider { background: var(--gold); }
.cb-toggle-switch input:checked + .cb-slider:before { transform: translateX(20px); }
.cb-panel-actions { padding-top: 16px; }
@media (max-width: 640px) {
  #cookie-banner { padding: 16px; }
  .cb-buttons { width: 100%; flex-direction: column; gap: 8px; }
  .cb-btn { width: 100%; text-align: center; }
}

/* ─── FLOATING PHONE ─── */
.floating-phone {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
}
.fp-btn {
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(200,168,75,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.fp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(200,168,75,0.5);
}
.fp-btn svg { width: 24px; height: 24px; color: var(--bg); }
@media (min-width: 641px) {
  .fp-btn::before {
    content: attr(data-label);
    position: absolute;
    right: 64px;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: 1px solid var(--border);
  }
  .fp-btn:hover::before { opacity: 1; }
}
@media (max-width: 640px) {
  .floating-phone { bottom: 20px; right: 20px; }
  .fp-btn { width: 48px; height: 48px; }
}

/* ─── PHOTO STRIP ─── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 420px;
}
.photo-strip-item {
  position: relative;
  overflow: hidden;
}
.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.55);
  transition: transform 0.7s ease, filter 0.5s ease;
}
.photo-strip-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.38);
}
.photo-strip-item:not(:last-child) {
  border-right: 1px solid rgba(200,168,75,0.2);
}
.photo-strip-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 36px;
  background: linear-gradient(to top, rgba(7,13,24,0.75) 0%, transparent 55%);
  transition: background 0.4s;
}
.photo-strip-item:hover .photo-strip-overlay {
  background: linear-gradient(to top, rgba(7,13,24,0.88) 0%, rgba(7,13,24,0.15) 100%);
}
.photo-strip-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: 0.9;
}
.photo-strip-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .photo-strip {
    grid-template-columns: 1fr;
    height: auto;
  }
  .photo-strip-item { height: 260px; }
  .photo-strip-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(200,168,75,0.2);
  }
}

/* ─── GALLERY ─── */
.gallery-section {
  padding: 120px 0;
  background: var(--surface);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-2);
  height: 340px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(7,13,24,0.92) 0%, transparent 100%);
  padding: 48px 24px 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.gallery-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,168,75,0.15);
  border: 1px solid var(--border-gold);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 8px;
  display: block;
  width: fit-content;
}

/* ─── PRIVACY / 404 ─── */
.doc-page {
  min-height: 100vh;
  padding: 140px 0 80px;
  background: var(--bg);
}
.doc-page .container { max-width: 720px; }
.doc-page h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.doc-page .doc-date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.doc-page .doc-date::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.doc-page h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 48px 0 14px;
}
.doc-page p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.doc-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.doc-page ul li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}
.doc-page a { color: var(--gold); text-decoration: none; }
.doc-page .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 48px;
}
.page-404-wrap {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.big-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(to bottom, var(--gold), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.page-404-wrap h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.page-404-wrap p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── THEME TOGGLE ─── */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: var(--gold-dim);
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* light mode adjustments */
html[data-theme="light"] .hero h1 { color: var(--white); }
html[data-theme="light"] .hero-bg {
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(74,158,232,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 20% 80%, rgba(184,137,26,0.07) 0%, transparent 50%);
}
html[data-theme="light"] .hero-word { color: var(--text); opacity: 0.04; }
html[data-theme="light"] .section-title { color: var(--white); }
html[data-theme="light"] nav:not(.scrolled) .nav-logo { color: var(--white); }
html[data-theme="light"] .sc-num { color: rgba(184,137,26,0.1); }
html[data-theme="light"] .gallery-caption {
  background: linear-gradient(to top, rgba(12,19,32,0.9) 0%, transparent 100%);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .hero h1 { font-size: 48px; }
  .hero-sub { font-size: 16px; }
  .hero-scroll { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 32px 24px; border-bottom: 1px solid var(--border); }
  .stat-num { font-size: 52px; }
  .service-card { padding: 40px 32px; }
  .section-title { font-size: 36px; }
  .clients-header { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 64px 24px; }
  .doc-page { padding: 100px 0 60px; }
  .big-num { font-size: 100px; }
}

/* OSTATECZNY FIX KLIKALNOSCI MENU */
.mobile-menu-close {
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 99999 !important;
    width: 44px !important;
    height: 44px !important;
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    pointer-events: auto !important;
    display: flex !important;
}
.mobile-menu-scroll {
    margin-top: 100px !important;
}
