/**
 * Flix Theme - Components
 *
 * Shared component styles loaded on every page.
 */

/* ================================
   Roof Types Section
   ================================ */
.roof-types-section {
    background: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.product-card {
    background: var(--base-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

/* Card image wrapper (is an <a> tag) */
a.product-card__image {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--gray-200);
}

.product-card__image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Views badge */
.product-card__views-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--base-white);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    padding: 4px 8px;
    z-index: 1;
}

.product-card__views-badge img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Card content */
.product-card__content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-card__title a {
    color: inherit;
    text-decoration: none;
}

.product-card__title a:hover {
    color: var(--color-primary);
}

.product-card__description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__price {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    color: #000;
    margin-bottom: 24px;
}

.product-card__price strong {
    font-weight: 700;
}

/* Two-button actions row */
.product-card__actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.product-card__actions .btn {
    flex: 1;
    text-align: center;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
}

/* Features checklist */
.product-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-left: 0px;
    margin: 0;
}

.product-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--gray-700);
}

.product-card__features li img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 0.1rem;
}

@media (max-width: 768px) {
    .product-card__title {
        font-size: 18px;
    }
    .product-card__description {
        font-size: 16px;
    }
}


/* Products grid loading state */
.products-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Load More */
.load-more-wrapper {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.load-more-wrapper .btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.load-more-wrapper .btn.is-loading::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.5em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: middle;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: var(--spacing-md) 0;
}

.breadcrumbs__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
}

.breadcrumbs__list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--blue-600);
}

.breadcrumbs__list li::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: currentColor;
    color: var(--gray-500);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
}

.breadcrumbs__list li:last-child::after {
    display: none;
}

.breadcrumbs__list li:last-child {
    color: var(--gray-500);
}

.breadcrumbs__list a {
    color: var(--blue-600);
}

.breadcrumbs__list a:hover {
    color: var(--color-primary);
}

/* ================================
   Reviews Slider Section
   ================================ */
.reviews-section {
    overflow: hidden;
}

.reviews-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-lg);
    margin-bottom: 80px;
}

.reviews-header__text .section-title {
    margin-bottom: var(--spacing-xs);
}

.reviews-header__text .section-description {
    margin: 0;
    max-width: 560px;
    text-align: start;
}

.reviews-header__badges {
    display: flex;
    gap: 32px;
    flex-shrink: 0;
}

.reviews-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--gray-100);
    border-radius: 16px;
    padding: 24px;
}

.reviews-badge__logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.reviews-badge__info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.reviews-badge__platform {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #000;
}

.reviews-badge__rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #000;
}

/* Slider container */
.reviews-slider {
    overflow: hidden;
}

.reviews-slider__track {
    display: flex;
    gap: 32px;
    transition: transform 0.4s ease-in-out;
}

/* Cards */
.review-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: 0;
    gap: 32px;
}

.review-card__stars {
    display: flex;
    gap: 2px;
}

.review-card__text {
    margin: 0 0 var(--spacing-md);
    padding: 0;
    border: none;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
    color: var(--gray-950);
    font-style: normal;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-primary-light);
}

.review-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card__avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
}

.review-card__author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.review-card__name {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: var(--gray-950);
}

.review-card__location {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--gray-600);
}

/* Navigation */
.reviews-slider__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-lg);
}

.reviews-slider__dots {
    display: flex;
    gap: 0.5rem;
}

.reviews-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--gray-200);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.reviews-slider__dot.is-active {
    background: var(--blue-600);
}

.reviews-slider__arrows {
    display: flex;
    gap: 0.5rem;
}

.reviews-slider__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    background: var(--base-white);
    color: var(--gray-600);
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.reviews-slider__arrow:hover:not(:disabled) {
    border-color: var(--gray-300);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.reviews-slider__arrow:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.reviews-slider__arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.projects-grid.is-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s;
}

/* ================================
   Project Card
   ================================ */

.project-card {
    overflow: visible;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 24px;
    background: var(--base-white);
    box-shadow: 0 0 0 0 transparent;
    transition: box-shadow 0.3s;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
}

.project-card:hover::before {
    opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.project-card__image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    border: 1px solid var(--gray-300);
    border-radius: 16px;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.08);
}

.project-card__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.project-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.project-card__badge--type {
    border: 1px solid var(--yellow-300);
    border-radius: 6px;
    padding: 4px 8px;
    background: var(--yellow-50);

    font-family: var(--third-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    color: var(--gray-900);
}

.project-card__badge--duration {
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    padding: 4px 8px;
    background: var(--gray-50);

    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    color: var(--gray-700);
}

.project-card__badge--duration svg {
    width: 20px;
    height: 20px;
}

.project-card__content {
    padding: 24px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-card__title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: var(--gray-900);
    margin-bottom: 0px;
}

.project-card__title a {
    color: var(--color-text);
    text-decoration: none;
}

.project-card__title a:hover {
    color: var(--color-primary);
}

.project-card__excerpt {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--gray-700);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0px;
}

.project-card__link {
    margin-top: 8px;

    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    text-decoration: none;
    color: var(--blue-600);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
}

.project-card__link:hover {
    color: var(--color-primary-dark);
}

/* -- Promotion Badges -- */
.promotion-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.promotion-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 6px;
    padding: 4px 8px;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    white-space: nowrap;
}

.promotion-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.promotion-badge--active svg,
.promotion-badge--expired svg {
    width: 20px;
    height: 20px;
}

.promotion-badge--active {
    border: 1px solid #86efac;
    background: #f0fdf4;
    color: #16a34a;
}

.promotion-badge--expired {
    border: 1px solid #fca5a5;
    background: #fef2f2;
    color: #dc2626;
}

.promotion-badge--date {
    border: 1px solid var(--gray-300);
    background: var(--gray-50);
    color: var(--gray-700);
}

/* -- Promotion Card -- */
.promotion-card {
    background: var(--base-white);
    overflow: visible;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0;
}

/*.promotion-card::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 24px;
    background: var(--base-white);
    box-shadow: 0 0 0 0 transparent;
    transition: box-shadow 0.3s;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
}*/

/*.promotion-card:hover::before {
    opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}*/

.promotion-card__image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    border: 1px solid var(--gray-300);
    border-radius: 16px;
}

.promotion-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.promotion-card:hover .promotion-card__image img {
    transform: scale(1.08);
}

.promotion-card__content {
    padding: 24px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.promotion-card__title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: var(--gray-900);
    margin: 0;
}

.promotion-card__title a {
    color: inherit;
    text-decoration: none;
}

.promotion-card__title a:hover {
    color: var(--color-primary);
}

.promotion-card__excerpt {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.promotion-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    margin-top: auto;
}

.promotion-card__link:hover {
    text-decoration: underline;
}

.promotion-card__link img {
    width: 16px;
    height: 16px;
}

/* -- Conditions Accordion (FAQ-style) -- */
.conditions-accordion {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--base-white);
}

.conditions-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: var(--gray-900);
    text-align: left;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
}

.conditions-accordion__toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.conditions-accordion__toggle:hover {
    background: var(--gray-50);
    padding: 22px 16px;
}

.conditions-accordion__toggle svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    color: var(--gray-400);
}

.conditions-accordion__toggle.is-open svg {
    transform: rotate(180deg);
}

.conditions-accordion__panel {
    padding: 0 0 24px 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--gray-700);
}

.conditions-accordion__panel p:last-child {
    margin-bottom: 0;
}

/* -- Promotions Grid -- */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.promotions-grid-section .section-title {
    margin-bottom: var(--spacing-lg);
}

/* ================================
   Manager Card
   ================================ */

.single-project__manager-section {
    margin-bottom: var(--spacing-2xl);
}

.single-project__manager-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.manager-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--base-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    max-width: 400px;
}

.manager-card__photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.manager-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manager-card__placeholder {
    color: var(--color-text-muted);
}

.manager-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.manager-card__name {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-text);
}

.manager-card__role {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

.manager-card__office {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--color-primary);
    text-decoration: none;
}

.manager-card__office:hover {
    text-decoration: underline;
}

.manager-card__office svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ================================
   Form Disclaimer
   ================================ */

.form-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--gray-50);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: var(--gray-500);
    margin: 0;
}

.form-disclaimer__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    opacity: 0.6;
}

.form-disclaimer a {
    color: var(--color-primary);
    text-decoration: underline;
}

.form-disclaimer a:hover {
    color: var(--color-primary-dark, var(--color-primary));
}

.manager-card__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--color-text);
    text-decoration: none;
    margin-top: 0.25rem;
    transition: color 0.2s;
}

.manager-card__phone:hover {
    color: var(--color-primary);
}

.manager-card__phone svg {
    width: 16px;
    height: 16px;
}

.manager-card__socials {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.375rem;
}

.manager-card__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background 0.2s;
}

.manager-card__social svg {
    width: 18px;
    height: 18px;
}

.manager-card__social--viber {
    color: #7360f2;
    background: rgba(115, 96, 242, 0.1);
}

.manager-card__social--viber:hover {
    background: rgba(115, 96, 242, 0.2);
}

.manager-card__social--whatsapp {
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

.manager-card__social--whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
}

.manager-card__social--telegram {
    color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
}

.manager-card__social--telegram:hover {
    background: rgba(0, 136, 204, 0.2);
}

.manager-card__link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    margin-top: 0.25rem;
}

.manager-card__link:hover {
    text-decoration: underline;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge--roof-type {
    background: var(--blue-50);
    color: var(--blue-700);
}

/* ================================
   Consultation CTA (Global)
   ================================ */

.acoperisuri-cta__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
    background: var(--base-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
}

.acoperisuri-cta__content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.acoperisuri-cta__content > p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.acoperisuri-cta__contact {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.acoperisuri-cta__contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text);
}

.acoperisuri-cta__contact li svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.acoperisuri-cta__contact li a {
    color: var(--color-text);
    text-decoration: none;
}

.acoperisuri-cta__contact li a:hover {
    color: var(--color-primary);
}

.consultation-form__field {
    margin-bottom: var(--spacing-md);
}

.consultation-form__field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--gray-700);
}

.consultation-form__field input[type="text"],
.consultation-form__field input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.consultation-form__field input:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: -1px;
    border-color: var(--color-primary);
}

.consultation-form__field--checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--color-text-light);
    cursor: pointer;
}

.consultation-form__field--checkbox input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.consultation-form .btn {
    width: 100%;
}

.consultation-form__messages:not(:empty) {
    margin-bottom: var(--spacing-sm);
}

/* ================================
   Manager Block (Shared)
   ================================ */

.location-card__manager {
    display: flex;
    gap: 32px;
}

.location-card__manager--hidden {
    display: none;
}

.location-card__manager-photo {
    width: 200px;
    flex-shrink: 0;
}

.location-card__manager-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.location-card__manager-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: var(--gray-100);
    color: var(--color-text-muted);
    border-radius: 16px;
}

.location-card__manager-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.location-card__manager-name {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    color: var(--gray-900);
}

.location-card__manager-name:hover {
    color: var(--color-primary);
}

.location-card__manager-role {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: var(--gray-700);
}

.location-card__manager-phone {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--gray-900);
    text-decoration: none;
    margin-top: 16px;
    transition: color 0.2s;
}

.location-card__manager-phone:hover {
    color: var(--color-primary);
}

.location-card__manager-phone svg {
    width: 24px;
    height: 24px;
}

.location-card__manager-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.location-card__manager-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: background 0.2s;
    background: var(--gray-100);
}

.location-card__manager-social svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.location-card__manager-social--viber {
    color: #7360f2;
}

.location-card__manager-social--viber:hover {
    background: rgba(115, 96, 242, 0.2);
}

.location-card__manager-social--whatsapp {
    color: #25d366;
}

.location-card__manager-social--whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
}

.location-card__manager-social--telegram {
    color: #0088cc;
}

.location-card__manager-social--telegram:hover {
    background: rgba(0, 136, 204, 0.2);
}

.location-card__manager-link {
    margin-top: 8px;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    text-decoration: none;
    color: var(--blue-600);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
}

.location-card__manager-link:hover {
    color: var(--color-primary-dark);
}

.location-card__manager-link svg {
    width: 16px;
    height: 16px;
}

/* ================================
   Lead Form Section (Global)
   ================================ */

.lead-form-section {
    background: var(--base-white);
    border-bottom: 1px solid var(--gray-200);
}

.lead-form-section--gray {
    background: var(--gray-50);
}

.lead-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
}

.lead-form-content {
    padding: 112px 64px;
    padding-right: 80px;
}

.lead-form-content .section-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    color: var(--gray-900);
}

.lead-form-content .section-description {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 150%;
    color: var(--gray-700);
    text-align: start;
}

.lead-form__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.lead-form__contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.lead-form__contact-list li:last-child {
    margin-bottom: 0;
}

.lead-form__contact-list svg {
    flex-shrink: 0;
    color: var(--gray-500);
}

.lead-form__contact-list a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: var(--gray-900);
}

.lead-form__contact-list a:hover {
    color: var(--color-primary);
}

.lead-form-contact {
    padding: 128px 45px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid var(--gray-200);
    background-color: var(--gray-50);
    background-image: url('../../img/calculator_background_results.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-top: none;
    border-bottom: none;
}

.lead-form-contact__form {
    width: 100%;
    background-color: var(--base-white);
    padding: 32px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 1024px) {
    .lead-form-wrapper {
        grid-template-columns: 1fr;
    }
    /* Reviews slider – 2 cards on tablet */
    .review-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }
    .reviews-header {
        flex-direction: column;
        gap: var(--spacing-sm);
        margin-bottom: 32px;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
    .promotions-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .promotions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    /* Reviews slider – 1 card + 1/3 peek on mobile */
    .reviews-slider__track {
        gap: 16px;
    }
    .review-card {
        flex: 0 0 calc(75% - 12px);
    }
    .reviews-slider {
        padding: 0px;
    }
    .reviews-header__badges {
        flex-direction: row;
    }
    .manager-card {
        max-width: 100%;
    }
    .location-card__manager {
        flex-wrap: wrap;
    }
    .acoperisuri-cta__wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-lg);
    }
    .lead-form-wrapper {
        grid-template-columns: 1fr;
    }
    .lead-form-content {
        padding: 48px 0;
    }
    .lead-form-content .section-title {
        font-size: 32px;
    }
    .lead-form-contact {
        padding: 16px;
        margin-left: calc(-1 * var(--spacing-sm));
        margin-right: calc(-1 * var(--spacing-sm));
        border-top: 1px solid var(--gray-200);
    }
    .conditions-accordion__toggle {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .promotion-badges {
        flex-direction: column;
        align-items: flex-start;
    }
    .manager-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .manager-card__socials {
        justify-content: center;
    }
}

/* ================================
   Search Box (shared)
   ================================ */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box > svg {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
    pointer-events: none;
    flex-shrink: 0;
}

