/* ==========================================================================
   zasebnost.css — section #zasebnost (navy) · Alfred landing port, part 5/6
   Layout/visuals from prototype Alfred.dc.html §Zasebnost.
   Depends on css/variables.css + css/base.css (.al-wrap, .al-eyebrow, .al-lead, .on-navy).
   ========================================================================== */

.zas {
  --illo-sw: 1.8;
  /* section rhythm — was provided by the deleted legacy auto-padding rule */
  padding-block: var(--section-y);
  /* tonalni most: 72px panel-ton vstop pred polnim navy */
  background: linear-gradient(var(--navy-panel) 0, var(--navy-panel) 72px, var(--navy) 72px);
}

.zas .al-eyebrow { margin-bottom: 12px; }

.zas h2 {
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  max-width: 16ch;
}

.zas-lead {
  color: var(--cream-a75);
  max-width: 56ch;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* --- house schema grid (.9fr / 1.1fr) --- */
.zas-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 820px) {
  .zas-grid { grid-template-columns: 1fr; }
  .zas-schema { max-width: 26rem; }
}

.zas-schema {
  width: 100%;
  height: auto;
  stroke: var(--brass);
  stroke-width: var(--illo-sw);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* sage dots pulse in place (prototype pulseDot, staggered as in prototype) */
.zas-pulse {
  animation: pulseDot 2.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
circle.zas-pulse:nth-of-type(2) { animation-delay: 0.5s; }
circle.zas-pulse:nth-of-type(3) { animation-delay: 1s; }
circle.zas-pulse:nth-of-type(4) { animation-delay: 1.5s; }
circle.zas-pulse:nth-of-type(5) { animation-delay: 0.8s; }

/* brass dashed line house → cloud (prototype dash) */
.zas-dashline { animation: dash 3s linear infinite; }

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.3); }
}
@keyframes dash { to { stroke-dashoffset: -100; } }

/* --- two columns: Ostane doma / Varovan oblak --- */
.zas-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) {
  .zas-cols { grid-template-columns: 1fr; }
}

.zas-col-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 600 13px var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.zas-col-head--home  { color: #93A574; } /* AA: lightened sage for small text on navy (mid-NOTES §58) */
.zas-col-head--cloud { color: var(--brass); }

.zas-col-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.zas-col-head--home  .zas-col-dot { background: var(--sage); }
.zas-col-head--cloud .zas-col-dot { border: 1.5px dashed var(--brass); }

.zas-col ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(244, 237, 224, 0.85);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* --- sage callout --- */
/* statement band — dih-pauza, ki PRESTOPI mejo zasebnost→proces (overlap) */
.zas-callout {
  display: block;
  text-align: center;
  background: var(--navy-panel);
  border: 1px solid rgba(122, 139, 92, 0.42);
  border-left: 0;
  border-right: 0;
  margin: clamp(56px, 7vw, 84px) calc(50% - 50vw)
          calc(-1 * (var(--section-y) + 90px));
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.55);
  padding: clamp(44px, 5.5vw, 68px) max(calc(50vw - 50%), 24px);
  position: relative;
  z-index: 4;
}
.zas-callout-icon {
  display: block;
  margin: 0 auto 20px;
  stroke: var(--sage);
  stroke-width: var(--illo-sw);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.zas-callout-title {
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
  color: var(--cream);
  max-width: 30ch;
  text-wrap: balance;
}
.zas-callout-sub {
  margin: 14px auto 0;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.6;
  color: rgba(244, 237, 224, 0.82);
  max-width: 56ch;
}

/* --- »Nikoli:« strip --- */
.zas-never {
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid rgba(184, 147, 90, 0.3);
  border-bottom: 1px solid rgba(184, 147, 90, 0.3);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  align-items: center;
  justify-content: center;
  font: 600 14px var(--sans);
  color: var(--cream);
}
.zas-never-label {
  color: var(--brass);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 17px;
}
.zas-never ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.zas-never li { position: relative; }
.zas-never li + li::before {
  content: '/';
  position: absolute;
  left: -23px;
  color: rgba(184, 147, 90, 0.5);
}
/* on narrow screens the strip wraps — drop separators (avoids a leading slash
   on wrapped lines; prototype had the same artifact with static spans) */
@media (max-width: 480px) {
  .zas-never li + li::before { content: none; }
  .zas-never, .zas-never ul { gap: 12px 20px; }
}

/* --- 4 facts (border-left) --- */
.zas-facts {
  margin-top: clamp(36px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.zas-fact {
  border-left: 1px solid rgba(184, 147, 90, 0.4);
  padding-left: 16px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(244, 237, 224, 0.82);
  max-width: none;
}
.zas-fact strong { color: var(--cream); }

/* --- 3 source cards (2 amber + 1 sage) --- */
.zas-cards {
  margin-top: clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.zas-card {
  border-radius: var(--radius);
  padding: 24px;
}
.zas-card--amber {
  border: 1px solid rgba(196, 124, 47, 0.45);
  background: rgba(196, 124, 47, 0.06);
}
.zas-card--sage {
  border: 1px solid rgba(122, 139, 92, 0.5);
  background: rgba(122, 139, 92, 0.08);
}
.zas-card-label {
  margin: 0;
  font: 600 12px var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.zas-card--amber .zas-card-label { color: #D89A55; } /* AA: lightened amber, 12px on navy */
.zas-card--sage  .zas-card-label { color: #93A574; } /* AA: lightened sage, 12px on navy */
.zas-card-body {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(244, 237, 224, 0.85);
  max-width: none;
}
.zas-card--sage .zas-card-body { color: var(--cream); }

/* --- motion safety --- */
@media (prefers-reduced-motion: reduce) {
  .zas-pulse, .zas-dashline { animation: none; }
  .zas-pulse { opacity: 1; }
}

/* <1000px: --section-y pade proti 64px — 90px poke bi prekril proces eyebrow */
@media (max-width: 999px) {
  .zas-callout { margin-bottom: calc(-1 * (var(--section-y) + 34px)); }
}
