/* ==========================================================
   AZBEST (ETERNIT) — SKLÁDKA TĚMICE
   Page-specific styles
   ========================================================== */

/* ==========================================================
   ZÁKLAD
   ========================================================== */

.st-page--azbest {
    --azbest-warning: #d97706;
    --azbest-warning-soft: #fff7ed;
    --azbest-danger: #c2410c;
    --azbest-green: #1f5c46;
    --azbest-green-dark: #174936;
}

/* ==========================================================
   SPOLEČNÉ SEKCE
   ========================================================== */

.st-azbest-section {
    position: relative;
    padding: 90px 0;
}

.st-azbest-section--white {
    background: #fff;
}

.st-azbest-section--cream {
    background: #f7f3eb;
}

.st-azbest-section--green {
    background: var(--theme-green, #1f5c46);
}

/* ==========================================================
   NADPIS SEKCE
   ========================================================== */

.st-azbest-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

.st-azbest-heading h2 {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    font-weight: 700;
    color: #173f31;
}

.st-azbest-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #e7f1eb;
    color: #1f5c46;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

/* ==========================================================
   KARTY OBČAN / PODNIKATEL
   ========================================================== */

.st-azbest-parties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.st-azbest-party {
    display: flex;
    flex-direction: column;
    padding: 34px;
    border: 1px solid #e4e8e4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(23, 63, 49, 0.07);
}

.st-azbest-party__header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.st-azbest-party__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #e7f1eb;
    color: #1f5c46;
    font-size: 25px;
}

.st-azbest-kicker {
    margin: 0 0 5px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #718078;
}

.st-azbest-party h3 {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-size: 28px;
    line-height: 1.1;
    color: #173f31;
}

.st-azbest-party > p {
    margin: 0 0 18px;
    color: #53615a;
}

/* ==========================================================
   SEZNAM POŽADAVKŮ
   ========================================================== */

.st-azbest-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.st-azbest-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0ed;
}

.st-azbest-list li:last-child {
    border-bottom: 0;
}

.st-azbest-list li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-top: -2px;
    border-radius: 50%;
    background: #e7f1eb;
    color: #1f5c46;
    font-size: 13px;
    font-weight: 700;
}

.st-azbest-list strong {
    color: #26352e;
    line-height: 1.5;
}

.st-azbest-list small {
    font-weight: 500;
    color: #718078;
}

/* ==========================================================
   PLATBA
   ========================================================== */

.st-azbest-payment {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding: 17px 18px;
    border-radius: 14px;
    background: #f5f8f5;
}

.st-azbest-payment__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e3eee7;
    color: #1f5c46;
}

.st-azbest-payment p {
    margin: 0;
    color: #53615a;
    line-height: 1.45;
}

.st-azbest-payment strong {
    color: #26352e;
}

/* ==========================================================
   FORMULÁŘE V SEKCI 01
   ========================================================== */

.st-azbest-doc-callout {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 22px 26px;
    border-radius: 18px;
    background: #f7f3eb;
    border: 1px solid #ebe5d9;
}

.st-azbest-doc-callout__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    color: #1f5c46;
    font-size: 20px;
}

.st-azbest-doc-callout p {
    margin: 0;
    color: #53615a;
    line-height: 1.55;
}

.st-azbest-doc-callout p:hover a {
    color: var(--azbest-danger);
}

.st-azbest-doc-callout p + p {
    margin-top: 6px;
}

/* ==========================================================
   PROVOZNÍ DOBA
   ========================================================== */

.st-azbest-opening {
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 850px;
    margin: 0 auto;
    padding: 38px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e9e3d8;
    box-shadow: 0 15px 40px rgba(55, 45, 30, 0.07);
}

.st-azbest-opening__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: #e7f1eb;
    color: #1f5c46;
    font-size: 30px;
}

.st-azbest-opening__content {
    flex: 1;
}

.st-azbest-opening__time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.st-azbest-opening__time h3 {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-size: 28px;
    color: #173f31;
}

.st-azbest-opening__time ul {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.st-azbest-opening__time li {
    padding: 10px 16px;
    border-radius: 10px;
    background: #e7f1eb;
    color: #1f5c46;
    font-weight: 700;
}

.st-azbest-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 850px;
    margin: 18px auto 0;
    padding: 17px 20px;
    border-radius: 14px;
    background: #fff7ed;
    color: #9a4d0b;
    border: 1px solid #fed7aa;
}

.st-azbest-warning i {
    font-size: 20px;
}

/* ==========================================================
   HLAVNÍ UPOZORNĚNÍ — SEKCE 03
   ========================================================== */

.st-azbest-main-warning {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 34px;
    padding: 28px 30px;
    border-radius: 20px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.st-azbest-main-warning__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    background: #ffedd5;
    color: #c2410c;
    font-size: 24px;
}

.st-azbest-main-warning h3 {
    margin: 0 0 7px;
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    color: #8a3412;
}

.st-azbest-main-warning p {
    max-width: 850px;
    margin: 0;
    color: #7c4a2a;
    line-height: 1.6;
}

/* ==========================================================
   ZPŮSOB DOPRAVY
   ========================================================== */

.st-azbest-transport {
    margin-top: 28px;
    padding: 34px;
    border-radius: 22px;
    border: 1px solid #e4e8e4;
    background: #fff;
    box-shadow: 0 12px 35px rgba(23, 63, 49, 0.06);
}

.st-azbest-transport__header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.st-azbest-transport__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #e7f1eb;
    color: #1f5c46;
    font-size: 25px;
}

.st-azbest-transport__header h3 {
    margin: 0;
    font-family: "Outfit", sans-serif;
    font-size: 26px;
    line-height: 1.2;
    color: #173f31;
}

/* ==========================================================
   KROKY
   ========================================================== */

.st-azbest-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.st-azbest-steps li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    position: relative;
    padding: 0 0 24px;
}

.st-azbest-steps li:last-child {
    padding-bottom: 0;
}

.st-azbest-steps li > span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #1f5c46;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.st-azbest-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 46px;
    bottom: 0;
    width: 2px;
    background: #dce8e1;
}

.st-azbest-steps p {
    margin: 8px 0 0;
    color: #53615a;
    line-height: 1.65;
}

/* ==========================================================
   DŮLEŽITÉ UPOZORNĚNÍ
   ========================================================== */

.st-azbest-important {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 34px;
    padding: 28px 30px;
    border-radius: 20px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.st-azbest-important__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: #ffedd5;
    color: #c2410c;
    font-size: 23px;
}

.st-azbest-important h3 {
    margin: 0 0 12px;
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    color: #8a3412;
}

.st-azbest-important ul {
    margin: 0;
    padding-left: 20px;
    color: #7c4a2a;
}

.st-azbest-important li {
    margin: 7px 0;
    line-height: 1.55;
}

/* ==========================================================
   DOKUMENTY — SEKCE 04
   ========================================================== */

.st-azbest-section--green .st-azbest-heading h2 {
    color: #fff;
}

.st-azbest-section--green .st-azbest-number {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.st-azbest-documents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.st-azbest-document {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.st-azbest-document__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 22px;
}

.st-azbest-document h3 {
    margin: 0 0 7px;
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    color: #fff;
}

.st-azbest-document p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.st-azbest-order {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    padding: 24px 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.st-azbest-order__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 20px;
}

.st-azbest-order h3 {
    margin: 0 0 5px;
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    color: #fff;
}

.st-azbest-order p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.st-azbest-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 22px;
    border-radius: 12px;
    background: #fff;
    color: #1f5c46;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.st-azbest-button:hover {
    transform: translateY(-2px);
    background: #f1f6f3;
    color: #173f31;
}

/* ==========================================================
   DARK MODE
   ========================================================== */

html.theme-dark .st-page--azbest .st-azbest-section--white {
    background: #10231b;
}

html.theme-dark .st-page--azbest .st-azbest-section--cream {
    background: #18231f;
}

html.theme-dark .st-page--azbest .st-azbest-heading h2 {
    color: #f3f7f4;
}

html.theme-dark .st-page--azbest .st-azbest-number {
    background: rgba(89, 201, 155, 0.14);
    color: #59c99b;
}

html.theme-dark .st-page--azbest .st-azbest-party,
html.theme-dark .st-page--azbest .st-azbest-transport,
html.theme-dark .st-page--azbest .st-azbest-opening {
    background: #162b22;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

html.theme-dark .st-page--azbest .st-azbest-party h3,
html.theme-dark .st-page--azbest .st-azbest-transport__header h3,
html.theme-dark .st-page--azbest .st-azbest-opening__time h3 {
    color: #f3f7f4;
}

html.theme-dark .st-page--azbest .st-azbest-party > p,
html.theme-dark .st-page--azbest .st-azbest-steps p,
html.theme-dark .st-page--azbest .st-azbest-opening__content {
    color: #c1d0c8;
}

html.theme-dark .st-page--azbest .st-azbest-list li {
    border-color: rgba(255, 255, 255, 0.08);
}

html.theme-dark .st-page--azbest .st-azbest-list strong {
    color: #e7efe9;
}

html.theme-dark .st-page--azbest .st-azbest-list small {
    color: #aebfb5;
}

html.theme-dark .st-page--azbest .st-azbest-party__icon,
html.theme-dark .st-page--azbest .st-azbest-transport__icon,
html.theme-dark .st-page--azbest .st-azbest-opening__icon {
    background: rgba(89, 201, 155, 0.12);
    color: #59c99b;
}

html.theme-dark .st-page--azbest .st-azbest-payment {
    background: rgba(255, 255, 255, 0.05);
}

html.theme-dark .st-page--azbest .st-azbest-payment__icon {
    background: rgba(89, 201, 155, 0.12);
    color: #59c99b;
}

html.theme-dark .st-page--azbest .st-azbest-payment p {
    color: #b8c9bf;
}

html.theme-dark .st-page--azbest .st-azbest-payment strong {
    color: #edf4ef;
}

html.theme-dark .st-page--azbest .st-azbest-doc-callout {
    background: #1b2b25;
    border-color: rgba(255, 255, 255, 0.08);
}

html.theme-dark .st-page--azbest .st-azbest-doc-callout__icon {
    background: #22372e;
    color: #59c99b;
}

html.theme-dark .st-page--azbest .st-azbest-doc-callout p {
    color: #c1d0c8;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {
    .st-azbest-section {
        padding: 72px 0;
    }

    .st-azbest-parties,
    .st-azbest-documents {
        grid-template-columns: 1fr;
    }

    .st-azbest-opening__time {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .st-azbest-section {
        padding: 58px 0;
    }

    .st-azbest-heading {
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 32px;
    }

    .st-azbest-number {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 15px;
    }

    .st-azbest-heading h2 {
        font-size: 30px;
    }

    .st-azbest-party,
    .st-azbest-transport {
        padding: 24px;
        border-radius: 18px;
    }

    .st-azbest-party__header,
    .st-azbest-transport__header {
        align-items: flex-start;
    }

    .st-azbest-party h3,
    .st-azbest-transport__header h3 {
        font-size: 23px;
    }

    .st-azbest-opening {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px;
    }

    .st-azbest-opening__time ul {
        flex-wrap: wrap;
    }

    .st-azbest-main-warning,
    .st-azbest-important,
    .st-azbest-doc-callout,
    .st-azbest-order {
        align-items: flex-start;
        padding: 22px;
    }

    .st-azbest-steps li {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
    }

    .st-azbest-steps li > span {
        width: 40px;
        height: 40px;
    }

    .st-azbest-steps li:not(:last-child)::after {
        left: 19px;
        top: 40px;
    }
}

/* ==========================================================
   AZBEST — DESKTOP ŠÍŘKA OBSAHU
   ========================================================== */

@media (min-width: 901px) {

  .st-page--azbest .st-azbest-section .st-container {
    width: min(90vw, 1180px);
    max-width: 1180px;
  }

  .st-page--azbest .st-azbest-opening,
  .st-page--azbest .st-azbest-warning {
    width: 100%;
    max-width: 980px;
  }
}

/* ==========================================================
   SEKCE 02 — PROVOZNÍ DOBA
   Zarovnání podle ostatních hlavních bloků
   ========================================================== */

@media (min-width: 901px) {

  .st-page--azbest .st-azbest-opening {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .st-page--azbest .st-azbest-warning {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

}

/* ==========================================================
   AZBEST — DARK MODE UPOZORNĚNÍ
   ========================================================== */

html.theme-dark .st-page--azbest .st-azbest-main-warning,
html.theme-dark .st-page--azbest .st-azbest-important {
    background: #2a2118;
    border-color: rgba(217, 119, 6, 0.35);
}

html.theme-dark .st-page--azbest .st-azbest-main-warning h3,
html.theme-dark .st-page--azbest .st-azbest-important h3 {
    color: #ffcf9b !important;
}

html.theme-dark .st-page--azbest .st-azbest-main-warning p {
    color: #e2c7ad !important;
}

html.theme-dark .st-page--azbest .st-azbest-important ul {
    color: #e2c7ad !important;
}

html.theme-dark .st-page--azbest .st-azbest-main-warning__icon,
html.theme-dark .st-page--azbest .st-azbest-important__icon {
    background: rgba(217, 119, 6, 0.16);
    color: #ffb45c;
}

html.theme-dark .st-page--azbest .st-azbest-button {
    background: #e7f1eb;
    color: #174936;
}

html.theme-dark .st-page--azbest .st-azbest-button:hover {
    background: #ffffff;
    color: #174936;
}