/* ==========================================================================
   Liquid Stone - design tokens
   Signature idea: "fără rosturi" - no seams. Sections never meet at a hard
   line; backgrounds blend into one another. Hairlines only ever appear
   INSIDE cards/grids, never between sections.
   ========================================================================== */

:root {
  /* color */
  --bg: #F7F4EF;
  --stone-100: #F1ECE3;
  --stone-200: #E8E1D4;
  --stone-300: #DCD3C2;
  --graphite: #26241F;
  --graphite-soft: #57534A;
  --graphite-faint: #85806F;
  --copper: #A9683F;
  --copper-soft: #C98A5E;
  --copper-dim: rgba(169, 104, 63, 0.14);
  --line: rgba(38, 36, 31, 0.1);
  --paper: #FCFAF6;
  --ink-on-dark: #EFE9DE;

  /* type */
  --font-display: "Manrope", "Avenir Next", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Manrope", "Avenir Next", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  /* rhythm */
  --section-pad: clamp(76px, 8vw, 128px);
  --section-blend: clamp(88px, 9vw, 148px);
  --section-blend-mid: clamp(40px, 4.2vw, 68px);
  --gutter: clamp(20px, 4vw, 48px);
  --max-w: 1360px;
  --text-w: 640px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-s: 0.4s;
  --dur-m: 0.8s;
  --dur-l: 1.4s;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Brand stays warm/light-first by design (product photography carries
       the color) - dark mode only softens pure white glare, not a full
       theme flip, since the brief specifies a fixed warm-stone identity. */
    --bg: #F7F4EF;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.99;
}
.display em {
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.92;
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--graphite-soft);
  max-width: var(--text-w);
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--graphite);
  color: var(--paper);
}
.btn-primary:hover { background: var(--copper); transform: translateY(-1px); }
.btn-ghost {
  border-color: var(--graphite);
  color: var(--graphite);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper); }
.btn-on-dark {
  border-color: rgba(239, 233, 222, 0.4);
  color: var(--ink-on-dark);
}
.btn-on-dark:hover { border-color: var(--copper-soft); color: var(--copper-soft); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  padding: 14px 0;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
  transition: background var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.96);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line), 0 8px 32px rgba(38, 36, 31, 0.035);
}
.wordmark {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--graphite);
}
.navbar-brand {
  position: relative;
  z-index: 132;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--graphite);
}
.navbar-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(172, 132, 72, 0.24);
}
.navbar-brand span {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}
.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 3vw, 42px);
  flex: 1;
}
.menu-links,
.menu-actions {
  display: flex;
  align-items: center;
}
.menu-links { gap: clamp(15px, 1.65vw, 26px); }
.menu-actions { gap: 10px; }
.menu-links a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--graphite-soft);
  transition: color var(--dur-s) var(--ease);
}
.menu-links a:hover,
.menu-links a[aria-current="page"] { color: var(--copper); }
.site-header .btn { padding: 11px 17px; font-size: 13.5px; }
.language-switch {
  position: relative;
  z-index: 132;
  display: inline-block;
  flex: 0 0 auto;
  height: 39px;
}
.language-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 71px;
  height: 39px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.language-current:hover,
.language-current:focus-visible,
.language-switch.is-open .language-current {
  border-color: var(--copper);
  background: rgba(172, 132, 72, 0.06);
  color: var(--copper);
}
.language-current svg {
  width: 9px;
  height: 6px;
  margin-left: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform var(--dur-s) var(--ease);
}
.language-switch.is-open .language-current svg { transform: rotate(180deg); }
.language-flag { font-size: 14px; line-height: 1; letter-spacing: 0; }
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 4;
  width: 156px;
  padding: 5px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(38, 36, 31, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 140ms var(--ease), transform 180ms var(--ease), visibility 0s linear 180ms;
}
.language-switch.is-open .language-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.language-option {
  display: grid;
  grid-template-columns: 20px 1fr 16px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--graphite-soft);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.language-option:hover,
.language-option:focus-visible { background: var(--sand); color: var(--graphite); }
.language-option.is-active { color: var(--copper); }
.language-check { justify-self: end; opacity: 0; }
.language-option.is-active .language-check { opacity: 1; }
.menu-product-btn {
  border-color: var(--line);
  background: transparent;
  color: var(--graphite);
}
.menu-product-btn:hover,
.menu-product-btn[aria-current="page"] {
  border-color: var(--copper);
  color: var(--copper);
}
.menu-toggle,
.menu-scrim { display: none; }

@media (max-width: 1039px) {
  .site-header,
  .site-header.is-scrolled {
    padding: 13px 0;
    background: var(--paper);
    backdrop-filter: none;
  }
  body.nav-open .site-header {
    z-index: 10000;
    background: var(--paper);
    backdrop-filter: none;
    box-shadow: none;
  }
  .navbar-brand { gap: 9px; }
  body.nav-open .navbar-brand { z-index: 10003; }
  .navbar-brand img { width: 42px; height: 42px; }
  .navbar-brand span { font-size: 20px; }
  .menu-toggle {
    position: fixed;
    top: 13px;
    right: var(--gutter);
    z-index: 10003;
    display: grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--paper);
  }
  body.nav-open .menu-toggle {
    right: calc(var(--gutter) + var(--menu-scrollbar-gap, 0px));
  }
  .language-switch {
    position: fixed;
    top: 13px;
    right: calc(var(--gutter) + 52px);
    z-index: 10003;
    height: 44px;
  }
  body.nav-open .language-switch {
    right: calc(var(--gutter) + 52px + var(--menu-scrollbar-gap, 0px));
  }
  .language-current { min-width: 72px; height: 44px; background: var(--paper); }
  .language-menu { top: calc(100% + 7px); }
  .menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--graphite);
    transition: transform var(--dur-s) var(--ease);
  }
  .nav-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    height: 100dvh;
    padding: 102px var(--gutter) max(30px, env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--paper);
    overscroll-behavior: contain;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    will-change: clip-path;
    transition:
      clip-path 300ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 300ms;
  }
  .nav-open .global-nav {
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
    transition-delay: 0s;
  }
  .menu-links {
    display: grid;
    gap: 0;
  }
  .menu-links a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(20px, 5vw, 27px);
    font-weight: 600;
    letter-spacing: -0.035em;
    color: var(--graphite);
    opacity: 0;
    transform: translateY(4px);
    transition:
      color var(--dur-s) var(--ease),
      opacity 160ms var(--ease),
      transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-open .menu-links a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .menu-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 30px;
    opacity: 0;
    transform: translateY(4px);
    transition:
      opacity 160ms var(--ease),
      transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-open .menu-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .site-header .menu-actions .btn {
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    font-size: 13px;
  }
  .menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms var(--ease), visibility 0s linear 300ms;
  }
  .nav-open .menu-scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
  body.nav-open { overflow: hidden; touch-action: none; }
}

@media (max-width: 1039px) and (prefers-reduced-motion: reduce) {
  .global-nav,
  .menu-links a,
  .menu-actions,
  .menu-scrim { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--graphite);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 1.1s var(--ease), transform 7s linear;
}
.hero-media img.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 13, 11, 0.52) 0%, rgba(14, 13, 11, 0.25) 52%, rgba(14, 13, 11, 0.06) 82%),
    linear-gradient(180deg, rgba(14, 13, 11, 0.14) 0%, rgba(14, 13, 11, 0.16) 44%, rgba(14, 13, 11, 0.84) 100%);
}
.hero-glint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 40%), rgba(255, 246, 232, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.hero:hover .hero-glint { opacity: 1; }
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(56px, 8vw, 96px);
  color: var(--ink-on-dark);
}
.hero-content .eyebrow {
  color: #f0d4a6;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}
.hero-title {
  font-size: clamp(40px, 7vw, 92px);
  color: var(--paper);
  margin-block: 18px 22px;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.52);
}
.hero-title em {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: italic;
  color: var(--copper-soft);
}
.hero-sub {
  max-width: 480px;
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255, 252, 247, 0.96);
  margin-bottom: 36px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.58);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  width: max-content;
}
.hero-product-link {
  border-color: var(--copper) !important;
  background: var(--copper) !important;
  color: #fffdf9 !important;
  box-shadow: 0 12px 32px rgba(39, 23, 14, 0.26);
}
.hero-product-link:hover {
  border-color: var(--copper-soft) !important;
  background: var(--copper-soft) !important;
  color: var(--graphite) !important;
}
@media (max-width: 520px) {
  .hero-actions { flex-direction: row; align-items: center; gap: 8px; width: auto; }
  .hero-actions > .btn {
    width: auto;
    height: 42px;
    min-height: 42px;
    padding-inline: 15px;
    font-size: 10px;
    letter-spacing: 0.07em;
  }
}
.hero-actions .btn-on-dark {
  border-color: rgba(255, 252, 247, 0.72);
  background: rgba(14, 13, 11, 0.48);
  color: #fffdf9;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.hero-actions .btn-on-dark:hover {
  border-color: #f0d4a6;
  background: rgba(14, 13, 11, 0.68);
  color: #f0d4a6;
}
.hero-navigation {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-nav-button {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 252, 247, 0.58);
  border-radius: 50%;
  background: rgba(14, 13, 11, 0.34);
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: border-color 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}
.hero-prev { left: clamp(12px, 2vw, 28px); }
.hero-next { right: clamp(12px, 2vw, 28px); }
.hero-nav-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-nav-button:hover,
.hero-nav-button:focus-visible {
  border-color: var(--copper-soft);
  background: rgba(14, 13, 11, 0.62);
  color: var(--copper-soft);
  transform: translateY(-50%) scale(1.05);
}
@media (max-width: 620px) {
  .hero-nav-button {
    width: 38px;
    height: 38px;
    background: rgba(14, 13, 11, 0.46);
  }
  .hero-nav-button svg { width: 18px; height: 18px; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
}
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(239, 233, 222, 0.7);
}
@media (min-width: 640px) and (min-height: 700px) {
  .scroll-cue { display: flex; }
}
.scroll-cue span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(239,233,222,0.9), transparent);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.4; }
}

/* ==========================================================================
   Section base
   ========================================================================== */

.section {
  position: relative;
  padding-block: var(--section-pad);
}
.bg-bg { background: var(--bg); --surface: var(--bg); }
.bg-stone-100 { background: var(--stone-100); --surface: var(--stone-100); }
.bg-stone-200 { background: var(--stone-200); --surface: var(--stone-200); }
.bg-graphite { background: var(--graphite); color: var(--ink-on-dark); --surface: var(--graphite); }

/* Seamless stone-to-stone transitions. The first tone matches the section
   above, then dissolves into the current surface before the content begins. */
.section:not(.cta) {
  background: linear-gradient(
    180deg,
    var(--surface-from, var(--surface)) 0,
    color-mix(in srgb, var(--surface-from, var(--surface)) 42%, var(--surface)) var(--section-blend-mid),
    var(--surface) var(--section-blend),
    var(--surface) 100%
  );
}

#despre { background: var(--bg); }
#culori { --surface-from: var(--bg); }
#beneficii { --surface-from: var(--stone-100); }
#aplicatii { --surface-from: var(--bg); }
#proces { --surface-from: var(--stone-200); }
#portofoliu { --surface-from: var(--stone-100); }

/* The photographic offer section deliberately keeps its own clean edge. */
.section.cta { background: none; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(42px, 5vw, 64px);
}
.section-head h2 { font-size: clamp(32px, 4.4vw, 56px); }
.section-head.center { align-items: center; text-align: center; margin-inline: auto; }

/* ==========================================================================
   About (editorial split)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 96px); }
  .split.reverse { grid-template-columns: 0.9fr 1.1fr; }
  .split.reverse .split-media { order: 2; }
}
.split-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text .eyebrow { display: block; margin-bottom: 16px; }
.split-text h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 22px; }
.trait-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.trait-list li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  color: var(--graphite-soft);
  align-items: baseline;
}
.trait-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* ==========================================================================
   Colors (12 texture catalog)
   ========================================================================== */

.color-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: transparent;
  border: 0;
}
@media (min-width: 640px) { .color-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1080px) { .color-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.color-card {
  position: relative;
  overflow: hidden;
  background: rgba(252, 250, 246, 0.76);
  display: block;
  width: 100%;
  border: 1px solid rgba(38, 36, 31, 0.12);
  border-radius: 4px;
  padding: 10px;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 10px 28px rgba(38, 36, 31, 0.035);
  transition: transform 420ms var(--ease), border-color 420ms var(--ease), box-shadow 420ms var(--ease);
}
.color-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 104, 63, 0.42);
  box-shadow: 0 20px 46px rgba(38, 36, 31, 0.1);
}
.color-card:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}
.color-swatch {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--stone-200);
}
.color-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 850ms var(--ease), filter 850ms var(--ease);
}
.color-card:hover img { transform: scale(1.035); }
.color-card .color-caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 15px 3px 3px;
  color: var(--graphite);
}
.color-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.color-code {
  flex: 0 0 auto;
  color: var(--copper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.color-index {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  padding: 6px 8px;
  border: 1px solid rgba(38, 36, 31, 0.12);
  border-radius: 2px;
  background: rgba(252, 250, 246, 0.82);
  color: var(--graphite-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 480px) {
  .color-card { padding: 7px; }
  .color-card .color-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    min-height: 68px;
    padding: 12px 3px 3px;
  }
  .color-name { font-size: 12.5px; }
  .color-code { font-size: 9px; }
  .color-index { top: 15px; left: 15px; }
}

/* ==========================================================================
   Why Liquid Stone (number grid)
   ========================================================================== */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
@media (min-width: 1080px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-cell {
  min-height: 280px;
  padding: clamp(26px, 3vw, 36px);
  background: var(--surface, var(--bg));
  display: flex;
  flex-direction: column;
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.stat-cell:hover { background: var(--graphite); color: var(--paper); }
.stat-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.stat-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--copper);
}
.stat-icon {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--dur-s) var(--ease), stroke var(--dur-s) var(--ease);
}
.stat-cell:hover .stat-icon { transform: translateY(-4px); stroke: var(--copper-soft); }
.stat-cell h3 {
  margin-top: auto;
  padding-top: 42px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.stat-cell p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--graphite-soft);
  max-width: 30ch;
  transition: color var(--dur-s) var(--ease);
}
.stat-cell:hover p { color: rgba(239,233,222,0.72); }

@media (max-width: 560px) {
  .stat-cell {
    min-height: 220px;
    padding: 18px 15px;
  }
  .stat-meta { gap: 10px; }
  .stat-num { font-size: 9px; }
  .stat-icon { width: 38px; height: 38px; }
  .stat-cell h3 {
    padding-top: 28px;
    font-size: 15px;
    line-height: 1.2;
  }
  .stat-cell p {
    margin-top: 7px;
    font-size: 11.5px;
    line-height: 1.5;
  }
}

/* ==========================================================================
   Use cases
   ========================================================================== */

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 720px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); gap: var(--gutter); } }
@media (min-width: 1080px) { .usecase-grid { grid-template-columns: repeat(3, 1fr); } }
.usecase-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
}
.usecase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.usecase-card:hover img { transform: scale(1.05); }
.usecase-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,18,15,0.72) 0%, rgba(20,18,15,0.1) 55%, transparent 75%);
}
.usecase-card .info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 26px 28px;
  color: var(--paper);
}
.usecase-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
}
.usecase-card p {
  font-size: 13.5px;
  color: rgba(247,244,239,0.78);
  max-width: 30ch;
  opacity: 0;
  max-height: 0;
  transition: opacity var(--dur-s) var(--ease), max-height var(--dur-s) var(--ease), margin var(--dur-s) var(--ease);
}
.usecase-card:hover p,
.usecase-card:focus-within p { opacity: 1; max-height: 80px; }

@media (max-width: 560px) {
  .usecase-card { aspect-ratio: 4 / 5; }
  .usecase-card .info { padding: 14px 12px; }
  .usecase-card h3 {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.08;
  }
  .usecase-card p {
    display: -webkit-box;
    overflow: hidden;
    max-height: 58px;
    opacity: 1;
    font-size: 10px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

/* ==========================================================================
   Pricing - editorial, not SaaS cards
   ========================================================================== */

.price-list { border-top: 1px solid var(--line); }
.price-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (min-width: 760px) {
  .price-row { grid-template-columns: 1.4fr 0.7fr 1fr; gap: 24px; }
}
.price-range {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
}
.price-figure {
  font-size: clamp(28px, 3vw, 38px);
  color: var(--copper);
  font-weight: 500;
}
.price-figure sup { font-size: 14px; color: var(--graphite-faint); margin-left: 2px; }
.price-notes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  color: var(--graphite-soft);
}
.price-foot {
  font-size: 13.5px;
  color: var(--graphite-faint);
}
.price-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}
@media (max-width: 620px) {
  .price-footer-row { align-items: flex-start; flex-direction: column; }
}

/* ==========================================================================
   Process timeline
   ========================================================================== */

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}
@media (min-width: 860px) {
  .timeline { grid-template-columns: repeat(3, 1fr); }
}
.timeline-step {
  min-height: 250px;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--surface, var(--stone-100));
}
.timeline-step .num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--copper);
}
.timeline-step h3 {
  margin-top: 72px;
  font-size: clamp(20px, 2vw, 25px);
  letter-spacing: -0.03em;
}
.timeline-step p { margin-top: 12px; font-size: 14px; color: var(--graphite-soft); max-width: 32ch; }

@media (max-width: 560px) {
  .timeline-step {
    min-height: 190px;
    padding: 18px 15px;
  }
  .timeline-step:last-child {
    grid-column: 1 / -1;
    min-height: 150px;
  }
  .timeline-step h3 {
    margin-top: 42px;
    font-size: 15px;
    line-height: 1.2;
  }
  .timeline-step:last-child h3 { margin-top: 28px; }
  .timeline-step p {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.5;
  }
}

/* ==========================================================================
   Gallery - a quiet, architectural 3 × 3 field
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.masonry-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  cursor: zoom-in;
  border: 1px solid rgba(38, 36, 31, 0.1);
  padding: 0;
  background: var(--stone-200);
  box-shadow: 0 10px 30px rgba(38, 36, 31, 0.035);
}
.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.masonry-item:hover img { transform: scale(1.035); }

.gallery-video-block { margin-top: clamp(70px, 8vw, 112px); }
.gallery-video-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.gallery-video-head h3 { font-size: clamp(30px, 4vw, 52px); }
.gallery-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 780px) {
  .gallery-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
.gallery-video-card {
  overflow: hidden;
  border: 1px solid rgba(38, 36, 31, 0.1);
  border-radius: 3px;
  background: rgba(252, 250, 246, 0.72);
  box-shadow: 0 16px 42px rgba(38, 36, 31, 0.05);
}
.video-shell {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
}
.gallery-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--graphite);
}
.video-minimal-controls {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.video-control {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(20, 18, 15, 0.72);
  color: #fff;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  pointer-events: auto;
  transition: transform 240ms var(--ease), background 240ms var(--ease), border-color 240ms var(--ease);
}
.video-control:hover {
  transform: translateY(-2px);
  border-color: #fff;
  background: rgba(20, 18, 15, 0.9);
}
.video-control svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.video-control .icon-play { fill: currentColor; stroke: none; }
.video-control .icon-pause { display: none; }
.gallery-video-card.is-playing .video-control .icon-play { display: none; }
.gallery-video-card.is-playing .video-control .icon-pause { display: block; }
.gallery-video-card figcaption {
  display: grid;
  gap: 4px;
  padding: 20px 22px 22px;
}
.gallery-video-card strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.gallery-video-card span {
  color: var(--graphite-soft);
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 18, 15, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-s) var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 90vw;
}
.lightbox-frame img {
  max-width: min(90vw, 1200px);
  max-height: 78vh;
  width: auto;
  object-fit: contain;
}
.lightbox-caption {
  color: var(--ink-on-dark);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.01em;
  text-align: center;
  margin: 0;
}
.lightbox-caption:empty { display: none; }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: clamp(20px, 4vw, 48px);
  color: var(--ink-on-dark);
  background: none;
  border: 1px solid rgba(239,233,222,0.4);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(239,233,222,0.4);
  color: var(--ink-on-dark);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 18px;
}
.lightbox-prev { left: clamp(12px, 3vw, 36px); }
.lightbox-next { right: clamp(12px, 3vw, 36px); }

/* ==========================================================================
   Final CTA + form
   ========================================================================== */

.cta {
  position: relative;
  color: var(--ink-on-dark);
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1fr 1fr; align-items: start; } }
.cta-title { font-size: clamp(34px, 5vw, 56px); max-width: 12ch; }
.cta-lede { margin-top: 20px; color: rgba(239,233,222,0.75); max-width: 42ch; }
.contact-details {
  max-width: 560px;
  margin-top: 38px;
  border-top: 1px solid rgba(239,233,222,0.24);
}
.contact-company {
  padding-block: 18px;
  border-bottom: 1px solid rgba(239,233,222,0.16);
  color: var(--copper-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-person {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding-block: 17px;
  border-bottom: 1px solid rgba(239,233,222,0.16);
}
.contact-person > span {
  color: rgba(239,233,222,0.52);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-person strong { font-size: 14px; font-weight: 600; }
.contact-person a,
.contact-email { color: var(--ink-on-dark); font-size: 14px; }
.contact-person a:hover,
.contact-email:hover { color: var(--copper-soft); }
.contact-email { display: inline-block; padding-top: 18px; }
@media (max-width: 560px) {
  .contact-person { grid-template-columns: 1fr auto; }
  .contact-person > span { grid-column: 1 / -1; }
}

.form-panel {
  background: #fffdf9;
  color: var(--graphite);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}
.form-row { display: grid; gap: 16px; }
@media (min-width: 520px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.field label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--graphite);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(38, 36, 31, 0.28);
  border-radius: 3px;
  background: #f7f3ec;
  color: var(--graphite);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}
.field select { cursor: pointer; }
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(169, 104, 63, 0.16);
}
.form-panel > .btn { min-width: 180px; }
.form-note { margin-top: 10px; font-size: 13px; color: var(--graphite-soft); }
.form-success {
  display: none;
  padding: 16px 0 0;
  font-size: 14px;
  color: var(--copper);
}
.form-success.is-visible { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--graphite);
  color: rgba(239,233,222,0.72);
  padding-block: 64px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(239,233,222,0.14);
}
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.footer-brand .wordmark { color: var(--paper); font-size: 22px; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; max-width: 30ch; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(239,233,222,0.5);
  margin-bottom: 16px;
}
.footer-col p, .footer-col a { font-size: 14px; display: block; margin-bottom: 6px; }
.footer-col a:hover { color: var(--copper-soft); }
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid rgba(239,233,222,0.14);
}
.footer-legal-label {
  color: rgba(239,233,222,0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-legal-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.footer-legal-badge {
  display: block;
  width: clamp(174px, 18vw, 210px);
  border-radius: 14px;
  opacity: 0.84;
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.footer-legal-badge img {
  display: block;
  width: 100%;
  height: auto;
}
.footer-legal-badge:hover { opacity: 1; transform: translateY(-1px); }
.footer-legal-badge:focus-visible {
  opacity: 1;
  outline: 2px solid var(--copper-soft);
  outline-offset: 4px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13px;
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 34px; height: 34px;
  border: 1px solid rgba(239,233,222,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--copper-soft); }

@media (max-width: 620px) {
  .footer-legal { align-items: flex-start; flex-direction: column; }
  .footer-legal-badges { justify-content: flex-start; }
  .footer-legal-badge { width: min(210px, calc(50% - 6px)); }
}

/* ==========================================================================
   WhatsApp widget
   ========================================================================== */

.whatsapp-widget {
  position: fixed;
  right: clamp(16px, 4vw, 28px);
  bottom: clamp(36px, 3.5vw, 50px);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(16px) scale(0.9);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.whatsapp-widget.is-visible { transform: translateY(0) scale(1); opacity: 1; }
.whatsapp-tooltip {
  background: var(--graphite);
  color: var(--paper);
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}
.whatsapp-widget:hover .whatsapp-tooltip,
.whatsapp-widget:focus-within .whatsapp-tooltip { opacity: 1; transform: translateX(0); }
.whatsapp-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-btn:hover { transform: scale(1.06); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5); }
.whatsapp-btn svg { width: 30px; height: 30px; }

@media (max-width: 620px) {
  .whatsapp-widget { bottom: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { transition: none; transform: none; }
}

/* ==========================================================================
   Misc utilities
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--graphite);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 300;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }
