/* ==========================================================================
   Inner Pages — V3 Content Styles
   Base styles for inner page content using V3 design system tokens.
   Loaded alongside redesign-v3.css on inner pages via layouts/v3.blade.php
   ========================================================================== */

/* --- Layout --------------------------------------------------------------- */
.container {
  max-width: var(--v3-container-max);
  margin: 0 auto;
  padding: 0 var(--v3-section-px);
}

.section {
  padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0;
}

.section[data-bg="light"] {
  background: var(--v3-bg-cool);
}

.grid {
  display: grid;
  gap: 24px;
}
.grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }
.grid[data-gap="sm"] { gap: 16px; }
.grid[data-gap="md"] { gap: 24px; }
.grid[data-gap="lg"] { gap: 32px; }

@media (max-width: 1024px) {
  .grid[data-cols="4"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid[data-cols="2"],
  .grid[data-cols="3"],
  .grid[data-cols="4"] { grid-template-columns: 1fr; }
}

/* --- Breadcrumbs ---------------------------------------------------------- */
.breadcrumb-section {
  padding: 16px 0 0;
}
.breadcrumbs {
  font-size: 14px;
  color: var(--v3-text-muted);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-item:not(:last-child)::after {
  content: '/';
  color: var(--v3-text-muted);
  opacity: 0.5;
}
.breadcrumb-item a {
  color: var(--v3-text-muted);
  transition: color 0.2s;
}
.breadcrumb-item a:hover {
  color: var(--v3-orange);
}
.breadcrumb-item:last-child {
  color: var(--v3-orange);
  font-weight: 500;
}

/* --- Section Headers ------------------------------------------------------ */
.section-header {
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.section-title {
  font-family: var(--v3-font-heading);
  font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
  font-weight: 700;
  color: var(--v3-text);
  line-height: 1.2;
  margin: 0 0 8px;
}
.section-title.u-left { text-align: left; }
.section-title.u-center { text-align: center; }

/* --- Typography ----------------------------------------------------------- */
.intro-text-block,
.seo-text,
.delivery-content-text {
  font-family: var(--v3-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--v3-text-body);
}
.intro-text-block p,
.seo-text p,
.delivery-content-text p {
  margin: 0 0 1em;
}
.article-content {
  font-family: var(--v3-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--v3-text-body);
}
.article-content h2,
.article-content h3 {
  font-family: var(--v3-font-heading);
  font-weight: 700;
  color: var(--v3-text);
  margin: 2em 0 0.5em;
}
.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.2rem; }
.article-content ul, .article-content ol {
  padding-left: 1.5em;
  margin: 1em 0;
}
.article-content li { margin: 0.5em 0; }
.article-content img {
  max-width: 100%;
  border-radius: var(--v3-radius-card);
}
.article-quote {
  border-left: 3px solid var(--v3-orange);
  padding: 16px 24px;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--v3-text-body);
  background: var(--v3-bg-warm);
  border-radius: 0 var(--v3-radius-sm) var(--v3-radius-sm) 0;
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--v3-radius-btn);
  font-family: var(--v3-font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--v3-transition);
  border: none;
  text-decoration: none;
}
.btn[data-variant="primary"] {
  background: var(--v3-orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(242, 106, 49, 0.25);
}
.btn[data-variant="primary"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 106, 49, 0.35);
}
.btn[data-variant="outline"] {
  background: transparent;
  color: var(--v3-orange);
  border: 1px solid var(--v3-orange);
}
.btn[data-variant="outline"]:hover {
  background: var(--v3-orange);
  color: #fff;
}
.btn[data-size="sm"] { padding: 8px 16px; font-size: 13px; }
.btn[data-size="lg"] { padding: 18px 36px; font-size: 17px; }

/* --- Forms ---------------------------------------------------------------- */
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--v3-text);
  margin-bottom: 6px;
}
.form-input,
.order-input,
.order-select,
.order-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-sm);
  font-family: var(--v3-font-body);
  font-size: 15px;
  color: var(--v3-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus,
.order-input:focus,
.order-select:focus,
.order-textarea:focus {
  outline: none;
  border-color: var(--v3-orange);
  box-shadow: 0 0 0 3px rgba(242, 106, 49, 0.1);
}
.form-input::placeholder,
.order-input::placeholder {
  color: var(--v3-text-muted);
}
textarea.form-input,
.form-textarea,
.order-textarea {
  resize: vertical;
  min-height: 100px;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--v3-text-muted);
  line-height: 1.4;
}
.form-consent a {
  color: var(--v3-orange);
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--v3-text-body);
  cursor: pointer;
}

/* --- Cards (generic) ------------------------------------------------------ */
.contact-card,
.order-sidebar,
.article-sidebar-card,
.manager-card {
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-card);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.blog-card,
.portfolio-card,
.primenenie-card,
.product-type-card,
.review-card,
.cross-links-card {
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-card);
  overflow: hidden;
  transition: transform 0.2s var(--v3-ease), box-shadow 0.2s;
}
.blog-card:hover,
.portfolio-card:hover,
.primenenie-card:hover,
.product-type-card:hover,
.cross-links-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.blog-card-image,
.portfolio-card-image,
.primenenie-card-image,
.product-type-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card-image img,
.portfolio-card-image img,
.primenenie-card-image img,
.product-type-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--v3-ease);
}
.blog-card:hover img,
.portfolio-card:hover img,
.primenenie-card:hover img {
  transform: scale(1.05);
}

.blog-card-body,
.portfolio-card-body,
.primenenie-card-body {
  padding: 20px;
}
.blog-card-title,
.portfolio-card-title,
.primenenie-card-title,
.product-type-card-title {
  font-family: var(--v3-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--v3-text);
  margin: 0 0 8px;
  line-height: 1.3;
}
.blog-card-title a,
.portfolio-card-title a {
  color: inherit;
  transition: color 0.2s;
}
.blog-card-title a:hover,
.portfolio-card-title a:hover {
  color: var(--v3-orange);
}
.product-type-card-text,
.primenenie-card-desc,
.portfolio-card-text {
  font-size: 14px;
  color: var(--v3-text-body);
  line-height: 1.5;
  margin: 0 0 12px;
}
.product-type-card {
  padding: 20px;
  text-align: center;
}

/* --- Article Layout (sidebar + content) ----------------------------------- */
.article-layout,
.article-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1024px) {
  .article-layout,
  .article-with-sidebar {
    grid-template-columns: 1fr;
  }
}

/* --- Contact Page --------------------------------------------------------- */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.contact-card-info h1 {
  font-family: var(--v3-font-heading);
  font-size: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 24px;
}
.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.contact-card-form {
  background: var(--v3-bg-cool);
  border-radius: var(--v3-radius-card);
  padding: 28px;
}
.contact-form-title {
  font-family: var(--v3-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-mini-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form-btn {
  width: 100%;
}
.contact-links {
  margin-top: 16px;
}
.contact-links a {
  color: var(--v3-orange);
  font-weight: 500;
}
.contact-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--v3-radius-card);
  overflow: hidden;
}
.contact-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.contact-card-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.contact-phone-big {
  font-family: var(--v3-font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v3-text);
}
.contact-phone-big a {
  color: inherit;
}
.contact-phone-big a:hover {
  color: var(--v3-orange);
}
.contact-email-link {
  color: var(--v3-text-body);
  font-size: 16px;
}
.contact-email-link:hover {
  color: var(--v3-orange);
}
.contact-email-note {
  font-size: 13px;
  color: var(--v3-text-muted);
}
.contact-address,
.contact-hours {
  font-size: 15px;
  color: var(--v3-text-body);
  line-height: 1.6;
}
.contact-section-title {
  font-family: var(--v3-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v3-text);
  margin: 2rem 0 1rem;
}
.contact-map {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--v3-radius-card);
}
.contact-section-title + iframe.contact-map,
iframe.contact-map {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--v3-radius-card);
}

@media (max-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-details {
    grid-template-columns: 1fr;
  }
  .contact-card-info {
    grid-template-columns: 1fr;
  }
  .contact-phone-big {
    font-size: 1.4rem;
  }
  .contact-map {
    height: 280px;
  }
}

/* --- Reviews -------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.review-card {
  padding: 24px;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-author {
  font-weight: 600;
  color: var(--v3-text);
}
.review-date {
  font-size: 13px;
  color: var(--v3-text-muted);
}
.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}
.star-icon {
  color: #f5a623;
  font-size: 16px;
}
.review-text {
  font-size: 15px;
  color: var(--v3-text-body);
  line-height: 1.6;
}
.review-source {
  font-size: 13px;
  color: var(--v3-text-muted);
  margin-top: 8px;
}

/* --- Blog Listing --------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* --- Gallery -------------------------------------------------------------- */
.gallery-section {
  margin-bottom: 3rem;
}
.gallery-section-title,
.gallery-section-heading {
  font-family: var(--v3-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--v3-text);
  margin: 0 0 16px;
}
.gallery-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery-section-item {
  border-radius: var(--v3-radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-section-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--v3-ease);
}
.gallery-section-item:hover img {
  transform: scale(1.05);
}

/* --- Primenenie (Category listing) ---------------------------------------- */
.primenenie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* --- Portfolio ------------------------------------------------------------ */
/* --- Portfolio Detail (pd-*) — "Taste" redesign -------------------------- */

/* Hero: Split layout — info + image */
.pd-hero {
  background: var(--v3-bg-warm);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0 clamp(2rem, 1.5rem + 3vw, 4rem);
}
.pd-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  margin-top: 16px;
}
.pd-hero-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pd-hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.pd-hero-tag {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--v3-orange);
  background: rgba(242,106,49,0.1);
  border-radius: 20px;
}
.pd-hero-title {
  font-family: var(--v3-font-display);
  font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.6rem);
  font-weight: 800;
  color: var(--v3-text);
  line-height: 1.15;
  margin-bottom: 16px;
}
.pd-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--v3-text-body);
  margin-bottom: 20px;
}
.pd-hero-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.pd-hero-visual {
  display: flex;
  justify-content: center;
}
.pd-hero-image-frame {
  width: 100%;
  max-width: 420px;
  border-radius: var(--v3-radius-card);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  transform: rotate(1deg);
  transition: transform 0.4s ease;
}
.pd-hero-image-frame:hover {
  transform: rotate(0deg) scale(1.02);
}
.pd-hero-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content area */
.pd-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Chips row */
.pd-specs-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--v3-text);
  background: var(--v3-bg-cool);
  border-radius: 24px;
}
.pd-chip svg {
  color: var(--v3-orange);
  flex-shrink: 0;
}

/* Full description */
.pd-full-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--v3-text-body);
  margin-bottom: 24px;
  padding: 24px 28px;
  background: var(--v3-bg-white);
  border-radius: var(--v3-radius-card);
  border-left: 3px solid var(--v3-orange);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.pd-full-desc p {
  margin: 0;
}

/* Order CTA card */
.pd-order-card {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--v3-bg-cta) 0%, var(--v3-bg-cta-strong) 100%);
  border-radius: var(--v3-radius-card);
  padding: 28px 32px;
}
.pd-order-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pd-order-text h3 {
  font-family: var(--v3-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--v3-text);
  margin-bottom: 4px;
}
.pd-order-text p {
  font-size: 14px;
  color: var(--v3-text-muted);
}

/* Manager sidebar */
.pd-sidebar {
  position: sticky;
  top: 90px;
}
.pd-manager {
  background: var(--v3-bg-white);
  border-radius: var(--v3-radius-card);
  padding: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  border-top: 3px solid var(--v3-orange);
}
.pd-manager-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pd-manager-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.pd-manager-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--v3-text);
}
.pd-manager-role {
  font-size: 13px;
  color: var(--v3-text-muted);
}
.pd-manager-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--v3-text-body);
  margin-bottom: 16px;
}
.pd-manager-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--v3-text);
  text-decoration: none;
  margin-bottom: 16px;
}
.pd-manager-phone:hover {
  color: var(--v3-orange);
}
.pd-manager-messengers {
  display: flex;
  gap: 8px;
}
.pd-messenger-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.pd-messenger-btn[data-type="wa"] {
  background: #e6f9ed;
  color: #1a8c3e;
}
.pd-messenger-btn[data-type="wa"]:hover {
  background: #d0f4de;
}
.pd-messenger-btn[data-type="tg"] {
  background: #e8f4fd;
  color: #1a7cc2;
}
.pd-messenger-btn[data-type="tg"]:hover {
  background: #d2ecfb;
}
.pd-messenger-btn[data-type="max"] {
  background: linear-gradient(45deg, rgb(75, 194, 253) 0%, rgb(61, 71, 236) 50%, rgb(132, 78, 233) 100%);
  color: #fff;
}
.pd-messenger-btn[data-type="max"]:hover {
  filter: brightness(0.92);
}

/* Related works */
.pd-related-section {
  background: var(--v3-bg-warm);
}
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.pd-related-card {
  display: block;
  text-decoration: none;
  background: var(--v3-bg-white);
  border-radius: var(--v3-radius-card);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pd-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.pd-related-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.pd-related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.pd-related-card:hover .pd-related-card-image img {
  transform: scale(1.06);
}
.pd-related-card-body {
  padding: 16px;
}
.pd-related-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--v3-text);
  line-height: 1.4;
  margin-bottom: 6px;
}
.pd-related-card-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--v3-orange);
  font-weight: 500;
}
.pd-related-all {
  text-align: center;
  margin-top: 32px;
}
.section-header-title {
  font-family: var(--v3-font-heading);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  color: var(--v3-text);
}

@media (max-width: 768px) {
  .pd-hero-split {
    grid-template-columns: 1fr;
  }
  .pd-hero-image-frame {
    max-width: 280px;
    margin: 0 auto;
    transform: none;
  }
  .pd-content {
    grid-template-columns: 1fr;
  }
  .pd-sidebar {
    position: static;
  }
  .pd-order-inner {
    flex-direction: column;
    text-align: center;
  }
  .pd-related-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-detail-image {
  border-radius: var(--v3-radius-card);
  overflow: hidden;
  margin-bottom: 24px;
}
.portfolio-detail-image img {
  width: 100%;
  height: auto;
}

/* --- Pagination ----------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.pagination-list {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--v3-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--v3-text);
  transition: all 0.2s;
}
.pagination-link:hover,
.pagination-link.is-active {
  background: var(--v3-orange);
  color: #fff;
  border-color: var(--v3-orange);
}

/* --- CTA V3 Section (shared across inner pages) -------------------------- */
.cta-v3 {
  background: linear-gradient(135deg, var(--v3-bg-warm) 0%, #fff5ee 100%);
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}
.cta-v3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.cta-v3-title {
  font-family: var(--v3-font-display);
  font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem);
  font-weight: 800;
  color: var(--v3-text);
  line-height: 1.2;
  margin-bottom: 8px;
}
.cta-v3-title span {
  color: var(--v3-orange);
}
.cta-v3-subtitle {
  font-size: 17px;
  color: var(--v3-text-body);
  line-height: 1.6;
  margin-bottom: 8px;
}
.cta-v3-muted {
  font-size: 14px;
  color: var(--v3-text-muted);
  margin-bottom: 28px;
}
.cta-v3-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-v3-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--v3-bg-white);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.cta-v3-feature-icon {
  flex-shrink: 0;
}
.cta-v3-feature-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.cta-v3-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--v3-text);
}
.cta-v3-feature span {
  font-size: 13px;
  color: var(--v3-text-muted);
}
.cta-v3-form-wrap {
  background: var(--v3-bg-white);
  border-radius: var(--v3-radius-card);
  box-shadow: 0 12px 48px rgba(0,0,0,0.06);
  overflow: hidden;
}
.cta-v3-form-card {
  padding: clamp(24px, 2vw, 40px);
}
.cta-v3-form-title {
  font-family: var(--v3-font-heading);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 700;
  color: var(--v3-text);
  margin-bottom: 4px;
}
.cta-v3-form-subtitle {
  font-size: 14px;
  color: var(--v3-text-muted);
  margin-bottom: 24px;
}
.cta-v3-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-v3-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.cta-v3-file-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px dashed #d0d0d0;
  border-radius: 8px;
  font-size: 14px;
  color: var(--v3-text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cta-v3-file-label:hover {
  border-color: var(--v3-orange);
  color: var(--v3-orange);
}
.cta-v3-file-label svg {
  flex-shrink: 0;
  color: var(--v3-orange);
}
.cta-v3-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .cta-v3-grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy compat */
.cta-section { background: var(--v3-bg-warm); padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0; }
.cta-block { max-width: 1280px; margin: 0 auto; }
.cta-headline { font-family: var(--v3-font-heading); font-size: clamp(1.1rem, 1rem + 1vw, 1.5rem); font-weight: 500; color: var(--v3-text); line-height: 1.6; margin-bottom: 8px; }
.cta-headline-line { display: block; }
.cta-subtext { font-size: 15px; color: var(--v3-text-muted); margin-bottom: 24px; }
.cta-features { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0 0 24px; flex-wrap: wrap; }
.cta-features li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--v3-text); }
.cta-features li img { width: 48px; height: 48px; object-fit: contain; }
.cta-features li strong { display: block; font-weight: 600; }

/* --- CTA Form ------------------------------------------------------------ */
.cta-form-section {
  background: var(--v3-bg-cool);
  border-radius: var(--v3-radius-card);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  max-width: 640px;
  margin: 32px auto 0;
}
.cta-form-title {
  font-family: var(--v3-font-heading);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: var(--v3-text);
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-form .form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--v3-text-muted);
  margin-bottom: 4px;
  text-align: center;
}
.cta-form .form-field-icon {
  position: relative;
}
.cta-form .form-field-icon-img {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  opacity: 0.5;
}
.cta-form .form-input,
.cta-form .form-textarea {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  background: var(--v3-bg-white);
  transition: border-color 0.2s;
}
.cta-form .form-input:focus,
.cta-form .form-textarea:focus {
  border-color: var(--v3-orange);
  outline: none;
}
.cta-form .form-file {
  display: inline-block;
  font-size: 14px;
}
.cta-form .form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--v3-text-muted);
  cursor: pointer;
}
.cta-form .form-checkbox-text {
  line-height: 1.4;
}
.cta-form .btn {
  align-self: center;
}
.cta-form-note {
  text-align: center;
  font-size: 13px;
  color: var(--v3-text-muted);
  margin-top: 16px;
}

/* --- Service Banner (hero for service pages) ------------------------------ */
.service-banner {
  background: var(--v3-bg-warm);
  padding: clamp(2rem, 1.5rem + 3vw, 4rem) 0;
}
.service-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.service-banner-breadcrumbs {
  grid-column: 1 / -1;
}
.service-banner-title {
  font-family: var(--v3-font-heading);
  font-size: clamp(1.8rem, 1.5rem + 2vw, 2.8rem);
  font-weight: 700;
  color: var(--v3-text);
  line-height: 1.15;
  margin: 0 0 16px;
}
.service-banner-label {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--v3-text-muted);
  margin-bottom: 8px;
}
.service-banner-text {
  font-size: 16px;
  color: var(--v3-text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}
.service-banner-image {
  border-radius: var(--v3-radius-card);
  overflow: hidden;
}
.service-banner-image img {
  width: 100%;
  height: auto;
}
.service-banner-advantages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.service-banner-advantage {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.service-banner-adv-title {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: var(--v3-text);
  margin-bottom: 4px;
}
.service-banner-adv-desc {
  display: block;
  font-size: 14px;
  color: var(--v3-text-muted);
  line-height: 1.5;
}
.service-banner-check {
  flex-shrink: 0;
  margin-top: 2px;
}
.service-banner-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.service-banner-cta-text {
  font-size: 15px;
  color: var(--v3-text-muted);
}
.service-banner-cta-text em {
  font-style: italic;
}
.service-banner-cta-text span {
  color: var(--v3-orange);
  font-weight: 600;
}
/* CTA card variant (right column) */
.service-banner-card {
  background: var(--v3-bg-white);
  border-radius: var(--v3-radius-card);
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.service-banner-card-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--v3-text);
  line-height: 1.4;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.service-banner-card-text em {
  color: var(--v3-orange);
  font-style: normal;
}
.service-banner-card .btn {
  width: 100%;
}
@media (max-width: 768px) {
  .service-banner-inner {
    grid-template-columns: 1fr;
  }
  .service-banner-card {
    order: -1;
  }
}

/* --- City Hero (delivery city pages) -------------------------------------- */
.city-hero {
  background: var(--v3-bg-warm);
  padding: clamp(2rem, 1.5rem + 3vw, 4rem) 0;
}
.city-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.city-hero-subtitle {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--v3-orange);
  margin-bottom: 8px;
}
.city-hero-title {
  font-family: var(--v3-font-heading);
  font-size: clamp(1.6rem, 1.3rem + 2vw, 2.5rem);
  font-weight: 700;
  color: var(--v3-text);
  line-height: 1.15;
  margin: 0 0 24px;
}
.city-hero-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.city-hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.city-hero-feature-title {
  font-weight: 600;
  color: var(--v3-text);
}
.city-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.city-hero-image {
  border-radius: var(--v3-radius-card);
  overflow: hidden;
}
.city-hero-image img {
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .city-hero-inner {
    grid-template-columns: 1fr;
  }
}

/* --- City Steps ----------------------------------------------------------- */
.city-step-card {
  text-align: center;
  padding: 24px;
}
.city-step-icon {
  margin-bottom: 16px;
}

/* --- Delivery Info Block -------------------------------------------------- */
.delivery-info-block {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.delivery-info-item {
  text-align: center;
  padding: 20px 32px;
  background: var(--v3-bg-warm);
  border-radius: var(--v3-radius-card);
}
.delivery-info-label {
  display: block;
  font-size: 13px;
  color: var(--v3-text-muted);
  margin-bottom: 4px;
}
.delivery-info-value {
  font-family: var(--v3-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--v3-text);
}

/* --- Delivery Gallery ----------------------------------------------------- */
.delivery-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.delivery-gallery-item {
  border-radius: var(--v3-radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
}
.delivery-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- FAQ ------------------------------------------------------------------ */
.faq-list {
  display: grid;
  gap: 16px;
}
.faq-list[data-cols="2"] {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .faq-list[data-cols="2"] {
    grid-template-columns: 1fr;
  }
}
.faq-item {
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-sm);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-family: var(--v3-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--v3-text);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s;
}
.faq-question:hover {
  background: var(--v3-bg-cool);
}
.faq-question::marker,
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-answer {
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--v3-text-body);
  line-height: 1.6;
}

/* --- Materials Section ----------------------------------------------------- */
.materials-column {
  background: var(--v3-bg-cool);
  border-radius: var(--v3-radius-card);
  padding: 28px;
}
.materials-heading {
  font-family: var(--v3-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--v3-text);
  margin-bottom: 16px;
}
.materials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.materials-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--v3-text-body);
  padding-left: 20px;
  position: relative;
}
.materials-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v3-orange);
}
.materials-list li strong {
  color: var(--v3-text);
}

/* --- Benefit Card --------------------------------------------------------- */
.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--v3-bg-cool);
  border-radius: var(--v3-radius-card);
}
.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--v3-text);
  line-height: 1.5;
}

/* --- Process Steps -------------------------------------------------------- */
.process-step {
  text-align: center;
  padding: 24px 16px;
}
.step-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--v3-orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.step-text {
  font-size: 14px;
  color: var(--v3-text-body);
  line-height: 1.5;
}

/* --- Approach Section ----------------------------------------------------- */
.approach-section {
  background: var(--v3-bg-warm);
}
.approach-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.approach-heading h3 {
  font-family: var(--v3-font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 800;
  color: var(--v3-text);
  line-height: 1.1;
}
.approach-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.approach-step {
  background: var(--v3-bg-white);
  border-radius: var(--v3-radius-card);
  padding: 24px;
}
.approach-step-icon {
  margin-bottom: 12px;
}
.approach-step-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.approach-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--v3-text);
  margin-bottom: 8px;
}
.approach-step-desc {
  font-size: 13px;
  color: var(--v3-text-muted);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .approach-layout {
    grid-template-columns: 1fr;
  }
  .approach-heading h3 {
    font-size: 2rem;
  }
}

/* --- Article with Sidebar ------------------------------------------------- */
.article-main {
  font-size: 15px;
  line-height: 1.7;
  color: var(--v3-text-body);
}
.article-main h2,
.article-main h3 {
  font-family: var(--v3-font-heading);
  color: var(--v3-text);
  margin: 32px 0 12px;
}
.article-main h2 { font-size: 1.6rem; }
.article-main h3 { font-size: 1.2rem; }
.article-main p { margin-bottom: 16px; }
.article-main ul,
.article-main ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.article-main li { margin-bottom: 8px; }
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sidebar-gallery-item img {
  width: 100%;
  border-radius: 8px;
}

/* --- Cross Links Section -------------------------------------------------- */
.cross-link-card {
  background: var(--v3-bg-white);
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
  flex-shrink: 0;
}
.cross-link-card-image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}
.cross-link-card-title a {
  font-weight: 600;
  font-size: 14px;
  color: var(--v3-text);
  text-decoration: none;
}
.cross-link-card-title a:hover {
  color: var(--v3-orange);
}
.cross-link-card-price {
  font-size: 13px;
  color: var(--v3-orange);
  font-weight: 600;
}
.cross-link-card-btn {
  font-size: 13px;
  color: var(--v3-orange);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--v3-orange);
  border-radius: 6px;
  padding: 6px 12px;
  text-align: center;
  transition: all 0.2s;
}
.cross-link-card-btn:hover {
  background: var(--v3-orange);
  color: #fff;
}
.cross-links-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.cross-links-prev,
.cross-links-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--v3-border);
  background: var(--v3-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.cross-links-prev:hover,
.cross-links-next:hover {
  border-color: var(--v3-orange);
  color: var(--v3-orange);
}

/* --- FAQ section bg ------------------------------------------------------- */
.faq-section-bg {
  background: var(--v3-bg-cool);
}

/* --- Intro text block ----------------------------------------------------- */
.intro-text-block {
  font-size: 16px;
  line-height: 1.7;
  color: var(--v3-text-body);
  max-width: 900px;
}

/* --- Why Us Card ---------------------------------------------------------- */
.why-us-card {
  background: var(--v3-bg-warm);
  border-radius: var(--v3-radius-card);
  padding: 32px;
}

/* --- Content overlay ------------------------------------------------------ */
.content-overlay-top[data-bg="light"] {
  background: var(--v3-bg-cool);
}

/* --- Order Form ----------------------------------------------------------- */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1024px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
}
.order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.order-field-wide {
  grid-column: 1 / -1;
}
@media (max-width: 600px) {
  .order-form-grid {
    grid-template-columns: 1fr;
  }
}
.order-calculator {
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-card);
  padding: 32px;
}
.order-calculator-title {
  font-family: var(--v3-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v3-text);
  margin: 0 0 24px;
}
.order-sidebar-note {
  font-size: 14px;
  color: var(--v3-text-body);
  line-height: 1.5;
  padding: 16px;
  background: var(--v3-bg-warm);
  border-radius: var(--v3-radius-sm);
  margin-top: 16px;
}

/* --- Manager Card (sidebar) ----------------------------------------------- */
.manager-card-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.manager-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.manager-card-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.manager-card-name {
  font-weight: 600;
  color: var(--v3-text);
}
.manager-card-role {
  font-size: 13px;
  color: var(--v3-text-muted);
}
.manager-card-phone {
  font-family: var(--v3-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--v3-text);
  display: block;
  margin: 8px 0;
}
.manager-card-messenger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  margin-right: 6px;
  margin-top: 4px;
}

/* --- Utility Classes ------------------------------------------------------ */
.u-left { text-align: left; }
.u-center { text-align: center; }
.u-muted { color: var(--v3-text-muted); }
.u-mt-2xl { margin-top: 3rem; }
.u-mt-3xl { margin-top: 4rem; }
.u-narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.u-full-width { width: 100%; }

/* --- CTA Section (shared across many pages) ------------------------------- */
.cta-form {
  background: var(--v3-bg-cta);
  border-radius: var(--v3-radius-card);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  text-align: center;
}

/* --- Video Embed ---------------------------------------------------------- */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--v3-radius-card);
  overflow: hidden;
  margin: 1.5rem 0;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Star Rating Input ---------------------------------------------------- */
.star-rating-input {
  display: flex;
  gap: 4px;
}

/* --- Alert ---------------------------------------------------------------- */
.alert {
  padding: 16px 20px;
  border-radius: var(--v3-radius-sm);
  font-size: 15px;
  margin-bottom: 16px;
  background: var(--v3-bg-warm);
  color: var(--v3-text);
  border: 1px solid var(--v3-orange);
}

/* --- Material Cards ------------------------------------------------------- */
.material-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.material-card {
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-card);
  overflow: hidden;
}
.material-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.material-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.material-card-content {
  padding: 20px;
}

/* --- Cross Links Carousel ------------------------------------------------- */
.cross-links-section {
  padding: clamp(2rem, 1.5rem + 2vw, 3rem) 0;
}
.cross-links-carousel {
  position: relative;
  overflow: hidden;
}
.cross-links-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.cross-links-card {
  min-width: 260px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* --- Messenger Links ------------------------------------------------------ */
.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: opacity 0.2s;
}
.messenger-link:hover { opacity: 0.85; }
.messenger-link-tg { background: var(--v3-tg); }
.messenger-link-wa { background: var(--v3-wa); }

/* ============================================================
   PRIMENENIE V3 — Listing & Detail
   ============================================================ */

/* Hero */
.primenenie-hero {
  padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.primenenie-hero .v3-section-title {
  margin-bottom: 12px;
}
.primenenie-hero-subtitle {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
  color: var(--v3-text-body);
  max-width: 640px;
  line-height: 1.6;
}

/* Portfolio works count: small, muted, sits above the grid. */
.portfolio-count {
  font-family: var(--v3-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--v3-text-muted, #6b7280);
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  text-transform: none;
}

/* Tag intro: hero placement (under H1) — single first paragraph. */
.portfolio-tag-intro {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--v3-text-body);
  max-width: 820px;
  margin-top: 8px;
}
.portfolio-tag-intro p {
  margin: 0 0 12px;
}
.portfolio-tag-intro p:last-child {
  margin-bottom: 0;
}

/* Tag intro: tail placement (after the works grid) — second paragraph onwards. */
.portfolio-tag-intro-after {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  max-width: none;
  color: var(--v3-text-body);
  font-size: 1rem;
  line-height: 1.65;
}

/* Tag filters */
.primenenie-filters {
  padding-top: 24px;
  padding-bottom: 24px;
}
.primenenie-filters-title {
  font-family: var(--v3-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--v3-text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Collapsible filter (on portfolio tag pages) */
.primenenie-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-family: var(--v3-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--v3-text-body);
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-pill);
  cursor: pointer;
  transition: var(--v3-transition);
}
.primenenie-filters-toggle:hover {
  background: rgba(242, 106, 49, 0.06);
  border-color: var(--v3-orange);
  color: var(--v3-orange);
}
.primenenie-filters-toggle-icon {
  color: var(--v3-orange);
  flex-shrink: 0;
}
.primenenie-filters-toggle:hover .primenenie-filters-toggle-icon {
  color: var(--v3-orange);
}
.primenenie-filters-toggle-chev {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.primenenie-filters.is-open .primenenie-filters-toggle-chev {
  transform: rotate(180deg);
}
.primenenie-filters.is-collapsible .primenenie-filters-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.25s ease, margin-top 0.25s ease;
  margin-top: 0;
}
.primenenie-filters.is-collapsible.is-open .primenenie-filters-body {
  max-height: 1600px;
  opacity: 1;
  margin-top: 18px;
}
.primenenie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.primenenie-tag {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--v3-text-body);
  background: var(--v3-bg-cool);
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-pill);
  transition: var(--v3-transition);
  white-space: nowrap;
}
.primenenie-tag:hover {
  background: rgba(242, 106, 49, 0.08);
  border-color: var(--v3-orange);
  color: var(--v3-orange);
}
.primenenie-tag.is-active {
  background: var(--v3-orange);
  border-color: var(--v3-orange);
  color: #fff;
}

/* Works industry badge */
.works-industry-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--v3-purple);
  background: rgba(113, 87, 152, 0.08);
  border-radius: var(--v3-radius-pill);
  margin-bottom: 8px;
}

/* Grid — 4 columns desktop */
.primenenie-grid[data-cols="4"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) {
  .primenenie-grid[data-cols="4"] {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .primenenie-grid[data-cols="4"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .primenenie-grid[data-cols="4"] {
    grid-template-columns: 1fr;
  }
}

/* Grid — 3 columns desktop (delivery-city views-products) */
.primenenie-grid[data-cols="3"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .primenenie-grid[data-cols="3"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .primenenie-grid[data-cols="3"] {
    grid-template-columns: 1fr;
  }
}

/* Card "Подробнее →" link */
.primenenie-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.primenenie-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.primenenie-card-desc {
  flex: 1;
}
.primenenie-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--v3-orange);
  margin-top: auto;
  transition: gap 0.2s var(--v3-ease);
}
.primenenie-card:hover .primenenie-card-arrow {
  gap: 10px;
}
.primenenie-card-arrow svg {
  flex-shrink: 0;
}

/* Pagination */
.primenenie-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}
.primenenie-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--v3-text-body);
  background: var(--v3-bg-white);
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-pill);
  transition: var(--v3-transition);
}
.primenenie-pagination-link:hover {
  border-color: var(--v3-orange);
  color: var(--v3-orange);
}
.primenenie-pagination-link.is-active {
  background: var(--v3-orange);
  border-color: var(--v3-orange);
  color: #fff;
}

/* App Hero */
.app-hero {
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  background: var(--v3-bg-white);
  border-bottom: 1px solid var(--v3-border);
}
.app-hero .breadcrumbs {
  margin-bottom: 16px;
}
.app-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.app-hero-label {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--v3-orange);
  margin-bottom: 8px;
}
.app-hero .v3-section-title {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  margin-bottom: 16px;
}
.app-hero-advantages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.app-hero-adv {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--v3-text-body);
  line-height: 1.5;
}
.app-hero-adv-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.app-hero-adv strong {
  display: block;
  color: var(--v3-text);
  font-weight: 600;
}
.app-hero-adv span {
  color: var(--v3-text-muted);
  font-size: 13px;
}
.app-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.app-hero-hint {
  font-size: 14px;
  color: var(--v3-text-muted);
}
.app-hero-hint em {
  color: var(--v3-orange);
  font-style: italic;
  font-weight: 600;
}
.app-hero-image {
  border-radius: var(--v3-radius-card);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  aspect-ratio: 4 / 3;
  max-height: 540px;
  width: 100%;
}
.app-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .app-hero-image {
    max-height: 360px;
  }
  .app-hero .breadcrumbs {
    margin-bottom: 24px;
  }
  .app-hero-grid {
    grid-template-columns: 1fr;
  }
  .app-hero-image {
    max-width: 400px;
  }
}

/* ======================== Delivery-hero variant (legacy template parity) =========== */
.app-hero--delivery {
  background: #f0f0f0 url('/assets/templates/main/images/bg-board-content.webp') center / cover no-repeat;
  border-bottom: 0;
  padding-top: clamp(2rem, 2vw + 1rem, 4rem);
  padding-bottom: clamp(2rem, 2vw + 1rem, 4rem);
}
.app-hero--delivery .app-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.app-hero--delivery .app-hero-label {
  color: #4a5568;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.app-hero--delivery .v3-section-title {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  line-height: 1.15;
  color: #131217;
  margin-bottom: 28px;
}
.app-hero--delivery .v3-section-title span {
  color: #131217;
}
.app-hero--delivery .app-hero-advantages {
  gap: 16px;
  margin-bottom: 32px;
}
.app-hero--delivery .app-hero-adv {
  align-items: flex-start;
  gap: 14px;
}
.app-hero--delivery .app-hero-adv-icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--v3-orange);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-top: 0;
  flex-shrink: 0;
}
.app-hero--delivery .app-hero-adv-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--v3-orange);
  stroke-width: 3;
}
.app-hero--delivery .app-hero-adv strong {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.app-hero--delivery .app-hero-adv span {
  font-size: 14px;
  color: #4a5568;
}
.app-hero--delivery .app-hero-image {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  text-align: center;
}
.app-hero--delivery .app-hero-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.app-hero--delivery .app-hero-actions {
  align-items: center;
  gap: 24px;
}
.app-hero--delivery .app-hero-hint {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #4a5568;
}
.app-hero--delivery .app-hero-hint em {
  color: var(--v3-orange);
  font-style: normal;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .app-hero--delivery .app-hero-grid {
    grid-template-columns: 1fr;
  }
  .app-hero--delivery .app-hero-image {
    max-width: 320px;
    margin: 24px auto 0;
  }
}

/* ======================== Delivery service-detail (text + photo) =================== */
.delivery-service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.delivery-service-detail-text {
  min-width: 0;
}
.delivery-service-detail-text h2 {
  font-family: var(--v3-font-display);
  font-size: clamp(28px, 1.5vw + 16px, 40px);
  font-weight: 400;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--v3-text-heading);
  margin: 0 0 20px;
}
.delivery-service-detail-text .lead {
  font-family: var(--v3-font-display);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--v3-text-heading);
  margin: 0 0 24px;
}
.delivery-service-detail-text p {
  font-family: var(--v3-font-display);
  font-size: 18px;
  line-height: 1.6;
  color: var(--v3-text);
  margin: 0 0 20px;
}
.delivery-service-detail-image {
  text-align: center;
}
.delivery-service-detail-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .delivery-service-detail {
    grid-template-columns: 1fr;
  }
  .delivery-service-detail-image {
    max-width: 420px;
    margin: 16px auto 0;
  }
  .delivery-service-detail-text h2 { font-size: 28px; }
  .delivery-service-detail-text .lead { font-size: 19px; }
  .delivery-service-detail-text p { font-size: 16px; }
}

/* ======================== Delivery views-products (floating image cards) =========== */
.delivery-views-products .primenenie-grid {
  padding-top: 82px;
  row-gap: 100px;
}
.delivery-views-products .primenenie-card {
  position: relative;
  overflow: visible;
  padding-top: 92px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-card);
}
.delivery-views-products .primenenie-card:hover {
  transform: translateY(-4px);
}
.delivery-views-products .primenenie-card-image {
  position: absolute;
  top: -82px;
  left: 50%;
  transform: translateX(-50%);
  width: 154px;
  height: 154px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--v3-bg-warm);
}
.delivery-views-products .primenenie-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.delivery-views-products .primenenie-card-body {
  padding: 16px 20px 24px;
}
.delivery-views-products .primenenie-card-title {
  font-family: var(--v3-font-display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.25;
  color: var(--v3-text-heading);
  text-align: center;
  margin: 0 0 10px;
}
.delivery-views-products .primenenie-card-desc {
  font-family: var(--v3-font-display);
  font-size: 15px;
  line-height: 1.55;
  color: var(--v3-text);
  text-align: center;
  margin: 0;
}
@media (max-width: 768px) {
  .delivery-views-products .primenenie-grid {
    padding-top: 70px;
    row-gap: 80px;
  }
  .delivery-views-products .primenenie-card-image {
    width: 130px;
    height: 130px;
    top: -65px;
  }
  .delivery-views-products .primenenie-card {
    padding-top: 75px;
  }
}

/* App gallery slider */
.app-gallery-slider {
  --gallery-cols: 4;
  --gallery-gap: 16px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.app-gallery-track {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  gap: var(--gallery-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 0;
  scrollbar-width: none;
}
.app-gallery-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.app-gallery-slide {
  flex: 0 0 calc((100% - (var(--gallery-cols) - 1) * var(--gallery-gap)) / var(--gallery-cols));
  aspect-ratio: 1 / 1;
  border-radius: var(--v3-radius-card);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
}
.app-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--v3-ease);
}
.app-gallery-slide:hover img {
  transform: scale(1.05);
}
.app-gallery-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--v3-bg-white);
  border: 1px solid var(--v3-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--v3-transition);
  color: var(--v3-text-body);
}
.app-gallery-arrow:hover {
  border-color: var(--v3-orange);
  color: var(--v3-orange);
}
@media (max-width: 1100px) {
  .app-gallery-slider { --gallery-cols: 3; }
}
@media (max-width: 768px) {
  .app-gallery-slider { --gallery-cols: 2; }
  .app-gallery-arrow {
    display: none;
  }
}
@media (max-width: 480px) {
  .app-gallery-slider { --gallery-cols: 1.4; }
}

/* Lightbox */
.app-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.app-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}
.app-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}
.app-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.app-lightbox-close:hover { opacity: 1; }
.app-lightbox-prev,
.app-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.app-lightbox-prev:hover,
.app-lightbox-next:hover {
  background: rgba(255,255,255,0.3);
}
.app-lightbox-prev { left: 20px; }
.app-lightbox-next { right: 20px; }

/* App banner tags */
.app-banner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
  list-style: none;
  padding: 0;
}
.app-banner-tag {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--v3-orange);
  background: rgba(242, 106, 49, 0.08);
  border-radius: var(--v3-radius-pill);
}

/* App detail intro */
.app-detail-intro {
  max-width: 800px;
  font-size: 1.05rem;
  color: var(--v3-text-body);
  line-height: 1.7;
}

/* Content blocks grid */
.content-blocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.content-block-card {
  background: var(--v3-bg-white);
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-card);
  padding: 28px;
  transition: transform 0.2s var(--v3-ease), box-shadow 0.2s;
}
.content-block-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.content-block-card h3 {
  font-family: var(--v3-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--v3-text);
  margin: 0 0 12px;
}
.content-block-card p {
  font-size: 14px;
  color: var(--v3-text-body);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   HORIZONTAL CTA VARIANT
   ============================================================ */

.cta-v3[data-layout="horizontal"] {
  text-align: center;
}
.cta-v3-header {
  max-width: 640px;
  margin: 0 auto 32px;
}
.cta-v3-header .v3-section-title {
  margin-bottom: 12px;
}
.cta-v3-header-sub {
  font-size: 1rem;
  color: var(--v3-text-body);
  line-height: 1.6;
}

.cta-v3-form-horizontal {
  max-width: 920px;
  margin: 0 auto 40px;
  background: var(--v3-bg-white);
  border-radius: var(--v3-radius-card);
  padding: 32px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.06);
}
.cta-v3-form[data-layout="row"] {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.cta-v3-form[data-layout="row"] .v3-form-group {
  margin-bottom: 0;
}
.cta-v3-form[data-layout="row"] .v3-btn {
  height: 50px;
  white-space: nowrap;
  padding: 0 28px;
}
.cta-v3-form-horizontal .v3-form-consent {
  margin-top: 12px;
  text-align: center;
}

/* Upload area — spans full width under form row */
.cta-v3-upload {
  margin-top: 16px;
}
.cta-v3-upload-area {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 2px dashed var(--v3-border);
  border-radius: var(--v3-radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.cta-v3-upload-area:hover {
  border-color: var(--v3-orange);
  background: rgba(242, 106, 49, 0.03);
}
.cta-v3-upload-area svg {
  flex-shrink: 0;
  color: var(--v3-orange);
}
.cta-v3-upload-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.cta-v3-upload-text strong {
  font-size: 15px;
  color: var(--v3-text);
  font-weight: 600;
}
.cta-v3-upload-text span {
  font-size: 13px;
  color: var(--v3-text-muted);
}
.cta-v3-upload-text em {
  color: var(--v3-orange);
  font-style: normal;
  font-weight: 500;
}
.cta-v3-upload-formats {
  font-size: 12px;
  color: var(--v3-text-muted);
  white-space: nowrap;
}
.cta-v3-upload-filename {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--v3-orange);
  font-weight: 500;
}
.cta-v3-upload-filename:empty {
  display: none;
}
@media (max-width: 768px) {
  .cta-v3-upload-area {
    flex-wrap: wrap;
  }
  .cta-v3-upload-formats {
    white-space: normal;
    width: 100%;
  }
}

.cta-v3-features[data-layout="horizontal"] {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-v3-form[data-layout="row"] {
    grid-template-columns: 1fr;
  }
  .cta-v3-features[data-layout="horizontal"] {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .primenenie-tags {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
}

/* Gallery category sections */
.gallery-cat-section {
  padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}
.gallery-cat-title {
  font-family: var(--v3-font-display);
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.125rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--v3-text-heading);
  margin-top: 0;
  margin-bottom: 12px;
}
.gallery-cat-desc {
  font-family: var(--v3-font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--v3-text-body);
  margin-bottom: 20px;
  max-width: 720px;
}
@media (max-width: 768px) {
  .gallery-cat-title {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 1.75rem);
  }
  .gallery-cat-desc {
    font-size: 16px;
  }
}

/* ============================================================
   PORTFOLIO BLOCK — embedded on service / application pages
   ============================================================ */
.portfolio-block {
  padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.portfolio-block-subtitle {
  font-family: var(--v3-font-body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--v3-text-body);
  margin: -8px 0 28px;
  max-width: 720px;
}
.portfolio-block-section-title {
  font-family: var(--v3-font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--v3-text-heading);
  margin: 24px 0 8px;
}
.portfolio-block-section-desc {
  font-family: var(--v3-font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--v3-text-body);
  margin: 0 0 16px;
  max-width: 720px;
}
.portfolio-block-cta {
  margin-top: 28px;
  text-align: center;
}
@media (max-width: 768px) {
  .portfolio-block-subtitle {
    font-size: 16px;
  }
  .portfolio-block-section-title {
    font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  }
}

/* ============================================================
   DELIVERY V3 — Info Cards, Steps, FAQ
   ============================================================ */

/* Delivery info cards */
.delivery-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.delivery-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--v3-bg-white);
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-card);
  transition: transform 0.2s var(--v3-ease), box-shadow 0.2s;
}
.delivery-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.delivery-info-card-icon {
  margin-bottom: 16px;
}
.delivery-info-card-label {
  font-size: 13px;
  color: var(--v3-text-muted);
  margin-bottom: 4px;
}
.delivery-info-card-value {
  font-family: var(--v3-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--v3-text);
}
@media (max-width: 640px) {
  .delivery-info-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .delivery-info-card {
    flex-direction: row;
    gap: 16px;
    text-align: left;
    padding: 20px;
  }
  .delivery-info-card-icon {
    margin-bottom: 0;
  }
}

/* V3 Section subtitle */
.v3-section-subtitle {
  font-size: 1rem;
  color: var(--v3-text-muted);
  margin-top: 8px;
}

/* Delivery steps */
.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.delivery-step {
  position: relative;
  background: var(--v3-bg-white);
  border: 1px solid var(--v3-border);
  border-radius: var(--v3-radius-card);
  padding: 28px 24px 24px;
  text-align: center;
  transition: transform 0.2s var(--v3-ease), box-shadow 0.2s;
}
.delivery-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.delivery-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--v3-orange);
  color: #fff;
  font-family: var(--v3-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.delivery-step-title {
  font-family: var(--v3-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--v3-text);
  margin-bottom: 8px;
}
.delivery-step-desc {
  font-size: 14px;
  color: var(--v3-text-body);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .delivery-steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .delivery-steps {
    grid-template-columns: 1fr;
  }
}

/* FAQ V3 — modern accordion (reusable component) */
.v3-faq-title {
  text-align: center;
  margin-bottom: 8px;
}
.faq-list-v3 {
  max-width: 920px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item-v3 {
  position: relative;
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.faq-item-v3:hover {
  border-color: rgba(242, 106, 49, 0.35);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.faq-item-v3[open] {
  border-color: var(--v3-orange);
  background: linear-gradient(180deg, #fff 0%, var(--v3-bg-warm) 100%);
  box-shadow: 0 8px 24px rgba(242, 106, 49, 0.10);
}
.faq-question-v3 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
  user-select: none;
}
.faq-question-v3::-webkit-details-marker { display: none; }
.faq-question-v3::marker { display: none; }
.faq-q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(242, 106, 49, 0.12);
  color: var(--v3-orange);
  font-family: var(--v3-font-display);
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}
.faq-item-v3[open] .faq-q-mark {
  background: var(--v3-orange);
  color: #fff;
  transform: scale(1.06);
}
.faq-q-text {
  font-family: var(--v3-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--v3-text);
  line-height: 1.4;
  transition: color 0.2s ease;
}
.faq-question-v3:hover .faq-q-text {
  color: var(--v3-orange);
}
.faq-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--v3-bg-cool);
  color: var(--v3-text-muted);
  flex-shrink: 0;
  transition: transform 0.3s var(--v3-ease, ease), background 0.2s ease, color 0.2s ease;
}
.faq-item-v3[open] .faq-chevron {
  transform: rotate(180deg);
  background: var(--v3-orange);
  color: #fff;
}
.faq-answer-v3 {
  padding: 0 24px 22px 74px;
  font-size: 15px;
  color: var(--v3-text-body);
  line-height: 1.75;
  animation: faqV3Reveal 0.3s ease-out;
}
.faq-answer-v3 p {
  margin: 0 0 10px;
}
.faq-answer-v3 p:last-child {
  margin-bottom: 0;
}
.faq-answer-v3 ul,
.faq-answer-v3 ol {
  margin: 8px 0 12px;
  padding-left: 22px;
}
.faq-answer-v3 li {
  margin-bottom: 4px;
}
@keyframes faqV3Reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .faq-list-v3 {
    margin-top: 24px;
    gap: 10px;
  }
  .faq-question-v3 {
    gap: 12px;
    padding: 16px 18px;
  }
  .faq-q-mark {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .faq-chevron {
    width: 28px;
    height: 28px;
  }
  .faq-q-text {
    font-size: 14.5px;
  }
  .faq-answer-v3 {
    padding: 0 18px 18px 58px;
    font-size: 14px;
  }
}

/* ==========================================================================
   About Pages — V3 Styles
   ========================================================================== */

/* --- About Intro (text + stats) --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-intro-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--v3-text-body);
}
.about-intro-text p {
  margin: 0 0 16px;
}
.about-section-heading {
  font-family: var(--v3-font-heading);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  color: var(--v3-text-heading);
  margin: 0 0 20px;
  line-height: 1.3;
}
.about-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--v3-text-body);
  max-width: 800px;
  margin: 0 0 32px;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-stat-card {
  background: var(--v3-bg-cool);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s var(--v3-ease), box-shadow 0.2s;
}
.about-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.about-stat-number {
  display: block;
  font-family: var(--v3-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--v3-orange);
  line-height: 1.2;
}
.about-stat-label {
  display: block;
  font-size: 14px;
  color: var(--v3-text-muted);
  margin-top: 4px;
}

/* --- Video embed --- */
.about-video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--v3-bg-warm);
}
.about-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- About link cards (sub-pages navigation) --- */
.about-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-link-card {
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: 16px;
  padding: 32px 28px;
  text-decoration: none;
  transition: transform 0.2s var(--v3-ease), box-shadow 0.2s, border-color 0.2s;
}
.about-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--v3-orange);
}
.about-link-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--v3-bg-warm);
  border-radius: 14px;
  margin-bottom: 16px;
}
.about-link-title {
  font-family: var(--v3-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--v3-text-heading);
  margin: 0 0 8px;
}
.about-link-desc {
  font-size: 14px;
  color: var(--v3-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* --- Article layout V3 (for proizvodstvo, kontraktnoe pages) --- */
.article-v3 {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--v3-text-body);
}
.article-v3 h2 {
  font-family: var(--v3-font-heading);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 700;
  color: var(--v3-text-heading);
  margin: 40px 0 16px;
}
.article-v3 h3 {
  font-family: var(--v3-font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--v3-text-heading);
  margin: 32px 0 12px;
}
.article-v3 p {
  margin: 0 0 16px;
}
.article-v3 ul {
  padding-left: 20px;
  margin: 0 0 20px;
}
.article-v3 ul li {
  margin-bottom: 8px;
}
.article-v3 a {
  color: var(--v3-orange);
  text-decoration: underline;
  text-decoration-color: rgba(230,120,30,0.3);
  text-underline-offset: 3px;
}
.article-v3 a:hover {
  text-decoration-color: var(--v3-orange);
}
.article-v3 blockquote {
  border-left: 4px solid var(--v3-orange);
  margin: 24px 0;
  padding: 16px 24px;
  background: var(--v3-bg-warm);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--v3-text-heading);
}
.article-v3 blockquote p {
  margin: 0;
}

/* --- V3 approach steps --- */
.v3-approach {
  margin: 48px 0 0;
}
.v3-approach-title {
  font-family: var(--v3-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v3-text-heading);
  text-align: center;
  margin: 0 0 32px;
}
.v3-approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.v3-approach-step {
  text-align: center;
  padding: 24px 16px;
}
.v3-approach-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--v3-orange);
  color: #fff;
  font-family: var(--v3-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.v3-approach-step h4 {
  font-family: var(--v3-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--v3-text-heading);
  margin: 0 0 8px;
}
.v3-approach-step p {
  font-size: 14px;
  color: var(--v3-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* --- V3 Material cards --- */
.v3-material-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 24px 0 32px;
}
.v3-material-card {
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s var(--v3-ease), box-shadow 0.2s;
}
.v3-material-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.v3-material-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.v3-material-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v3-material-card-content {
  padding: 20px;
}
.v3-material-card-content h6 {
  font-family: var(--v3-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--v3-text-heading);
  margin: 0 0 8px;
}
.v3-material-card-content p {
  font-size: 14px;
  color: var(--v3-text-body);
  line-height: 1.6;
  margin: 0;
}

/* --- About responsive --- */
@media (max-width: 1024px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .about-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .v3-approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-links-grid {
    grid-template-columns: 1fr;
  }
  .v3-approach-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .v3-material-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .about-stat-card {
    padding: 20px 16px;
  }
  .about-stat-number {
    font-size: 1.5rem;
  }
  .v3-approach-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Delivery Main Page — V3 Styles
   ========================================================================== */

/* --- Delivery hero checks --- */
.app-hero-checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.app-hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--v3-text-body);
}

/* --- Delivery split (text + image) --- */
.delivery-v3-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.delivery-v3-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--v3-text-body);
}
.delivery-v3-text p {
  margin: 0 0 16px;
}
.delivery-v3-text .btn {
  margin-top: 8px;
}
.delivery-v3-image {
  border-radius: 16px;
  overflow: hidden;
}
.delivery-v3-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Delivery V3 table --- */
.delivery-v3-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}
.delivery-v3-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.delivery-v3-table thead {
  background: var(--v3-bg-warm);
}
.delivery-v3-table th {
  padding: 14px 20px;
  text-align: left;
  font-family: var(--v3-font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--v3-text-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.delivery-v3-table td {
  padding: 12px 20px;
  font-size: 15px;
  color: var(--v3-text-body);
  border-bottom: 1px solid var(--v3-border);
}
.delivery-v3-table tbody tr:last-child td {
  border-bottom: none;
}
.delivery-v3-table tbody tr:hover {
  background: var(--v3-bg-cool);
}
.delivery-v3-table a {
  color: var(--v3-orange);
  text-decoration: none;
  font-weight: 500;
}
.delivery-v3-table a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .app-hero-checks {
    flex-direction: column;
    gap: 12px;
  }
  .delivery-v3-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .delivery-v3-table th,
  .delivery-v3-table td {
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* ==========================================================================
   Contacts Page — V3 Styles
   ========================================================================== */

.contact-v3-alert {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  margin-bottom: 8px;
}

/* --- Contact cards grid --- */
.contact-v3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-v3-card {
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--v3-ease), box-shadow 0.2s, border-color 0.2s;
}
a.contact-v3-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--v3-orange);
}
.contact-v3-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--v3-bg-warm);
  border-radius: 14px;
  margin-bottom: 16px;
}
.contact-v3-card-title {
  font-family: var(--v3-font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--v3-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.contact-v3-card-value {
  font-family: var(--v3-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--v3-text-heading);
  margin: 0 0 6px;
}
.contact-v3-card-note {
  font-size: 13px;
  color: var(--v3-text-muted);
  margin: 0;
}

/* --- Messengers in card --- */
.contact-v3-messengers {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.contact-v3-messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.contact-v3-messenger-btn[data-type="wa"] {
  background: #e8f5e9;
  color: #25D366;
}
.contact-v3-messenger-btn[data-type="tg"] {
  background: #e3f2fd;
  color: #26A5E4;
}
.contact-v3-messenger-btn[data-type="max"] {
  background: linear-gradient(45deg, rgb(75, 194, 253) 0%, rgb(61, 71, 236) 50%, rgb(132, 78, 233) 100%);
  color: #fff;
}
.contact-v3-messenger-btn[data-type="max"]:hover {
  filter: brightness(0.92);
}
.contact-v3-messenger-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* --- Contact form block --- */
.contact-v3-form-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-v3-form-info p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--v3-text-body);
  margin: 0 0 24px;
}
.contact-v3-form-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-v3-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--v3-text-body);
}
.contact-v3-form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-v3-input,
.contact-v3-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--v3-border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--v3-text-heading);
  background: var(--v3-bg-cool);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.contact-v3-input:focus,
.contact-v3-textarea:focus {
  outline: none;
  border-color: var(--v3-orange);
  box-shadow: 0 0 0 3px rgba(230,120,30,0.1);
}
.contact-v3-textarea {
  resize: vertical;
  min-height: 80px;
}
.contact-v3-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--v3-text-muted);
  line-height: 1.4;
}
.contact-v3-consent a {
  color: var(--v3-orange);
}

/* ---- Reusable consent checkbox (forms & popups) ---- */
.v3-form-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--v3-text-muted);
  line-height: 1.45;
  cursor: pointer;
  margin: 12px 0;
  user-select: none;
}
.v3-form-consent-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid #cfcfcf;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}
.v3-form-consent-check input[type="checkbox"]:checked {
  background: var(--v3-orange);
  border-color: var(--v3-orange);
}
.v3-form-consent-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.v3-form-consent-check input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(242, 106, 49, 0.3);
  outline-offset: 2px;
}
.v3-form-consent-check a {
  color: var(--v3-orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.v3-form-consent-check a:hover { color: var(--v3-orange-hover, #e85d26); }

/* --- Map --- */
.contact-v3-map {
  position: relative;
  padding-bottom: 45%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--v3-bg-cool);
}
.contact-v3-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Useful links --- */
.contact-v3-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-v3-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--v3-bg-cool);
  border-radius: 12px;
  text-decoration: none;
  color: var(--v3-text-heading);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}
.contact-v3-link-card:hover {
  background: var(--v3-bg-warm);
  transform: translateY(-1px);
}

/* --- Contact responsive --- */
@media (max-width: 1024px) {
  .contact-v3-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .contact-v3-grid {
    grid-template-columns: 1fr;
  }
  .contact-v3-form-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-v3-form {
    padding: 24px;
  }
  .contact-v3-map {
    padding-bottom: 60%;
  }
  .contact-v3-links {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Reviews Section — V3 Styles
   ========================================================================== */

/* --- Summary bar --- */
.reviews-v3-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.reviews-v3-score {
  display: flex;
  align-items: center;
  gap: 16px;
}
.reviews-v3-score-num {
  font-family: var(--v3-font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--v3-text-heading);
  line-height: 1;
}
.reviews-v3-score-stars {
  display: flex;
  gap: 2px;
}
.reviews-v3-score-count {
  font-size: 13px;
  color: var(--v3-text-muted);
}
.reviews-v3-platforms {
  display: flex;
  gap: 16px;
}
.reviews-v3-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--v3-bg-cool);
  border-radius: 10px;
  text-decoration: none;
  color: var(--v3-text-body);
  font-size: 14px;
  transition: background 0.2s, transform 0.15s;
}
.reviews-v3-platform:hover {
  background: var(--v3-bg-warm);
  transform: translateY(-1px);
}
.reviews-v3-platform strong {
  color: var(--v3-text-heading);
  font-weight: 700;
}

/* --- Review cards grid --- */
.reviews-v3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.review-v3-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s var(--v3-ease), box-shadow 0.2s;
}
.review-v3-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.review-v3-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-v3-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review-v3-author {
  display: block;
  font-family: var(--v3-font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--v3-text-heading);
}
.review-v3-date {
  display: block;
  font-size: 12px;
  color: var(--v3-text-muted);
  margin-top: 2px;
}
.review-v3-stars {
  display: flex;
  gap: 1px;
  margin-left: auto;
}
.review-v3-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--v3-text-body);
  margin: 0 0 12px;
}
.review-v3-source {
  font-size: 12px;
  color: var(--v3-text-muted);
}

/* --- Actions --- */
.reviews-v3-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* --- Reviews responsive --- */
@media (max-width: 768px) {
  .reviews-v3-summary {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }
  .reviews-v3-score {
    flex-direction: column;
    gap: 8px;
  }
  .reviews-v3-platforms {
    flex-wrap: wrap;
    justify-content: center;
  }
  .reviews-v3-grid {
    grid-template-columns: 1fr;
  }
  .reviews-v3-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================================================
   Mobile Nav — Submenu accordion
   ========================================================================== */
.mobile-nav-has-sub {
  list-style: none;
}
.mobile-nav-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 12px 0;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
}
.mobile-nav-sub-toggle svg {
  transition: transform 0.25s;
}
.mobile-nav-has-sub.is-open .mobile-nav-sub-toggle svg {
  transform: rotate(180deg);
}
.mobile-nav-sublist {
  display: none;
  list-style: none;
  padding: 0 0 8px 16px;
  margin: 0;
}
.mobile-nav-has-sub.is-open .mobile-nav-sublist {
  display: block;
}
.mobile-nav-sublist li a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: var(--v3-text-body);
  text-decoration: none;
}
.mobile-nav-sublist li a:hover {
  color: var(--v3-orange);
}

/* ==========================================================================
   Order Page — V3 Styles
   ========================================================================== */
.order-v3-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.order-v3-card {
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: 16px;
  padding: 36px;
}
.order-v3-card-title {
  font-family: var(--v3-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--v3-text-heading);
  margin: 0 0 24px;
}

/* Steps bar */
.order-v3-steps-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.order-v3-step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--v3-text-muted);
  font-weight: 500;
}
.order-v3-step-indicator.is-active {
  color: var(--v3-orange);
}
.order-v3-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--v3-bg-cool);
  font-weight: 700;
  font-size: 13px;
}
.order-v3-step-indicator.is-active .order-v3-step-num {
  background: var(--v3-orange);
  color: #fff;
}
.order-v3-step-line {
  flex: 1;
  height: 2px;
  background: var(--v3-border);
}

/* Form steps */
.order-v3-step {
  display: none;
}
.order-v3-step.is-active {
  display: block;
}
.order-v3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.order-v3-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--v3-text-muted);
  margin-bottom: 6px;
}
.order-v3-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* File input */
.order-v3-file-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}
.order-v3-file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px dashed var(--v3-border);
  border-radius: 10px;
  background: var(--v3-bg-cool);
  cursor: pointer;
  font-size: 14px;
  color: var(--v3-text-body);
  transition: border-color 0.2s, background 0.2s;
}
.order-v3-file-label:hover {
  border-color: var(--v3-orange);
  background: var(--v3-bg-warm);
}

/* Sidebar */
.order-v3-sidebar {
  position: sticky;
  top: 100px;
}
.order-v3-manager {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.order-v3-manager-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.order-v3-manager-name {
  font-family: var(--v3-font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--v3-text-heading);
  margin: 0;
}
.order-v3-manager-role {
  font-size: 13px;
  color: var(--v3-text-muted);
  margin: 2px 0 0;
}
.order-v3-manager-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--v3-text-body);
  margin: 0 0 16px;
}
.order-v3-manager-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--v3-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--v3-text-heading);
  text-decoration: none;
  margin-bottom: 12px;
}
.order-v3-manager-phone:hover {
  color: var(--v3-orange);
}
.order-v3-messengers {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.order-v3-guarantee {
  display: flex;
  gap: 10px;
  padding: 16px;
  background: var(--v3-bg-warm);
  border-radius: 12px;
  align-items: flex-start;
}
.order-v3-guarantee svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.order-v3-guarantee p {
  font-size: 13px;
  color: var(--v3-text-body);
  line-height: 1.5;
  margin: 0;
}

/* Order responsive */
@media (max-width: 1024px) {
  .order-v3-layout {
    grid-template-columns: 1fr;
  }
  .order-v3-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .order-v3-card {
    padding: 24px;
  }
  .order-v3-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================

/* ==========================================================================
   Service Detail — V3 (design system update 2026-04-24)
   Matches Липкая Этикетка design system: uppercase Regular sec-h with
   watercolor bg, warm crumbs strip, fact-box aside, mats swatches,
   step circles with "Шаг 01" badge, plus/minus FAQ, benefit cards in CTA.
   ========================================================================== */

/* ---- Breadcrumbs strip (warm bg by default, white when sits above a colored hero) ---- */
.sd-crumbs {
  background: var(--v3-bg-warm);
  padding: 14px 0;
  font-size: 14px;
  border-bottom: 1px solid #f0e8df;
}
.sd-crumbs:has(+ .sd-hero) {
  background: #fff;
  border-bottom-color: var(--v3-border, #ececec);
}
.sd-crumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--v3-text-muted);
  list-style: none;
  margin: 0;
  padding: 0;
}
.sd-crumbs-list a {
  color: #487ebb;
  text-decoration: none;
  transition: color 0.2s;
}
.sd-crumbs-list a:hover {
  color: var(--v3-orange);
}
.sd-crumbs-sep {
  color: #bdbdbd;
}
.sd-crumbs-now {
  color: var(--v3-orange);
}

/* ---- Eyebrow (small uppercase orange label above section title) ---- */
.sd-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--v3-orange);
  margin-bottom: 14px;
}
.sd-eyebrow-center {
  display: block;
  text-align: center;
}

/* ---- Section heading: uppercase Regular with watercolor bg ---- */
.sd-sec-h {
  position: relative;
  text-align: center;
  font-family: var(--v3-font-display);
  font-size: clamp(26px, 2vw + 16px, 36px);
  font-weight: 400;
  color: var(--v3-text-heading);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.5px;
  isolation: isolate;
  margin: 0 0 28px;
}
/* When .sd-sec-h is directly followed by content (grid/list/pills) without a subtitle paragraph — добавляем extra breathing room. */
.sd-sec-h + .sd-cross,
.sd-sec-h + .sd-types-grid,
.sd-sec-h + .sd-materials-grid {
  margin-top: 12px;
}
.sd-sec-h::before {
  content: '';
  display: block;
  width: 83px;
  height: 73px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -36px;
  margin-left: -47px;
  background: url('/images/icons/bg-section-heading.png') center/contain no-repeat;
  z-index: -1;
  opacity: 0.9;
}
.sd-sec-h.left {
  text-align: left;
}
.sd-sec-h.left::before {
  left: 40px;
}
.sd-sec-sub {
  text-align: center;
  color: #454545;
  font-size: 18px;
  line-height: 1.45;
  max-width: 680px;
  margin: 0 auto clamp(32px, 4vw, 56px);
}

/* ---- HERO (keep) ---- */
.sd-hero {
  position: relative;
  background: var(--v3-bg-warm, #FDF8F3);
  padding: clamp(2rem, 1.5rem + 3vw, 4rem) 0 clamp(3rem, 2rem + 3vw, 5rem);
  overflow: hidden;
}
.sd-hero-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.sd-hero-decor[data-shape="1"] {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(242,106,49,0.06) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.sd-hero-decor[data-shape="2"] {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(113,87,152,0.05) 0%, transparent 70%);
  bottom: -80px; left: -80px;
}
.sd-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
/* hero без картинки — одна колонка, контент не растягивается на всю ширину */
.sd-hero-grid--solo { grid-template-columns: 1fr; }
.sd-hero-grid--solo .sd-hero-content { max-width: 820px; }
.sd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(242,106,49,0.08);
  color: var(--v3-orange);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  max-width: 590px;
}
.sd-hero-title {
  font-family: var(--v3-font-display);
  font-size: clamp(1.5rem, 1rem + 2.5vw, 2.8rem);
  font-weight: 800;
  color: var(--v3-text-heading);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.sd-hero-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.sd-hero-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sd-hero-perk-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--v3-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.sd-hero-perk strong {
  display: block;
  font-family: var(--v3-font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--v3-text-heading);
}
.sd-hero-perk span {
  display: block;
  font-size: 13px;
  color: var(--v3-text-muted);
  margin-top: 2px;
}
.sd-hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.sd-hero-stats {
  display: flex;
  gap: 32px;
}
.sd-hero-stat-num {
  display: block;
  font-family: var(--v3-font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--v3-text-heading);
}
.sd-hero-stat-label {
  font-size: 13px;
  color: var(--v3-text-muted);
}
.sd-hero-visual { position: relative; }
.sd-hero-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0,0,0,0.08);
  max-height: 520px;
  aspect-ratio: 4/3;
}
.sd-hero-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.sd-hero-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  font-size: 14px;
  font-weight: 600;
  color: var(--v3-text-heading);
  white-space: nowrap;
}
.sd-hero-float[data-pos="top"] { top: 12px; right: -20px; }
.sd-hero-float[data-pos="bottom"] { bottom: 24px; left: -20px; }

/* ---- DESC layout (text left 1.4fr + fact-box aside 1fr) ---- */
.sd-desc {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.v3-text-block {
  min-width: 0;
  max-width: 720px;
  font-family: var(--v3-font-display);
  color: #131217;
}
.v3-text-block.is-wide { max-width: 880px; margin-left: auto; margin-right: auto; }

/* Privacy / terms / tech-zadanie title — text-heavy page H1 */
.privacy-page-title {
  font-family: var(--v3-font-display);
  font-size: clamp(28px, 2vw + 16px, 44px);
  font-weight: 800;
  color: var(--v3-text-heading);
  text-transform: uppercase;
  letter-spacing: -0.3px;
  line-height: 1.1;
  max-width: 880px;
  margin: 0 auto 32px;
}
/* Backwards-compat layout class (service-detail desc-main contexts) */
.sd-desc-main { min-width: 0; max-width: 720px; }

/* Lead paragraph — editorial, 22px Regular (matches text-blocks.html .lead) */
.v3-text-block .lead,
.sd-desc-lede {
  font-family: var(--v3-font-display);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
  color: #131217;
  margin: 0 0 28px;
}

/* H2 — 34px Regular 400 uppercase (poster look) */
.v3-text-block h2 {
  font-family: var(--v3-font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.18;
  text-transform: uppercase;
  color: var(--v3-text-heading);
  letter-spacing: 0.5px;
  margin: 56px 0 20px;
}
.v3-text-block > h2:first-child,
.v3-text-block > .lead + h2 { margin-top: 32px; }

/* H3 — 24px bold */
.v3-text-block h3 {
  font-family: var(--v3-font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--v3-text-heading);
  margin: 40px 0 14px;
}

/* H4 — 18px 800 uppercase (small-caps) */
.v3-text-block h4 {
  font-family: var(--v3-font-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #454545;
  margin: 28px 0 10px;
}

/* Paragraph — 18px line-height 1.6 */
.v3-text-block p {
  font-family: var(--v3-font-display);
  font-size: 18px;
  line-height: 1.6;
  color: #131217;
  margin: 0 0 20px;
}

/* Inline marks */
.v3-text-block strong { color: var(--v3-text-heading); font-weight: 700; }
.v3-text-block em { font-style: italic; }
.v3-text-block mark {
  background: var(--v3-bg-cta);
  color: var(--v3-text-heading);
  padding: 0 4px;
  border-radius: 2px;
}
.v3-text-block a {
  color: #487ebb;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(72,126,187,0.35);
  transition: color 0.2s, text-decoration-color 0.2s;
}
.v3-text-block a:hover {
  color: var(--v3-orange);
  text-decoration-color: var(--v3-orange);
}
.v3-text-block small { font-size: 14px; color: var(--v3-text-muted); }

/* First-paragraph drop-cap (add class .has-dropcap) */
.v3-text-block .has-dropcap::first-letter {
  float: left;
  font-family: var(--v3-font-display);
  font-size: 80px;
  line-height: 0.85;
  font-weight: 800;
  color: var(--v3-orange);
  padding: 8px 12px 0 0;
  text-transform: uppercase;
}

/* Orange-dot list (.le-list) */
.v3-text-block ul:not([class]),
.v3-text-block ul.le-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.v3-text-block ul:not([class]) li,
.v3-text-block ul.le-list li {
  position: relative;
  padding: 0 0 12px 26px;
  font-size: 18px;
  line-height: 1.55;
  color: #131217;
}
.v3-text-block ul:not([class]) li::before,
.v3-text-block ul.le-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v3-orange);
}

/* Check-list */
.v3-text-block ul.le-check {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.v3-text-block ul.le-check li {
  position: relative;
  padding: 0 0 12px 32px;
  font-size: 18px;
  line-height: 1.55;
  color: #131217;
}
.v3-text-block ul.le-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--v3-orange)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4 9l3.5 3.5L14 6' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>")
    center/12px 12px no-repeat;
}

/* Numbered list — 01 02 in orange circle */
.v3-text-block ol.le-ol {
  counter-reset: le-ol;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.v3-text-block ol.le-ol > li {
  counter-increment: le-ol;
  position: relative;
  padding: 2px 0 16px 44px;
  font-size: 18px;
  line-height: 1.55;
  color: #131217;
}
.v3-text-block ol.le-ol > li::before {
  content: counter(le-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-family: var(--v3-font-display);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: var(--v3-orange);
  border-radius: 50%;
}

/* Large numbered list — plakat style */
.v3-text-block ol.le-ol-plakat {
  counter-reset: le-plakat;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.v3-text-block ol.le-ol-plakat > li {
  counter-increment: le-plakat;
  position: relative;
  padding: 6px 0 28px 72px;
  min-height: 56px;
}
.v3-text-block ol.le-ol-plakat > li::before {
  content: counter(le-plakat);
  position: absolute;
  left: 0;
  top: -8px;
  font-family: var(--v3-font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  color: var(--v3-orange);
  letter-spacing: -2px;
}
.v3-text-block ol.le-ol-plakat > li h4 { margin: 0 0 4px; }

/* Dash list */
.v3-text-block ul.le-dash { list-style: none; padding: 0; margin: 0 0 24px; }
.v3-text-block ul.le-dash li {
  position: relative;
  padding: 0 0 10px 22px;
  font-size: 18px;
  line-height: 1.55;
}
.v3-text-block ul.le-dash li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--v3-text-muted);
}

/* Callout — orange tint bg + orange left-bar */
.v3-text-block .le-callout {
  position: relative;
  margin: 32px 0;
  padding: 20px 24px 20px 64px;
  font-family: var(--v3-font-display);
  font-size: 17px;
  line-height: 1.5;
  background: var(--v3-bg-cta);
  color: #5c2208;
  border-left: 3px solid var(--v3-orange);
  min-height: 100px;
}
.v3-text-block .le-callout__title,
.v3-text-block .le-callout-title {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 10px;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: normal;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  line-height: 1.25;
  margin: 0;
  color: var(--v3-orange-hover, #e85d26);
  pointer-events: none;
}
@media (max-width: 640px) {
  .v3-text-block .le-callout {
    padding: 20px 24px;
    min-height: 0;
  }
  .v3-text-block .le-callout__title,
  .v3-text-block .le-callout-title {
    position: static;
    width: auto;
    transform: none;
    writing-mode: horizontal-tb;
    display: block;
    margin-bottom: 6px;
    line-height: 1.3;
    letter-spacing: 2px;
  }
}
.v3-text-block .le-callout p { margin: 0; font-size: 17px; line-height: 1.5; color: inherit; }

/* Quiet block-quote */
.v3-text-block blockquote,
.v3-text-block blockquote.le-q-quiet {
  margin: 28px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--v3-orange);
  font-family: var(--v3-font-display);
  font-size: 20px;
  line-height: 1.5;
  font-style: italic;
  color: #454545;
}
.v3-text-block blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-style: normal;
  color: var(--v3-text-muted);
}
.v3-text-block blockquote cite::before { content: '— '; }

/* Pull-quote — plakat with top/bottom borders */
.v3-text-block .le-q-pull {
  margin: 48px -24px;
  padding: 28px 24px;
  border-top: 2px solid var(--v3-text-heading);
  border-bottom: 2px solid var(--v3-text-heading);
  font-family: var(--v3-font-display);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--v3-text-heading);
  text-align: center;
}
.v3-text-block .le-q-pull .accent { color: var(--v3-orange); }
.v3-text-block .le-q-pull cite {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 2px;
  color: var(--v3-text-muted);
}

/* Client quote card — warm bg + avatar + text */
.v3-text-block .le-q-client {
  margin: 32px 0;
  padding: 28px;
  background: var(--v3-bg-warm);
  border-radius: 5px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.v3-text-block .le-q-client__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--v3-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--v3-font-display);
  font-weight: 800;
  font-size: 22px;
}
.v3-text-block .le-q-client__text {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 10px;
}
.v3-text-block .le-q-client__who {
  font-size: 14px;
  color: var(--v3-text-muted);
}
.v3-text-block .le-q-client__who b { color: #454545; font-weight: 600; }

/* Curly-mark quote */
.v3-text-block .le-q-mark {
  position: relative;
  margin: 32px 0;
  padding: 18px 24px 18px 60px;
  font-family: var(--v3-font-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--v3-text-heading);
}
.v3-text-block .le-q-mark::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -10px;
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 1;
  color: var(--v3-orange);
  font-weight: bold;
}

@media (max-width: 640px) {
  .v3-text-block h2 { font-size: 26px; }
  .v3-text-block h3 { font-size: 20px; }
  .v3-text-block .lead, .sd-desc-lede { font-size: 19px; }
  .v3-text-block p { font-size: 16px; }
  .v3-text-block .le-q-pull { font-size: 22px; margin: 32px 0; }
}

/* ---- Fact-box aside (warm bg, orange left border, dashed rows) ---- */
.sd-fact-box {
  background: var(--v3-bg-warm);
  padding: 28px;
  border-left: 4px solid var(--v3-orange);
}
@media (min-width: 992px) {
  .sd-desc > .sd-fact-box {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}
.sd-fact-box h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--v3-orange);
}
.sd-fact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
  font-size: 14px;
}
.sd-fact-row:last-child { border-bottom: 0; }
.sd-fact-row span { color: var(--v3-text-muted); }
.sd-fact-row strong {
  color: var(--v3-text-heading);
  text-align: right;
  font-weight: 700;
}
.sd-fact-box-text {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  margin: 0 0 16px;
}
.sd-fact-box-wide {
  margin-top: 32px;
  border-left-width: 4px;
}

/* Manager inside fact-box (article aside) */
.sd-manager {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.sd-manager-photo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.sd-manager-name {
  font-family: var(--v3-font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--v3-text-heading);
  margin: 0;
}
.sd-manager-role {
  font-size: 12px;
  color: var(--v3-text-muted);
  margin: 2px 0 0;
}
.sd-manager-text {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  margin: 0 0 14px;
}
.sd-manager-phone {
  display: block;
  font-family: var(--v3-font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--v3-text-heading);
  text-decoration: none;
  margin-bottom: 12px;
}
.sd-manager-phone:hover { color: var(--v3-orange); }
.sd-manager-msg {
  display: flex;
  gap: 8px;
}
.sd-manager-msg-btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.2s;
}
.sd-manager-msg-btn[data-type="wa"] {
  background: #25D366;
  color: #fff;
}
.sd-manager-msg-btn[data-type="wa"]:hover { background: #128C7E; }
.sd-manager-msg-btn[data-type="tg"] {
  background: #0088CC;
  color: #fff;
}
.sd-manager-msg-btn[data-type="tg"]:hover { background: #006699; }
.sd-manager-msg-btn[data-type="max"] {
  background: linear-gradient(45deg, rgb(75, 194, 253) 0%, rgb(61, 71, 236) 50%, rgb(132, 78, 233) 100%);
  color: #fff;
}
.sd-manager-msg-btn[data-type="max"]:hover { filter: brightness(0.92); }

/* ---- TYPES GRID (keep cards) ---- */
.sd-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sd-type-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition: transform 0.25s var(--v3-ease), box-shadow 0.25s, border-color 0.2s;
}
.sd-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: var(--v3-orange);
}
.sd-type-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--v3-bg-warm);
}
.sd-type-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--v3-ease);
}
.sd-type-card:hover .sd-type-img img { transform: scale(1.06); }
.sd-type-body { padding: 22px 24px 24px; }
.sd-type-body h3 {
  font-family: var(--v3-font-display);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--v3-text-heading);
  margin: 0 0 8px;
  line-height: 1.25;
}
.sd-type-body p {
  font-size: 13.5px;
  color: var(--v3-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---- MATS columns (per-page materials list from DB) ---- */
.sd-mats-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 24px;
}
/* применения: 3 колонки в один ряд на десктопе/планшете (service-страницы остаются 2-колоночными) */
@media (min-width: 721px) {
  .sd-mats-cols--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .sd-mats-cols { grid-template-columns: 1fr; gap: 18px; }
}
.sd-mats-col {
  background: #fff;
  border: 1px solid #eee;
  padding: 22px 24px;
}
.sd-mats-col-h {
  margin: 0 0 14px;
  font-family: var(--v3-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--v3-fg);
}
.sd-mats-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sd-mats-list li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--v3-fg-soft, #444);
  border-top: 1px dashed #eee;
}
.sd-mats-list li:first-child {
  border-top: 0;
  padding-top: 2px;
}
.sd-mats-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v3-orange, #f08923);
}
.sd-mats-list li:first-child::before { top: 10px; }
.sd-mats-list li strong {
  color: var(--v3-fg);
}

/* ---- Legacy MATS grid (kept as fallback for any view that still uses it) ---- */
.sd-mats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sd-mat {
  background: #fff;
  border: 1px solid #eee;
  padding: 22px;
  transition: border-color 0.2s, transform 0.25s;
}
.sd-mat:hover {
  border-color: var(--v3-orange);
  transform: translateY(-2px);
}
.sd-mat-img {
  aspect-ratio: 4/3;
  margin: -22px -22px 16px;
  overflow: hidden;
  background: var(--v3-bg-warm);
}
.sd-mat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sd-mat h4 {
  margin: 0 0 6px;
  font-family: var(--v3-font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--v3-text-heading);
}
.sd-mat p {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

/* ---- PRICE cards (keep look, align tokens) ---- */
.sd-price-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sd-price-card {
  padding: 28px 24px;
  transition: var(--v3-transition);
}
.sd-price-card:hover { transform: translateY(-4px); }
.sd-price-card[data-bg="warm"] { background: var(--v3-bg-warm); }
.sd-price-card[data-bg="cool"] { background: var(--v3-bg-cool); }
.sd-price-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--v3-bg-cta-strong);
  font-size: 24px;
  margin-bottom: 16px;
}
.sd-price-card h3 {
  font-family: var(--v3-font-display);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--v3-text-heading);
  margin: 0 0 8px;
}
.sd-price-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
  margin: 0;
}
.sd-price-cta { text-align: center; margin-top: 32px; }

/* ---- TECHNOLOGY (desc + video + method cards) ---- */
.sd-tech-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.sd-tech-text { min-width: 0; }

/* Tech callout — cutting (highlighted brand card with left-bar + orange tint) */
.sd-tech-callout {
  background: var(--v3-bg-cta);
  border-left: 4px solid var(--v3-orange);
  padding: 28px 32px;
  margin-bottom: 32px;
}
.sd-tech-callout p.sd-tech-callout-title {
  font-family: var(--v3-font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--v3-text-heading);
  letter-spacing: -0.2px;
  margin: 0 0 10px;
  line-height: 1.2;
}
.sd-tech-callout > p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 14px;
}

/* List inside callout — orange check circles */
.sd-tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sd-tech-list li {
  position: relative;
  padding: 6px 0 6px 30px;
  font-size: 15px;
  line-height: 1.55;
  color: #333;
}
.sd-tech-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--v3-orange)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4 9l3.5 3.5L14 6' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>")
    center/12px 12px no-repeat;
}

/* Method cards — 2 columns side-by-side on desktop */
.sd-tech-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.sd-tech-method {
  background: #fff;
  border: 1px solid #eee;
  padding: 24px 26px;
  position: relative;
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.sd-tech-method:hover {
  border-color: var(--v3-orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}
.sd-tech-method-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--v3-orange);
  background: var(--v3-bg-cta-strong);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.sd-tech-method h3 {
  font-family: var(--v3-font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--v3-text-heading);
  margin: 0 0 4px;
  line-height: 1.2;
  letter-spacing: -0.2px;
}
.sd-tech-method-sub {
  font-size: 13px;
  color: var(--v3-text-muted);
  margin: 0 0 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.sd-tech-method > p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 12px;
}
.sd-tech-method-best {
  font-size: 13px;
  color: #555;
  background: var(--v3-bg-warm);
  padding: 10px 14px;
  border-left: 3px solid var(--v3-orange);
  margin: 0 !important;
}
.sd-tech-method-best strong { color: var(--v3-text-heading); }

.sd-tech-split { align-items: stretch; }
/* Video is absolutely-positioned inside its container so its intrinsic
   dimensions never force the container (and grid row) to grow taller than
   the text column on the left. */
.sd-tech-video {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  background: #000;
  min-height: 0;
  align-self: stretch;
}
.sd-tech-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- STEPS (4 circles with "Шаг 01" badge, dashed line between) ---- */
.sd-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.sd-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(to right, #e0e0e0 0 10px, transparent 10px 18px);
  z-index: 0;
  pointer-events: none;
}
.sd-step {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 0 10px;
}
.sd-step-ic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--v3-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background 0.25s, transform 0.25s;
}
.sd-step-ic img {
  width: 44px;
  height: 44px;
  transition: filter 0.25s;
}
.sd-step:hover .sd-step-ic {
  background: var(--v3-orange);
  transform: scale(1.05);
}
.sd-step:hover .sd-step-ic img {
  filter: brightness(0) invert(1);
}
.sd-step-n {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--v3-orange);
  text-transform: uppercase;
  background: var(--v3-bg-cta-strong);
  padding: 4px 10px;
  border-radius: 4px;
}
.sd-step h4 {
  margin: 10px 0 8px;
  font-family: var(--v3-font-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--v3-text-heading);
  line-height: 1.15;
}
.sd-step p {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}
.sd-steps-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---- GUARANTEE ---- */
.sd-guarantee {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.sd-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid #eee;
  transition: border-color 0.2s, transform 0.25s;
}
.sd-guarantee-item:hover {
  border-color: var(--v3-orange);
  transform: translateY(-2px);
}
.sd-guarantee-check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--v3-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sd-guarantee-item strong {
  display: block;
  font-family: var(--v3-font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--v3-text-heading);
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}
.sd-guarantee-item p {
  font-size: 13.5px;
  color: #555;
  line-height: 1.55;
  margin: 0;
}
.sd-guarantee-band {
  margin-top: 36px;
  padding: 28px 32px;
  background: var(--v3-orange);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.sd-guarantee-band p {
  color: #fff;
  font-family: var(--v3-font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  flex: 1 1 400px;
}
.sd-guarantee-band .v3-btn {
  background: #fff;
  color: var(--v3-orange);
  border-color: #fff;
}
.sd-guarantee-band .v3-btn:hover {
  background: transparent;
  color: #fff;
}

/* ---- PAYMENT ---- */
.sd-payment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sd-pay-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 28px 24px;
  text-align: left;
  transition: border-color 0.2s, transform 0.25s;
}
.sd-pay-card:hover {
  border-color: var(--v3-orange);
  transform: translateY(-3px);
}
.sd-pay-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--v3-bg-cta-strong);
  color: var(--v3-orange);
  font-size: 1.5rem;
  margin-bottom: 16px;
  border-radius: 8px;
}
.sd-pay-card h4 {
  font-family: var(--v3-font-display);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--v3-text-heading);
  margin: 0 0 14px;
  letter-spacing: 0.2px;
}
.sd-pay-card ul { list-style: none; padding: 0; margin: 0; }
.sd-pay-card ul li {
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}
.sd-pay-card ul li:last-child { border-bottom: none; }
.sd-pay-note {
  font-size: 13px;
  color: var(--v3-orange);
  font-weight: 700;
  margin: 14px 0 0;
}

/* ---- FAQ (details with +/- toggle) ---- */
.sd-faq {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  padding: 8px 32px;
}
.sd-faq-item {
  border-bottom: 1px solid #eee;
  padding: 0;
}
.sd-faq-item:last-child { border-bottom: 0; }
.sd-faq-item summary {
  font-family: var(--v3-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--v3-text-heading);
  cursor: pointer;
  padding: 22px 48px 22px 0;
  position: relative;
  list-style: none;
  transition: color 0.2s;
  line-height: 1.4;
}
.sd-faq-item summary::-webkit-details-marker { display: none; }
.sd-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--v3-orange);
  font-weight: 400;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--v3-bg-cta-strong);
  transition: background 0.2s, color 0.2s;
}
.sd-faq-item summary:hover { color: var(--v3-orange); }
.sd-faq-item summary:hover::after { background: var(--v3-orange); color: #fff; }
.sd-faq-item[open] summary { color: var(--v3-orange); }
.sd-faq-item[open] summary::after {
  content: '−';
  background: var(--v3-orange);
  color: #fff;
}
.sd-faq-ans {
  padding: 0 0 22px;
}
.sd-faq-ans p {
  font-size: 15px;
  color: #454545;
  line-height: 1.65;
  margin: 0;
}

/* ---- CROSS LINKS ---- */
.sd-cross {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.sd-cross-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: #fff;
  border: 1px solid #eee;
  text-decoration: none;
  color: var(--v3-text-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}
.sd-cross-pill:hover {
  background: var(--v3-orange);
  color: #fff;
  border-color: var(--v3-orange);
  transform: translateY(-1px);
}
.sd-cross-pill span {
  font-size: 12px;
  opacity: 0.7;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ---- CTA features (icons-benefits.html layout: img 42px left + two-line text) ---- */
.cta-v3-features,
.cta-v3-features[data-layout="horizontal"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.cta-v3-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  transition: none;
}
.cta-v3-feature:hover {
  transform: none;
  box-shadow: none;
  border: 0;
}
.cta-v3-feature > .cta-v3-feature-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: none;
  border-radius: 0;
  display: block;
  padding: 0;
}
.cta-v3-feature > div {
  display: block;
  min-width: 0;
}
.cta-v3-feature .cta-v3-feature-title {
  font-family: var(--v3-font-display);
  font-size: 18px;
  font-weight: 800;
  color: #000;
  line-height: 1.2;
  margin: 0 0 4px;
}
.cta-v3-feature .cta-v3-feature-desc {
  font-size: 15px;
  color: #454545;
  line-height: 1.35;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .sd-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .sd-hero-float { display: none; }
  .sd-types-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-mats-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-price-cards { grid-template-columns: repeat(2, 1fr); }
  .sd-desc { grid-template-columns: 1fr; }
  .sd-tech-split { grid-template-columns: 1fr; }
  .sd-tech-methods { grid-template-columns: 1fr; }
  .sd-tech-video { position: relative; aspect-ratio: 16/9; }
  .sd-steps { grid-template-columns: repeat(2, 1fr); }
  .sd-steps::before { display: none; }
}
@media (max-width: 768px) {
  .sd-types-grid { grid-template-columns: 1fr; }
  .sd-mats-grid { grid-template-columns: 1fr; }
  .sd-price-cards { grid-template-columns: 1fr; }
  .sd-payment { grid-template-columns: 1fr; }
  .sd-hero-stats { flex-direction: column; gap: 16px; }
  .sd-hero-actions { flex-direction: column; }
  .sd-hero-title { font-size: clamp(1.3rem, 1rem + 2vw, 2rem); }
  .sd-steps { grid-template-columns: 1fr; gap: 36px; }
  .sd-guarantee-band { flex-direction: column; text-align: center; }
  .cta-v3-features,
  .cta-v3-features[data-layout="horizontal"] { grid-template-columns: 1fr; }
}
/* Default: 3 columns (set above on .cta-v3-features). On tablets
   and below, stacking to 1 column happens inside @media (max-width: 768px)
   earlier in this file — the previous @media (max-width: 1024px) rule
   that forced 3 columns has been removed because it overrode the mobile
   reset due to source-order specificity on 375px. */


/* ======================================================================
   BLOG — V3 EDITORIAL STYLE
   The legacy blog-* rules in components.css aren't loaded on v3 pages,
   so these are first-class definitions, not overrides.
   ====================================================================== */

.blog-article {
  max-width: 820px;
  margin: 0 auto;
}

.blog-article-title {
  font-family: var(--v3-font-display);
  font-size: clamp(28px, 1vw + 22px, 44px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.3px;
  color: var(--v3-text-heading);
  margin: 0 0 22px;
}

/* Author card — sits between H1 and cover image */
.blog-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--v3-border, #e5e7eb);
}
.blog-author-photo {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--v3-bg-cta, #fff3ed);
}
.blog-author-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.blog-author-name {
  font-family: var(--v3-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--v3-text-heading);
}
.blog-author-role {
  font-family: var(--v3-font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--v3-orange-hover, #e85d26);
  margin-top: 4px;
}
.blog-author-date {
  margin-left: auto;
  font-family: var(--v3-font-display);
  font-size: 14px;
  color: var(--v3-text-muted, #6b7280);
  position: relative;
  padding-left: 14px;
  white-space: nowrap;
}
.blog-author-date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--v3-text-muted, #6b7280);
  transform: translateY(-50%);
}
@media (max-width: 640px) {
  .blog-author { flex-wrap: wrap; gap: 12px; }
  .blog-author-date {
    width: 100%;
    margin-left: 72px;
    padding-left: 0;
    margin-top: -8px;
  }
  .blog-author-date::before { display: none; }
}

/* Cover image */
.blog-article-cover {
  margin: 0 0 36px;
}
.blog-article-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ======================================================================
   BLOG RELATED — magazine-style cards on /blog/{slug}
   ====================================================================== */

.blog-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.blog-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--v3-border, #e5e7eb);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.blog-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -16px rgba(15, 23, 42, 0.18);
  border-color: var(--v3-orange);
}
.blog-related-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--v3-bg-cool, #f3f5f8);
}
.blog-related-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-related-card:hover .blog-related-image img {
  transform: scale(1.06);
}
.blog-related-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-related-title {
  font-family: var(--v3-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--v3-text-heading);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-related-date {
  margin-top: auto;
  font-family: var(--v3-font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--v3-orange-hover, #e85d26);
}
.blog-related-card::after {
  content: "→";
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-family: var(--v3-font-display);
  font-size: 18px;
  color: var(--v3-orange);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.blog-related-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ======================================================================
   BLOG LISTING — used on /blog
   ====================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--v3-border, #e5e7eb);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -16px rgba(15, 23, 42, 0.18);
  border-color: var(--v3-orange);
}
.blog-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--v3-bg-cool, #f3f5f8);
}
.blog-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}
.blog-card-body {
  padding: 18px 20px 22px;
}
.blog-card-title {
  font-family: var(--v3-font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--v3-text-heading);
  margin: 0;
}
