:root {
  color-scheme: dark;
  --scroll-progress: 0;
  --bg: #0a0a0f;
  --bg-soft: #101016;
  --surface: rgba(20, 20, 27, 0.72);
  --surface-strong: rgba(20, 20, 27, 0.92);
  --text: #ffffff;
  --muted: #8e8e9e;
  --muted-strong: #b8b8c8;
  --accent: #d4a853;
  --accent-2: #f5cf5b;
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.06);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --radius: 24px;
}

body.light-mode {
  color-scheme: light;
  --bg: #f7f5ef;
  --bg-soft: #ebe6d9;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #0a0a0f;
  --muted: #5e5e70;
  --muted-strong: #333340;
  --accent: #a8812c;
  --accent-2: #c9a858;
  --border: rgba(15, 24, 40, 0.1);
  --border-soft: rgba(15, 24, 40, 0.06);
  --shadow: 0 28px 70px rgba(70, 55, 20, 0.16);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 42%),
    radial-gradient(54% 60% at 16% 28%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 66%),
    radial-gradient(50% 52% at 82% 82%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 72%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  border: 0;
  cursor: pointer;
}

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

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent-2) 82%, white));
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 70%, transparent);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 62%);
  filter: blur(4px);
  mix-blend-mode: screen;
  transform: translate3d(-50%, -50%, 0) scale(0.72);
  transition: opacity 0.28s ease, transform 0.18s ease-out;
}

body.motion-ready .cursor-glow {
  opacity: 0.72;
}

body.light-mode .cursor-glow {
  mix-blend-mode: multiply;
  opacity: 0.34;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.particle-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, calc(var(--scroll-progress) * -54px), 0);
  transition: transform 0.12s linear;
}

.particle-field span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.28;
  animation: drift 14s linear infinite;
}

.particle-field span:nth-child(1) { left: 8%; top: 24%; animation-duration: 18s; }
.particle-field span:nth-child(2) { left: 18%; top: 76%; animation-duration: 24s; }
.particle-field span:nth-child(3) { left: 29%; top: 35%; animation-duration: 20s; }
.particle-field span:nth-child(4) { left: 41%; top: 12%; animation-duration: 19s; }
.particle-field span:nth-child(5) { left: 53%; top: 82%; animation-duration: 27s; }
.particle-field span:nth-child(6) { left: 64%; top: 47%; animation-duration: 21s; }
.particle-field span:nth-child(7) { left: 76%; top: 18%; animation-duration: 23s; }
.particle-field span:nth-child(8) { left: 86%; top: 67%; animation-duration: 17s; }
.particle-field span:nth-child(9) { left: 94%; top: 39%; animation-duration: 25s; }
.particle-field span:nth-child(10) { left: 12%; top: 52%; animation-duration: 22s; }
.particle-field span:nth-child(11) { left: 48%; top: 58%; animation-duration: 16s; }
.particle-field span:nth-child(12) { left: 71%; top: 88%; animation-duration: 26s; }

.site-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 40px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: color-mix(in srgb, var(--text) 70%, transparent);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-cta,
.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, opacity 0.22s ease;
}

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 16px 45px color-mix(in srgb, var(--accent) 28%, transparent);
}

.nav-cta:hover,
.button:hover,
.icon-button:hover,
.cta-band:hover {
  transform: translateY(-2px);
}

.floating-actions {
  position: fixed;
  top: 20px;
  right: 12px;
  z-index: 40;
  display: flex;
  gap: 8px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.42);
  color: color-mix(in srgb, var(--text) 78%, transparent);
  backdrop-filter: blur(18px);
}

body.light-mode .icon-button {
  background: rgba(255, 255, 255, 0.76);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 112px;
  z-index: 46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #22d866;
  color: #fff;
  box-shadow: 0 16px 38px rgba(34, 216, 102, 0.34);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(34, 216, 102, 0.42);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.6;
}

.social-proof {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 46;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: min(356px, calc(100vw - 40px));
  min-height: 42px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--text);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.social-proof span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  font-size: 0.75rem;
}

.social-proof strong {
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.light-mode .social-proof {
  background: rgba(255, 255, 255, 0.92);
}

.hero-section {
  position: relative;
  padding: 96px 40px 144px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 600px 385px;
  align-items: center;
  gap: 68px;
}

.hero-copy h1,
.section-heading h1,
.section-heading h2,
.process-card h3,
.portrait-badge strong,
.modal-heading h2,
.contact-panel h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy p {
  max-width: 576px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.625;
}

.hero-focus-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.hero-focus-strip span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.38rem 0.76rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: color-mix(in srgb, var(--text) 62%, transparent);
  background: color-mix(in srgb, var(--text) 4%, transparent);
  font-size: 0.78rem;
  font-weight: 800;
  overflow: hidden;
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.hero-focus-strip span::after {
  content: "";
  position: absolute;
  inset: auto 12px 7px;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.hero-focus-strip span.active {
  border-color: color-mix(in srgb, var(--accent) 46%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text);
  transform: translateY(-2px);
}

.hero-focus-strip span.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 0.86rem 1.42rem;
  border: 1px solid transparent;
  font-weight: 600;
}

.magnetic-action {
  will-change: transform;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 20px 50px color-mix(in srgb, var(--accent) 34%, transparent);
}

.button-ghost {
  border-color: var(--border);
  color: var(--text);
  background: color-mix(in srgb, var(--text) 5%, transparent);
}

.button-ghost:hover,
.calendar-nav:hover,
.back-link:hover {
  border-color: color-mix(in srgb, var(--text) 24%, transparent);
  background: color-mix(in srgb, var(--text) 9%, transparent);
}

.portrait-block {
  position: relative;
  width: 385px;
  max-width: 100%;
  margin-inline: 0;
  will-change: transform;
}

.portrait-block.reveal.visible {
  transform: translate3d(var(--portrait-x, 0px), var(--portrait-y, 0px), 0);
}

.portrait-glow {
  position: absolute;
  inset: -18px -18px -34px;
  border-radius: 30px;
  background: color-mix(in srgb, var(--accent) 24%, transparent);
  filter: blur(34px);
  opacity: 0.54;
}

.portrait {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
  animation: kenBurns 16s ease-in-out infinite alternate;
}

.portrait-badge {
  position: absolute;
  left: -32px;
  bottom: -24px;
  width: 214px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

body.light-mode .portrait-badge {
  background: rgba(255, 255, 255, 0.9);
}

.portrait-badge strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.1;
}

.portrait-badge span {
  display: block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.scroll-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: color-mix(in srgb, var(--text) 50%, transparent);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: bounce 2.2s ease-in-out infinite;
}

.section {
  padding: 96px 40px;
}

.section-divider {
  position: relative;
  overflow: hidden;
  height: 1px;
  margin-bottom: 64px;
  background: var(--border-soft);
}

.section-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: translateX(-100%);
}

.is-in-view > .section-divider::after,
.is-in-view .section-divider::after {
  animation: lineSweep 1.15s ease forwards;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading span,
.contact-panel span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.section-heading span {
  opacity: 0.72;
}

.is-in-view > .section-heading span,
.is-in-view .section-heading span {
  opacity: 1;
  transform: translateY(-2px);
}

.section-heading h2,
.section-heading h1,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(1.875rem, 2.1vw, 2.25rem);
  line-height: 1.1;
}

.section-heading p,
.contact-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.service-card,
.process-card,
.calculator-card,
.calendar-card,
.booking-details,
.contact-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.16);
}

.service-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  min-height: 158px;
  padding: 24px;
  border-radius: 16px;
  color: var(--text);
  text-align: left;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.service-card::before,
.calculator-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 0 0, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
  transition: opacity 0.24s ease;
}

.service-card:hover,
.calculator-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
}

.service-card:hover::before,
.calculator-card:hover::before {
  opacity: 1;
}

.card-icon,
.cta-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 700;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.card-arrow {
  position: relative;
  z-index: 1;
  margin-left: auto;
  color: var(--accent);
  opacity: 0.35;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.service-card:hover .card-arrow {
  transform: translateX(4px);
  opacity: 1;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 900px;
  margin: 8px auto 72px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--text) 4%, transparent);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.cta-band:hover {
  border-color: color-mix(in srgb, var(--text) 24%, transparent);
}

.cta-band span:nth-child(2) {
  display: grid;
  gap: 4px;
  margin-right: auto;
}

.cta-band small {
  color: var(--muted);
}

.cta-band b {
  color: var(--accent);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
}

.license {
  color: var(--accent) !important;
  font-size: 0.9rem;
}

.about-text {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.75;
}

.team-carousel {
  position: relative;
}

.team-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: -78px 0 30px;
}

.team-carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.team-carousel-button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.team-carousel-button:disabled {
  cursor: default;
  opacity: 0.36;
}

.team-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  overscroll-behavior-x: contain;
  padding: 2px 4px 24px;
  scroll-behavior: smooth;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.team-grid::-webkit-scrollbar {
  display: none;
}

.team-card {
  display: grid;
  flex: 0 0 clamp(214px, 22vw, 248px);
  align-content: start;
  gap: 18px;
  min-height: 248px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(20px);
  scroll-snap-align: start;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

.team-card.is-active {
  border-color: color-mix(in srgb, var(--accent) 48%, transparent);
  box-shadow: 0 22px 68px color-mix(in srgb, var(--accent) 18%, transparent);
}

.team-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.team-card h3,
.team-cta h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

.team-card h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  line-height: 1.15;
}

.team-card small {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
}

.team-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.team-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--text) 5%, transparent), color-mix(in srgb, var(--accent) 8%, transparent));
}

.team-cta > div:first-child {
  max-width: 620px;
}

.team-cta span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.team-cta h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.12;
}

.team-cta p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.team-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.process-section {
  --process-card-width: min(672px, calc(100vw - 48px));
  --process-slide-gutter: calc((100vw - var(--process-card-width)) / 2);
  position: relative;
  width: 100vw;
  height: 375vh;
  margin-left: calc(50% - 50vw);
  padding: 0;
}

.process-sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.process-sticky > .section-divider {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  width: min(1072px, calc(100vw - 80px));
  margin: 0 auto;
}

.process-sticky > .section-heading {
  position: absolute;
  top: 104px;
  left: 0;
  right: 0;
  z-index: 2;
  width: min(640px, calc(100vw - 48px));
  margin: 0 auto;
}

.process-track {
  display: flex;
  width: max-content;
  height: 100%;
  gap: 0;
  overflow: visible;
  padding: 160px 0 80px;
  transform: translate3d(var(--process-x, 0px), 0, 0);
  will-change: transform;
  scrollbar-width: none;
}

.process-track::-webkit-scrollbar {
  display: none;
}

.process-card {
  position: relative;
  flex: 0 0 var(--process-card-width);
  align-self: center;
  min-height: 430px;
  margin: 0 var(--process-slide-gutter);
  padding: 42px 48px;
  border-radius: 26px;
  overflow: hidden;
  opacity: 0.42;
  transform: scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.process-card.reveal,
.process-card.reveal.visible {
  opacity: 0.42;
  transform: scale(0.95);
}

.process-card.active,
.process-card.reveal.active {
  opacity: 1;
  transform: scale(1);
}

.process-card::after {
  content: attr(data-step);
}

.process-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 36px color-mix(in srgb, var(--accent) 28%, transparent);
}

.process-card h3 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.process-card::before {
  content: "";
  position: absolute;
  top: -36px;
  right: -24px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  filter: blur(18px);
}

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

.calculator-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border-radius: 22px;
  color: var(--text);
  text-align: left;
  overflow: hidden;
}

.calculator-card .card-icon,
.calculator-card strong,
.calculator-card small,
.calculator-card em {
  position: relative;
  z-index: 1;
}

.calculator-card .card-icon {
  margin-bottom: 20px;
}

.calculator-card strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
}

.calculator-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.calculator-card em {
  display: block;
  margin-top: 24px;
  color: var(--accent);
  font-size: 0.8rem;
  font-style: normal;
}

.reviews-section {
  scroll-margin-top: 20px;
}

.reviews-section .section-heading {
  max-width: 720px;
}

.reviews-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.reviews-copy {
  position: relative;
  padding: 18px 0 18px 30px;
}

.reviews-copy::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 76%, transparent), transparent);
}

.review-source-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.review-source-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  width: fit-content;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.firmy-rating-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.firmy-rating-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3);
}

.firmy-rating-badge img {
  display: block;
  width: min(248px, 100%);
  height: auto;
}

.reviews-copy h3 {
  max-width: 520px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.15rem, 3.2vw, 3.35rem);
  font-weight: 600;
  line-height: 1;
}

.reviews-copy p {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.review-proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 480px;
  margin-top: 30px;
}

.review-proof-list span {
  display: grid;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}

.review-proof-list strong {
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.review-proof-list small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.reviews-widget-card {
  position: relative;
  border-radius: 28px;
}

.reviews-widget-frame {
  position: relative;
  overflow: hidden;
  padding: 1px;
  border-radius: 28px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 48%, transparent), var(--border), color-mix(in srgb, white 14%, transparent));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
}

.reviews-widget-card iframe,
.firmy-reviews-widget {
  position: relative;
  display: block;
  width: 100%;
  height: 420px;
  min-height: 0;
  border: 0;
  border-radius: 27px;
  background: #fff;
}

.booking-section {
  scroll-margin-top: 20px;
}

.booking-widget {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.booking-redirect-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--text) 5%, transparent), color-mix(in srgb, var(--accent) 8%, transparent));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(20px);
}

.booking-redirect-panel > div {
  display: grid;
  gap: 6px;
  margin-right: auto;
}

.booking-redirect-panel strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.booking-redirect-panel small {
  color: var(--muted);
  line-height: 1.6;
}

.booking-redirect-panel .button {
  flex: 0 0 auto;
}

.calendar-card,
.booking-details {
  min-height: 460px;
  padding: 22px;
  border-radius: 22px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.calendar-header strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
}

.calendar-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted-strong);
  font-size: 1.35rem;
}

.weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.weekdays {
  margin-bottom: 8px;
  text-align: center;
}

.weekdays span {
  color: color-mix(in srgb, var(--text) 46%, transparent);
  font-size: 0.7rem;
  font-weight: 700;
}

.calendar-grid button {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.calendar-grid button:hover:not(:disabled),
.calendar-grid button.today:not(.selected) {
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

.calendar-grid button.selected {
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.calendar-grid button:disabled {
  cursor: not-allowed;
  color: color-mix(in srgb, var(--text) 20%, transparent);
}

.booking-details {
  display: flex;
  flex-direction: column;
}

.empty-booking {
  display: grid;
  place-items: center;
  flex: 1;
  gap: 14px;
  color: color-mix(in srgb, var(--text) 48%, transparent);
  text-align: center;
}

.empty-booking svg {
  width: 36px;
  height: 36px;
  opacity: 0.56;
}

.empty-booking h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
}

.slot-panel h3,
.booking-form h3 {
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.slot-grid button {
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.slot-grid button:hover {
  border-color: color-mix(in srgb, var(--text) 38%, transparent);
  background: color-mix(in srgb, var(--text) 7%, transparent);
}

.empty-slots {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px 0;
  color: var(--muted);
  text-align: center;
}

.booking-form {
  display: grid;
  gap: 12px;
}

.booking-form p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.booking-form label,
.calc-form label {
  display: grid;
  gap: 7px;
}

.booking-form label span,
.calc-form label span {
  color: color-mix(in srgb, var(--text) 68%, transparent);
  font-size: 0.78rem;
}

.booking-form input,
.booking-form textarea,
.calc-form input,
.calc-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--text) 5%, transparent);
  color: var(--text);
  padding: 0.72rem 0.84rem;
  outline: none;
}

.booking-form input:focus,
.booking-form textarea:focus,
.calc-form input:focus,
.calc-form select:focus {
  border-color: color-mix(in srgb, var(--text) 28%, transparent);
}

.booking-form textarea {
  resize: vertical;
}

.back-link {
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 0.8rem;
}

.full-width {
  width: 100%;
}

.booking-form small {
  color: color-mix(in srgb, var(--text) 40%, transparent);
  text-align: center;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border-radius: 28px;
}

.contact-panel > div:first-child {
  max-width: 560px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  justify-self: end;
}

.contact-actions .button {
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding-inline: 18px;
  grid-column: span 2;
}

.contact-actions .button:nth-child(n + 4) {
  grid-column: span 3;
}

.cookies-section {
  padding-top: 72px;
}

.policy-section {
  min-height: calc(100vh - 152px);
}

.cookies-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.cookies-info article {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--text) 4%, transparent);
}

.cookies-info h2,
.cookies-info h3,
.data-panel h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.32rem;
  font-weight: 600;
}

.cookies-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cookie-settings {
  width: fit-content;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.data-section {
  min-height: calc(100vh - 106px);
}

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

.stats-grid article,
.data-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(20px);
}

.stats-grid article {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
}

.stats-grid span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stats-grid strong {
  align-self: end;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.data-panel {
  padding: 22px;
}

.stats-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.stats-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--muted);
}

.stats-list li:last-child {
  border-bottom: 0;
}

.stats-list strong {
  color: var(--text);
}

.data-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.data-table-wrap {
  overflow-x: auto;
}

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

.data-table th,
.data-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 0.86rem;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  width: min(720px, calc(100vw - 44px));
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-strong) 92%, #000 8%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cookie-banner h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.cookie-banner p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cookie-banner a {
  color: var(--accent);
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-actions .button {
  min-width: 168px;
  justify-content: center;
}

.cookie-actions .button-ghost {
  border-color: color-mix(in srgb, var(--text) 30%, transparent);
  background: color-mix(in srgb, var(--text) 7%, transparent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 40px 48px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer div {
  flex-direction: column;
  gap: 4px;
}

.site-footer strong {
  color: var(--text);
}

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

.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  display: none;
  justify-content: center;
  pointer-events: none;
}

.sticky-cta.visible {
  display: flex;
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.74);
  color: var(--text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

body.light-mode .sticky-cta a {
  background: rgba(255, 255, 255, 0.92);
}

.sticky-cta span {
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.sticky-cta strong {
  padding: 0.56rem 1rem;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--accent) 30%, color-mix(in srgb, var(--accent) 86%, white) 45%, #fff 50%, color-mix(in srgb, var(--accent) 86%, white) 55%, var(--accent) 70%);
  background-size: 200% 100%;
  color: #fff;
  font-size: 0.86rem;
  animation: shimmer 3s linear infinite;
}

.pulse-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: ping 1.5s ease-out infinite;
}

.calculator-modal {
  position: fixed;
  inset: 0;
  width: min(668px, calc(100vw - 28px));
  max-height: calc(100vh - 80px);
  margin: 40px auto auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.calculator-modal::backdrop {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
}

.modal-panel {
  position: relative;
  height: min(870px, calc(100vh - 80px));
  overflow-y: scroll;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(90% 45% at 50% 26%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 72%),
    var(--surface-strong);
  padding: 0;
  box-shadow: var(--shadow);
  scrollbar-color: color-mix(in srgb, var(--text) 40%, transparent) transparent;
  scrollbar-width: thin;
}

.modal-panel::-webkit-scrollbar {
  width: 8px;
}

.modal-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 40%, transparent);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
}

.modal-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 22px 76px 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 15, 22, 0.72);
}

.modal-heading .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  font-size: 1.1rem;
}

.modal-heading h2 {
  margin: 0 0 4px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.25rem;
  line-height: 1.12;
}

.modal-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.modal-body {
  padding: 32px 74px 24px;
}

.calc-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.26);
}

.calc-form[hidden],
.calc-result[hidden] {
  display: none;
}

.calc-form button {
  grid-column: 1 / -1;
}

.calc-result {
  text-align: center;
}

.calc-kicker {
  display: block;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.calc-hero-value {
  display: block;
  margin-top: 24px;
  color: var(--accent);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(5rem, 7.4vw, 7.2rem);
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: 0;
}

.calc-emphasis {
  margin: 28px auto 0;
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.25;
}

.calc-compare {
  max-width: 512px;
  margin: 34px auto 0;
  padding: 20px 20px 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.24);
  text-align: left;
}

.compare-title {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.compare-row + .compare-row {
  margin-top: 14px;
}

.compare-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--muted-strong);
  font-weight: 700;
}

.compare-line strong {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 0.95rem;
}

.compare-row.gold .compare-line strong,
.compare-note {
  color: var(--accent);
}

.compare-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.compare-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.compare-row.danger .compare-track span {
  background: #ff454a;
}

.compare-row.gold .compare-track span {
  background: var(--accent);
}

.compare-note {
  margin-top: 18px;
  font-weight: 800;
  text-align: center;
}

.calc-note {
  max-width: 500px;
  margin: 20px auto 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.calc-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
}

.calc-actions .button {
  min-width: 342px;
}

.calc-edit {
  padding: 0;
  background: transparent;
  color: var(--muted-strong);
  font-weight: 700;
}

.calc-result small {
  display: block;
  margin-top: 24px;
  color: color-mix(in srgb, var(--text) 42%, transparent);
  font-size: 0.68rem;
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(34px) scale(0.985);
  transition: opacity 0.82s ease, filter 0.82s ease, transform 0.82s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.motion-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.motion-card.is-tilting {
  transition-duration: 0.08s !important;
  transition-timing-function: ease-out !important;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -42px, 0);
  }
  100% {
    transform: translate3d(-8px, -88px, 0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 7px);
  }
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes lineSweep {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  22% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

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

  .cursor-glow {
    display: none;
  }
}

@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

@media (max-width: 1080px) {
  .site-shell {
    max-width: 100%;
  }

  .site-header,
  .hero-section,
  .section,
  .site-footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-section {
    padding-top: 84px;
    padding-bottom: 118px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 5.6vw, 3.65rem);
  }

  .hero-copy p {
    font-size: 1.02rem;
  }

  .calculator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 860px;
    margin: 0 auto;
  }

  .contact-panel {
    align-items: flex-start;
  }

  .process-track {
    padding-top: 150px;
  }
}

@media (max-width: 900px) {
  .site-header,
  .hero-section,
  .section,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .process-section {
    --process-card-width: min(580px, calc(100vw - 48px));
    height: 360vh;
    padding-left: 0;
    padding-right: 0;
  }

  .site-header {
    padding-right: 78px;
  }

  .hero-section {
    padding-top: 72px;
    padding-bottom: 92px;
  }

  .process-sticky > .section-divider {
    top: 24px;
    width: calc(100vw - 48px);
  }

  .process-sticky > .section-heading {
    top: 82px;
  }

  .process-track {
    padding-top: 144px;
    padding-bottom: 54px;
  }

  .hero-grid,
  .about-grid,
  .booking-widget,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-focus-strip {
    justify-content: center;
  }

  .contact-panel {
    display: grid;
    padding: 34px;
  }

  .team-carousel-controls {
    margin-top: -66px;
  }

  .cookies-info {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-actions {
    justify-content: flex-start;
  }

  .contact-actions {
    justify-self: start;
    max-width: 520px;
  }

  .portrait-block {
    width: min(360px, 100%);
    margin-inline: auto;
  }

  .service-grid {
    gap: 14px;
  }

  .service-card {
    min-height: 150px;
    padding: 22px;
  }

  .process-card {
    min-height: 380px;
    padding: 34px 36px;
  }

  .process-card h3 {
    font-size: clamp(2rem, 5.5vw, 2.65rem);
  }

  .booking-widget {
    max-width: 680px;
  }

  .booking-redirect-panel {
    width: min(100%, 680px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  body {
    background:
      radial-gradient(80% 45% at 0 6%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 68%),
      radial-gradient(70% 42% at 100% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
      var(--bg);
  }

  .site-header {
    padding-top: 20px;
    padding-right: 24px;
  }

  .brand {
    gap: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .nav-cta {
    display: none;
  }

  .floating-actions {
    top: 16px;
    right: 12px;
  }

  .hero-section {
    min-height: auto;
    padding: 58px 18px 78px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4rem);
    line-height: 0.98;
  }

  .hero-copy p {
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-copy br {
    display: none;
  }

  .hero-actions {
    justify-content: flex-start;
    margin-top: 28px;
  }

  .hero-focus-strip {
    justify-content: flex-start;
  }

  .hero-actions {
    flex-direction: column;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    justify-self: stretch;
    max-width: none;
  }

  .contact-actions .button,
  .contact-actions .button:nth-child(n + 4) {
    grid-column: 1;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: calc(100vw - 24px);
    padding: 18px;
    border-radius: 18px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cookie-actions .button {
    width: 100%;
  }

  .stats-grid,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .data-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .data-panel-heading .button {
    width: 100%;
  }

  .button,
  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .service-grid,
  .calculator-grid,
  .calc-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 18px;
  }

  .section-divider {
    margin-bottom: 44px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .section-heading h1,
  .contact-panel h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .service-card {
    gap: 14px;
    min-height: auto;
    padding: 18px;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .card-icon,
  .cta-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.2rem;
  }

  .portrait-block {
    width: min(332px, 100%);
    margin-top: 8px;
  }

  .portrait-badge {
    left: 12px;
    right: 12px;
    width: auto;
    min-width: 0;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    margin: 0 18px 56px;
    padding: 18px;
    border-radius: 18px;
  }

  .about-grid {
    gap: 24px;
  }

  .team-carousel-controls {
    justify-content: flex-start;
    margin: 0 0 18px;
  }

  .team-card {
    flex-basis: min(272px, calc(100vw - 72px));
    min-height: auto;
    padding: 20px;
  }

  .team-cta {
    margin-top: 14px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .team-actions {
    flex-direction: column;
    width: 100%;
  }

  .team-actions .button {
    width: 100%;
  }

  .process-section {
    --process-card-width: min(420px, calc(100vw - 32px));
    height: 350vh;
  }

  .process-sticky > .section-divider {
    top: 18px;
    width: calc(100vw - 36px);
  }

  .process-sticky > .section-heading {
    top: 58px;
    width: calc(100vw - 36px);
  }

  .process-sticky > .section-heading span {
    margin-bottom: 10px;
  }

  .process-track {
    padding-top: 124px;
    padding-bottom: 28px;
  }

  .process-card {
    min-height: min(390px, calc(100svh - 178px));
    padding: 24px 22px;
    border-radius: 22px;
  }

  .process-card > span {
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
  }

  .process-card h3 {
    margin-bottom: 12px;
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }

  .process-card p {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .calculator-card {
    min-height: 190px;
    padding: 20px;
    border-radius: 18px;
  }

  .reviews-copy {
    padding: 0;
  }

  .reviews-copy::before {
    display: none;
  }

  .review-source-row {
    margin-bottom: 22px;
  }

  .review-proof-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .review-actions {
    flex-direction: column;
    width: 100%;
  }

  .review-actions .button {
    width: 100%;
  }

  .reviews-widget-frame {
    border-radius: 22px;
  }

  .reviews-widget-card iframe,
  .firmy-reviews-widget {
    height: 360px;
    border-radius: 21px;
  }

  .calendar-card,
  .booking-details {
    padding: 18px;
  }

  .booking-redirect-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
    border-radius: 22px;
  }

  .booking-redirect-panel .button {
    width: 100%;
  }

  .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-card,
  .booking-details {
    min-height: 0;
  }

  .sticky-cta a {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding-left: 12px;
  }

  .sticky-cta span:not(.pulse-dot) {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .calculator-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto auto;
  }

  .modal-panel {
    height: calc(100vh - 20px);
    border-radius: 18px;
  }

  .modal-heading {
    padding: 18px 64px 14px 18px;
  }

  .modal-heading h2 {
    font-size: 1.08rem;
  }

  .modal-heading p {
    font-size: 0.74rem;
  }

  .modal-body {
    padding: 26px 18px 22px;
  }

  .calc-form {
    grid-template-columns: 1fr;
  }

  .calc-hero-value {
    font-size: clamp(4rem, 21vw, 6rem);
  }

  .calc-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.24em;
  }

  .calc-emphasis {
    font-size: 1.05rem;
  }

  .calc-compare {
    padding: 16px;
  }

  .compare-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .calc-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .calc-actions .button {
    min-width: 0;
    width: 100%;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 78px;
    width: 52px;
    height: 52px;
  }

  .social-proof {
    left: 14px;
    bottom: 12px;
    width: min(340px, calc(100vw - 28px));
  }

  .contact-panel {
    padding: 24px 20px;
    border-radius: 22px;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-left: 16px;
    padding-right: 62px;
  }

  .hero-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 14.5vw, 3.45rem);
  }

  .button {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-card {
    align-items: flex-start;
  }

  .card-arrow {
    display: none;
  }

  .process-section {
    --process-card-width: calc(100vw - 28px);
  }

  .process-sticky > .section-heading h2 {
    font-size: 1.75rem;
  }

  .process-card {
    padding: 22px 20px;
  }

  .process-card h3 {
    font-size: clamp(1.75rem, 9.6vw, 2.25rem);
  }

  .calc-hero-value {
    font-size: clamp(3.45rem, 19vw, 4.8rem);
  }

  .calc-note {
    font-size: 0.9rem;
  }

  .sticky-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .sticky-cta strong {
    padding: 0.54rem 0.84rem;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 72px;
  }
}
