/* ═══════════════════════════════════════════════
   NORDSTAR — Main Stylesheet
   Colors, typography, layout, components, responsive
   ═══════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
    /* Colors */
    --color-primary: #060097;
    --color-secondary: #F29F05;
    --color-accent: #c10fff;
    --color-dark: #1e293b;
    --color-text: #67768e;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    --color-bg-gray: #f2f5f7;
    --color-success: #22c55e;
    --color-error: #ef4444;
    --color-telegram: #29A9EB;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-nav: 'Source Sans 3', 'Plus Jakarta Sans', system-ui, sans-serif;

    /* Sizes */
    --container: 1200px;
    --header-height: 140px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.3s;
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

ul, ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input,
textarea {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

/* Screen reader only */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.screen-reader-text:focus {
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 100000;
    width: auto;
    height: auto;
    padding: 12px 24px;
    clip: auto;
    background: var(--color-bg);
    color: var(--color-dark);
    font-size: 14px;
    box-shadow: var(--shadow-lg);
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Section Base ── */
.section {
    padding: 64px 0;
}

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.67rem);
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.section__title--large {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
}

.section__description {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-secondary);
    color: #fff;
    border-radius: 5px;
}

.btn--primary:hover {
    background: #d98e04;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--large {
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 50px;
    color: var(--color-dark);
    font-weight: 700;
}

/* ══════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════ */
.site-header {
    position: relative;
    z-index: 1000;
    background: var(--color-bg);
}

/* Header Top */
.header-top > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 24px;
}

.header-logo a {
    display: block;
}

.header-logo img,
.header-logo .custom-logo {
    height: 120px;
    width: auto;
}

/* Header locations */
.header-locations {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.header-locations .icon--pin {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.header-locations__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-locations__list strong {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
}

/* Header contact info */
.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.header-contact__hours {
    font-size: 14px;
    font-style: italic;
    color: var(--color-text-light);
}

.header-contact__phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
}

.header-contact__phone .icon--phone {
    color: var(--color-secondary);
    width: 30px;
    height: 30px;
    animation: phone-ring 3s ease infinite;
    transform-origin: center center;
}

@keyframes phone-ring {
    0%, 100% { transform: rotate(0); }
    4% { transform: rotate(15deg); }
    8% { transform: rotate(-13deg); }
    12% { transform: rotate(12deg); }
    16% { transform: rotate(-10deg); }
    20% { transform: rotate(6deg); }
    24% { transform: rotate(0); }
}

.header-contact__phone:hover {
    color: var(--color-secondary);
}

.header-contact__cta {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--color-secondary);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 4px;
    transition: background var(--duration) var(--ease);
}

.header-contact__cta:hover {
    background: #d98e04;
    color: #fff;
}

/* Mobile phone (hidden on desktop) */
.header-mobile-phone {
    display: none;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
}

.mobile-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Header Nav */
.header-nav {
    border-top: 1px solid var(--color-border);
}

.header-nav > .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-nav__list {
    display: flex;
    gap: 0;
}

.main-nav__list .menu-item a {
    display: block;
    padding: 16px 40px;
    font-family: var(--font-nav);
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    position: relative;
    transition: color var(--duration) var(--ease);
}

.main-nav__list .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 2px 2px 0 0;
    transition: width var(--duration) var(--ease);
}

.main-nav__list .menu-item a:hover,
.main-nav__list .current-menu-item a,
.main-nav__list .current_page_item a {
    color: var(--color-secondary);
}

.main-nav__list .menu-item a:hover::after,
.main-nav__list .current-menu-item a::after,
.main-nav__list .current_page_item a::after {
    width: 100%;
}

.header-nav__social {
    position: absolute;
    right: 20px;
}

.header-nav__social a {
    display: flex;
    align-items: center;
    transition: transform var(--duration) var(--ease);
}

.header-nav__social a:hover {
    transform: scale(1.1);
}

/* ══════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════ */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 10px;
    max-width: 1200px;
    margin: 0 auto 36px;
}

.hero__wrap {
    grid-row: 1;
    grid-column: 1;
    background: var(--hero-bg, linear-gradient(135deg, #1e293b, #334155)) center/cover no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

.hero__wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.42;
    z-index: 1;
}

.hero__inner {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: stretch;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 59px;
    position: relative;
    z-index: 2;
}

.hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 10px 40px;
    padding-right: 370px; /* leave space for the form overlay */
    gap: 16px;
    min-height: 520px;
}

.hero__form-title {
    display: none;
}

.hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    font-weight: 600;
    font-family: var(--font-nav);
    color: #fff;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 0;
}

.hero__subtitle {
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.hero__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 8px;
}

.hero__feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.hero__feature-check svg {
    width: 41px;
    height: 41px;
}

/* Desktop: white circle, dark checkmark */
.hero__feature-check circle {
    fill: #fff;
}

.hero__feature-check path {
    fill: var(--color-dark);
}

/* Hero form — overlays hero on desktop, separate section on mobile */
.hero__form-wrap {
    grid-row: 1;
    grid-column: 1;
    justify-self: end;
    align-self: center;
    z-index: 3;
    width: 340px;
    background: rgba(64, 64, 64, 0.78);
    border-radius: 25px;
    padding: 18px 20px 10px;
    margin: 11px 59px 19px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero form overrides — white labels, light inputs */
.hero__form-wrap .contact-form__label {
    color: #fff;
}

.hero__form-wrap .contact-form__input {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-dark);
}

.hero__form-wrap .contact-form__consent {
    color: rgba(255, 255, 255, 0.7);
}

.hero__form-wrap .contact-form__consent a {
    color: var(--color-secondary);
}

/* ══════════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════════ */
.contact-form__group {
    margin-bottom: 10px;
}

.contact-form__label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 6px;
}

.contact-form__input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--color-bg);
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    outline: none;
}

.contact-form__input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(242, 159, 5, 0.2);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 70px;
}

.contact-form__submit {
    width: 100%;
    margin-top: 8px;
}

.contact-form__consent {
    margin-top: 12px;
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.5;
}

.contact-form__consent a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.contact-form__message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}

.contact-form__message--success {
    background: #f0fdf4;
    color: var(--color-success);
    border: 1px solid #bbf7d0;
}

.contact-form__message--error {
    background: #fef2f2;
    color: var(--color-error);
    border: 1px solid #fecaca;
}

.contact-form__submit .btn__loader[hidden] {
    display: none;
}

/* ══════════════════════════════════════════════
   WHY CHOOSE US
   ══════════════════════════════════════════════ */
.why-choose {
    background: var(--color-bg);
}

.why-choose__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.why-choose__card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

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

.why-choose__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
}

.why-choose__icon img,
.why-choose__icon svg {
    width: 72px;
    height: 72px;
    object-fit: contain;
    color: var(--color-secondary);
}

.why-choose__card-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.why-choose__card-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════
   BRANDS
   ══════════════════════════════════════════════ */
.brands {
    background: var(--color-bg-gray);
}

.brands__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.brands__title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 16px;
    color: var(--color-dark);
}

.brands__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
}

.brands__viewport {
    overflow: hidden;
    max-width: 460px;
}

.brands__track {
    display: flex;
    gap: 20px;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.brands__set {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex-shrink: 0;
}

.brands__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--radius);
}

.brands__item img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
}

/* ══════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════ */
.services {
    background: var(--color-bg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.services__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--color-bg-light);
    transition: all var(--duration) var(--ease);
}

.services__card:hover {
    background: var(--color-bg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.services__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.services__icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.services__card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.services__card-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════
   ABOUT BLOCK (Homepage)
   ══════════════════════════════════════════════ */
.about-block {
    background: var(--color-bg-gray);
}

.about-block__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-block__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
}

.about-block__text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
}

.about-block__text p + p {
    margin-top: 16px;
}

.about-block__img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ══════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════ */
.testimonials {
    background: var(--color-bg);
}

.testimonials__slider {
    max-width: 1000px;
    margin: 40px auto 0;
    overflow: hidden;
    position: relative;
}

.testimonials__track {
    display: flex;
    transition: transform 0.5s var(--ease);
}

.testimonials__slide {
    min-width: 100%;
    padding: 0 16px;
    display: flex;
    gap: 24px;
}

.testimonials__item {
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.testimonials__name-col {
    flex-shrink: 0;
    width: 80px;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.testimonials__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonials__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--color-dark);
    line-height: 1.3;
}

.testimonials__card {
    flex: 1;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.testimonials__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 12px;
    font-style: italic;
}

/* Stars */
.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 20px;
    line-height: 1;
}

.star--filled {
    color: var(--color-secondary);
}

.star--empty {
    color: var(--color-border);
}

/* Slider controls */
.testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.testimonials__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    transition: all var(--duration) var(--ease);
}

.testimonials__btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.testimonials__dots {
    display: flex;
    gap: 8px;
}

.testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    padding: 0;
}

.testimonials__dot.is-active {
    background: var(--color-secondary);
    transform: scale(1.2);
}

/* ══════════════════════════════════════════════
   3 EASY STEPS
   ══════════════════════════════════════════════ */
.steps {
    background: var(--color-bg-light);
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.steps__card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 480px;
    display: flex;
    background:
        var(--step-bg, linear-gradient(135deg, #334155, #1e293b)) center/cover no-repeat;
}

/* Without images, keep text at bottom */
.steps__card:not(:has(.steps__card-img)) {
    align-items: flex-end;
    flex-direction: column;
}

/* Step 1: horizontal — text left, image right */
.steps__card--1 {
    flex-direction: row;
    align-items: stretch;
}

.steps__card--1 .steps__card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.steps__card--1 .steps__card-img {
    position: relative;
    z-index: 2;
    flex: 0 0 45%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0;
}

.steps__card--1 .steps__card-img img {
    max-height: 350px;
    width: auto;
    object-fit: contain;
}

/* Step 2: vertical — text top, image bottom */
.steps__card--2 {
    flex-direction: column;
}

.steps__card--2 .steps__card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Step 3: vertical — text top, image bottom */
.steps__card--3 {
    flex-direction: column;
}

.steps__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.steps__card-content {
    position: relative;
    z-index: 2;
    padding: 24px 24px 8px;
    color: #fff;
}

/* Steps image area */
.steps__card-img {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    flex: 1;
    padding: 0;
}

.steps__card-img img {
    max-height: 280px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

/* Step 2: image centered bottom */
.steps__card--2 .steps__card-img {
    justify-content: center;
}

.steps__card--2 .steps__card-img img {
    max-height: 300px;
}

/* Step 3: image centered (handshake) */
.steps__card--3 .steps__card-img {
    justify-content: center;
}

.steps__card--3 .steps__card-img img {
    max-height: 300px;
}

.steps__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 24px;
    background: var(--color-secondary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.steps__card-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
}

.steps__phone {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
    white-space: nowrap;
    transition: color var(--duration) var(--ease);
}

.steps__phone:hover {
    color: #fff;
}

.steps__card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.steps__cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.steps__cta:hover {
    color: #fff;
}

/* ══════════════════════════════════════════════
   COMMON ISSUES
   ══════════════════════════════════════════════ */
.issues {
    background: var(--color-bg);
}

.issues__list {
    margin-top: 40px;
}

.issues__row {
    padding: 28px 0;
}

.issues__row:nth-child(odd) {
    background: var(--color-bg-gray);
}

.issues__row:nth-child(even) {
    background: var(--color-bg);
}

.issues__row-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.issues__row-title {
    font-size: 18px;
    color: var(--color-dark);
}

.issues__row-desc {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════
   COVERAGE AREA
   ══════════════════════════════════════════════ */
.coverage {
    background: var(--color-bg-gray);
}

.coverage__map {
    margin-top: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.coverage__map iframe {
    width: 100%;
    height: 520px;
    border: 0;
    display: block;
    margin-top: -70px;
}

.coverage__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: var(--color-bg-light);
    color: var(--color-text-light);
    font-size: 14px;
}

/* ══════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════ */
.about-hero {
    padding: 48px 0 32px;
}

.about-content__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-content__subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.about-content__body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
}

.about-content__body p + p {
    margin-top: 16px;
}

.about-content__cta {
    margin-top: 32px;
}

.about-content__cta-text {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.about-content__img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ══════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════ */
.contact-section {
    background: var(--color-bg-gray);
    padding: 48px 0 80px;
}

.contact-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info__icon {
    flex-shrink: 0;
    color: var(--color-secondary);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info__icon svg {
    width: 36px;
    height: 36px;
}

.contact-info__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info__title a {
    color: var(--color-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-info__title a:hover {
    color: var(--color-secondary);
}

.contact-info__value {
    font-size: 15px;
    color: var(--color-text-light);
}

.contact-section__form {
    background: var(--color-bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.site-footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 32px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer-hours {
    font-size: 14px;
    font-style: italic;
    color: var(--color-text-light);
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
}

.footer-phone .icon--phone {
    color: var(--color-secondary);
}

.footer-phone:hover {
    color: var(--color-secondary);
}

.footer-email {
    font-size: 14px;
    color: var(--color-secondary);
    font-weight: 500;
}

.footer-email:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════════
   FLOATING ELEMENTS
   ══════════════════════════════════════════════ */
.floating-telegram {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: var(--color-telegram);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--duration) var(--ease);
}

.floating-telegram:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(41, 169, 235, 0.4);
}

.scroll-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 998;
    width: 44px;
    height: 44px;
    background: var(--color-secondary);
    color: var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--duration) var(--ease);
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #d98e04;
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   ANIMATIONS (Intersection Observer based)
   ══════════════════════════════════════════════ */
[data-animate] {
    opacity: 0;
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Tablet (max 1024px)
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero {
        padding: 0;
    }

    .hero__wrap {
        border-radius: 0;
    }

    .hero__inner {
        flex-direction: column;
        padding: 0 0px 20px;
    }

    .hero__content {
        min-height: 60vh;
        justify-content: space-between;
        padding: 40px 30px 30px;
        padding-right: 30px;
    }

    .hero__form-wrap {
        grid-row: 2;
        grid-column: 1;
        width: 100%;
        background: #fff;
        border-radius: 0;
        margin: 0;
        padding: 40px 20px;
        justify-self: stretch;
        align-self: auto;
    }

    .hero__form-wrap .contact-form {
        max-width: 400px;
        margin: 0 auto;
        background: #fff;
        border-radius: 25px;
        padding: 24px 20px;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    }

    .hero__form-title {
        display: block;
        font-family: var(--font-heading);
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--color-dark);
        text-align: center;
        margin-bottom: 24px;
    }

    .hero__form-wrap .contact-form__label {
        color: var(--color-dark);
    }

    .hero__form-wrap .contact-form__consent {
        color: var(--color-text);
    }

    .hero__form-wrap .contact-form__input {
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        padding: 12px 16px;
    }

    .about-block__inner,
    .about-content__inner,
    .contact-section__inner,
    .brands__split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .brands__title {
        text-align: center;
    }

    .brands__desc {
        text-align: center;
    }

    .steps__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .why-choose__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Mobile (max 768px)
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --header-height: auto;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 40px 0;
    }

    /* Sticky header on mobile */
    .site-header {
        position: sticky;
        top: 0;
    }

    /* Header mobile */
    .header-locations,
    .header-contact {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile phone — centered between logo and burger */
    .header-mobile-phone {
        display: flex;
        align-items: center;
        font-family: var(--font-heading);
        font-size: 20px;
        font-weight: 700;
        color: var(--color-dark);
        text-decoration: none;
        margin: 0 auto;
        animation: phone-shake 10s ease-in-out 5s infinite;
    }

    @keyframes phone-shake {
        0%, 2% { transform: translateX(0); }
        5% { transform: translateX(-12px); }
        8% { transform: translateX(10px); }
        11% { transform: translateX(-8px); }
        14% { transform: translateX(6px); }
        17% { transform: translateX(-3px); }
        20%, 100% { transform: translateX(0); }
    }

    .header-top > .container {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .header-logo img,
    .header-logo .custom-logo {
        height: 56px;
    }

    /* Mobile nav */
    .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all var(--duration) var(--ease);
    }

    .header-nav.is-open {
        opacity: 1;
        visibility: visible;
    }

    .header-nav > .container {
        flex-direction: column;
        gap: 24px;
    }

    .main-nav__list {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .main-nav__list .menu-item a {
        font-size: 24px;
        padding: 12px 24px;
    }

    /* Hero */
    .hero {
        padding: 0;
    }

    .hero__wrap {
        border-radius: 0;
    }

    .hero__wrap::before {
        opacity: 0.32;
    }

    .hero__title {
        font-size: 2.4rem;
        text-align: center;
    }

    .hero__subtitle {
        display: none;
    }

    .hero__content {
        min-height: 80vh;
        justify-content: space-between;
        padding: 40px 20px 30px;
    }

    .hero__features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero__feature {
        flex-direction: row;
        align-items: center;
        font-size: 1.4rem;
        gap: 10px;
        white-space: nowrap;
    }

    .hero__feature-check svg {
        width: 32px;
        height: 32px;
    }

    .hero__feature-check circle {
        fill: var(--color-secondary);
    }

    .hero__feature-check path {
        fill: #fff;
    }

    .hero__form-wrap {
        padding: 30px 16px;
        background: #f3f4f6;
    }

    .hero__form-wrap .contact-form__input {
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        padding: 12px 16px;
        background: #fff;
    }

    .hero__form-title {
        font-size: 1.5rem;
    }

    /* Steps — same layout as desktop, just smaller & stacked */
    .steps__grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .steps__card--1 .steps__card-img img {
        max-height: 200px;
    }

    .steps__card-img img {
        max-height: 180px;
    }

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

    .services__card {
        padding: 20px 12px;
    }

    /* Testimonials — 1 review at a time, name+photo below */
    .testimonials__slide {
        flex-direction: column;
    }

    .testimonials__slide .testimonials__item:nth-child(2) {
        display: none;
    }

    .testimonials__item {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .testimonials__name-col {
        width: auto;
        padding-top: 0;
        flex-direction: row;
        align-items: center;
    }

    .testimonials__card {
        padding: 20px;
    }

    /* Issues */
    .issues__row {
        padding: 20px 0;
    }

    /* Why choose */
    .why-choose__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .why-choose {
        padding-top: 0;
    }

    .why-choose__card {
        padding: 0px 24px;
    }

    /* Coverage */
    .coverage__map iframe {
        height: 300px;
    }

    /* Floating */
    .floating-telegram {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

    .floating-telegram svg {
        width: 24px;
        height: 24px;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 16px;
        left: 16px;
    }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Small Mobile (max 480px)
   ══════════════════════════════════════════════ */
@media (max-width: 480px) {
    .services__grid {
        grid-template-columns: 1fr;
    }

    .issues__row {
        padding: 16px 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .contact-section__form {
        padding: 20px;
    }
}

/* ══════════════════════════════════════════════
   DEFAULT PAGE / ENTRY CONTENT
   ══════════════════════════════════════════════ */
.page-default .section {
    padding: 48px 0 80px;
}

.entry-content {
    max-width: 720px;
    margin: 32px auto 0;
}

.entry-content h2 {
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.entry-content h3 {
    font-size: 1.25rem;
    margin-top: 24px;
    margin-bottom: 8px;
}

.entry-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
    list-style: disc;
}

.entry-content a {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* ── Callback Popup ── */
.callback-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callback-popup[hidden] {
    display: none;
}

.callback-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.callback-popup__container {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    width: 440px;
    max-width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.callback-popup__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 4px 8px;
    z-index: 1;
}

.callback-popup__close:hover {
    color: #000;
}

.callback-popup__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 4px;
}

.callback-popup__subtitle {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 24px;
}

.callback-form__group {
    margin-bottom: 16px;
}

.callback-form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.callback-form__label span {
    color: #e53e3e;
}

.callback-form__input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.callback-form__input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(242, 159, 5, 0.15);
}

.callback-form__textarea {
    resize: vertical;
    min-height: 70px;
}

.callback-form__submit {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    font-size: 1rem;
}

.callback-form__message {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 12px;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.callback-form__message--success {
    color: #16a34a;
    background: #f0fdf4;
}

.callback-form__message--error {
    color: #dc2626;
    background: #fef2f2;
}

/* ── Privacy / Terms Popup ── */
.privacy-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-popup[hidden] {
    display: none;
}

.privacy-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.privacy-popup__container {
    position: relative;
    background: #fff;
    border-radius: 5px;
    padding: 28px;
    width: 768px;
    max-width: 85%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px 4px rgba(2, 2, 2, 0.5);
    -webkit-overflow-scrolling: touch;
}

.privacy-popup__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 4px 8px;
    z-index: 1;
}

.privacy-popup__close:hover {
    color: #000;
}

.privacy-popup__content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 24px 0 12px;
}

.privacy-popup__content h3:first-child {
    margin-top: 0;
}

.privacy-popup__content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 20px 0 8px;
}

.privacy-popup__content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 16px 0 6px;
}

.privacy-popup__content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
}

.privacy-popup__content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 12px;
}

.privacy-popup__content li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 4px;
}
