/* Strugar Grigore SRL — warm editorial */

:root {
  --cream:        oklch(96.5% 0.014 78);
  --cream-deep:   oklch(92% 0.024 72);
  --sand:         oklch(86% 0.035 68);
  --terracotta:   oklch(57% 0.135 36);
  --terracotta-d: oklch(46% 0.125 33);
  --terracotta-l: oklch(72% 0.10 42);
  --charcoal:     oklch(23% 0.016 45);
  --ink:          oklch(29% 0.02 45);
  --muted:        oklch(50% 0.03 50);
  --line:         oklch(80% 0.03 65);
  --white-warm:   oklch(98.5% 0.008 80);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-brand: var(--font-body);

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-4:  clamp(2.6rem, 1.8rem + 4vw, 5rem);

  --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-s:  clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-m:  clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-l:  clamp(3rem, 2rem + 4vw, 6rem);
  --space-xl: clamp(4.5rem, 3rem + 7vw, 9rem);

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max: 1320px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--charcoal);
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); font-variation-settings: "SOFT" 40, "opsz" 36; }
h1 em { font-style: italic; color: var(--terracotta); font-variation-settings: "SOFT" 50, "opsz" 144; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-weight: 600; font-size: var(--step-0);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.3s var(--ease-out), border-color 0.4s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }
.btn--primary:hover { background: var(--terracotta-d); border-color: var(--terracotta-d); }
.btn--ghost { border-color: var(--charcoal); color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: var(--cream); }
.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--charcoal); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 60%, transparent);
}
.nav {
  max-width: var(--max); margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--space-s);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none; font-family: var(--font-brand);
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; color: var(--charcoal);
}
.wordmark__mark { width: 30px; height: 30px; flex: none; color: var(--terracotta); display: block; }
.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); }
.nav__links a {
  text-decoration: none; font-weight: 500; font-size: var(--step--1); letter-spacing: 0.02em; color: var(--ink);
  padding: 0.3rem 0; border-bottom: 2px solid transparent; transition: border-color 0.3s var(--ease-out);
}
.nav__links a:hover { border-color: var(--terracotta); }
.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); transition: transform 0.3s var(--ease-out); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav { row-gap: 0; grid-template-columns: 1fr auto; }
  .nav__links {
    order: 10; grid-column: 1 / -1; display: block;
    max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-out);
  }
  .nav__links.is-open { max-height: 24rem; }
  .nav__links li a { display: block; padding: 0.9rem 0; border: 0; border-top: 1px solid var(--line); font-size: var(--step-1); font-family: var(--font-display); font-weight: 400; }
  .nav__links li:first-child a { margin-top: 0.75rem; }
  .nav__links li:last-child a { margin-bottom: 0.5rem; }
  .nav__toggle { display: flex; }
}

/* Hero — full-width photo */
.hero {
  position: relative; isolation: isolate;
  min-height: min(86vh, 800px);
  display: grid; align-items: end;
  color: var(--cream);
  overflow: hidden;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 50% 45%; z-index: -2; animation: hero-zoom 9s var(--ease-out) both; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, oklch(20% 0.02 40 / 0.94) 0%, oklch(20% 0.02 40 / 0.6) 40%, oklch(20% 0.02 40 / 0.15) 75%, transparent 100%),
    linear-gradient(to right, oklch(20% 0.02 40 / 0.5) 0%, transparent 55%);
}
.hero__inner {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter) var(--space-m);
  display: grid; gap: var(--space-s);
}
.hero__inner h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 1.6rem + 5vw, 5.6rem);
  max-width: 14ch;
}
.hero__inner h1 em { color: var(--terracotta-l); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.hero__foot {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--space-s) var(--space-l);
  padding-top: var(--space-s);
  border-top: 1px solid color-mix(in oklch, var(--cream) 25%, transparent);
  margin-top: var(--space-xs);
}
.hero__stat { display: flex; align-items: center; gap: 1rem; }
.hero__stat-num { font-family: var(--font-display); font-size: var(--step-4); line-height: 0.9; color: var(--terracotta-l); font-variation-settings: "SOFT" 60, "opsz" 144; }
.hero__stat-num sup { font-size: 0.45em; vertical-align: 0.9em; margin-left: 0.05em; }
.hero__stat-label { font-size: var(--step--1); color: color-mix(in oklch, var(--cream) 70%, transparent); line-height: 1.3; text-transform: uppercase; letter-spacing: 0.08em; }

.hero__in { animation: hero-rise 0.9s var(--ease-out) both; }
.hero__in:nth-child(1) { animation-delay: 0.1s; }
.hero__in:nth-child(2) { animation-delay: 0.22s; }
.hero__in:nth-child(3) { animation-delay: 0.36s; }
.hero__in:nth-child(4) { animation-delay: 0.5s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }

@media (max-width: 800px) {
  .hero { min-height: 92svh; }
  .hero__bg img { object-position: 50% 30%; }
  .hero__inner { padding-top: 8rem; padding-bottom: var(--space-m); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__in, .hero__bg img { animation: none; }
}

/* Brick strip — a single row of slowly drifting bricks, shaded by the hero above */
.strip { position: relative; background: var(--terracotta-d); overflow: hidden; }
.strip__bricks {
  height: 3.25rem; opacity: 0.85;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40'%3E%3Crect width='80' height='40' fill='%235e2a1e'/%3E%3Crect x='0' y='0' width='38' height='18' fill='%23a0452f'/%3E%3Crect x='40' y='0' width='38' height='18' fill='%23a0452f'/%3E%3Crect x='0' y='20' width='18' height='18' fill='%23a0452f'/%3E%3Crect x='20' y='20' width='38' height='18' fill='%23a0452f'/%3E%3Crect x='60' y='20' width='20' height='18' fill='%23a0452f'/%3E%3C/svg%3E");
  background-size: 80px 40px; background-repeat: repeat;
  animation: bricks-drift 14s linear infinite;
}
.strip::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, oklch(20% 0.02 40 / 0.85) 0%, oklch(20% 0.02 40 / 0.35) 55%, transparent 100%);
}
@keyframes bricks-drift { from { background-position-x: 0; } to { background-position-x: 80px; } }
@media (max-width: 760px) { .strip__bricks { height: 2.25rem; } }

/* Section heads */
.section-head { display: grid; gap: var(--space-s); margin-bottom: var(--space-m); }
.section-head--light h2 { color: var(--cream); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: var(--space-s); }
.section-head--row > div:first-child { display: grid; gap: var(--space-s); }

/* About — short intro and four facts */
.about { background: var(--cream-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about__inner {
  max-width: var(--max); margin: 0 auto; padding: var(--space-xl) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-l); align-items: center;
}
.about__intro { display: grid; gap: var(--space-s); }
.about__intro p { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 34ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.fact { display: grid; gap: 0.35rem; align-content: start; padding: var(--space-m) var(--space-s) var(--space-m) 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: var(--space-m); }
.fact__big {
  font-family: var(--font-display); font-size: var(--step-4); line-height: 0.95;
  color: var(--terracotta); letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 60, "opsz" 144;
}
.fact__big sup { font-size: 0.45em; vertical-align: 0.9em; margin-left: 0.05em; }
.fact__big--word { font-style: italic; font-size: var(--step-3); line-height: 1.1; padding-top: 0.2em; }
.fact dd { margin: 0; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: var(--space-m); }
}
@media (max-width: 420px) {
  .fact:nth-child(even) { padding-left: var(--space-s); }
  .fact__big--word { font-size: var(--step-2); }
}

/* Services — wrapped h3 list on a slowly drifting brick pattern */
.services { position: relative; isolation: isolate; padding: var(--space-xl) 0; overflow: hidden; }
.services::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40'%3E%3Crect width='80' height='40' fill='none'/%3E%3Crect x='0' y='0' width='38' height='18' fill='%23efd6c9'/%3E%3Crect x='40' y='0' width='38' height='18' fill='%23efd6c9'/%3E%3Crect x='0' y='20' width='18' height='18' fill='%23efd6c9'/%3E%3Crect x='20' y='20' width='38' height='18' fill='%23efd6c9'/%3E%3Crect x='60' y='20' width='20' height='18' fill='%23efd6c9'/%3E%3C/svg%3E");
  background-size: 80px 40px; background-repeat: repeat;
  animation: bricks-drift 18s linear infinite;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 72%, transparent 100%);
}
.services > * { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.cloud { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0; row-gap: 0.5rem; }
.cloud__item { display: inline-flex; align-items: center; }
.cloud__item h3 { font-size: var(--step-2); }
.cloud__item:not(:last-child)::after {
  content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--terracotta);
  margin: 0 clamp(0.9rem, 2vw, 1.5rem); flex: none;
}

/* Process — dark band */
.process { background: var(--charcoal); color: var(--cream); padding: var(--space-xl) var(--gutter); }
.process > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-m); position: relative; }
.steps::before, .steps::after {
  content: ""; position: absolute; top: 0.95rem; height: 1px;
  left: 0.45rem; right: calc((100% - 4 * var(--space-m)) / 5 - 0.45rem);
}
.steps::before { background: color-mix(in oklch, var(--cream) 22%, transparent); }
.steps::after { background: var(--terracotta-l); transform: scaleX(0); transform-origin: left; }
.steps.is-live::after { animation: steps-draw 12s ease-in-out infinite; }
.steps.is-live .step__mark { animation: dot-pulse 12s ease-in-out infinite; }
.step:nth-child(1) .step__mark { animation-delay: 0s; }
.step:nth-child(2) .step__mark { animation-delay: 1.5s; }
.step:nth-child(3) .step__mark { animation-delay: 3s; }
.step:nth-child(4) .step__mark { animation-delay: 4.5s; }
.step:nth-child(5) .step__mark { animation-delay: 6s; }
@keyframes steps-draw {
  0% { transform: scaleX(0); opacity: 1; }
  50% { transform: scaleX(1); opacity: 1; }
  78% { transform: scaleX(1); opacity: 1; }
  90% { transform: scaleX(1); opacity: 0; }
  100% { transform: scaleX(0); opacity: 0; }
}
@keyframes dot-pulse {
  0% { transform: scale(1); }
  3% { transform: scale(1.6); background: var(--cream); }
  9% { transform: scale(1); background: var(--terracotta-l); }
  100% { transform: scale(1); }
}
.step { display: grid; gap: 0.75rem; align-content: start; padding-top: 0.5rem; }
.step h3 { margin-top: 0.25rem; }
.step__mark {
  width: 0.9rem; height: 0.9rem; border-radius: 50%; position: relative; z-index: 1;
  background: var(--terracotta-l);
  box-shadow: 0 0 0 5px var(--charcoal), 0 0 0 6px color-mix(in oklch, var(--cream) 22%, transparent);
}
.step h3 { color: var(--cream); font-size: var(--step-1); margin-top: 0.5rem; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { display: none; }
  .step { grid-template-columns: 4.5rem 1fr; align-items: center; column-gap: var(--space-s); padding: var(--space-xs) 0; }
  .step__mark { justify-self: start; }
  .step h3 { margin-top: 0; }
}

.process__cta {
  margin-top: var(--space-l); padding-top: var(--space-m);
  border-top: 1px solid color-mix(in oklch, var(--cream) 22%, transparent);
  display: grid; justify-items: center; gap: var(--space-s); text-align: center;
}
.process__cta p { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); color: var(--cream); font-variation-settings: "SOFT" 70, "opsz" 48; }

/* Works — gallery */
.works { max-width: var(--max); margin: 0 auto; padding: var(--space-xl) var(--gutter); }
.filters { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1.75rem; }
.filter {
  padding: 0.35rem 0; border: 0; background: none;
  font-family: var(--font-display); font-style: italic; font-size: var(--step-1);
  color: var(--muted); position: relative;
  font-variation-settings: "SOFT" 70, "opsz" 48;
  transition: color 0.3s var(--ease-out);
}
.filter::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.filter:hover { color: var(--charcoal); }
.filter.is-active { color: var(--charcoal); }
.filter.is-active::after { transform: scaleX(1); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, 22vw); grid-auto-flow: dense; gap: 0.75rem; }
.gallery__item { overflow: hidden; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item button { width: 100%; height: 100%; display: block; position: relative; padding: 0; background: var(--sand); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery__item button:hover img { transform: scale(1.04); }
.gallery__item.is-hidden { display: none; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(160px, 40vw); } }
@media (max-width: 500px) { .gallery { gap: 0.5rem; grid-auto-rows: minmax(140px, 44vw); } }

/* Kitchens band */
.kitchens {
  color: var(--cream);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  position: relative; isolation: isolate;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-d) 45%, oklch(40% 0.115 32) 100%);
}
.kitchens::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40'%3E%3Crect width='80' height='40' fill='none'/%3E%3Crect x='0' y='0' width='38' height='18' fill='%23fff'/%3E%3Crect x='40' y='0' width='38' height='18' fill='%23fff'/%3E%3Crect x='0' y='20' width='18' height='18' fill='%23fff'/%3E%3Crect x='20' y='20' width='38' height='18' fill='%23fff'/%3E%3Crect x='60' y='20' width='20' height='18' fill='%23fff'/%3E%3C/svg%3E");
  background-size: 80px 40px;
  mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.9), transparent 55%);
}
.kitchens__text { padding: var(--space-xl) var(--gutter); display: grid; gap: var(--space-m); max-width: 34rem; justify-self: center; text-align: center; }
.kitchens__text h2 { color: var(--cream); font-size: var(--step-3); }
.kitchens__text .btn { justify-self: center; }
.slideshow {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  margin: var(--space-m) var(--gutter) var(--space-m) 0;
  background: var(--charcoal);
}
.slideshow img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: slide-fade 15s infinite;
}
.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 5s; }
.slideshow img:nth-child(3) { animation-delay: 10s; }
@keyframes slide-fade {
  0% { opacity: 0; transform: scale(1.04); }
  6% { opacity: 1; }
  33% { opacity: 1; transform: scale(1); }
  40% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}
@media (max-width: 900px) {
  .kitchens { grid-template-columns: 1fr; }
  .kitchens__text { padding-bottom: var(--space-m); }
  .slideshow { margin: 0 var(--gutter) var(--space-l); }
}

/* Contact */
.contact {
  background: var(--cream-deep); padding: var(--space-xl) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-l);
}
.contact > * { max-width: calc(var(--max) / 2 - var(--space-l) / 2); }
.contact__info { display: grid; gap: var(--space-s); align-content: start; justify-self: end; width: 100%; }
.contact__info h2 { font-size: var(--step-3); max-width: 14ch; }
.contact__details { margin: var(--space-s) 0 0; display: grid; gap: var(--space-s); }
.contact__details div { display: grid; gap: 0.15rem; }
.contact__details dt { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }
.contact__details dd { margin: 0; font-size: var(--step-1); font-family: var(--font-display); }
.contact__details dd a { text-decoration: none; border-bottom: 1px solid var(--terracotta); transition: color 0.3s; }
.contact__details dd a:hover { color: var(--terracotta); }
.contact__details div:first-child dd { font-size: var(--step-3); }
.contact__form { display: grid; gap: var(--space-s); align-content: start; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.02em; }
.field input, .field textarea {
  font: inherit; padding: 0.85rem 1rem; border: 1px solid var(--line); background: var(--white-warm); color: var(--ink); width: 100%;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--terracotta); box-shadow: 0 0 0 3px color-mix(in oklch, var(--terracotta) 25%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in oklch, var(--muted) 70%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--terracotta-d); }
.field__error { color: var(--terracotta-d); font-size: var(--step--1); font-weight: 600; }
.field__ok { font-size: var(--step--1); color: var(--muted); padding: 0.75rem 1rem; background: var(--white-warm); border-left: 3px solid var(--terracotta); }
.field__ok a { color: var(--charcoal); font-weight: 600; }
.contact__form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.contact__form-note { font-size: var(--step--1); color: var(--muted); }
.contact__form-note a { color: var(--charcoal); }
@media (max-width: 800px) {
  .contact { grid-template-columns: 1fr; gap: var(--space-m); }
  .contact > * { max-width: none; }
  .contact__info { justify-self: start; }
}

/* Footer */
.site-footer { background: var(--charcoal); color: var(--cream); }
.strip__bricks--footer { opacity: 0.3; height: 2.5rem; animation: none; }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: var(--space-m) var(--gutter); display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.site-footer__legal { font-size: var(--step--1); color: color-mix(in oklch, var(--cream) 55%, var(--charcoal)); }
.site-footer__legal a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Simple text page (confidentialitate.html) */
.page { max-width: 42rem; margin: 0 auto; padding: var(--space-l) var(--gutter) var(--space-xl); }
.page h1 { font-size: var(--step-3); margin-bottom: var(--space-m); }
.page h2 { font-size: var(--step-1); margin: var(--space-m) 0 var(--space-xs); font-variation-settings: "SOFT" 40, "opsz" 36; }
.page p, .page li { color: var(--ink); margin-bottom: 0.6rem; }
.page ul { list-style: disc; padding-left: 1.25rem; }
.page a { color: var(--terracotta-d); }
.page .back { display: inline-block; margin-top: var(--space-m); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--terracotta); color: var(--charcoal); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: oklch(62% 0.17 150); color: white;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.25);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.wa-float:hover { transform: translateY(-2px); background: oklch(55% 0.17 150); }
@media (min-width: 900px) { .wa-float { right: 1.5rem; bottom: 1.5rem; } }
/* keep clear of the Agentation toolbar during local development */
body:has([data-agentation-portal]) .wa-float { bottom: 5.5rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; display: none; place-items: center; color: var(--cream); }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: color-mix(in oklch, var(--charcoal) 94%, transparent); }
.lightbox figure { margin: 0; display: grid; gap: 0.75rem; max-width: min(92vw, 1400px); }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; margin: 0 auto; }
.lightbox figcaption { text-align: center; font-family: var(--font-display); font-style: italic; font-size: var(--step-1); padding: 0 1rem; }
.lightbox__close, .lightbox__nav {
  position: fixed; width: 3rem; height: 3rem; display: grid; place-items: center;
  font-size: 2rem; line-height: 1; color: var(--cream);
  background: color-mix(in oklch, var(--charcoal) 60%, transparent); transition: background 0.3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--terracotta); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip__bricks { animation: none; }
  .services::before { animation: none; }
  .steps.is-live::after, .steps.is-live .step__mark { animation: none; }
  .slideshow img { animation: none; }
  .slideshow img:first-child { opacity: 1; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
