/* =============================================
   GK SteelConstruction — Main Stylesheet (Dark Theme)
   Packages B (Section Variety), D (Spacing/Grid), E (Unified Forms)
   ============================================= */

/* =============================================
   Utility — Visually Hidden (for Schema markup)
   ============================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* =============================================
   Section Alternation (Package B)
   ============================================= */
.section { padding: var(--space-section) 0; }
.section--dark { background: var(--dark); }
.section--dark2 { background: var(--dark2); }
.section--gradient { background: var(--gradient); }
.section--accent-subtle { background: linear-gradient(180deg, rgba(8,145,178,.03) 0%, transparent 100%); }

/* Legacy compat */
.section-dark { background: var(--dark); }
.section-darker { background: var(--dark2); }

/* =============================================
   Section Headers — 3 Variants (Package B)
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}
.section-header h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    letter-spacing: -.5px;
    color: var(--white);
}
.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Left-aligned variant */
.section-header--left { text-align: left; }
.section-header--left p { margin: 0; }

/* With accent line */
.section-header--accent h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}
.section-header--left h2::after { margin: 12px 0 0; }

/* Legacy .line element */
.section-header .line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* =============================================
   Responsive Grid System (Package D)
   ============================================= */
.grid {
    display: grid;
    gap: clamp(12px, 3vw, 24px);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid--4, .grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .grid--2 { grid-template-columns: 1fr; }
}

/* =============================================
   Full Cycle / Process Chain
   ============================================= */
.cycle {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.cycle__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    background: var(--dark2);
    border: 1px solid var(--border);
    transition: all .3s;
    text-align: center;
    min-height: 140px;
    justify-content: center;
    position: relative;
}
.cycle__step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    width: 8px;
    height: 2px;
    background: var(--accent);
    z-index: 1;
}
.cycle__step:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.cycle__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}
.cycle__detail {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
}
.cycle__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8,145,178,.1);
    border-radius: 50%;
    color: var(--accent);
    flex-shrink: 0;
}

/* Legacy cycle-chain compat */
.cycle-chain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.cycle-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: var(--space-lg) 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all .3s;
    cursor: pointer;
}
.cycle-step:hover {
    border-color: var(--accent);
    background: rgba(8,145,178,.05);
    transform: translateY(-4px);
}
.cycle-step .step-icon { font-size: 32px; }
.cycle-step .step-name { font-size: 13px; font-weight: 600; color: var(--text); }
.cycle-step .step-detail { font-size: 11px; color: var(--text-secondary); }
.cycle-arrow { color: var(--accent); font-size: 24px; flex-shrink: 0; }
.cycle-note { text-align: center; color: var(--text-secondary); font-size: 15px; }

@media (max-width: 1023px) {
    .cycle { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .cycle__step::after { display: none; }
    .cycle-chain { flex-wrap: wrap; gap: 12px; }
    .cycle-arrow { display: none; }
}
@media (max-width: 768px) {
    .cycle { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
    .cycle { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .cycle__step { padding: var(--space-md) var(--space-sm); min-height: 110px; }
    .cycle__icon { width: 36px; height: 36px; }
    .cycle__icon svg { width: 18px; height: 18px; }
    .cycle__label { font-size: 11px; }
    .cycle__detail { font-size: 10px; }
}

/* =============================================
   Service Cards — Lift + Glow (Package B)
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 3vw, 20px);
}
/* =============================================
   Unified Photo Cards — bg-image + gradient overlay
   service-card (280px), product-card (300px), project-card (350px)
   ============================================= */
.service-card,
.product-card,
.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--dark2);
    position: relative;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s;
}
.service-card  { height: 280px; }
.product-card  { height: 300px; }
.project-card  { height: 350px; }

.service-card:hover,
.product-card:hover,
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
}

/* Overlay — gradient bottom */
.service-card__overlay,
.product-card__overlay,
.project-card__overlay {
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.15) 100%);
}

/* Titles */
.service-card__overlay h3,
.product-card__overlay h3,
.project-card__overlay h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,.8);
}

/* Descriptions */
.service-card__overlay p,
.product-card__overlay p,
.project-card__overlay p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 8px;
    text-shadow: 0 1px 3px rgba(0,0,0,.7);
}

/* Price tag (services only) */
.service-card__price {
    display: block;
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(0,0,0,.7);
}

/* Link arrows */
.service-card__link,
.product-card__link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.service-card:hover .service-card__link,
.product-card:hover .product-card__link { color: #fff; }

.section__actions {
    text-align: center;
    margin-top: var(--space-xl);
}

@media (max-width: 768px) {
    .service-card  { height: 250px; }
    .product-card  { height: 250px; }
    .project-card  { height: 280px; }
}

/* =============================================
   Project Cards — meta row
   ============================================= */
.projects__filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}
.projects__filter {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all .25s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    background: transparent;
}
.projects__filter:hover,
.projects__filter--active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 3vw, 20px);
}
/* Project card meta */
.project-card__overlay h3 a { color: var(--white); text-decoration: none; }
.project-card__overlay h3 a:hover { color: var(--accent); }
.project-card__meta-row {
    display: flex;
    gap: 16px;
    margin-top: 6px;
}
.project-card__meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--accent);
}
.project-card__tonnage {
    color: #40C4FF;
    font-weight: 600;
}
.project-card__client {
    color: rgba(255,255,255,.75);
    font-size: 12px;
}
/* Filters wrapper */
.projects__filters-wrapper {
    margin-bottom: var(--space-xl);
}
.projects__filters-wrapper .projects__filters {
    margin-bottom: 8px;
}
.projects__filters-wrapper .projects__filters:last-child {
    margin-bottom: 0;
}
/* Summary + Reference note */
.projects__summary {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}
.reference-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.02);
}
.reference-note p {
    margin: 0 0 var(--space-md);
    line-height: 1.7;
}
/* Subtitle under section header */
.section-header__subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    opacity: .7;
}

/* =============================================
   Advantage Cards — Border Glow Pulse (Package B)
   ============================================= */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 3vw, 20px);
}
.advantage-card {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all .3s;
    position: relative;
}
.advantage-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--accent), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s;
}
.advantage-card:hover::before { opacity: 1; }
.advantage-card:hover { background: rgba(8,145,178,.05); }
.advantage-card .adv-icon { font-size: 40px; margin-bottom: 16px; }
.advantage-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.advantage-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* =============================================
   Price Cards — Accent Border Slide-in (Package B)
   ============================================= */
.prices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 3vw, 16px);
}
.price-card {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all .3s;
}
.price-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .3s;
}
.price-card:hover::after { transform: scaleX(1); }
.price-card:hover { border-color: rgba(8,145,178,.3); }
.price-card .price-icon { font-size: 32px; margin-bottom: 12px; }
.price-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--white); }
.price-card .price-value { color: var(--accent); font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.price-card .price-unit { font-size: 12px; color: var(--text-secondary); margin-bottom: 12px; }

/* =============================================
   Blog Cards — Image Zoom + Brightness (Package B)
   ============================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 3vw, 20px);
}
.blog-card {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card__img {
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(8,145,178,.15), rgba(8,145,178,.05));
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card__img--placeholder {
    color: var(--accent);
    opacity: .4;
}
.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1), filter .5s;
    filter: brightness(.85);
}
.blog-card:hover .blog-card__img img {
    transform: scale(1.08);
    filter: brightness(1);
}
.blog-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.blog-card__body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.blog-card__date { font-size: 13px; color: var(--text-secondary); }
.blog-card__category {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
}
.blog-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card__title a { color: var(--white); transition: color .2s; }
.blog-card__title a:hover { color: var(--accent); }
.blog-card__excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.blog-card__readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 12px;
    transition: gap .2s;
}
.blog-card__readmore:hover { gap: 10px; }
.blog__more { text-align: center; margin-top: 40px; }

/* =============================================
   Calculator
   ============================================= */
.calculator {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 700px;
    margin: 0 auto;
}
.calculator__form,
.calculator__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}
.calculator__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.calculator__field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.calculator__field select,
.calculator__field input[type="number"],
.calculator__field input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    transition: border-color .25s, box-shadow .25s;
    appearance: none;
}
.calculator__field select:focus,
.calculator__field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.calculator__result {
    grid-column: 1 / -1;
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(8,145,178,.08);
    border: 1px solid rgba(8,145,178,.2);
    border-radius: var(--radius-md);
    text-align: center;
    display: none;
}
.calculator__result--visible,
.calculator__result.active { display: block; }
.calculator__price {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
}
.calculator__price-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}
.calculator__actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* =============================================
   Clients
   ============================================= */
.clients__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
}
.clients-logos {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 4vw, 40px);
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.client-logo {
    width: 140px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 16px;
    filter: grayscale(1) brightness(.7);
    transition: all .3s;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}
.client-logo:hover {
    filter: grayscale(0) brightness(1);
    border-color: var(--accent);
}
.client-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.client-logo span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =============================================
   Reviews / Testimonials
   ============================================= */
.reviews__slider {
    position: relative;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
}
.review-card {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
}
.review-card__text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: var(--space-lg);
    font-style: italic;
    position: relative;
    padding-left: 0;
    border-left: none;
}
.review-card__text::before {
    content: '\201C';
    font-size: 48px;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: var(--space-sm);
}
.review-card__author {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}
.review-card__author strong {
    color: var(--text);
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}
.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(8,145,178,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
    font-size: 18px;
}
.review-card__name { font-weight: 600; font-size: 15px; color: var(--white); }
.review-card__role { font-size: 13px; color: var(--text-secondary); }
.reviews__nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.reviews__nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all .25s;
    background: transparent;
}
.reviews__nav-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.reviews__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-lg);
}
.reviews__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all .3s;
    border: none;
    padding: 0;
}
.reviews__dot.active,
.reviews__dot--active {
    background: var(--accent);
    transform: scale(1.2);
}

/* =============================================
   CTA Block / Section
   ============================================= */
.cta-block {
    background: var(--gradient);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}
.cta-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(8,145,178,.1) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-block h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    color: var(--white);
}
.cta-block p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin-inline: auto;
}
.cta-block__content { position: relative; z-index: 1; margin-bottom: var(--space-xl); }

.cta-section {
    background: var(--gradient);
    padding: var(--space-section) 0;
    text-align: center;
}
.cta-section h2 { margin-bottom: var(--space-md); }
.cta-section p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-inline: auto;
}

.cta-form {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cta-form__fields {
    display: flex;
    gap: var(--space-sm);
    align-items: stretch;
}
.cta-form__field { flex: 1; }
.cta-form__field:last-child { flex: 0 0 auto; }
.cta-form__phone-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(255,255,255,.06);
    transition: border-color .25s, box-shadow .25s;
}
.cta-form__phone-wrapper svg { color: var(--text-secondary); flex-shrink: 0; }
.cta-form__phone-wrapper input {
    border: none !important;
    background: none !important;
    padding: 14px 0 !important;
    box-shadow: none !important;
}
.cta-form__phone-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.cta-form input,
.cta-form .form-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(255,255,255,.06);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font);
    transition: border-color .25s, box-shadow .25s;
}
.cta-form input::placeholder { color: var(--text-secondary); }
.cta-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* =============================================
   Forms — Unified (Package E)
   ============================================= */
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    transition: border-color .25s, box-shadow .25s;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input::placeholder { color: var(--text-secondary); }

.form-group { margin-bottom: var(--space-md); }
.form-success { text-align: center; padding: var(--space-xl) 0; }
.form-success svg { margin: 0 auto var(--space-md); }
.form-success p { color: var(--text); font-size: 16px; }
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: .5px;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* =============================================
   CTA Strip (before footer)
   ============================================= */
.cta-strip {
    background: var(--gradient);
    padding: var(--space-xl) 0;
}
.cta-strip .container,
.cta-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}
.cta-strip__text h3 { font-size: 20px; margin-bottom: 4px; color: #fff; }
.cta-strip__text p { color: var(--text-secondary); font-size: 14px; }
.cta-strip__actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: var(--space-3xl) 0 var(--space-lg);
    color: var(--text-secondary);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}
.site-footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
}
.site-footer__desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--text-secondary);
}
.site-footer__legal { font-size: 12px; color: var(--text-secondary); }
.site-footer__copyright { font-size: 12px; color: var(--text-secondary); margin-top: 12px; opacity: .7; }
.site-footer__heading,
.site-footer__title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: var(--space-md);
    color: var(--text);
}
.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.site-footer__links a,
.site-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}
.site-footer__links a:hover,
.site-footer a:hover { color: var(--accent); }
.site-footer__links span { font-size: 14px; color: var(--text-secondary); }
.site-footer__links-all {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.site-footer__links-all a {
    color: var(--accent);
    font-weight: 600;
    font-size: 13px;
}
.site-footer__links-all a:hover { color: var(--white); }
.site-footer__contacts a { display: flex; align-items: center; gap: 8px; }
.site-footer__contacts li { display: flex; align-items: center; gap: 10px; }
.site-footer__contacts svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}
.site-footer__cta { margin-top: 16px; width: 100%; }
.site-footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}
.site-footer__bottom a { font-size: 13px; }
.site-footer__bottom-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}
.site-footer__bottom-nav a {
    color: var(--text-secondary);
    transition: color .2s;
}
.site-footer__bottom-nav a:hover { color: var(--accent); }

/* Footer Sitemap (geography + objects) */
.site-footer__sitemap {
    border-top: 1px solid var(--border);
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    display: flex;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}
.site-footer__sitemap-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: var(--space-sm);
}
.site-footer__sitemap-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}
.site-footer__sitemap-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color .2s;
    white-space: nowrap;
}
.site-footer__sitemap-links a:hover { color: var(--accent); }

/* =============================================
   Lead Form (dark theme)
   ============================================= */
.lead-form__title { font-size: 24px; font-weight: 800; margin-bottom: 20px; color: var(--white); }
.lead-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form__field { display: flex; flex-direction: column; }
.lead-form__field--full { grid-column: 1 / -1; }
.lead-form__field input,
.lead-form__field textarea {
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: border-color .25s, box-shadow .25s;
    background: rgba(255,255,255,.06);
    color: #ffffff;
    width: 100%;
}
.lead-form__field input::placeholder,
.lead-form__field textarea::placeholder { color: #666; }
.lead-form__field input:focus,
.lead-form__field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.lead-form__field input.error,
.lead-form__field textarea.error { border-color: #ef4444; }
.lead-form__error { font-size: 12px; color: #ef4444; margin-top: 4px; min-height: 16px; }
.lead-form__submit { margin-top: 20px; width: 100%; }
.lead-form__privacy { font-size: 12px; color: var(--text-secondary); margin-top: 12px; text-align: center; }
.lead-form__privacy a { color: var(--accent); text-decoration: underline; }
.lead-form__result { margin-top: 16px; padding: 16px; border-radius: var(--radius-md); text-align: center; font-size: 15px; font-weight: 500; }
.lead-form__result--success { background: rgba(16,185,129,.15); color: #10b981; border: 1px solid rgba(16,185,129,.3); }
.lead-form__result--error { background: rgba(239,68,68,.15); color: #ef4444; border: 1px solid rgba(239,68,68,.3); }

/* =============================================
   File Upload (dark)
   ============================================= */
.file-upload { position: relative; }
.file-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.file-upload__zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    transition: all .25s;
    cursor: pointer;
}
.file-upload__zone:hover,
.file-upload--dragover .file-upload__zone {
    border-color: var(--accent);
    background: rgba(8,145,178,.03);
    color: var(--accent);
}
.file-upload__list { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.file-upload__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255,255,255,.05);
    border-radius: var(--radius-md);
    font-size: 13px;
}
.file-upload__item-name { color: var(--text); font-weight: 500; }
.file-upload__item-size { color: var(--text-secondary); margin-left: 8px; }

/* =============================================
   Page Header + Content (inner pages)
   ============================================= */
.page-header {
    padding: var(--space-2xl) 0 var(--space-xl);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-xl);
    background: var(--dark2);
    text-align: center;
}
.page-header h1,
.page-header__title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--white);
}
.page-header p,
.page-header__desc {
    color: var(--text-secondary);
    font-size: 17px;
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-content { padding: 48px 0 80px; max-width: none; }
.page-content__inner { max-width: 840px; margin: 0 auto; }

/* Section dividers — each H2 starts a visual section */
.page-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 60px 0 var(--space-md) 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
}
.page-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.page-content h3 { font-size: 20px; font-weight: 700; margin: var(--space-xl) 0 var(--space-sm); color: var(--text); }
.page-content p { margin-bottom: var(--space-md); line-height: 1.7; color: var(--text-secondary); }

/* Lists — teal square bullets */
.page-content ul, .page-content ol {
    margin-bottom: var(--space-md);
    padding-left: 0;
}
.page-content ul { list-style: none; }
.page-content ol { list-style: decimal; padding-left: var(--space-lg); }
.page-content ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text-secondary);
}
.page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
}
.page-content ol li { margin-bottom: var(--space-sm); line-height: 1.7; color: var(--text-secondary); }
.page-content a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.page-content a:hover { border-bottom-color: var(--accent); }
.page-content strong { color: #ffffff; }
.page-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(8,145,178,.05);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Images & Galleries */
.page-content img {
    border-radius: var(--radius-md);
    margin: 24px 0;
    max-width: 100%;
    height: auto;
}
.page-content .wp-block-gallery,
.page-content .gallery,
.page-content .production-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 32px 0;
}
.page-content .wp-block-gallery img,
.page-content .gallery img,
.page-content .production-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 0;
    transition: transform .3s;
}
.page-content .wp-block-gallery img:hover,
.page-content .gallery img:hover,
.page-content .production-gallery img:hover {
    transform: scale(1.03);
}
@media (max-width: 768px) {
    .page-content .wp-block-gallery,
    .page-content .gallery,
    .page-content .production-gallery { grid-template-columns: repeat(2, 1fr); }
    .page-content .wp-block-gallery img,
    .page-content .gallery img,
    .page-content .production-gallery img { height: 160px; }
}

/* Tables — professional style */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}
.page-content thead th,
.page-content tr:first-child th {
    background: var(--accent);
    color: #fff;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    border-bottom: none;
}
.page-content th {
    background: rgba(8,145,178,.15);
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.page-content td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--text-secondary);
    font-size: 14px;
}
.page-content tr:hover td { background: rgba(8,145,178,.06); }

/* Inline CTA block between sections */
.inline-cta {
    background: linear-gradient(135deg, rgba(8,145,178,.08) 0%, rgba(15,52,96,.12) 100%);
    border: 1px solid rgba(8,145,178,.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 48px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.inline-cta p {
    flex: 1;
    min-width: 200px;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}
.inline-cta .btn { flex-shrink: 0; }
@media (max-width: 768px) {
    .inline-cta { flex-direction: column; text-align: center; padding: 24px; }
    .inline-cta .btn { width: 100%; justify-content: center; }
}

/* =============================================
   FAQ Accordion
   ============================================= */
.faq__list { max-width: 800px; margin: 0 auto; }
.faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
}
.faq__question {
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    transition: background .2s;
    width: 100%;
    text-align: left;
}
.faq__question:hover { background: rgba(255,255,255,.03); }
.faq__question::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    transition: transform .3s;
    flex-shrink: 0;
}
.faq__question svg { transition: transform var(--transition); flex-shrink: 0; color: var(--text-secondary); }
.faq__item.active .faq__question::after { transform: rotate(180deg); }
.faq__item--open .faq__question svg { transform: rotate(180deg); }
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
    padding: 0 var(--space-lg);
}
.faq__item.active .faq__answer {
    max-height: 1000px;
    padding: 0 var(--space-lg) var(--space-md);
}
.faq__item--open .faq__answer {
    padding: 0 24px 20px;
    max-height: 500px;
}
.faq__answer p { font-size: 15px; color: #b0b0c0; line-height: 1.7; }

/* =============================================
   See Also / Related
   ============================================= */
.see-also {
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
    padding: 48px 0;
    background: var(--dark2);
}
.see-also h3,
.see-also__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--white);
}
.see-also__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}
.see-also__card,
.see-also__link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 20px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text);
    transition: all .25s;
    font-size: 15px;
    font-weight: 500;
}
.see-also__card:hover,
.see-also__link:hover {
    border-color: var(--accent);
    background: rgba(8,145,178,.04);
    transform: translateX(4px);
    box-shadow: 0 5px 20px rgba(0,0,0,.3);
}
.see-also__card svg,
.see-also__link svg { color: var(--accent); flex-shrink: 0; }
.see-also__card span { font-size: 14px; }

/* =============================================
   Sidebar
   ============================================= */
.page-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-2xl);
}
.sidebar {
    position: sticky;
    top: calc(var(--header-h) + var(--space-lg));
    align-self: start;
}
.sidebar__widget,
.sidebar__block {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}
.sidebar__title,
.sidebar__block-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border);
}
.sidebar__link,
.sidebar__nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}
.sidebar__link:hover,
.sidebar__nav a:hover { color: var(--accent); }
.sidebar__link.active,
.sidebar__nav a.active { color: var(--accent); font-weight: 500; }
.sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar__nav a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    transition: all .2s;
}
.sidebar__nav a:hover { background: rgba(8,145,178,.06); color: var(--accent); }
.sidebar__nav a.active { background: rgba(8,145,178,.1); color: var(--accent); font-weight: 600; }

/* =============================================
   Appear Animations (Package D)
   ============================================= */
.appear {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.appear.visible,
.appear--visible { opacity: 1; transform: translateY(0); }
.appear[data-delay="1"],
.appear--delay-1 { transition-delay: .1s; }
.appear[data-delay="2"],
.appear--delay-2 { transition-delay: .2s; }
.appear[data-delay="3"],
.appear--delay-3 { transition-delay: .3s; }
.appear[data-delay="4"] { transition-delay: .4s; }
.appear[data-delay="5"] { transition-delay: .5s; }

/* =============================================
   Pagination
   ============================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}
.pagination a,
.pagination span,
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: all .2s;
    text-decoration: none;
}
.pagination a,
.pagination .page-numbers:not(.current) {
    color: var(--text-secondary);
    background: var(--dark2);
    border: 1px solid var(--border);
}
.pagination a:hover,
.pagination .page-numbers:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination .current {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    font-weight: 600;
}

/* =============================================
   Article
   ============================================= */
.article-header { padding: 48px 0; background: var(--dark2); border-bottom: 1px solid var(--border); }
.article-header__meta { display: flex; gap: 16px; align-items: center; color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; }
.article-header__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--white); line-height: 1.25; }
.article-content { padding: 48px 0; }
.article-content__inner { max-width: 860px; margin: 0 auto; }
.article-content__featured { margin-bottom: 32px; border-radius: var(--radius-lg); overflow: hidden; }
.article-content__img { width: 100%; height: auto; display: block; }
.article-cta {
    margin-top: 48px;
    padding: 32px;
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}
.article-cta h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.article-cta p { font-size: 15px; color: var(--text-secondary); margin-bottom: 20px; }
.article-cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.archive-header__desc { font-size: 16px; color: var(--text-secondary); margin-top: 8px; }
.archive-content { padding: 48px 0; }
.archive-empty { text-align: center; padding: 80px 0; color: var(--text-secondary); }
.archive-empty svg { margin-bottom: 16px; }
.related-posts { padding: 64px 0; background: var(--dark2); }
.related-posts__title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 32px; color: var(--white); }

/* =============================================
   Archive
   ============================================= */
.archive-header { background: var(--dark2); padding: 48px 0; text-align: center; border-bottom: 1px solid var(--border); }
.archive-header__title { font-size: 36px; font-weight: 800; color: var(--white); }
.archive-grid { padding: 48px 0; }
.archive-grid__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* =============================================
   Geography
   ============================================= */
.geography__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.geography__map {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.geography__cities { columns: 2; gap: 24px; }
.geography__city {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    break-inside: avoid;
}
.geography__city::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* =============================================
   Contacts Page
   ============================================= */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.contacts-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon {
    width: 48px;
    height: 48px;
    background: rgba(8,145,178,.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item__label { font-weight: 600; margin-bottom: 4px; color: var(--white); }
.requisites-table { max-width: 800px; margin: 0 auto; }
.requisites-table td { padding: 12px 16px; border: 1px solid var(--border); font-size: 14px; }
.requisites-table td:first-child { font-weight: 600; width: 250px; color: var(--white); }
.requisites-table td:last-child { color: var(--text); }

/* =============================================
   404 Page
   ============================================= */
.error-404 { text-align: center; padding: 120px 20px; }
.error-404__code { font-size: 120px; font-weight: 800; color: var(--accent); line-height: 1; }
.error-404__title { font-size: 28px; font-weight: 700; margin: 16px 0; color: var(--white); }
.error-404__text { color: var(--text-secondary); margin-bottom: 32px; }

/* =============================================
   Search
   ============================================= */
.search-form { display: flex; gap: 8px; max-width: 600px; margin: 0 auto; }
.search-form input[type="search"] {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 16px;
    background: rgba(255,255,255,.06);
    color: var(--text);
}
.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.search-form button {
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
}

/* =============================================
   Category Cards (child pages listing)
   ============================================= */
.category-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 32px 0; }
.category-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all .3s;
}
.category-card:hover {
    border-color: rgba(8,145,178,.3);
    box-shadow: 0 5px 20px rgba(0,0,0,.3);
}
.category-card__title { font-size: 17px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.category-card__title a { color: var(--accent); transition: color .2s; }
.category-card__title a:hover { color: var(--accent-hover); }
.category-card__desc { font-size: 14px; color: #b0b0c0; line-height: 1.6; }

/* =============================================
   Exit-Intent Popup
   ============================================= */
.exit-popup {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.exit-popup--active { opacity: 1; visibility: visible; }
.exit-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(6px);
}
.exit-popup__content {
    position: relative;
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    transform: scale(.9);
    transition: transform .3s ease;
    box-shadow: 0 25px 60px rgba(0,0,0,.5);
}
.exit-popup--active .exit-popup__content { transform: scale(1); }
.exit-popup__close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    color: var(--text-secondary);
    transition: color .2s;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}
.exit-popup__close:hover { color: var(--white); }
.exit-popup__icon { font-size: 48px; margin-bottom: 16px; }
.exit-popup__content h3 { font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.exit-popup__content > p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }
.exit-popup__form { display: flex; flex-direction: column; gap: 12px; }
.exit-popup__form input[type="text"],
.exit-popup__form input[type="email"],
.exit-popup__form input[type="tel"] {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    background: rgba(255,255,255,.06);
    color: var(--text);
    transition: border-color .25s, box-shadow .25s;
    width: 100%;
}
.exit-popup__form input::placeholder { color: var(--text-secondary); }
.exit-popup__form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.exit-popup__result { margin-top: 12px; padding: 14px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; text-align: center; }
.exit-popup__result--success { background: rgba(16,185,129,.15); color: #10b981; border: 1px solid rgba(16,185,129,.3); }
.exit-popup__result--error { background: rgba(239,68,68,.15); color: #ef4444; border: 1px solid rgba(239,68,68,.3); }
.exit-popup__privacy { font-size: 12px; color: var(--text-secondary); margin-top: 12px; }
.exit-popup__privacy a { color: var(--accent); text-decoration: underline; }

/* =============================================
   Telegram Floating Button
   ============================================= */
.tg-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #40C4FF, #339FCC);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(64, 196, 255, .4);
    transition: transform .3s ease, box-shadow .3s ease, opacity .4s ease;
    opacity: 0;
    pointer-events: none;
}
.tg-float--visible {
    opacity: 1;
    pointer-events: auto;
}
.tg-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(64, 196, 255, .6);
}
.tg-float__icon { flex-shrink: 0; }
/* Tooltip */
.tg-float__tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.tg-float__tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #333;
}
.tg-float:hover .tg-float__tooltip { opacity: 1; }
/* Pulse ring — 3 pulses then stop */
.tg-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(64, 196, 255, .3);
    animation: tg-pulse .8s ease-out 3;
    pointer-events: none;
}
@keyframes tg-pulse {
    0% { transform: scale(1); opacity: .4; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* =============================================
   Quiz Widget
   ============================================= */
.quiz__progress { height: 4px; background: var(--border); border-radius: 2px; margin-bottom: 32px; overflow: hidden; }
.quiz__progress-bar { height: 100%; background: var(--accent); border-radius: 2px; transition: width .4s ease; }
.quiz__step { display: none; }
.quiz__step--active { display: block; }
.quiz__step h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 20px; text-align: center; }
.quiz__options { display: flex; flex-direction: column; gap: 10px; }
.quiz__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    text-align: left;
    width: 100%;
}
.quiz__option:hover {
    border-color: var(--accent);
    background: rgba(8,145,178,.06);
    transform: translateX(4px);
}
.quiz__option--selected {
    border-color: var(--accent);
    background: rgba(8,145,178,.1);
    color: var(--white);
}
.quiz__form { display: flex; flex-direction: column; gap: 12px; }
.quiz__form input[type="text"],
.quiz__form input[type="tel"],
.quiz__form input[type="email"] {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    background: rgba(255,255,255,.06);
    color: var(--text);
    transition: border-color .25s, box-shadow .25s;
    width: 100%;
}
.quiz__form input::placeholder { color: var(--text-secondary); }
.quiz__form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.quiz__result { margin-top: 12px; padding: 14px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; text-align: center; }
.quiz__result--success { background: rgba(16,185,129,.15); color: #10b981; border: 1px solid rgba(16,185,129,.3); }
.quiz__result--error { background: rgba(239,68,68,.15); color: #ef4444; border: 1px solid rgba(239,68,68,.3); }

/* =============================================
   Catalog grid variants
   ============================================= */
.services-grid--4 { grid-template-columns: repeat(4, 1fr); }
.service-card--hidden { display: none; }
.services-grid--expanded .service-card--hidden { display: flex; }
.services-grid__more { text-align: center; margin-top: var(--space-xl); }

/* Cards inside sidebar layout — 2 columns */
.page-with-sidebar .services-grid { grid-template-columns: repeat(2, 1fr); }
.page-with-sidebar .service-card { height: 240px; }
.page-with-sidebar .service-card__overlay h3 { font-size: 16px; }

/* Outline button */
.btn--outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
}
.btn--outline:hover {
    background: var(--accent);
    color: #fff;
}

/* =============================================
   Blog grid — center last row
   ============================================= */
.blog-grid { justify-items: center; }
.blog-grid .blog-card { width: 100%; }

/* Hide WP pagination heading */
.pagination .screen-reader-text,
.navigation .screen-reader-text,
.nav-links .screen-reader-text,
h2.screen-reader-text { display: none; }

/* =============================================
   About page styles
   ============================================= */
.about-hero { margin-bottom: var(--space-2xl); }
.about-hero .lead { font-size: 18px; color: var(--text-secondary); line-height: 1.7; }
.about-section { margin-bottom: var(--space-2xl); }
.about-section h2 { margin-top: 0; }
.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: var(--space-lg);
}
.about-service {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: border-color .25s;
}
.about-service:hover { border-color: var(--accent); }
.about-service h3 { font-size: 16px; margin: 0 0 8px; }
.about-service h3 a { color: var(--accent); }
.about-service p { font-size: 14px; margin: 0; }
.about-cta p { margin-bottom: var(--space-sm); }

/* =============================================
   Contacts page styles
   ============================================= */
.contact-block { margin-bottom: var(--space-lg); }
.contact-block h3 { font-size: 16px; font-weight: 600; color: var(--accent); margin-bottom: 8px; margin-top: 0; }
.contact-block p { margin-bottom: 4px; font-size: 15px; }
.contact-phone { font-size: 24px; font-weight: 700; color: var(--white); }
.contact-note { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.contacts-map iframe { border-radius: var(--radius-lg); border: 1px solid var(--border); }
.contacts-form-section { margin-top: var(--space-2xl); text-align: center; }
.contacts-form-section h2 { margin-top: 0; }

/* =============================================
   Page Hero — Internal Pages (Banner + Gradient)
   ============================================= */
.page-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--gradient);
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(13, 17, 23, 0.88) 0%,
        rgba(13, 17, 23, 0.7) 40%,
        rgba(13, 17, 23, 0.3) 100%
    );
}
.page-hero .breadcrumbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
}
.page-hero__content {
    position: relative;
    z-index: 2;
    padding: 80px 0 48px;
    max-width: 650px;
}
.page-hero__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin: 0 0 var(--space-sm);
    letter-spacing: -0.5px;
}
.page-hero__desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 var(--space-lg);
    max-width: 550px;
}
.page-hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.page-hero__meta {
    display: flex;
    gap: 16px;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: var(--space-md);
}
.page-hero__meta a { color: var(--accent); transition: color .2s; }
.page-hero__meta a:hover { color: var(--white); }

.page-hero--no-image { min-height: 280px; }
.page-hero--no-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* =============================================
   Responsive — Main
   ============================================= */

/* Tablet (768-1023px) */
@media (max-width: 1023px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .prices-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .geography__content { grid-template-columns: 1fr; }
    .page-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .archive-grid__inner { grid-template-columns: repeat(2, 1fr); }
    .about-services-grid { grid-template-columns: repeat(2, 1fr); }
    .tg-float { width: 56px; height: 56px; bottom: 80px; right: 16px; }
    .page-hero { min-height: 300px; }
    .page-hero__content { padding: 70px 0 36px; }

    .cta-strip .container,
    .cta-strip__inner { flex-direction: column; text-align: center; }
    .cta-strip__actions { width: 100%; justify-content: center; }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .section-header h2 { font-size: 28px; }
    .services-grid,
    .services-grid--4,
    .projects-grid,
    .advantages-grid { grid-template-columns: 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .about-services-grid { grid-template-columns: 1fr; }
    .prices-grid { grid-template-columns: repeat(2, 1fr); }
    .calculator__form,
    .calculator__grid { grid-template-columns: 1fr; }
    .lead-form__fields { grid-template-columns: 1fr; }
    .cta-strip .container,
    .cta-strip__inner { flex-direction: column; text-align: center; }
    .cta-strip__actions { flex-direction: column; width: 100%; }
    .cta-strip__actions .btn { flex: 1; justify-content: center; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
    .site-footer__sitemap { flex-direction: column; gap: var(--space-md); }
    .blog-grid { grid-template-columns: 1fr; }
    .archive-grid__inner { grid-template-columns: 1fr; }
    .geography__cities { columns: 1; }
    .cta-form__fields { flex-direction: column; }
    .cta-form__field:last-child { width: 100%; }
    .cta-form__field .btn { width: 100%; justify-content: center; }
    .cta-block { padding: 40px 24px; }
    .page-hero { min-height: 260px; }
    .page-hero__content { padding: 60px 0 32px; max-width: 100%; }
    .page-hero__title { font-size: clamp(24px, 5vw, 32px); }
    .page-hero__desc { font-size: 15px; }
    .page-hero__actions { flex-direction: column; }
    .page-hero__actions .btn { width: 100%; justify-content: center; }
    .page-hero--no-image { min-height: 220px; }
}

/* =============================================
   Production Gallery (photo grids on pages)
   ============================================= */
.production-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}
.production-gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}
.production-gallery__item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.production-gallery__item:hover img {
    transform: scale(1.03);
}
@media (max-width: 768px) {
    .production-gallery { grid-template-columns: 1fr; }
    .production-gallery__item img { height: 200px; }
}

/* =============================================
   Reviews Grid (tpl-reviews.php) — White cards
   ============================================= */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: var(--space-xl);
}
.reviews-grid__card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
}
.reviews-grid__card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.reviews-grid__img-link {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}
.reviews-grid__img-link img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform .3s;
}
.reviews-grid__img-link:hover img {
    transform: scale(1.03);
}
.reviews-grid__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity .3s;
}
.reviews-grid__img-link:hover .reviews-grid__zoom {
    opacity: 1;
}
.reviews-grid__company {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
}

/* =============================================
   Clients Logo Carousel (infinite scroll)
   ============================================= */
.clients-carousel {
    overflow: hidden;
    width: 100%;
    padding: 32px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.clients-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll-logos 30s linear infinite;
}
.clients-track img {
    height: 55px;
    width: auto;
    object-fit: contain;
    opacity: .7;
    filter: grayscale(100%) brightness(1.8);
    transition: opacity .3s, filter .3s;
    flex-shrink: 0;
}
.clients-track img:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}
@keyframes scroll-logos {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.section-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}
.section-subtitle--center { text-align: center; }

/* =============================================
   Letters Row (front-page — "Нам доверяют")
   ============================================= */
.letters-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.letters-row__item {
    display: block;
    background: #252540;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
    cursor: zoom-in;
}
.letters-row__item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.letters-row__item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform .3s;
}
.letters-row__item:hover img {
    transform: scale(1.03);
}
.letters-row__name {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

/* =============================================
   Lightbox
   ============================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox--active {
    display: flex;
}
.lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.92);
    cursor: pointer;
}
.lightbox__wrap {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    user-select: none;
}
.lightbox__close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2;
}
.lightbox__close:hover {
    background: rgba(255,255,255,.25);
}
.lightbox__prev,
.lightbox__next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2;
}
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255,255,255,.25);
}

/* =============================================
   Responsive: Reviews + Letters + Lightbox
   ============================================= */
@media (max-width: 1024px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .letters-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-grid__img-link img { height: 240px; }
    .letters-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .clients-track { gap: 40px; }
    .clients-track img { height: 36px; }
    .lightbox__prev, .lightbox__next { width: 40px; height: 40px; }
    .lightbox__prev { left: 8px; }
    .lightbox__next { right: 8px; }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
    .prices-grid { grid-template-columns: 1fr; }
}

/* Sitemap */
.sitemap { padding-bottom: var(--space-2xl); }
.sitemap__heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin: 40px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.sitemap__heading:first-child { margin-top: 0; }
.sitemap__section { margin-bottom: 8px; }
.sitemap__list { list-style: none; padding: 0; margin: 0; }
.sitemap__list--child {
    padding-left: 24px;
    border-left: 1px solid rgba(255,255,255,.06);
    margin-left: 8px;
}
.sitemap__item {
    padding: 6px 0;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.sitemap__item a {
    color: var(--teal);
    text-decoration: none;
    transition: color .2s;
}
.sitemap__item a:hover {
    color: var(--accent);
    text-decoration: underline;
}
.sitemap__date {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}
.sitemap__item--parent > a { font-weight: 600; color: var(--white); }
.sitemap__item--parent > a:hover { color: var(--teal); }

/* =============================================
   Calculator Form (raschet-stoimosti-online)
   ============================================= */
.calc-form-wrapper {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin: 24px 0 40px;
}
.calc-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.calc-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.calc-form__field--full {
    grid-column: 1 / -1;
}
.calc-form__field label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}
.calc-form__field input,
.calc-form__field select,
.calc-form__field textarea {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s;
}
.calc-form__field input:focus,
.calc-form__field select:focus,
.calc-form__field textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.calc-form__field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.calc-form__submit {
    width: 100%;
    font-size: 17px;
    padding: 16px;
}
@media (max-width: 640px) {
    .calc-form__grid { grid-template-columns: 1fr; }
    .calc-form-wrapper { padding: 20px; }
}

/* =============================================
   Price Breakdown Component
   ============================================= */
.price-breakdown {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    margin: 24px 0;
}
.price-breakdown h3 {
    margin: 0 0 24px;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}
.price-breakdown__items {
    display: flex;
    flex-direction: column;
}
.price-breakdown__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-wrap: wrap;
    gap: 4px;
}
.price-breakdown__label {
    font-weight: 500;
    color: var(--text-secondary);
    flex: 1;
    min-width: 180px;
}
.price-breakdown__value {
    font-weight: 700;
    color: #40C4FF;
    white-space: nowrap;
}
.price-breakdown__note {
    width: 100%;
    font-size: 13px;
    color: var(--text-muted, #6e7681);
    margin-top: 2px;
}
.price-breakdown__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 0;
    margin-top: 8px;
    border-top: 2px solid #40C4FF;
}
.price-breakdown__total .price-breakdown__label {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}
.price-breakdown__total .price-breakdown__value {
    font-size: 20px;
    color: #40C4FF;
}
.price-breakdown__disclaimer {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted, #6e7681);
    line-height: 1.5;
}
@media (max-width: 640px) {
    .price-breakdown { padding: 20px; }
    .price-breakdown__item { flex-direction: column; align-items: flex-start; gap: 2px; }
    .price-breakdown__total { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* =============================================
   Content Cards (text-based product/service cards)
   ============================================= */
.content-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}
.content-card {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform .3s, border-color .3s;
}
.content-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}
.content-card h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}
.content-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 auto;
    padding-bottom: 16px;
}
.content-card__price {
    color: #40C4FF;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
}
.content-card__price-note {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 16px;
    display: block;
}
.content-card .btn {
    align-self: flex-start;
}
@media (max-width: 768px) {
    .content-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .content-cards { grid-template-columns: 1fr; }
}
