/* ============================================================
   AboNamed — style.css v4
   Card-based design cu Inter font, soft green palette
   ============================================================ */

:root {
  --bg: #eaf2ee;
  --white: #ffffff;
  --text: #16342b;
  --muted: #446a5e;
  --line: #d2e3db;
  --primary: #165c4b;
  --primary-2: #1e7a63;
  --primary-dark: #0f4a3b;
  --soft: #ddeee5;
  --soft-2: #e4f1eb;
  --accent: #d4ebe1;
  --shadow: 0 12px 35px rgba(12, 46, 36, 0.10);
  --shadow-hover: 0 20px 50px rgba(12, 46, 36, 0.16);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

/* ── Reset & Base ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { -webkit-user-select: none; -ms-user-select: none; user-select: none; }
input, textarea, [contenteditable="true"] { -webkit-user-select: text; -ms-user-select: text; user-select: text; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #e8f0ec 0%, #e4ede8 100%);
  color: var(--text);
  line-height: 1.55;
  /* `overflow-x: hidden` breaks position:sticky on iOS Safari past a certain
     scroll point — `clip` prevents horizontal overflow without making body a
     scroll container, so sticky navbar stays anchored. */
  overflow-x: clip;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Top Utility Bar ─────────────────────────── */
.top-bar {
  background: var(--primary);
  font-size: 0.84rem;
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-bar-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-left a,
.top-bar-right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.top-bar-left a:hover,
.top-bar-right a:hover {
  color: #ffffff;
}

.top-bar-left svg { flex-shrink: 0; }

/* ── Navbar (sticky glass) ─────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(232, 240, 236, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(210, 227, 219, 0.6);
}
/* Sticky section label below the navbar — shows the current section h2
   while scrolling through that section. JS populates the text content
   and toggles .visible. */
.section-label {
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  z-index: 90;
  padding: 10px 24px;
  background: rgba(232, 240, 236, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(210, 227, 219, 0.55);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.section-label.visible {
  transform: translateY(0);
  opacity: 1;
}
/* Anchors land below both bars. */
html { scroll-padding-top: calc(72px + 44px + 8px); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  position: relative;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  white-space: nowrap;
}

.brand-med {
  color: #4a9ec5;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color 0.2s;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--primary);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 11px 20px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 6px 20px rgba(31, 111, 92, 0.2);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(31, 111, 92, 0.28);
  background: var(--primary-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Hero ────────────────────────────────────── */
section.hero {
  padding: 38px 0 28px;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 36px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 620px;
}

.hero-copy {
  padding: 54px 52px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-highlight {
  color: inherit;
  background: linear-gradient(180deg, transparent 28%, rgba(30, 80, 160, 0.18) 28%);
  padding: 0 4px;
  margin: 0 -4px;
}

.hero-accent {
  color: var(--primary);
  display: inline-block;
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
}

.hero-copy p.lead {
  margin: 18px 0 0;
  max-width: 600px;
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(31, 111, 92, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(31, 111, 92, 0.3);
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--soft-2);
  border-color: #c5ddd4;
}

/* ── Trust Strip ─────────────────────────────── */
.trust-strip {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-item {
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 56, 45, 0.06);
}

.trust-item strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.trust-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ── Hero Visual ─────────────────────────────── */
.hero-visual {
  position: relative;
  background:
    radial-gradient(circle at 30% 40%, rgba(47,138,115,0.18), transparent 35%),
    radial-gradient(circle at 75% 25%, rgba(31,111,92,0.14), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(47,138,115,0.06), transparent 30%),
    linear-gradient(180deg, #eef7f2 0%, #e2f0ea 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "+";
  position: absolute;
  font-weight: 800;
  color: rgba(31,111,92,0.12);
  font-size: 52px;
  line-height: 1;
  z-index: 2;
}

.hero-visual::before { top: 32px; right: 38px; }
.hero-visual::after { bottom: 25%; left: 32px; font-size: 38px; }

.hero-photo {
  width: 100%;
  max-width: 420px;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: relative;
  z-index: 1;
}

/* ── Sections ────────────────────────────────── */
section { padding: 30px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-head p {
  margin: 8px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ── Pillars ─────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pillar .icon,
.mini-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.pillar h3,
.product-card h3,
.detail-card h3,
.feature h3,
.step h3,
.contact-card h3 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pillar p,
.product-card p,
.detail-card p,
.feature p,
.step p,
.contact-card p,
.alina-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ── Products Grid ───────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-section { margin-top: 36px; }
.product-section:first-of-type { margin-top: 0; }
.product-section-head {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.product-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 4px;
}
.product-section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}
.product-subsection-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 20px 0 12px;
}
.products-grid-single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}
.products-grid-3x2 { grid-template-columns: repeat(3, 1fr); }
.adn-era-banner {
  margin-top: 18px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(139,92,246,0.08));
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 14px;
  font-size: 0.95rem;
}
.adn-era-banner strong { color: var(--accent); }

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-header {
  padding: 18px 22px 14px;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-header svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.product-card .product-subtitle,
.product-card .bullets,
.product-card .btn {
  padding-left: 22px;
  padding-right: 22px;
}

.product-card .bullets { flex: 1; margin-bottom: 8px; }
.product-card .btn { margin: 0 22px 22px; padding-left: 0; padding-right: 0; text-align: center; }

/* ── Pastel color variants ──────────────────── */
.pc-mint .product-header    { background: #e6f7ef; color: #1a6b4a; }
.pc-blue .product-header    { background: #e4f0fb; color: #1a5a8a; }
.pc-purple .product-header  { background: #eee8f8; color: #5b3d8f; }
.pc-rose .product-header    { background: #fce8ef; color: #a03d5e; }
.pc-coral .product-header   { background: #fde8e0; color: #b04a2a; }
.pc-amber .product-header   { background: #fef4e0; color: #8a6b1a; }
.pc-teal .product-header    { background: #e0f4f4; color: #1a7a7a; }
.pc-lime .product-header    { background: #ecf5e0; color: #4a7a1a; }

.pc-mint .price    { color: #1a6b4a; }
.pc-blue .price    { color: #1a5a8a; }
.pc-purple .price  { color: #5b3d8f; }
.pc-rose .price    { color: #a03d5e; }
.pc-coral .price   { color: #b04a2a; }
.pc-amber .price   { color: #8a6b1a; }
.pc-teal .price    { color: #1a7a7a; }
.pc-lime .price    { color: #4a7a1a; }

.pc-mint .bullets li::before    { background: #1a6b4a; }
.pc-blue .bullets li::before    { background: #1a5a8a; }
.pc-purple .bullets li::before  { background: #5b3d8f; }
.pc-rose .bullets li::before    { background: #a03d5e; }
.pc-coral .bullets li::before   { background: #b04a2a; }
.pc-amber .bullets li::before   { background: #8a6b1a; }
.pc-teal .bullets li::before    { background: #1a7a7a; }
.pc-lime .bullets li::before    { background: #4a7a1a; }

.pc-mint .btn-secondary    { color: #1a6b4a; border-color: #1a6b4a; }
.pc-blue .btn-secondary    { color: #1a5a8a; border-color: #1a5a8a; }
.pc-purple .btn-secondary  { color: #5b3d8f; border-color: #5b3d8f; }
.pc-rose .btn-secondary    { color: #a03d5e; border-color: #a03d5e; }
.pc-coral .btn-secondary   { color: #b04a2a; border-color: #b04a2a; }
.pc-amber .btn-secondary   { color: #8a6b1a; border-color: #8a6b1a; }
.pc-teal .btn-secondary    { color: #1a7a7a; border-color: #1a7a7a; }
.pc-lime .btn-secondary    { color: #4a7a1a; border-color: #4a7a1a; }

.pc-mint .btn-secondary:hover    { background: #e6f7ef; }
.pc-blue .btn-secondary:hover    { background: #e4f0fb; }
.pc-purple .btn-secondary:hover  { background: #eee8f8; }
.pc-rose .btn-secondary:hover    { background: #fce8ef; }
.pc-coral .btn-secondary:hover   { background: #fde8e0; }
.pc-amber .btn-secondary:hover   { background: #fef4e0; }
.pc-teal .btn-secondary:hover    { background: #e0f4f4; }
.pc-lime .btn-secondary:hover    { background: #ecf5e0; }

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(91, 61, 143, 0.15);
  color: #5b3d8f;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-top h3 {
  margin-bottom: 0;
  line-height: 1.2;
  font-size: 1.3rem;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-meta .badge {
  margin-left: auto;
}

.product-subtitle {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  padding-top: 6px;
  padding-bottom: 6px;
}

.price {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  white-space: nowrap;
  line-height: 1.2;
}

.price small {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  margin-left: 3px;
}

/* ── Bullets ─────────────────────────────────── */
.bullets {
  list-style: none;
  display: grid;
  gap: 5px;
  color: var(--text);
  font-size: 0.92rem;
}

.bullets li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.bullets li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-2);
  position: absolute;
  left: 0;
  top: 8px;
}

/* ── Alina Section ───────────────────────────── */
.alina-wrap {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 20px;
  align-items: stretch;
}

.alina-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.alina-card h2 {
  font-size: 2.2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.alina-preview {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* Keep the alina-hero-img drop-shadow filter compositing isolated
     from the sticky navbar above, otherwise Chrome Android subpixel-clips
     the nav bottom edge when scrolling through this section. */
  isolation: isolate;
}

.modal-demo {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(16, 56, 45, 0.1);
  padding: 24px;
  border: 1px solid #e2eee8;
}

.modal-progress {
  height: 9px;
  border-radius: 999px;
  background: #edf5f1;
  overflow: hidden;
  margin-bottom: 16px;
}

.modal-progress span {
  display: block;
  height: 100%;
  width: 38%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  border-radius: inherit;
}

.modal-demo .helper {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.modal-demo h4 {
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.field,
.option,
.result-box {
  border: 1px solid var(--line);
  background: #fbfefd;
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.options {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.94rem;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.option:hover {
  background: #f6fbf9;
}

.option .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #b8d5ca;
  background: var(--white);
  flex-shrink: 0;
}

.option.active {
  border-color: #bbdfd2;
  background: #f1faf6;
}

.option.active .dot {
  border-color: var(--primary);
  background: radial-gradient(circle, var(--primary) 48%, white 49%);
}

.mini-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 12px;
  line-height: 1.5;
}

.btn-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.btn-sm {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  flex: 1;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.btn-sm:hover { background: var(--soft-2); }

.btn-sm.primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-sm.primary:hover { background: var(--primary-dark); }

/* ── Floating Alina Button ───────────────────── */
.fab-alina {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 24px;
  border: none;
  border-radius: 50px;
  box-shadow: 0 8px 28px rgba(12, 46, 36, 0.25);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.35s ease;
  opacity: 1;
  text-decoration: none;
}
.fab-alina:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(12, 46, 36, 0.35);
}
.fab-alina.fab-hidden {
  opacity: 0;
  pointer-events: none;
}
.fab-alina .fab-icon {
  font-size: 1.15em;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(12, 46, 36, 0.25); }
  50% { box-shadow: 0 8px 28px rgba(12, 46, 36, 0.25), 0 0 0 8px rgba(22, 92, 75, 0.15); }
}

@media (max-width: 768px) {
  .fab-alina {
    /* Center via auto-margins (no transform on the fixed element). */
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    transform: none;
    font-size: 1rem;
    padding: 14px 24px;
    white-space: nowrap;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .fab-alina:hover { transform: translateY(-3px); }
  .fab-alina.fab-pulse { animation: fabPulse 2s ease-in-out 3; }
}

/* ── Details Grid (legacy) ───────────────────── */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.detail-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.detail-card .price {
  font-size: 1.15rem;
}

/* ── Product Carousel ───────────────────────────── */
.carousel-wrap {
  position: relative;
  padding: 0 56px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 320px;
}
.carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.carousel-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.carousel-card .carousel-desc {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.carousel-card .btn-carousel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
  margin-top: auto;
}
.carousel-card .btn-carousel:hover {
  background: var(--primary);
  color: #fff;
}

/* Triangle nav buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, opacity 0.3s;
  z-index: 2;
  opacity: 0.85;
}
.carousel-btn:hover {
  transform: translateY(-50%) translateY(-4px);
  opacity: 1;
}
.carousel-btn:disabled {
  opacity: 0.25;
  cursor: default;
}
.carousel-btn:disabled:hover {
  transform: translateY(-50%);
}
.carousel-prev {
  left: 0;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.carousel-next {
  right: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Carousel responsive */
@media (max-width: 1024px) {
  .carousel-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 768px) {
  .carousel-wrap { padding: 0 44px; }
  .carousel-card { flex: 0 0 100%; }
  .carousel-btn { width: 36px; height: 36px; }
}

/* ── Family Band ─────────────────────────────── */
.family-band {
  background: linear-gradient(180deg, var(--white) 0%, #f1f9f5 100%);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
}

.family-copy {
  padding: 38px 38px 38px 40px;
}

.family-copy h2 {
  font-size: 2.3rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.family-photo-wrap {
  background:
    radial-gradient(circle at 30% 40%, rgba(47,138,115,0.10), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(31,111,92,0.06), transparent 40%);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px;
  overflow: hidden;
}

.family-photo {
  width: 100%;
  max-width: 800px;
  object-fit: contain;
  object-position: bottom center;
}

/* ── Features Grid ───────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature,
.step,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover,
.step:hover,
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ── Steps Grid ──────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}

/* ── CTA Band ────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #165c4b 0%, #1e7a63 60%, #258d6f 100%);
  color: var(--white);
  border-radius: 32px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(24, 78, 62, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "+";
  position: absolute;
  font-size: 200px;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  right: -20px;
  top: -40px;
  line-height: 1;
}

.cta-band h2 { color: var(--white); font-size: 1.8rem; letter-spacing: -0.03em; }
.cta-band p { color: rgba(255,255,255,0.88); margin-top: 10px; max-width: 700px; font-size: 1.02rem; }

/* ── Contact Grid ────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ── Footer ──────────────────────────────────── */
footer {
  padding: 0;
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
}

.footer-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  flex-wrap: wrap;
}

.footer-card strong,
.footer-card .brand {
  color: #ffffff;
}

.footer-card .brand-med {
  color: #9adff2;
}

.footer-card span {
  color: rgba(255,255,255,0.7);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.footer-links a:hover { color: #ffffff; }

/* ── Scroll Reveal Animations ────────────────── */
.reveal {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.revealed {
  opacity: 1;
}

/* Staggered delays for grid items */
.pillars .reveal:nth-child(2) { transition-delay: 0.08s; }
.pillars .reveal:nth-child(3) { transition-delay: 0.16s; }
.pillars .reveal:nth-child(4) { transition-delay: 0.24s; }

.products-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.products-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.products-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.products-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.products-grid .reveal:nth-child(6) { transition-delay: 0.30s; }
.products-grid .reveal:nth-child(7) { transition-delay: 0.36s; }
.products-grid .reveal:nth-child(8) { transition-delay: 0.42s; }

.details-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.details-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.details-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.details-grid .reveal:nth-child(5) { transition-delay: 0.30s; }
.details-grid .reveal:nth-child(6) { transition-delay: 0.36s; }
.details-grid .reveal:nth-child(7) { transition-delay: 0.42s; }
.details-grid .reveal:nth-child(8) { transition-delay: 0.48s; }

.features-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.steps-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.steps-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.contact-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.contact-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ── Form styles ─────────────────────────────── */
.form-success {
  text-align: center;
  padding: 24px;
}

.form-success h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.form-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 12px;
}

/* ── Product Pages ────────────────────────────── */
.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s;
}

.breadcrumb a:hover { opacity: 0.7; }

.product-hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 32px;
  padding: 42px 46px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  overflow: hidden;
  position: relative;
}

.product-hero-content { max-width: 640px; }

.product-hero-content h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 10px;
}

.product-hero-content h1 .h1-tagline {
  display: block;
  font-size: 0.5em;
  font-weight: 500;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0;
  line-height: 1.3;
}

/* ═══ Ghid / Article pages ═══ */
.guide-wrap { max-width: 820px; margin: 0 auto; }
.guide-wrap h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  margin: 18px 0 10px;
}
.guide-wrap h1 .h1-tagline {
  display: block;
  font-size: 0.5em;
  font-weight: 500;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.3;
}
.guide-wrap .lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 24px;
}
.guide-summary {
  background: var(--soft-2);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0 32px;
}
.guide-summary h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin: 0 0 10px;
}
.guide-summary ul { margin: 0; padding-left: 20px; }
.guide-summary li { margin: 6px 0; color: var(--text); }
.guide-content { color: var(--text); line-height: 1.7; }
.guide-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 14px;
  color: var(--text);
}
.guide-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--primary);
}
.guide-content p { margin: 0 0 14px; }
.guide-content ul, .guide-content ol { padding-left: 24px; margin: 8px 0 16px; }
.guide-content li { margin: 6px 0; }
.guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.95rem;
}
.guide-content th, .guide-content td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
/* Mobile: keep tables inside the viewport so they don't trigger Chrome
   shrink-to-fit (which re-anchors position:fixed elements and breaks the
   Alina FAB). Tables become their own horizontal scroll container; cells
   shrink in size; long content wraps. */
@media (max-width: 768px) {
  .guide-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    font-size: 0.85rem;
  }
  .guide-content thead,
  .guide-content tbody {
    display: table;
    width: 100%;
  }
  .guide-content th,
  .guide-content td {
    padding: 7px 9px;
    word-break: break-word;
  }
}
.guide-content th {
  background: var(--soft);
  font-weight: 600;
}
.guide-content strong { color: var(--primary); font-weight: 600; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 10px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-hero-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.product-hero-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.product-hero-price small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.product-hero-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 456px;
  font-size: 3.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.product-hero-icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* Benefit rows */
.benefit-rows {
  display: grid;
  gap: 12px;
}

.benefit-row-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(16, 56, 45, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-row-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.benefit-row-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-row-text {
  flex: 1;
  font-weight: 500;
  font-size: 0.96rem;
}

.benefit-row-amount {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.96rem;
  white-space: nowrap;
}

/* Advantages grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.advantage-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.advantage-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.advantage-card h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.advantage-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Lead form */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 680px;
  margin: 0 auto;
}

.form-card h2 {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.form-card > p {
  color: var(--muted);
  margin-bottom: 24px;
}

.lead-form { display: grid; gap: 16px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  background: #fbfefd;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 111, 92, 0.1);
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 1.02rem;
}

/* Cross-sell — mini .phc style: image fills card with color-tinted gradient,
   title at the bottom, price pill, CTA chip. JS injects .cross-sell-cover
   and the .cta + color class based on the card's href. Same color palette
   as homepage .phc cards. */
.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cross-sell-grid > .cross-sell-card:nth-child(n+4) { display: none; }
@media (max-width: 1100px) {
  .cross-sell-grid { grid-template-columns: repeat(2, 1fr); }
}

.cross-sell-card {
  --c-card: #1a6b4a;
  --c-mid: rgba(26,107,74,0.28);
  --c-bottom: rgba(18,80,55,0.78);
  position: relative;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: #fff;
  background: var(--c-card);
  isolation: isolate;
  transition: transform 0.25s, box-shadow 0.25s;
}

.cross-sell-card .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.16);
}

.cross-sell-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.cross-sell-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.cross-sell-card:hover .cross-sell-cover {
  transform: scale(1.05);
}

.cross-sell-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, var(--c-mid) 72%, var(--c-bottom) 100%);
  z-index: 1;
  pointer-events: none;
}

.cross-sell-card .price {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.96);
  color: var(--text);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.1;
}
.cross-sell-card .price small {
  display: block;
  font-size: 0.65em;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}

/* Content wrapper at the bottom, matches .phc .content layout 1:1. */
.cross-sell-card .cross-sell-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 20px 20px;
  color: #fff;
}
.cross-sell-card .cross-sell-content h3 {
  margin: 0 0 8px;
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.cross-sell-card .cross-sell-content .sub {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
}

.cross-sell-card .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.cross-sell-card:hover .cta {
  background: var(--c-card);
  border-color: var(--c-card);
}

.cross-sell-card .cta-arrow { display: inline-block; transition: transform 300ms cubic-bezier(0.16,1,0.3,1); }
.cross-sell-card:hover .cta-arrow { transform: translateX(3px); }

/* Hide old "Vezi detalii" plain button — replaced by .cta */
.cross-sell-card > .btn,
.cross-sell-card > span.btn { display: none; }

/* Color variants matching .phc on homepage */
.cross-sell-card.mint   { --c-card: #1a6b4a; --c-mid: rgba(26,107,74,0.28);  --c-bottom: rgba(18,80,55,0.78); }
.cross-sell-card.blue   { --c-card: #1a5a8a; --c-mid: rgba(26,90,138,0.28);  --c-bottom: rgba(18,65,108,0.78); }
.cross-sell-card.purple { --c-card: #5b3d8f; --c-mid: rgba(91,61,143,0.30);  --c-bottom: rgba(72,48,118,0.80); }
.cross-sell-card.rose   { --c-card: #a03d5e; --c-mid: rgba(160,61,94,0.30);  --c-bottom: rgba(130,45,75,0.80); }
.cross-sell-card.coral  { --c-card: #b04a2a; --c-mid: rgba(176,74,42,0.30);  --c-bottom: rgba(140,55,30,0.80); }
.cross-sell-card.amber  { --c-card: #8a6b1a; --c-mid: rgba(138,107,26,0.32); --c-bottom: rgba(110,85,20,0.82); }
.cross-sell-card.teal   { --c-card: #1a7a7a; --c-mid: rgba(26,122,122,0.30); --c-bottom: rgba(20,95,95,0.80); }
.cross-sell-card.lime   { --c-card: #4a7a1a; --c-mid: rgba(74,122,26,0.32);  --c-bottom: rgba(60,95,20,0.82); }

.cross-sell-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Comparison table (Best Protect) */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -10px;
  padding: 0 10px;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  min-width: 700px;
}

.compare-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.88rem;
}

.compare-table th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
  min-width: 240px;
}

.compare-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table tbody tr:hover td {
  background: var(--soft-2);
}

.compare-table .group-header td {
  background: var(--soft);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--primary);
  padding: 10px 16px;
}

/* ── Use Cases (Situații reale) ──────────────── */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.use-case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0 0 24px;
  box-shadow: 0 4px 16px rgba(12, 46, 36, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.use-case-card .use-case-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin: 0 0 4px;
}

.use-case-card .use-case-persona,
.use-case-card .use-case-story,
.use-case-card .use-case-result {
  margin-left: 24px;
  margin-right: 24px;
}

.use-case-card .use-case-persona { margin-top: 18px; }

.use-case-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.use-case-card .use-case-persona {
  display: flex;
  align-items: center;
  gap: 12px;
}

.use-case-card .use-case-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.use-case-card h3 {
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--primary);
}

.use-case-card .use-case-story {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.use-case-card .use-case-result {
  background: var(--soft-2);
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.use-case-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 16px;
  font-style: italic;
}

/* ── Benefit Details (explicații detaliate) ───── */
.benefit-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.benefit-detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 12px rgba(12, 46, 36, 0.04);
  transition: transform 0.2s;
}

.benefit-detail:hover {
  transform: translateY(-2px);
}

.benefit-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.benefit-detail-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.benefit-detail h3 {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.benefit-detail h3 small {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--primary);
  margin-top: 2px;
}

.benefit-detail p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── Info Box (citate, note importante) ──────── */
.info-box {
  background: linear-gradient(135deg, var(--soft-2), var(--accent));
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  margin: 24px 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text);
}

.info-box strong {
  color: var(--primary);
}

.info-box.info-box-warm {
  border-left: 4px solid var(--primary);
}

/* ── Table Toggle (tabel secundar, mai discret) ─ */
.table-toggle-section {
  margin: 30px 0;
}

.table-toggle-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  transition: background 0.2s;
}

.table-toggle-btn:hover {
  background: var(--soft);
}

.table-toggle-btn .arrow {
  transition: transform 0.3s;
  font-size: 0.8rem;
}

.table-toggle-btn.open .arrow {
  transform: rotate(180deg);
}

.table-toggle-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.table-toggle-content.open {
  max-height: 2000px;
}

/* ── CTA Alina section ──────────────────────── */
.cta-alina-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-alina-card h2 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.cta-alina-card p {
  opacity: 0.85;
  font-size: 0.95rem;
  margin-top: 6px;
}

.cta-alina-card .btn-alina-white {
  background: #fff;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.cta-alina-card .btn-alina-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1100px) {
  .hero-card,
  .alina-wrap,
  .family-band { grid-template-columns: 1fr; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars,
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .steps-grid,
  .contact-grid,
  .details-grid { grid-template-columns: 1fr; }

  .hero-visual { min-height: 400px; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band .hero-actions { justify-content: center; }

  .alina-card .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { width: min(100% - 20px, 1200px); }

  .top-bar { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 10px;
    left: auto;
    bottom: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(12, 46, 36, 0.15);
    border: 1px solid rgba(210, 227, 219, 0.5);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    z-index: 105;
    min-width: 200px;
  }

  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1rem;
    color: var(--text);
    padding: 12px 24px;
    text-align: left;
    border-radius: 0;
  }
  .nav-links a:hover { background: rgba(228, 237, 232, 0.5); }
  .nav-links .nav-cta {
    margin: 8px 16px;
    text-align: center;
    border-radius: 999px;
  }

  .hamburger { display: flex; }

  section.hero { padding: 24px 0 16px; }
  .hero-copy { padding: 28px 22px 20px; }
  .hero-visual { padding: 20px; min-height: 320px; }

  /* Reorder mobile hero: eyebrow → image → h1 → lead → actions → trust.
     `display: contents` on .hero-copy promotes its children into .hero-card
     so they share the flex context with .hero-visual, letting `order` work
     across the whole hero. */
  .hero-card {
    display: flex;
    flex-direction: column;
    padding: 28px 22px 20px;
    gap: 16px;
  }
  .hero-copy {
    display: contents;
  }
  .hero-copy > * { margin: 0; }
  .hero-card .eyebrow { display: none; }
  .hero-card .hero-visual {
    order: 2;
    margin: 4px 0;
    padding: 0;
    min-height: 0;
    background: #fff;
    border-radius: 0;
  }
  .hero-card .hero-visual::before,
  .hero-card .hero-visual::after { display: none; }
  .hero-card .hero-visual .hero-photo {
    width: 80%;
    max-width: 340px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .hero-card h1 { order: 3; }
  .hero-card p.lead { order: 4; }
  .hero-card .hero-actions { order: 5; }
  .hero-card .trust-strip { order: 6; }

  h1 { font-size: 2rem; }

  .trust-strip,
  .pillars,
  .products-grid,
  .features-grid { grid-template-columns: 1fr; }

  .section-head { align-items: flex-start; flex-direction: column; }

  .family-copy { padding: 24px 20px; }
  .family-copy h2 { font-size: 1.6rem; }
  .family-photo-wrap { min-height: 300px; padding: 16px; }

  .alina-card { padding: 24px 20px; }
  .alina-card h2 { font-size: 1.6rem; }
  .alina-card .features-grid { grid-template-columns: 1fr !important; }

  .cta-band { padding: 28px 20px; border-radius: 24px; }
  .cta-band h2 { font-size: 1.4rem; }

  .detail-head { flex-direction: column; gap: 8px; }

  .product-hero-card {
    padding: 28px 22px;
    flex-direction: column;
    text-align: center;
  }

  .product-hero-icon { width: 140px; height: 140px; font-size: 2.5rem; border-radius: 24px; }
  .product-hero-price { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .cross-sell-grid { grid-template-columns: 1fr; }
  .use-case-grid { grid-template-columns: 1fr; }
  .benefit-detail-grid { grid-template-columns: 1fr; }
  .cta-alina-card { padding: 28px 22px; text-align: center; justify-content: center; }

  /* ── Mobile typography ─────────────────────── */
  body { font-size: 18px; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: clamp(1.2rem, 3.2vw, 1.4rem); }
  p, li { font-size: 1.08rem; }
  .eyebrow, small, .muted { font-size: 0.96rem; }
  .product-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 12px;
  }

  /* ── Product card typography (mobile) ──────── */
  .product-top h3 { font-size: 1.4rem; }
  .product-top svg { width: 32px; height: 32px; }
  .price { font-size: 1.15rem; }
  .price small { font-size: 0.8rem; }
  .bullets li { font-size: 1.05rem; line-height: 1.5; }
  .product-section-title { font-size: 1.4rem; }
  .product-section-sub { font-size: 1rem; }

  /* ── Touch targets ─────────────────────────── */
  .btn, button { min-height: 48px; padding: 14px 20px; }
  .btn-carousel { min-height: 48px; display: inline-flex; align-items: center; }
  .nav-links a { padding: 12px 24px; }

  /* Fix: hero doctor face cropped on mobile */
  .hero-photo { object-position: center 20%; }

  /* Fix: badge overlaps price on mobile */
  .product-meta { flex-wrap: wrap; gap: 6px; }
  .product-meta .badge { margin-left: 0; order: -1; }
  .badge { font-size: 0.7rem; padding: 4px 10px; }

  /* Fix: pillar text truncated on mobile */
  .pillar p { overflow: visible; -webkit-line-clamp: unset; }

  /* Mobile carousel: native horizontal swipe with scroll-snap (one card
     per swipe). JS-driven transform is overridden — buttons are hidden;
     users swipe left/right naturally. */
  .carousel-wrap { padding: 0; }
  .carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 0;
    /* No negative margins — those pushed past the viewport and re-triggered
       Chrome shrink-to-fit (the original FAB-jitter root cause). */
    padding: 8px 0 16px;
  }
  .carousel-viewport::-webkit-scrollbar { display: none; }
  .carousel-track {
    display: flex;
    flex-direction: row;
    gap: 16px;
    transform: none !important;
  }
  .carousel-card {
    flex: 0 0 calc(100vw - 60px) !important;
    width: auto !important;
    min-width: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .carousel-btn { display: none; }
  .carousel-btn { display: none; }

  /* Fix: hero text-left + image-right on mobile.
     Image aligned with h1 (NOT with eyebrow pill above); eyebrow/subtitle/
     price/CTA flow full-width; only h1 + tagline reduce width for the image. */
  .product-hero-card {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 22px;
    min-height: 0;
  }
  .product-hero-content { max-width: 100%; min-width: 0; }
  .product-hero-icon {
    position: absolute;
    top: 94px;        /* bottom-aligns image with the h1 tagline last line */
    right: 18px;
    bottom: auto;
    left: auto;
    width: 108px;
    height: auto;
    margin: 0;
  }
  .product-hero-icon img { width: 100%; height: auto; display: block; }
  .product-hero-content h1 {
    margin-right: 120px;     /* leave room for image */
    /* Reserve vertical space equal to the icon's 108px height + a small gap,
       so short single-line titles don't let the icon spill into the subtitle. */
    min-height: 116px;
  }
  .product-hero-card .cta-inline {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .product-hero-card .cta-inline .btn { width: 100%; text-align: center; }

  /* Variant-nav: horizontal scroll with snap on narrow screens */
  .variant-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .variant-nav::-webkit-scrollbar { display: none; }
  .variant-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    font-size: 0.85rem;
    padding: 10px 16px;
  }

  /* Alina FAB safe-zone: footer padding-bottom so FAB doesn't cover links */
  footer { padding-bottom: 96px; }

  /* ── Alternating section backgrounds (mobile) ── */
  main > section:nth-child(even) {
    background: rgba(22, 92, 75, 0.04);
  }
  main > section:nth-child(odd) {
    background: #ffffff;
  }
  main > section { padding: 48px 0; }
  /* Preserve existing styled sections */
  .cta-band { background: linear-gradient(135deg, #165c4b, #258d6f); }

  /* ── Footer mobile ─────────────────────────── */
  .footer-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  /* (removed) Scroll snap + sticky product section headers — caused jumpy
     scroll between sections on mobile, felt uncomfortable */
  html { scroll-padding-top: 80px; }

  /* Alina hero on homepage mobile: full-body, no circular crop. */
  .alina-preview { min-height: auto; }
  .alina-hero { min-height: auto; padding: 20px; }
  .alina-hero-img {
    width: 96%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 0;
    display: block;
    margin: 0 auto -10px;
    filter: drop-shadow(0 16px 24px rgba(12, 46, 36, 0.18));
  }
  .alina-hero-cta {
    position: static;
    margin-top: 16px;
    width: 100%;
  }

  /* ── Bullets hidden on mobile (text too small to be useful) ── */
  .product-card .bullets {
    display: none;
  }
  .product-card .btn {
    margin: 0 22px 18px;
    font-size: 1rem;
  }
}

/* ── Dark Mode Kill Switch ────────────────────── */
body.no-dark { color-scheme: light only; }

/* ════════════════════════════════════════════════════════════════════════
   PRODUCT CARDS — V1 Editorial Dark (foto full-bleed + gradient pastel)
   Aplicat pe BASIC/STANDARD/PREMIUM (Section 1 — Abonamente personale).
   Restul de 16 produse rămân pe .product-card pastel-flat până se generează poze.
   ════════════════════════════════════════════════════════════════════════ */
.phc {
  position: relative; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden;
  cursor: pointer; isolation: isolate;
  box-shadow: 0 12px 35px rgba(12,46,36,0.10);
  transition: translate 700ms cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
  text-decoration: none; color: inherit; display: block;
  --c-card: var(--primary);
}
.phc.mint   { --c-card: #1a6b4a; --c-mid: rgba(26,107,74,0.28);  --c-bottom: rgba(18,80,55,0.78);  --c-mid-h: rgba(26,107,74,0.36);  --c-bottom-h: rgba(15,70,50,0.84); }
.phc.blue   { --c-card: #1a5a8a; --c-mid: rgba(26,90,138,0.28);  --c-bottom: rgba(18,65,108,0.78); --c-mid-h: rgba(26,90,138,0.36);  --c-bottom-h: rgba(15,55,95,0.84); }
.phc.purple { --c-card: #5b3d8f; --c-mid: rgba(91,61,143,0.30);  --c-bottom: rgba(72,48,118,0.80); --c-mid-h: rgba(91,61,143,0.38);  --c-bottom-h: rgba(60,40,100,0.86); }
.phc.rose   { --c-card: #a03d5e; --c-mid: rgba(160,61,94,0.30);  --c-bottom: rgba(130,45,75,0.80);  --c-mid-h: rgba(160,61,94,0.38);  --c-bottom-h: rgba(110,35,60,0.86); }
.phc.coral  { --c-card: #b04a2a; --c-mid: rgba(176,74,42,0.30);  --c-bottom: rgba(140,55,30,0.80);  --c-mid-h: rgba(176,74,42,0.38);  --c-bottom-h: rgba(120,45,25,0.86); }
.phc.amber  { --c-card: #8a6b1a; --c-mid: rgba(138,107,26,0.32); --c-bottom: rgba(110,85,20,0.82);  --c-mid-h: rgba(138,107,26,0.40); --c-bottom-h: rgba(90,70,15,0.88);  }
.phc.teal   { --c-card: #1a7a7a; --c-mid: rgba(26,122,122,0.30); --c-bottom: rgba(20,95,95,0.80);   --c-mid-h: rgba(26,122,122,0.38); --c-bottom-h: rgba(15,80,80,0.86);  }
.phc.lime   { --c-card: #4a7a1a; --c-mid: rgba(74,122,26,0.32);  --c-bottom: rgba(60,95,20,0.82);   --c-mid-h: rgba(74,122,26,0.40);  --c-bottom-h: rgba(50,80,15,0.88);  }
.phc:hover { translate: 0 -6px; box-shadow: 0 30px 60px -16px rgba(12,46,36,0.30); }
.phc .hero { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s cubic-bezier(0.16,1,0.3,1); z-index: 0; }
.phc:hover .hero { transform: scale(1.06); }
.phc::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, var(--c-mid) 78%, var(--c-bottom) 100%);
  transition: background 500ms ease;
}
.phc:hover::before {
  background: linear-gradient(180deg, transparent 38%, var(--c-mid-h) 70%, var(--c-bottom-h) 100%);
}
.phc .tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(0,0,0,0.32); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
}
.phc .price {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  padding: 8px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.96); color: var(--text);
  font-weight: 800; font-size: 0.95rem; line-height: 1;
}
.phc .price small { display: block; font-size: 0.62em; font-weight: 600; color: var(--muted); margin-top: 3px; }
.phc .price.featured { background: #5b3d8f; color: #fff; }
.phc .price.featured small { color: rgba(255,255,255,0.85); }
.phc:has(.ribbon) .price { top: 50px; }
.phc .ribbon {
  position: absolute; top: 0; right: 0; z-index: 3;
  padding: 6px 14px; background: var(--primary); color: #fff;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom-left-radius: 14px;
}
.phc .content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 22px 20px 20px; color: #fff;
}
.phc .content h3 {
  font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 1.7rem;
  line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 8px; color: #fff;
}
.phc .sub { font-size: 0.88rem; line-height: 1.5; color: rgba(255,255,255,0.86); margin: 0 0 14px; }
.phc .features {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: grid; gap: 6px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 600ms cubic-bezier(0.16,1,0.3,1), opacity 400ms ease, margin-bottom 500ms ease;
}
.phc:hover .features { max-height: 260px; opacity: 1; }
.phc .features li {
  font-size: 0.78rem; line-height: 1.4; color: rgba(255,255,255,0.92);
  position: relative; padding-left: 18px;
}
.phc .features li::before {
  content: '+'; position: absolute; left: 0; top: 0;
  color: #fff; font-weight: 800; font-size: 1.2em; line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.phc.mint   .features li::before { color: #b0e9c8; }
.phc.blue   .features li::before { color: #a8c8e6; }
.phc.purple .features li::before { color: #c8b8e0; }
.phc.rose   .features li::before { color: #f0c8d4; }
.phc.coral  .features li::before { color: #f5cab8; }
.phc.amber  .features li::before { color: #f0dcb0; }
.phc.teal   .features li::before { color: #b0dada; }
.phc.lime   .features li::before { color: #c8dcb0; }
.phc .features li strong { color: #fff; }
.phc .cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.86rem; font-weight: 700; color: #fff;
  padding: 10px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25); transition: all 0.3s;
}
.phc:hover .cta { background: var(--c-card); border-color: var(--c-card); }
.phc .cta-arrow { display: inline-block; transition: transform 400ms cubic-bezier(0.16,1,0.3,1); }
.phc:hover .cta-arrow { transform: translateX(4px); }
@media (max-width: 700px) {
  /* Features list permanently hidden on mobile — tap navigates directly to
     the product page (default <a> behavior). display:none also defeats the
     phantom :hover state Chrome Android fires on first-tap, which previously
     made bullets pop in before navigation. Tablets >700px keep the hover-reveal. */
  .phc .features,
  .phc:hover .features {
    display: none;
  }
  /* Drop backdrop-filter on mobile: each .phc has 2 backdrop-filter layers
     (.tag + .cta) and there are 8 cards. 16+ GPU compositing layers stress
     the Chrome Android compositor and cause position:fixed jitter on the
     Alina FAB while scrolling through this grid. Solid backgrounds keep
     the look (the underlying card is already opaque enough). */
  .phc .tag { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0,0,0,0.55); }
  .phc .cta { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.20); }
}

/* Tablet portrait: 2-column use-case grid (avoid 700px-tall single cards) */
@media (min-width: 720px) and (max-width: 1023px) {
  .use-case-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ SCENARIU EYEBROW — marker ipotetic vizibil, deasupra povești ═══ */
.scen-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78em;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ═══ LEGAL DISCLAIMER + PID LINK — pattern asira-aligned ═══ */
.legal-disclaimer {
  background: var(--soft);
  padding: 40px 24px;
  border-top: 1px solid var(--line);
}
.legal-disclaimer p {
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(12, 46, 36, 0.05);
  text-align: left;
  color: var(--muted);
  font-size: 0.82em;
  line-height: 1.75;
}
.legal-disclaimer strong { color: var(--primary); }
.legal-pid-link {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto 14px;
  padding: 16px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary-2);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(12, 46, 36, 0.05);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.legal-pid-link:hover { box-shadow: 0 6px 18px rgba(12, 46, 36, 0.12); transform: translateY(-1px); }
.legal-pid-icon { font-size: 1.6em; flex-shrink: 0; line-height: 1; }
.legal-pid-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.legal-pid-meta strong { color: var(--primary); font-size: 0.95em; font-weight: 600; }
.legal-pid-meta .legal-pid-ext { color: var(--primary-2); font-weight: 700; font-size: 0.78em; margin-left: 4px; letter-spacing: 0.02em; }
.legal-pid-meta small { color: var(--muted); font-size: 0.78em; line-height: 1.4; }
@media (max-width: 720px) {
  .legal-disclaimer { padding: 28px 16px; }
  .legal-disclaimer p { padding: 22px 22px; font-size: 0.8em; }
  .legal-pid-link { padding: 14px 16px; gap: 10px; margin-bottom: 12px; }
  .legal-pid-icon { font-size: 1.4em; }
  .legal-pid-meta strong { font-size: 0.9em; }
}

/* ── Articole utile (ghiduri) ────────────────── */
.articole-utile { padding: 24px 0 40px; }
.articole-utile h2 { font-size: 1.5rem; }
.ghid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.ghid-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary-2);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ghid-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-left-color: var(--primary);
}
.ghid-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text);
}
.ghid-link-arrow {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}
