/* =========================================================
   Simpa Cleaning · stiluri
   ========================================================= */
:root {
  --navy: #0b2a6f;
  --navy-2: #0a1f52;
  --blue: #1846b8;
  --teal: #149fb2;
  --teal-2: #4fd0dc;
  --ink: #0c1630;
  --body: #3d4a66;
  --muted: #6b7690;
  --paper: #fbfcfe;
  --mist: #f0f5f9;
  --mist-2: #e3edf4;
  --line: #e2e9f1;
  --white: #fff;
  --wa: #25d366;

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 32px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --shadow-sm: 0 1px 2px rgba(12, 22, 48, .04), 0 4px 12px -4px rgba(12, 22, 48, .08);
  --shadow: 0 2px 4px rgba(12, 22, 48, .03), 0 24px 48px -24px rgba(11, 42, 111, .28);
  --shadow-lg: 0 40px 80px -40px rgba(11, 42, 111, .45);
  --grad: linear-gradient(115deg, var(--blue) 0%, #1a6fc0 55%, var(--teal) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--teal); color: #fff; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(980px, 100% - 40px); }

/* ---------- Typography ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 22px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.kicker .dot { display: none; }
.hero .kicker::before { display: none; }
.hero .kicker .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(20, 159, 178, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20, 159, 178, .45); } 70% { box-shadow: 0 0 0 12px rgba(20, 159, 178, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 159, 178, 0); } }
.kicker.light { color: var(--teal-2); }

.display {
  font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 144;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.025em; color: var(--navy);
  margin-bottom: 28px;
}
.title {
  font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.06; letter-spacing: -.02em; color: var(--navy);
  margin-bottom: 22px;
}
.display em, .title em {
  font-style: italic; font-weight: 300;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.title.light { color: #fff; }
.title.light em { background: linear-gradient(115deg, #9fdcff, var(--teal-2)); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--body); max-width: 33em; line-height: 1.7; }
.lead strong { color: var(--ink); font-weight: 600; }
.lead.light { color: rgba(230, 238, 255, .82); }
.muted { color: var(--muted); }
.link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .9em; --pad-x: 1.5em;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: .96rem; letter-spacing: -.005em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn-sm { --pad-y: .6em; --pad-x: 1.15em; font-size: .88rem; }
.btn-lg { --pad-y: 1.05em; --pad-x: 1.75em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--grad); background-size: 140% 100%; color: #fff; box-shadow: 0 10px 24px -10px rgba(24, 70, 184, .65), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 32px -12px rgba(24, 70, 184, .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-line { background: rgba(255, 255, 255, .7); color: var(--navy); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .4); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn:focus-visible, .tab:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(251, 252, 254, .82);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.site-header.scrolled .header-inner { height: 70px; }
.brand { display: block; width: 158px; height: 64px; overflow: hidden; border-radius: 10px; flex-shrink: 0; transition: width .4s var(--ease), height .4s var(--ease); }
.site-header.scrolled .brand { width: 136px; height: 54px; }
.brand img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 52%; transform: scale(1.22); mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) {
  position: relative; text-decoration: none; font-weight: 500; font-size: .93rem; color: var(--ink); opacity: .78;
  transition: opacity .2s;
}
.nav > a:not(.btn):not(.nav-phone)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav > a:not(.btn):hover { opacity: 1; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600 !important; opacity: 1 !important; color: var(--navy) !important; }
.nav-phone svg { width: 16px; height: 16px; fill: var(--teal); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 130px 0 90px; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 92% -10%, rgba(79, 208, 220, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(24, 70, 184, .08), transparent 60%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; width: min(1240px, 100% - 40px); }
.hero-copy > * { opacity: 0; transform: translateY(26px); animation: in 1.1s var(--ease) forwards; }
.hero-copy > *:nth-child(2) { animation-delay: .1s; }
.hero-copy > *:nth-child(3) { animation-delay: .22s; }
.hero-copy > *:nth-child(4) { animation-delay: .34s; }
.hero-copy > *:nth-child(5) { animation-delay: .46s; }
@keyframes in { to { opacity: 1; transform: none; } }

.display em.rotator { position: relative; display: inline-grid; vertical-align: top; background: none; color: inherit; }
.rot-word {
  grid-area: 1 / 1; padding-right: .08em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(.45em); filter: blur(6px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); white-space: nowrap; }
.rot-word.is-on { opacity: 1; transform: none; filter: none; }
.rot-word.is-out { opacity: 0; transform: translateY(-.45em); filter: blur(6px); }

.hero-facts { display: flex; gap: clamp(22px, 4vw, 48px); margin: 52px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-facts div { margin: 0; }
.hero-facts dt { font-family: var(--serif); font-size: 1.85rem; color: var(--navy); line-height: 1.1; font-variation-settings: "opsz" 72; }
.hero-facts dd { margin: 4px 0 0; font-size: .85rem; color: var(--muted); }

.hero-media { position: relative; aspect-ratio: 1 / 1.08; }
.frame { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--mist); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-main { inset: 0 0 12% 14%; clip-path: inset(100% 0 0 0 round var(--r-lg)); animation: unveil 1.5s .2s var(--ease) forwards; }
.frame-main img { transform: scale(1.18); animation: settle 2.6s .2s var(--ease) forwards, kenburns 22s 2.8s ease-in-out infinite alternate; }
.frame-small { left: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5; border: 6px solid var(--paper); border-radius: 26px; clip-path: inset(0 100% 0 0 round 26px); animation: unveilX 1.3s .75s var(--ease) forwards; }
.frame-small img { object-position: 70% 60%; }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round var(--r-lg)); } }
@keyframes unveilX { to { clip-path: inset(0 0 0 0 round 26px); } }
@keyframes settle { to { transform: scale(1.04); } }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }

.glass-card {
  position: absolute; right: -4%; bottom: 20%; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px 16px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow);
  opacity: 0; animation: in 1s 1.2s var(--ease) forwards; transform: translateY(20px);
}
.glass-card strong { display: block; color: var(--ink); font-size: .95rem; font-weight: 600; }
.glass-card span:not(.glass-ico) { display: block; color: var(--muted); font-size: .82rem; }
.glass-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; }
.glass-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 24px; height: 38px; border: 1.5px solid rgba(12, 22, 48, .25); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 3px; background: var(--navy); transform: translateX(-50%); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--navy); color: #fff; padding: 22px 0; border-block: 1px solid rgba(255, 255, 255, .06); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2rem); white-space: nowrap; letter-spacing: -.01em; }
.marquee i { font-style: normal; color: var(--teal-2); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifest ---------- */
.manifest { padding: clamp(100px, 14vw, 180px) 0; }
.manifest-text {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144;
  font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.22; letter-spacing: -.015em; color: var(--navy); margin: 0;
  text-wrap: balance;
}
.manifest-text .w { color: rgba(11, 42, 111, .14); transition: color .5s ease; }
.manifest-text .w.lit { color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 11vw, 150px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }

/* ---------- Bento ---------- */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, minmax(300px, auto));
}
.tile { position: relative; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); isolation: isolate; }
.t-a { grid-column: span 7; grid-row: span 1; min-height: 440px; }
.t-b { grid-column: span 5; min-height: 440px; }
.t-c { grid-column: span 4; }
.t-d { grid-column: span 4; }
.t-e { grid-column: span 4; }
.tile-photo { border: 0; color: #fff; display: flex; align-items: flex-end; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.tile-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 20, 52, 0) 30%, rgba(8, 20, 52, .78) 100%); }
.tile-photo:hover img { transform: scale(1.08); }
.tile-body { padding: clamp(24px, 3vw, 36px); max-width: 520px; }
.tile-photo h3 { color: #fff; }
.tile-photo p { color: rgba(255, 255, 255, .85); margin: 0; }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.01em; margin: 10px 0 10px; }
.tile-text { padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tile-text:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile-text p { color: var(--muted); margin: 0; }
.tile-text .tile-ico { margin-bottom: auto; }
.tile-text .tag { margin-top: 46px; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .16em; opacity: .7; }
.tile-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--mist); display: grid; place-items: center; }
.tile-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile-dark { background: linear-gradient(150deg, var(--navy), #123b94 70%, #0f6c8a); border: 0; }
.tile-dark h3 { color: #fff; }
.tile-dark p { color: rgba(220, 232, 255, .78); }
.tile-dark .tag { color: var(--teal-2); }
.tile-dark .tile-ico { background: rgba(255, 255, 255, .1); }
.tile-dark .tile-ico svg { stroke: #fff; }

/* ---------- B2B ---------- */
.b2b { position: relative; overflow: hidden; color: #fff; padding: clamp(100px, 12vw, 160px) 0 clamp(60px, 7vw, 90px); background: var(--navy-2); isolation: isolate; }
.b2b-bg { position: absolute; inset: -15% 0; z-index: -2; }
.b2b-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(1.1); }
.b2b::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 31, 82, .97) 30%, rgba(10, 31, 82, .72) 70%, rgba(10, 31, 82, .55)); }
.b2b-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.b2b-list { list-style: none; margin: 0; padding: 0; }
.b2b-list li { display: flex; gap: 22px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.b2b-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.b2b-list span { font-family: var(--serif); font-style: italic; color: var(--teal-2); font-size: 1.1rem; padding-top: 2px; }
.b2b-list h3 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin-bottom: 6px; }
.b2b-list p { color: rgba(220, 232, 255, .72); margin: 0; }
.segments { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(56px, 7vw, 90px); }
.segments span {
  padding: .7em 1.3em; border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px);
  transition: background-color .3s, border-color .3s;
}
.segments span:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.process-head { position: sticky; top: 130px; }
.process-head .muted { max-width: 26em; margin-bottom: 30px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; }
.timeline-line { position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline-line span { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); }
.timeline li { position: relative; padding: 0 0 64px; }
.timeline li:last-child { padding-bottom: 0; }
.t-num {
  position: absolute; left: -64px; top: 0; width: 43px; height: 43px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; color: var(--navy); font-size: .95rem; transition: background .5s, color .5s, border-color .5s;
}
.timeline li.revealed .t-num { background: var(--navy); color: #fff; border-color: var(--navy); }
.timeline h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.01em; margin: 2px 0 10px; }
.timeline p { color: var(--muted); max-width: 30em; margin: 0; font-size: 1.04rem; }

/* ---------- Quality ---------- */
.quality { background: var(--mist); }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.reels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.reel { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--mist-2); }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel img { object-position: 30% 50%; }
.reel-offset { margin-top: 70px; }
.q-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 36px; margin-top: 40px; }
.q-list div { padding-top: 20px; border-top: 1px solid rgba(11, 42, 111, .14); }
.q-list h3 { font-size: 1.02rem; margin-bottom: 8px; }
.q-list p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Order ---------- */
.order-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.order-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.order-points li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; }
.order-points li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), var(--grad); }
.price-note { margin-top: 40px; padding: 22px 24px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); }
.price-note strong { color: var(--ink); font-weight: 600; }
.price-note p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }

.order-form { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--mist); margin-bottom: 28px; }
.tab-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease); }
.order-form.is-firma .tab-pill { transform: translateX(100%); }
.tab { position: relative; z-index: 1; border: 0; background: none; padding: .8em; font: inherit; font-weight: 600; font-size: .93rem; color: var(--muted); cursor: pointer; border-radius: 999px; transition: color .3s; }
.tab.active { color: var(--navy); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 26px 16px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
  transition: border-color .25s, box-shadow .25s, background-color .25s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field.select select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b7690' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field label { position: absolute; left: 17px; top: 18px; font-size: 1rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.static { transform: translateY(-10px) scale(.76); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(20, 159, 178, .12); }
.field input:focus + label, .field textarea:focus + label { color: var(--teal); }
.field.invalid input { border-color: #d6455d; box-shadow: 0 0 0 4px rgba(214, 69, 93, .1); }
.field-group { margin: 6px 0 18px; }
.group-label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .55em 1.05em; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: .9rem; font-weight: 500; color: var(--body); transition: all .25s; }
.chips label:hover span { border-color: var(--teal); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(20, 159, 178, .2); }
.wa-ico { width: 20px; height: 20px; fill: currentColor; }
.form-hint { margin: 14px 0 0; text-align: center; font-size: .84rem; color: var(--muted); }
.order-form .firma-only { display: none; }
.order-form.is-firma .firma-only { display: block; }
.order-form.is-firma .pf-only { display: none; }
.order-form .order-swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 120px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: var(--ink); font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230b2a6f' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .45s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--mist); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--muted); margin: 0; padding: 0 60px 26px 0; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 13vw, 170px) 0; color: #fff; background: var(--navy); }
.cta-bg { position: absolute; inset: -15% 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(11, 42, 111, .95) 25%, rgba(11, 42, 111, .78) 60%, rgba(20, 159, 178, .55)); }
.cta-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.contact-card { list-style: none; margin: 0; padding: 10px 30px; border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.contact-card li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-weight: 500; }
.contact-card li:last-child { border-bottom: 0; }
.contact-card span { color: rgba(220, 232, 255, .6); font-weight: 400; font-size: .9rem; }
.contact-card a { color: #fff; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: rgba(220, 232, 255, .66); padding: 80px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.1fr; gap: 40px; }
.footer-logo { width: 190px; height: 112px; object-fit: cover; object-position: 46% 52%; border-radius: 16px; background: #fff; margin-bottom: 20px; }
.footer-brand p { max-width: 26em; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.copy { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 60px; padding-top: 26px; font-size: .84rem; }
.copy a { text-decoration: none; }
.copy a:hover { color: #fff; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .65), inset 0 1px 0 rgba(255, 255, 255, .3);
  transform: scale(0); animation: pop .6s 1.8s var(--ease) forwards; transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.8s 3s ease-out infinite; opacity: 0; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.08) !important; }
@keyframes pop { to { transform: scale(1); } }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.revealed { opacity: 1; transform: none; }
.js .tile-photo.reveal { clip-path: inset(12% 0 0 0 round var(--r)); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), clip-path 1.4s var(--ease); }
.js .tile-photo.reveal.revealed { clip-path: inset(0 0 0 0 round var(--r)); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .nav > a[href="#intrebari"] { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 26px; background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(11, 42, 111, .3);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 1.05rem; opacity: 1; }
  .nav > a[href="#intrebari"] { display: block; }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .site-header { background: rgba(251, 252, 254, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .header-inner, .site-header.scrolled .header-inner { height: 70px; }
  .brand, .site-header.scrolled .brand { width: 136px; height: 54px; }

  .hero { min-height: auto; padding: 110px 0 80px; }
  .hero-grid, .b2b-grid, .process, .quality-grid, .order-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; width: 100%; margin: 20px auto 0; }
  .scroll-cue { display: none; }
  .process-head { position: static; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .t-a { grid-column: 1 / -1; min-height: 380px; }
  .t-b { grid-column: 1 / -1; min-height: 380px; }
  .t-c, .t-d { grid-column: span 1; }
  .t-e { grid-column: 1 / -1; min-height: 340px; }
  .reels { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container, .narrow, .hero-grid { width: calc(100% - 32px); }
  .display { font-size: clamp(2.35rem, 11vw, 3rem); }
  .rot-word { white-space: normal; }
  .actions .btn { flex: 1 1 100%; }
  .hero-facts { gap: 18px; justify-content: space-between; }
  .hero-facts dt { font-size: 1.3rem; white-space: nowrap; }
  .hero-facts dd { font-size: .78rem; }
  .glass-card { right: 0; bottom: 18%; padding: 12px 14px 12px 12px; }
  .glass-ico { width: 36px; height: 36px; }
  .bento { grid-template-columns: 1fr; }
  .t-c, .t-d { grid-column: 1 / -1; }
  .tile-text .tag { margin-top: 30px; }
  .q-list { grid-template-columns: 1fr; gap: 24px; }
  .reel-offset { margin-top: 40px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .timeline { padding-left: 58px; }
  .t-num { left: -58px; }
  .contact-card { padding: 6px 20px; }
  .contact-card li { grid-template-columns: 1fr; gap: 2px; }
  .faq-a p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .marquee { padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
