/*
 * Digital Nomad Visa landing (/services/digital-nomad-visa).
 * Ported from the client mock-up (spain-bridge-digital-nomad, v15).
 * Every selector is namespaced with .dnv- / .dnv-root so the landing cannot
 * collide with the theme's bootstrap + all.css stack. Enqueued only for the
 * single-digital-nomad-visa.php template (see inc/assets.php).
 */

.dnv-root {
  --ink: #101d2f;
  --muted: #606978;
  --paper: #fcf8f3;
  --white: #ffffff;
  --brand: #c86b2c;
  --brand-dark: #a84f18;
  --brand-soft: #f6e7db;
  --line: #e8e1d8;
  --mist: #eef2f7;
  --green: #1d8758;
  --shadow: 0 24px 70px rgba(16, 29, 47, 0.1);
}

.dnv-root * { box-sizing: border-box; }
.dnv-root { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
.dnv-root a { color: inherit; text-decoration: none; }

/* Шапка темы — position: fixed (top 40 + высота 68..86 на десктопе, top 13 + 52
 * на мобиле). Раньше её высоту подпирал дисклеймер, стоявший над первым экраном;
 * после переноса дисклеймера под hero отступ нужно держать здесь. */
.dnv-root { padding-top: 120px; }

@media (max-width: 1199px) { .dnv-root { padding-top: 138px; } }
@media (max-width: 991px) { .dnv-root { padding-top: 78px; } }

.dnv-root button, .dnv-root summary { font: inherit; }
.dnv-root button, .dnv-root a, .dnv-root summary { -webkit-tap-highlight-color: transparent; }
.dnv-root img { max-width: 100%; }

/* Тема (all.css + style.css) навязывает глобально: h1/h2 { text-align: center },
 * h1,h2,h3 { color: #000 / #161616 }, p { color: #161616 }, свои margin.
 * Внутри лендинга это ломало макет (заголовки по центру, тёмный h2 на тёмной
 * секции). :where() даёт нулевую специфичность — правила ниже перебивают ресет,
 * а селекторы темы по тегу (0,0,1) проигрывают .dnv-root (0,1,0). */
.dnv-root :where(h1, h2, h3, h4, h5) { margin: 0; padding: 0; color: inherit; text-align: inherit; text-transform: none; background: none; }
.dnv-root :where(p, blockquote, ul, ol, li) { margin: 0; padding: 0; color: inherit; text-align: inherit; }
.dnv-root :where(ul, ol) { list-style: none; }
.dnv-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.dnv-hero { min-height: 620px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 54px; padding-block: 58px 52px; }
.dnv-eyebrow, .dnv-section-kicker { width: fit-content; margin: 0 0 20px; color: var(--brand-dark); font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.dnv-eyebrow { padding: 9px 13px; border-radius: 999px; background: var(--brand-soft); text-transform: none; }
.dnv-eyebrow span { margin-right: 5px; }
.dnv-root h1, .dnv-root h2, .dnv-root h3, .dnv-root p { text-wrap: pretty; }
.dnv-root h1 { max-width: 650px; margin: 0; font-size: clamp(50px, 4.5vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.dnv-hero-lede { max-width: 620px; margin: 24px 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.dnv-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.dnv-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 25px; border: 2px solid var(--ink); border-radius: 12px; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; transition: transform 180ms ease, background 180ms ease, opacity 180ms ease; }
.dnv-button:hover { transform: translateY(-2px); }
.dnv-button:focus-visible, .dnv-root summary:focus-visible { outline: 3px solid rgba(200, 107, 44, .35); outline-offset: 3px; }
.dnv-button:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.dnv-button-primary { border-color: var(--brand); background: var(--brand); color: white; }
.dnv-button-primary:hover { background: var(--brand-dark); }
.dnv-button-secondary { background: transparent; }
.dnv-button-light { border-color: white; background: white; color: var(--ink); }
.dnv-trust-card { max-width: 600px; display: flex; align-items: center; gap: 18px; margin-top: 20px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .72); }
.dnv-avatars { display: flex; padding-left: 8px; }
.dnv-avatar { width: 44px; height: 44px; margin-left: -8px; border: 3px solid white; border-radius: 50%; background-image: url('../images/dnv/avatars.jpg'); background-size: 300% 200%; background-repeat: no-repeat; }
.dnv-avatar-1 { background-position: left top; }
.dnv-avatar-2 { background-position: center top; }
.dnv-avatar-3 { background-position: right top; }
.dnv-stars { color: #e5a51d; font-size: 15px; letter-spacing: 2px; }
.dnv-trust-card strong, .dnv-trust-card small { display: block; }
.dnv-trust-card strong { margin-top: 2px; font-size: 13px; }
.dnv-trust-card small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.dnv-micro-benefits { display: flex; flex-wrap: wrap; gap: 24px; margin: 21px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; font-weight: 700; }
.dnv-micro-benefits li::before { content: "✓"; margin-right: 7px; color: var(--brand); }
.dnv-hero-media { position: relative; min-height: 535px; overflow: hidden; border-radius: 28px; background: var(--mist); }
.dnv-hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dnv-hero-badge { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .92); box-shadow: 0 14px 40px rgba(18, 31, 50, .18); font-size: 13px; font-weight: 800; backdrop-filter: blur(8px); }
.dnv-hero-badge img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }

.dnv-section { padding: 90px 0; }
.dnv-section-heading { max-width: 700px; margin-bottom: 48px; }
.dnv-section-heading.dnv-centered { margin-inline: auto; text-align: center; }
.dnv-section-heading.dnv-centered .dnv-section-kicker { margin-inline: auto; }
.dnv-section-heading h2, .dnv-final-cta h2 { margin: 0; font-size: clamp(38px, 3.7vw, 50px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.dnv-section-heading > p:last-child, .dnv-section-heading > div > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.dnv-section-heading > p:not(.dnv-section-kicker) { margin: 18px 0 0; }
.dnv-eligibility { border-top: 1px solid var(--line); background: white; }
.dnv-requirements-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.dnv-requirement-card { min-height: 250px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.dnv-feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 13px; background: var(--brand-soft); color: var(--brand-dark); font-size: 22px; font-weight: 900; }
.dnv-feature-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.dnv-requirement-card h3, .dnv-steps-grid h3, .dnv-benefits-grid h3, .dnv-price-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.dnv-requirement-card p, .dnv-steps-grid p, .dnv-benefits-grid p, .dnv-price-card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.dnv-missing-card { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 20px; padding: 25px 28px; border-radius: 20px; background: var(--ink); color: white; }
.dnv-missing-card strong { font-size: 20px; }
.dnv-missing-card p { max-width: 700px; margin: 7px 0 0; color: #cbd3df; line-height: 1.5; }
.dnv-stats-strip { padding: 34px 0; background: var(--brand); color: white; }
.dnv-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.dnv-stats-grid div { padding: 4px 30px; border-right: 1px solid rgba(255, 255, 255, .3); text-align: center; }
.dnv-stats-grid div:last-child { border: 0; }
.dnv-stats-grid strong, .dnv-stats-grid span { display: block; }
.dnv-stats-grid strong { font-size: 30px; letter-spacing: -.03em; }
.dnv-stats-grid span { margin-top: 5px; font-size: 12px; opacity: .82; }
.dnv-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dnv-steps-grid article { min-height: 275px; padding: 30px; border-radius: 22px; background: white; box-shadow: 0 12px 40px rgba(16, 29, 47, .06); }
.dnv-steps-grid article > span, .dnv-benefits-grid article > span { display: block; margin-bottom: 65px; color: var(--brand); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.dnv-steps-grid h3 { font-size: 25px; }
.dnv-comparison-section { background: var(--ink); color: white; }
.dnv-comparison-section .dnv-section-heading > p:last-child { color: #b9c2cf; }
.dnv-comparison-table { overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; }
.dnv-comparison-row { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); }
.dnv-comparison-row > div { min-height: 64px; display: flex; align-items: center; padding: 15px 20px; border-right: 1px solid rgba(255, 255, 255, .12); border-top: 1px solid rgba(255, 255, 255, .12); color: #cfd6e1; font-size: 14px; }
.dnv-comparison-row > div:first-child { color: white; font-weight: 700; }
.dnv-comparison-row > div:nth-child(2) { background: rgba(29, 135, 88, .18); color: white; font-weight: 800; }
.dnv-comparison-row > div:last-child { border-right: 0; }
.dnv-comparison-head > div { min-height: 75px; border-top: 0; color: white; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.dnv-benefits-section { background: white; }
.dnv-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--line); }
.dnv-benefits-grid article { min-height: 260px; padding: 30px; background: white; }
.dnv-benefits-grid article > span { margin-bottom: 55px; }
.dnv-benefits-grid h3 { font-size: 24px; }
.dnv-testimonial-heading { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.dnv-testimonial-heading > div { max-width: 700px; }
.dnv-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dnv-testimonial-card { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.dnv-testimonial-card blockquote { min-height: 112px; margin: 14px 0 22px; font-size: 16px; line-height: 1.6; }
.dnv-testimonial-card strong, .dnv-testimonial-card > span { display: block; }
.dnv-testimonial-card > span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.dnv-pricing-section { background: white; }
.dnv-guarantee-banner { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 20px; margin: -18px 0 36px; padding: 28px 32px; border: 1.5px solid #9beab8; border-radius: 22px; background: #effcf4; color: #118640; }
.dnv-guarantee-banner > svg { width: 36px; height: 36px; stroke-width: 2.1; }
.dnv-guarantee-banner h3 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.025em; }
.dnv-guarantee-banner p { max-width: 900px; margin: 0; color: #397454; font-size: 15px; line-height: 1.55; }
.dnv-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 16px; }
.dnv-price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.dnv-price-card.dnv-popular { border: 2px solid var(--brand); background: white; box-shadow: var(--shadow); }
.dnv-popular-label { position: absolute; top: 0; right: 22px; transform: translateY(-50%); padding: 7px 12px; border-radius: 999px; background: var(--brand); color: white; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.dnv-price-card h3 { font-size: 28px; }
.dnv-price-card > p { min-height: 66px; }
.dnv-price { margin-top: 26px; font-size: 52px; font-weight: 900; letter-spacing: -.05em; }
.dnv-price-caption { min-height: 35px; color: var(--muted); font-size: 12px; }
.dnv-price-card ul { display: grid; gap: 12px; margin: 25px 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.dnv-price-card li { display: flex; gap: 9px; font-size: 13px; line-height: 1.4; }
.dnv-price-card li::before { content: "✓"; color: var(--green); font-weight: 900; }
.dnv-price-guarantee { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 11px 12px; border: 1px solid #a8e8bf; border-radius: 12px; background: #effcf4; color: #118640; }
.dnv-price-guarantee svg { width: 18px; height: 18px; flex: 0 0 auto; stroke-width: 2.2; }
.dnv-price-guarantee strong { font-size: 12px; line-height: 1.3; }
.dnv-payment-terms { min-height: 48px; margin-top: auto; color: var(--muted); font-size: 12px; line-height: 1.5; }
.dnv-price-card .dnv-button { width: 100%; margin-top: 18px; }
.dnv-pricing-note { margin: 24px auto 0; color: var(--muted); font-size: 12px; text-align: center; }
.dnv-faq-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; }
.dnv-faq-layout .dnv-section-heading { position: sticky; top: 130px; align-self: start; }
.dnv-text-link { display: inline-block; margin-top: 25px; color: var(--brand-dark); font-weight: 800; }
.dnv-faq-list { border-top: 1px solid var(--line); }
.dnv-faq-list details { border-bottom: 1px solid var(--line); }
.dnv-faq-list summary { display: flex; justify-content: space-between; gap: 18px; padding: 23px 0; font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.dnv-faq-list summary::-webkit-details-marker { display: none; }
.dnv-faq-list summary span { color: var(--brand); font-size: 24px; font-weight: 400; transition: transform 180ms ease; }
.dnv-faq-list details[open] summary span { transform: rotate(45deg); }
.dnv-faq-list details p { margin: -7px 40px 24px 0; color: var(--muted); line-height: 1.65; }
.dnv-final-cta { padding: 80px 0; background: var(--brand); color: white; }
.dnv-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.dnv-final-cta .dnv-section-kicker { color: white; opacity: .72; }
.dnv-final-cta p:last-child { margin: 15px 0 0; opacity: .82; }


/* --- Варианты блоков для лендинга No Lucrativa (single-no-lucrativa-visa.php) ---
 * Базовые правила ОБЯЗАНЫ стоять до медиазапросов ниже, иначе модификаторы
 * перебьют адаптив и колонки останутся десктопными на мобиле. */
.dnv-requirements-grid--3 { grid-template-columns: repeat(3, 1fr); }
.dnv-comparison-row--3 { grid-template-columns: 1.4fr repeat(2, 1fr); }
.dnv-pricing-grid--single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.dnv-income-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dnv-income-grid li { display: flex; align-items: flex-start; gap: 12px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 15px; background: white; font-size: 15px; line-height: 1.45; }
.dnv-income-grid li::before { content: "✓"; color: var(--green); font-weight: 900; }

@media (max-width: 1080px) {
  .dnv-requirements-grid { grid-template-columns: repeat(3, 1fr); }
  .dnv-pricing-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .dnv-price-card > p, .dnv-payment-terms { min-height: 0; }
}

@media (max-width: 820px) {
  .dnv-shell { width: min(100% - 30px, 680px); }
  .dnv-hero { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 54px; }
  .dnv-hero-media { min-height: 390px; }
  .dnv-root h1 { font-size: clamp(40px, 7vw, 48px); }
  .dnv-section-heading h2, .dnv-final-cta h2 { font-size: 40px; }
  .dnv-section { padding: 66px 0; }
  .dnv-requirements-grid, .dnv-benefits-grid, .dnv-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .dnv-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .dnv-stats-grid div:nth-child(2) { border-right: 0; }
  .dnv-steps-grid { grid-template-columns: 1fr; }
  .dnv-steps-grid article { min-height: 0; }
  .dnv-faq-layout { grid-template-columns: 1fr; gap: 25px; }
  .dnv-faq-layout .dnv-section-heading { position: static; }
  .dnv-final-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .dnv-shell { width: calc(100% - 28px); }

  .dnv-hero { gap: 18px; padding-block: 22px 32px; }
  .dnv-eyebrow { margin-bottom: 15px; padding: 7px 10px; font-size: 11px; }
  .dnv-root h1 { font-size: 34px; line-height: 1.01; letter-spacing: -.045em; }
  .dnv-hero-lede { margin: 15px 0; font-size: 14px; line-height: 1.45; }
  .dnv-hero-cta { gap: 9px; }
  .dnv-hero-cta .dnv-button { min-height: 50px; }
  .dnv-trust-card { gap: 12px; margin-top: 14px; padding: 11px 12px; border-radius: 13px; }
  .dnv-trust-card strong { font-size: 12px; }
  .dnv-trust-card small { font-size: 10px; line-height: 1.3; }
  .dnv-stars { font-size: 12px; }
  .dnv-micro-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 13px; font-size: 10px; text-align: center; }
  .dnv-micro-benefits li::before { display: block; margin: 0 0 3px; }
  .dnv-hero-media { min-height: 280px; border-radius: 20px; }
  .dnv-hero-badge { right: 12px; bottom: 12px; padding: 8px 12px 8px 8px; font-size: 11px; }
  .dnv-hero-badge img { width: 34px; height: 34px; }
  .dnv-hero-cta .dnv-button, .dnv-missing-card .dnv-button { width: 100%; }
  .dnv-trust-card { align-items: flex-start; }
  .dnv-avatar { width: 32px; height: 32px; border-width: 2px; }

  .dnv-section { padding: 48px 0; }
  .dnv-section-heading { margin-bottom: 24px; }
  .dnv-section-heading h2, .dnv-final-cta h2 { font-size: 29px; line-height: 1.07; }
  .dnv-section-heading > p:last-child, .dnv-section-heading > div > p:last-child { margin-top: 11px; font-size: 14px; line-height: 1.45; }
  .dnv-section-kicker { margin-bottom: 13px; font-size: 11px; }

  .dnv-requirements-grid { grid-template-columns: 1fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
  .dnv-requirement-card { min-height: 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 13px; padding: 13px 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dnv-requirement-card:last-child { border-bottom: 0; }
  .dnv-requirement-card .dnv-feature-icon { grid-row: 1 / 3; width: 38px; height: 38px; margin: 0; border-radius: 50%; }
  .dnv-requirement-card .dnv-feature-icon svg { width: 18px; height: 18px; }
  .dnv-requirement-card h3 { margin: 0 0 4px; font-size: 16px; }
  .dnv-requirement-card p { font-size: 13px; line-height: 1.38; }
  .dnv-missing-card { align-items: stretch; flex-direction: column; gap: 17px; margin-top: 14px; padding: 20px; border-radius: 18px; }
  .dnv-missing-card strong { font-size: 18px; }
  .dnv-missing-card p { margin-top: 5px; font-size: 13px; }
  .dnv-missing-card .dnv-button { min-height: 48px; }

  .dnv-stats-grid strong { font-size: 24px; }
  .dnv-stats-strip { padding: 25px 0; }
  .dnv-stats-grid { gap: 18px 0; }
  .dnv-stats-grid div { padding-inline: 10px; }
  .dnv-stats-grid span { font-size: 10px; }

  #dnv-how-it-works { padding-block: 44px; }
  #dnv-how-it-works .dnv-section-heading { margin-bottom: 18px; }
  .dnv-steps-grid { gap: 0; }
  .dnv-steps-grid article { min-height: 0; padding: 9px 8px 13px; border-radius: 0; background: transparent; box-shadow: none; text-align: center; }
  .dnv-steps-grid article > span { width: 44px; height: 44px; display: grid; place-items: center; margin: 0 auto 8px; border-radius: 50%; background: var(--brand); color: white; font-size: 14px; letter-spacing: 0; }
  .dnv-steps-grid h3 { margin-bottom: 4px; font-size: 17px; }
  .dnv-steps-grid p { max-width: 340px; margin-inline: auto; font-size: 13px; line-height: 1.38; }

  .dnv-comparison-section .dnv-section-heading { margin-bottom: 32px; }
  .dnv-comparison-table { display: grid; gap: 12px; overflow: visible; border: 0; border-radius: 0; }
  .dnv-comparison-head { display: none; }
  .dnv-comparison-row { min-width: 0; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; }
  .dnv-comparison-row > div { min-height: 88px; justify-content: center; align-items: center; flex-direction: column; padding: 10px 6px; border-top: 1px solid rgba(255, 255, 255, .12); color: #cfd6e1; font-size: 11px; line-height: 1.35; text-align: center; }
  .dnv-comparison-row > div::before { content: attr(data-label); display: block; margin-bottom: 7px; color: #929cab; font-size: 8px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
  .dnv-comparison-row > div:first-child { min-height: 0; grid-column: 1 / -1; justify-content: flex-start; align-items: flex-start; padding: 13px 14px; border-top: 0; border-right: 0; font-size: 13px; text-align: left; }
  .dnv-comparison-row > div:first-child::before { display: none; }
  .dnv-comparison-row > div:nth-child(2) { background: rgba(29, 135, 88, .28); }

  .dnv-benefits-grid { grid-template-columns: repeat(2, 1fr); border-radius: 18px; }
  .dnv-benefits-grid article { min-height: 0; padding: 17px 15px; }
  .dnv-benefits-grid article > span { margin-bottom: 16px; }
  .dnv-benefits-grid h3 { margin-bottom: 7px; font-size: 17px; }
  .dnv-benefits-grid p { font-size: 13px; line-height: 1.42; }

  .dnv-testimonial-heading { align-items: flex-start; flex-direction: column; }
  .dnv-testimonial-heading { gap: 14px; }
  .dnv-testimonials-grid, .dnv-pricing-grid { grid-template-columns: none; grid-auto-flow: column; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; }
  .dnv-testimonials-grid::-webkit-scrollbar, .dnv-pricing-grid::-webkit-scrollbar { display: none; }
  .dnv-testimonials-grid { grid-auto-columns: 84%; gap: 12px; }
  .dnv-testimonial-card { padding: 20px; scroll-snap-align: start; }
  .dnv-testimonial-card blockquote { min-height: 0; }
  .dnv-testimonial-card blockquote { margin: 12px 0 17px; font-size: 14px; line-height: 1.5; }

  .dnv-guarantee-banner { grid-template-columns: 34px 1fr; gap: 12px; margin: -8px 0 25px; padding: 18px; border-radius: 17px; }
  .dnv-guarantee-banner > svg { width: 30px; height: 30px; }
  .dnv-guarantee-banner h3 { margin-bottom: 5px; font-size: 19px; }
  .dnv-guarantee-banner p { font-size: 12px; line-height: 1.45; }
  .dnv-pricing-grid { max-width: none; grid-auto-columns: 88%; gap: 12px; margin: 0; padding-top: 17px; }
  .dnv-price-card { padding: 22px; scroll-snap-align: start; }
  .dnv-price-card h3 { font-size: 22px; }
  .dnv-price { margin-top: 18px; font-size: 42px; }
  .dnv-price-card ul { gap: 9px; margin: 18px 0; padding-top: 18px; }
  .dnv-price-card li { font-size: 12px; }
  .dnv-price-card .dnv-button { min-height: 48px; }

  .dnv-faq-list summary { padding: 18px 0; font-size: 16px; }
  .dnv-faq-list details p { margin: -3px 25px 18px 0; font-size: 13px; line-height: 1.55; }
  .dnv-final-cta { padding: 54px 0; }
  .dnv-final-cta-inner { gap: 25px; }
  .dnv-final-cta .dnv-button { width: 100%; min-height: 50px; }

}

@media (prefers-reduced-motion: reduce) {
  .dnv-root * { scroll-behavior: auto !important; transition: none !important; }
}

/* --- Cases (real Spain Bridge cases instead of the mock-up's demo quotes) --- */
.dnv-case-card { display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.dnv-case-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dnv-case-top img { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.dnv-case-top strong { display: block; font-size: 17px; }
.dnv-case-top span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.dnv-case-dates { display: grid; gap: 5px; margin-bottom: 14px; padding: 12px 14px; border-radius: 13px; background: var(--paper); }
.dnv-case-dates span { color: var(--muted); font-size: 12px; }
.dnv-case-dates span b { color: var(--ink); font-weight: 800; }
.dnv-case-text { color: var(--muted); font-size: 14px; line-height: 1.55; }
.dnv-case-text p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.dnv-case-text p:last-child { margin-bottom: 0; }
.dnv-case-text br + br { display: none; }

/* Дисклеймер (штатный блок темы) под первым экраном */
.dnv-disclaimer { padding-bottom: 10px; }

@media (max-width: 560px) {
  .dnv-case-card { padding: 20px; scroll-snap-align: start; }
  .dnv-case-text, .dnv-case-text p { font-size: 13px; line-height: 1.45; }
}

/* --- Breadcrumbs (Yoast-крошки темы внутри лендинга) --- */
.dnv-breadcrumbs { padding-top: 22px; }
.dnv-breadcrumbs .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 12px; list-style: none; }
.dnv-breadcrumbs .breadcrumb li { display: inline-flex; align-items: center; }
.dnv-breadcrumbs .breadcrumb a { color: var(--muted); }
.dnv-breadcrumbs .breadcrumb a:hover { color: var(--brand-dark); }
.dnv-breadcrumbs .breadcrumb .divider { padding: 0 6px; opacity: .6; }
.dnv-breadcrumbs .breadcrumb .active { color: var(--ink); font-weight: 700; }

@media (max-width: 560px) {
  .dnv-breadcrumbs { padding-top: 14px; }
}


/* Адаптив модификаторов No Lucrativa — строго после базовых медиазапросов выше. */
@media (max-width: 820px) {
  .dnv-income-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .dnv-comparison-row--3 { grid-template-columns: repeat(2, 1fr); }
  .dnv-pricing-grid--single { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; overflow: visible; padding-top: 0; }
  .dnv-income-grid li { padding: 13px 15px; font-size: 14px; }
}
