/* =========================================================
   slomalas-stiralka.help — Landing page styles
   ========================================================= */

/* ----- Variables ----- */
:root {
    --brand: #0ea5e9;
    --brand-dark: #0284c7;
    --brand-light: #e0f2fe;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 14px;
    --radius-sm: 8px;
    --max-width: 1200px;
    --header-h: 72px;
}

/* ----- Reset / Base ----- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

a {
    color: var(--brand-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, p {
    margin: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 760px;
    margin: 0 auto 48px;
}

/* ----- Header ----- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--text);
}

.logo__icon {
    width: 38px;
    height: 38px;
    background: var(--brand);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.3rem;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav a:hover {
    color: var(--brand-dark);
}

.header__phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header__phone a {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text);
}

.header__phone span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

.btn--primary:hover {
    background: var(--accent-hover);
}

.btn--secondary {
    background: var(--brand);
    color: #fff;
}

.btn--secondary:hover {
    background: var(--brand-dark);
}

.btn--outline {
    background: transparent;
    color: var(--brand-dark);
    border: 2px solid var(--brand);
}

.btn--outline:hover {
    background: var(--brand-light);
}

.burger {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
}

.burger span {
    display: block;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
}

/* ----- Hero ----- */
.hero {
    padding: 90px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero__title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__title span {
    color: var(--brand-dark);
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.hero__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.hero__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.hero__list li::before {
    content: "✓";
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
}

.hero__image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero__badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #fff;
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--accent);
}

.hero__badge small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ----- Quick bar ----- */
.quickbar {
    background: #fff;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.quickbar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quickbar__item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.quickbar__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--brand-light);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.quickbar__title {
    font-weight: 800;
    font-size: 0.95rem;
}

.quickbar__text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ----- Cards ----- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--brand-light);
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    margin-bottom: 18px;
}

.card__title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.card__text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ----- Catalog / Accordion ----- */
.catalog {
    background: var(--bg-alt);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
}

.accordion__item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion__header {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}

.accordion__header::after {
    content: "+";
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand-dark);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.accordion__item.is-open .accordion__header::after {
    content: "−";
    background: var(--brand);
    color: #fff;
    transform: rotate(180deg);
}

.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.accordion__content {
    padding: 0 24px 24px;
}

.accordion__content p {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.accordion__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.accordion__meta div {
    background: var(--bg-alt);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
}

.accordion__meta strong {
    display: block;
    color: var(--text);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.accordion__meta ul li {
    position: relative;
    padding-left: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.accordion__meta ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand);
}

/* ----- Info section ----- */
.info-section {
    background: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.info-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: start;
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 20px;
}

.info-card__img {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #e2e8f0;
    aspect-ratio: 1 / 1;
}

.info-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.info-card__text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ----- Steps ----- */
.steps {
    background: var(--bg-alt);
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    border: 1px solid var(--border);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -18px;
    left: 24px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.1rem;
}

.step__title {
    margin-top: 10px;
    font-weight: 800;
    margin-bottom: 8px;
}

.step__text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ----- Pricing ----- */
.pricing {
    background: #fff;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.price-table th {
    background: var(--brand);
    color: #fff;
    font-weight: 800;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table td:last-child {
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
}

/* ----- Calculator ----- */
.calculator {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
}

.calculator .section-title,
.calculator .section-subtitle {
    color: #fff;
}

.calc__box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border-radius: var(--radius);
    padding: 36px;
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calc__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.calc__field label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.calc__field select,
.calc__field input {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 1rem;
    background: #fff;
    color: var(--text);
}

.calc__result {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.calc__price {
    font-size: 2.4rem;
    font-weight: 900;
}

.calc__note {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ----- Map / Districts ----- */
.districts {
    background: var(--bg-alt);
}

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

.districts__map {
    background: #dbeafe;
    border-radius: var(--radius);
    min-height: 360px;
    display: grid;
    place-items: center;
    color: var(--brand-dark);
    font-weight: 800;
    border: 2px dashed var(--brand);
    overflow: hidden;
}

.map-widget {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 360px;
}

.map-widget iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

.map-widget__link {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 2;
    color: #eee;
    font-size: 12px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    pointer-events: none;
}

.map-widget__link--second {
    top: 20px;
}

.districts__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.districts__list li {
    background: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    border: 1px solid var(--border);
}

/* ----- Reviews ----- */
.reviews {
    background: #fff;
}

.review-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 26px;
    border: 1px solid var(--border);
}

.review-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.review-card__name {
    font-weight: 800;
}

.review-card__stars {
    color: #fbbf24;
    font-size: 0.95rem;
}

.review-card__text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ----- FAQ ----- */
.faq {
    background: var(--bg-alt);
}

.faq .accordion__header {
    font-weight: 700;
    font-size: 1rem;
}

.faq .accordion__content p {
    color: var(--text-muted);
}

/* ----- CTA form ----- */
.cta {
    background: #fff;
}

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

.cta__info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta__info p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.cta__contacts li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 700;
}

.cta__form {
    background: var(--bg-alt);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form__field {
    margin-bottom: 18px;
}

.form__field label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.form__field input,
.form__field textarea,
.form__field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: #fff;
}

.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-light);
}

.form__error {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form__field.is-invalid input,
.form__field.is-invalid textarea {
    border-color: #dc2626;
}

.form__field.is-invalid .form__error {
    display: block;
}

.form__privacy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 14px;
}

/* ----- Footer ----- */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 14px;
    display: inline-block;
}

.footer__desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer__title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer__list li {
    margin-bottom: 10px;
}

.footer__list a {
    color: #cbd5e1;
}

.footer__list a:hover {
    color: #fff;
}

.footer__phone {
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
}

.footer__bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ----- Privacy page ----- */
.privacy {
    padding: 60px 0;
}

.privacy h1 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.privacy h2 {
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.privacy p {
    margin-bottom: 14px;
    color: var(--text-muted);
}

/* ----- Mobile menu overlay ----- */
.mobile-menu {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    z-index: 999;
    padding: 24px;
    flex-direction: column;
    gap: 18px;
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .hero__inner,
    .cta__grid,
    .districts__grid {
        grid-template-columns: 1fr;
    }

    .hero__image {
        order: -1;
    }

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

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

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav,
    .header__phone {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .steps__grid,
    .quickbar__grid,
    .info-grid,
    .footer__grid,
    .calc__row,
    .accordion__meta,
    .districts__list {
        grid-template-columns: 1fr;
    }

    .price-table th,
    .price-table td {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .hero__badge {
        left: 10px;
        bottom: -10px;
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}
