@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Raleway:wght@400;600;700&display=swap');

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #ffffff url('../images/footer-wave.jpg') no-repeat center bottom 330px;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.page {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: clip;
}

/* ---------- Header ---------- */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 134px;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 20px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    transition: height 0.25s ease, box-shadow 0.25s ease;
    will-change: height;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: -1;
    pointer-events: none;
    transition: background 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled::before {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.site-header.is-scrolled {
    height: 66px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1599px) {
    .site-header { max-width: 1200px; }
}

.site-header__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    width: 290px;
    flex-shrink: 0;
    transition: width 0.25s ease;
    will-change: width;
}

.brand {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-header.is-scrolled .site-header__brand {
    width: 200px;
}

.brand__logo {
    width: 100%;
    aspect-ratio: 4 / 1;
    height: auto;
    background: url('../images/logo.png') no-repeat center/contain;
}

img.brand__logo--img {
    background: none;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 1;
    object-fit: contain;
    object-position: center;
}

.brand__tagline {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 14.4px;
    line-height: 18px;
    color: #000;
    text-align: center;
    white-space: nowrap;
    opacity: 1;
    height: 18px;
    margin-top: 10px;
    overflow: hidden;
    transition: opacity 0.25s ease, height 0.25s ease, margin-top 0.25s ease;
    will-change: opacity, height;
}

.site-header.is-scrolled .brand__tagline {
    opacity: 0;
    height: 0;
    margin-top: 0;
}

.site-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
}

.site-nav__item {
    padding: 0 15px;
    flex-shrink: 0;
}

.site-nav__link {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 19px;
    color: #000;
    padding: 18px 0 20px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
    white-space: nowrap;
}

@media (max-width: 1599px) {
    .site-nav__item { padding: 0 10px; }
    .site-nav__link { font-size: 15px; }
}

.site-nav__link:hover,
.site-nav__link.is-active {
    border-bottom-color: var(--brand-color);
}

/* ---------- Dropdown submenu ---------- */
.site-nav__item--has-children { position: relative; }

.site-nav__link--heading { cursor: default; }

.site-nav__caret {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.7em;
    transition: transform 0.15s ease;
    color: #6b7280;
}

.site-nav__item--has-children:hover .site-nav__caret { transform: rotate(180deg); }

.site-nav__submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: 100;
}

.site-nav__item--has-children:hover .site-nav__submenu,
.site-nav__item--has-children:focus-within .site-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.site-nav__submenu li { padding: 0; }

.site-nav__submenu a,
.site-nav__submenu-heading {
    display: block;
    padding: 9px 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    color: #111827;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav__submenu a:hover {
    background-color: rgba(45, 172, 174, 0.08);
    color: var(--brand-color);
}

.site-nav__submenu-heading {
    color: #9ca3af;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 999px) {
    /* Mobile menu: submenu is collapsed by default, tap parent to expand */
    .site-nav__item--has-children { position: relative; }

    /* Nullify desktop hover/focus transforms — on touch they kick in and shift
       the absolute-positioned submenu off-screen. */
    .site-nav__item--has-children:hover .site-nav__submenu,
    .site-nav__item--has-children:focus-within .site-nav__submenu {
        transform: none;
        position: static;
    }

    .site-nav__item--has-children > .site-nav__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

    .site-nav__caret {
        display: inline-block;
        margin-left: 8px;
        font-size: 14px;
        color: #6b7280;
        transition: transform 0.2s ease;
    }

    .site-nav__item--has-children.is-open > .site-nav__link .site-nav__caret {
        transform: rotate(180deg);
    }

    .site-nav__submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: 0;
        background: transparent;
        min-width: 0;
        margin: 0;
        padding: 0 0 0 16px;
        list-style: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease, padding 0.25s ease;
    }

    .site-nav__item--has-children.is-open > .site-nav__submenu {
        max-height: 600px;
        padding: 4px 0 12px 16px;
    }

    .site-nav__submenu a,
    .site-nav__submenu-heading {
        padding: 8px 0;
        font-size: 15px;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    margin: 0 auto;
    padding: 40px 20px 0;
    max-width: 1200px;
    width: 100%;
}

.site-footer__inner {
    position: relative;
    display: grid;
    grid-template-columns: 290px 1fr 340px;
    gap: 20px;
    align-items: start;
    min-height: 295.56px;
}

.site-footer__brand {
    width: 290px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer__socials {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    gap: 12px;
    align-self: flex-start;
    padding-left: 8px;
}

.site-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--brand-color, #2dacae);
    border: 1px solid currentColor;
    transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.site-footer__socials a:hover {
    background-color: var(--brand-color, #2dacae);
    color: #fff;
    transform: translateY(-1px);
}

.site-footer__socials svg {
    width: 18px;
    height: 18px;
}

.site-footer__contact {
    padding-top: 10px;
    justify-self: center;
}

.site-footer__contact-label {
    font-size: 16px;
    line-height: 19.2px;
    color: #999;
    margin-bottom: 12px;
}

.site-footer__phone {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: var(--brand-color);
    padding-top: 12px;
}

.site-footer__hours-small {
    font-size: 12px;
    line-height: 14.4px;
    color: #999;
    margin-top: 18px;
    margin-bottom: 6px;
}

.site-footer__hours {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: var(--brand-color);
    padding-top: 12px;
}

.site-footer__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 40px;
    width: 340px;
    justify-self: end;
}

.site-footer__nav {
    list-style: none;
    margin: 0 0 2px;
    padding: 5px 0 2px;
    display: flex;
    gap: 15.2px;
    font-size: 14px;
    line-height: 16.8px;
    color: #888;
}

.site-footer__copyright {
    padding: 18.795px 0 20.395px;
    font-size: 13px;
    line-height: 15.6px;
    color: #888;
    text-align: left;
    width: 100%;
}

.site-footer__copyright p {
    margin: 0;
}

/* ---------- Home page hero ---------- */
.hero {
    position: relative;
    width: 100%;
    height: 737px;
    padding: 220px 0 97px;
    overflow: hidden;
    margin-top: -133.78px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    position: relative;
    height: 420px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero__title {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 58px;
    line-height: 58px;
    color: #000;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 1300px) {
    .hero__title { font-size: 44px; line-height: 48px; }
}

.hero__subtitle {
    margin: 0;
    padding-top: 60px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: var(--brand-color);
    text-align: center;
    white-space: nowrap;
}

.hero__cards {
    position: absolute;
    left: 33.39px;
    right: 33.41px;
    top: 166px;
    display: flex;
    gap: 40px;
    justify-content: center;
}

.hero-card {
    position: relative;
    flex: 1 0 0;
    max-width: 560px;
    height: 254px;
    padding-top: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9.5px;
}

.hero-card__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-card__bg img {
    position: absolute;
    top: 3.94%;
    left: 31.48%;
    width: 37.04%;
    height: 96.1%;
    object-fit: cover;
}

.hero-card__button {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 0 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card__button-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 80px;
    color: var(--brand-color);
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
}

.hero-card__caption {
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #000;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

/* ---------- Articles page ---------- */
.articles-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2px;
}

.articles-main {
    width: 100%;
    max-width: 1200px;
    padding: 10px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.articles-title {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 50px;
    line-height: 55px;
    color: var(--brand-color);
    text-align: center;
}

.articles-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.article-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.article-item__title {
    margin: 0;
    padding-bottom: 20px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 33px;
    color: var(--brand-color);
}

.article-item__body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #707070;
}

.article-item__read-more {
    padding-top: 24px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: var(--brand-color);
    text-align: right;
    display: block;
}

/* Articles page footer with background shadow */
.articles-footer {
    position: relative;
    height: 494.36px;
    padding: 0;
}

.articles-footer::before {
    content: '';
    position: absolute;
    left: -12.02%;
    top: 68.7%;
    width: 124.04%;
    height: 18.24%;
    pointer-events: none;
    z-index: 0;
}

.articles-footer .site-footer__inner {
    position: absolute;
    left: 0;
    right: 0;
    top: 238.8px;
    display: grid;
    grid-template-columns: 290px 1fr 340px;
    gap: 20px;
    min-height: auto;
    padding: 0 20px;
}

/* ---------- Subpage (shared with articles layout) ---------- */
.subpage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2px;
}

.subpage-main {
    width: 100%;
    max-width: 1200px;
    padding: 10px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.subpage-title {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 50px;
    line-height: 55px;
    color: var(--brand-color);
    text-align: center;
}

.subpage-content {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #707070;
}

.subpage-subtitle {
    margin: 8px 0 24px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 33px;
    color: var(--brand-color);
    text-align: center;
}

.subpage-content h2,
.subpage-content h3,
.subpage-content h4 {
    margin: 30px 0 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: var(--brand-color);
}

.subpage-content h2 {
    font-size: 30px;
    line-height: 33px;
}

.subpage-content h3 {
    font-size: 24px;
    line-height: 28px;
}

.subpage-content h4 {
    font-size: 20px;
    line-height: 24px;
}

.subpage-content p {
    margin: 0 0 16px;
}

.subpage-content ul,
.subpage-content ol {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.subpage-content ul li,
.subpage-content ol li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 10px;
    line-height: 1.45;
}

.subpage-content ul li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #707070;
}

.subpage-content ol {
    counter-reset: item;
}

.subpage-content ol li {
    counter-increment: item;
}

.subpage-content ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: 12px;
    top: 0;
    color: var(--brand-color);
    font-weight: 600;
}

.subpage-content a {
    color: var(--brand-color);
    font-weight: 600;
}

.subpage-content a:hover {
    text-decoration: underline;
}

.subpage-content strong {
    color: inherit;
    font-weight: 700;
}

.subpage-content hr {
    border: 0;
    border-top: 1px solid #e6e6e6;
    margin: 30px 0;
}

/* Pricing table */
.price-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px dashed #d9d9d9;
}

.price-list li:last-child {
    border-bottom: 0;
}

.price-list__label {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #707070;
}

.price-list__value {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--brand-color);
    white-space: nowrap;
}

/* Team grid for "O nas" */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    margin: 20px 0;
}

.team-card {
    padding: 24px;
    background: #fafafa;
    border-radius: 12px;
}

.team-card h3 {
    margin-top: 0;
}

.team-card p {
    font-size: 18px;
    line-height: 26px;
    margin: 0;
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 10px;
}

.contact-info {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #707070;
}

.contact-info h2 {
    margin-top: 0;
}

.contact-info p {
    margin: 0 0 14px;
}

.contact-info a {
    color: var(--brand-color);
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-map {
    margin-top: 48px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--brand-color);
}

.contact-form input,
.contact-form textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #333;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 12px 14px;
    outline: none;
    background: #fff;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--brand-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    align-self: flex-start;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    background: var(--brand-color);
    border: 0;
    border-radius: 30px;
    padding: 14px 38px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s ease;
}

.contact-form button:hover {
    background: var(--brand-color);
}

/* Sitemap list */
.sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 40px;
    font-size: 20px;
    line-height: 32px;
}

.sitemap-list a {
    color: var(--brand-color);
    font-weight: 600;
}

.sitemap-list a:hover {
    text-decoration: underline;
}

.articles-footer .site-footer__meta {
    justify-self: end;
}

/* ================================================================
   RESPONSIVE — breakpoints aligned with nervik.pl reference
   1600 / 1200 / 1100 / 1000 / 900 (mobile boundary) / 600 / 520
   ================================================================ */

/* Hamburger toggle: hidden on desktop */
.rwd-menu-toggle,
.rwd-menu-label {
    display: none;
}

@media (max-width: 1599px) {
    .site-nav__list { gap: 0; }
}

@media (max-width: 1300px) {
    .hero__title { font-size: 44px; line-height: 48px; white-space: normal; }
    .hero__subtitle { font-size: 32px; line-height: 40px; }
    .hero-card__button-text { font-size: 32px; line-height: 64px; }
}

@media (max-width: 1199px) {
    .site-header { max-width: 100%; padding: 24px 16px 0; gap: 12px; }
    .site-nav__item { padding: 0 8px; }
    .site-nav__link { font-size: 14px; }
    .hero { height: auto; min-height: 600px; padding: 180px 0 60px; }
    .hero__cards { position: static; flex-wrap: wrap; padding: 30px 16px 0; }
    .hero-card { max-width: 100%; }
    .subpage-main { padding: 10px 16px 0; }
    .site-footer__inner { grid-template-columns: 1fr 1fr; row-gap: 30px; padding: 0 16px; }
    .site-footer__meta { width: auto; padding-top: 20px; }
    .articles-footer .site-footer__inner { position: relative; top: 0; padding: 30px 16px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    /* Header → mobile: stack brand + hamburger */
    .site-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px 16px;
        height: 100px;
        gap: 0;
    }
    .site-header__brand { width: 220px; padding: 0; }
    .brand { width: 100%; margin: 0 auto; }
    .brand__tagline { font-size: 12px; line-height: 14px; height: 14px; margin-top: 6px; }

    /* Sticky/scrolled compaction on mobile */
    .site-header.is-scrolled { height: 60px; }
    .site-header.is-scrolled .site-header__brand { width: 150px; }

    /* Hamburger — like the original: bare "≡" glyph, no box */
    .rwd-menu-label {
        display: block;
        position: fixed;
        right: 8px;
        top: 4px;
        cursor: pointer;
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 44px;
        color: #555;
        z-index: 200;
        text-align: center;
        background: transparent;
    }
    .rwd-menu-icon { display: none; }
    .rwd-menu-label::before { content: '\2261'; }
    .rwd-menu-toggle:checked + .rwd-menu-label::before { content: '\D7'; font-size: 38px; }

    /* Nav: hidden by default, opened by checkbox */
    .site-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(6px);
        z-index: 150;
        padding: 56px 24px 24px;
        overflow-y: auto;
    }
    .rwd-menu-toggle:checked ~ .site-nav { display: block; }
    .site-nav__list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .site-nav__item { padding: 0; }
    .site-nav__link {
        font-size: 18px;
        line-height: 1.2;
        padding: 14px 16px;
        border-bottom: 1px solid #eee;
        display: block;
        text-align: left;
    }
    .site-nav__link:hover,
    .site-nav__link.is-active { border-bottom-color: var(--brand-color); background: rgba(45, 172, 174, 0.06); }

    /* Hero on mobile — full corridor bg behind the whole section, like the original */
    .hero {
        min-height: 0;
        height: auto;
        padding: 24px 0 40px;
        margin-top: 0;
        background:
            linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.6) 100%),
            url('../images/hero-bg.png') no-repeat top -60px right -300px;
        background-size: auto, 1600px;
    }
    .hero__bg { display: none; }
    .hero__content { height: auto; padding: 32px 16px 16px; position: relative; z-index: 2; }
    .hero__title { font-size: 32px; line-height: 1.15; white-space: normal; }
    .hero__subtitle { font-size: 24px; line-height: 1.2; padding-top: 22px; white-space: normal; }
    .hero__cards { position: static; padding: 28px 16px 0; gap: 18px; flex-direction: column; }
    .hero-card { height: auto; padding-top: 0; max-width: 100%; }
    .hero-card__bg img { display: none; }
    .hero-card__button { box-shadow: 0 0 16px rgba(0, 0, 0, 0.15); border-radius: 16px; padding: 8px 24px; }
    .hero-card__button-text { font-size: 28px; line-height: 1.6; }
    .hero-card__caption { font-size: 16px; line-height: 1.3; white-space: normal; }

    /* Subpage */
    .subpage-title { font-size: 32px; line-height: 1.15; }
    .subpage-subtitle { font-size: 20px; line-height: 1.2; padding-top: 8px; }
    .subpage-content { font-size: 17px; line-height: 1.5; }
    .subpage-content h2 { font-size: 22px; line-height: 1.2; }
    .subpage-content h3 { font-size: 19px; line-height: 1.2; }
    .subpage-content img { max-width: 90vw; height: auto; }
    .subpage-content ul li,
    .subpage-content ol li { padding-left: 28px; }
    .subpage-content ul li::before { left: 8px; }

    /* Footer */
    .site-footer { padding: 30px 0 20px; }
    .site-footer__inner {
        grid-template-columns: 1fr;
        row-gap: 24px;
        padding: 0 16px;
        text-align: center;
    }
    .site-footer__brand,
    .site-footer__contact,
    .site-footer__meta {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 0;
        justify-self: center;
        align-items: center;
    }
    .site-footer__contact { padding-top: 0; }
    .site-footer__meta { align-items: center; padding-top: 0; }
    .site-footer__nav { justify-content: center; flex-wrap: wrap; gap: 10px; }
    .site-footer__copyright { text-align: center; }

    .articles-footer { padding-top: 30px; }
    .articles-footer .site-footer__inner {
        position: relative;
        top: 0;
        grid-template-columns: 1fr;
        padding: 16px;
    }
    .articles-footer::before { display: none; }
}

@media (max-width: 600px) {
    .hero__title { font-size: 24px; }
    .hero__subtitle { font-size: 18px; }
    .hero-card__button-text { font-size: 22px; line-height: 52px; }
    .hero-card__caption { font-size: 16px; line-height: 20px; white-space: normal; }
    .subpage-title { font-size: 26px; }
    .subpage-subtitle { font-size: 17px; }
    .subpage-content { font-size: 16px; }
    .site-footer__nav { font-size: 12px; }
}

@media (max-width: 520px) {
    .site-header { padding: 12px; height: 88px; }
    .site-header__brand { width: 180px; }
    .site-header.is-scrolled { height: 56px; }
    .site-header.is-scrolled .site-header__brand { width: 130px; }
    .hero__title { font-size: 22px; }
    .hero-card__button-text { font-size: 20px; line-height: 48px; }
    .subpage-title { font-size: 22px; }
    .site-footer__inner { padding: 0 12px; }
}

/* ---------- Reviews section ---------- */
.reviews-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 30px;
    padding: 0 20px;
}

.reviews-section__inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

.reviews-section__intro {
    position: sticky;
    top: 160px;
}

.reviews-section__title {
    margin: 0 0 18px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 38px;
    line-height: 1.1;
    color: var(--brand-color);
}

.reviews-section__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.reviews-section__score {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    color: var(--brand-color);
}

.reviews-section__stars {
    display: inline-flex;
    gap: 2px;
    font-size: 22px;
    color: #d8d8d8;
    line-height: 1;
}

.reviews-section__star.is-filled,
.review-card__star.is-filled {
    color: #f5b90a;
}

.reviews-section__count {
    margin: 0 0 18px;
    font-size: 15px;
    color: #707070;
}

.reviews-section__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    color: var(--brand-color);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reviews-section__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.reviews-section__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
}

.reviews-section__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.review-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 22px 24px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.review-card__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.review-card__avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef3f8;
    color: var(--brand-color);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-transform: uppercase;
}

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

.review-card__author {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-card__name {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: #1a1a1a;
}

.review-card__meta,
.review-card__date {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #999;
}

.review-card__source {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.review-card__stars {
    display: inline-flex;
    gap: 2px;
    font-size: 16px;
    color: #d8d8d8;
    line-height: 1;
}

.review-card__title {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}

.review-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #4a4a4a;
    white-space: pre-line;
}

@media (max-width: 1100px) {
    .reviews-section__inner {
        grid-template-columns: 260px 1fr;
        gap: 28px;
    }
    .reviews-section__title { font-size: 32px; }
}

@media (max-width: 960px) {
    .reviews-section { margin: 40px auto 20px; padding: 0 16px; }
    .reviews-section__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .reviews-section__intro {
        position: static;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .reviews-section__title { font-size: 28px; margin-bottom: 14px; }
    .reviews-section__rating { justify-content: center; }
    .reviews-section__list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 720px) {
    .reviews-section__list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 4px 4px 16px;
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
        scrollbar-width: thin;
    }
    .reviews-section__list::-webkit-scrollbar { height: 6px; }
    .reviews-section__list::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 999px; }
    .review-card {
        flex: 0 0 86%;
        max-width: 320px;
        scroll-snap-align: start;
    }
}

@media (max-width: 520px) {
    .reviews-section { margin: 32px auto 12px; padding: 0 12px; }
    .reviews-section__title { font-size: 24px; }
    .reviews-section__score { font-size: 30px; }
    .reviews-section__stars { font-size: 18px; }
    .reviews-section__count { font-size: 14px; margin-bottom: 14px; }
    .reviews-section__cta { padding: 10px 16px; font-size: 13px; }
    .reviews-section__list { margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
    .review-card { padding: 16px; gap: 10px; flex-basis: 88%; }
    .review-card__avatar { width: 40px; height: 40px; font-size: 14px; }
    .review-card__name { font-size: 14px; }
    .review-card__text { font-size: 13.5px; }
}

/* ================================================================
   FORMS — consent block + selects + radios
   ================================================================ */

.contact-grid--single {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 20px auto 0;
}

.contact-form--success {
    background: color-mix(in srgb, var(--brand-color) 8%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--brand-color) 22%, #ffffff);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    color: var(--brand-color);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.contact-form select {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #333;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form select:focus { border-color: var(--brand-color); }

.contact-form__consent {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 12px !important;
    color: #555 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 20px;
    cursor: pointer;
}

.contact-form__consent input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--brand-color);
}

.contact-form__consent span { display: inline; }

.contact-form__consent a {
    color: var(--brand-color);
    font-weight: 600;
    text-decoration: underline;
}

.contact-form__required { color: #c00; font-weight: 700; margin-left: 4px; }

.contact-form__radio-group {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form__radio-group legend {
    padding: 0 6px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--brand-color);
}

.contact-form__radio {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
    color: #444 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .webinar-hero { padding: 44px 28px; }
    .webinar-hero__title { font-size: 38px; line-height: 44px; }
    .webinar-form-section { padding: 32px 28px; }
}

@media (max-width: 900px) {
    .webinar-grid--two { grid-template-columns: 1fr; }
    .webinar-card { padding: 24px 22px; }
    .webinar-speaker { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
    .webinar-speaker__avatar { margin: 0 auto; width: 110px; height: 110px; }
    .webinar-speaker__avatar svg { width: 76px; height: 76px; }
    .webinar-hero__title { font-size: 32px; line-height: 38px; }
    .webinar-hero__lead { font-size: 17px; line-height: 26px; }
    .webinar-hero__meta { gap: 10px 20px; font-size: 14px; }
    .webinar-form-section { padding: 26px 18px; }
}

@media (max-width: 600px) {
    .webinar-hero { padding: 32px 18px; }
    .webinar-hero__title { font-size: 26px; line-height: 32px; }
    .webinar-hero__cta { padding: 14px 24px; font-size: 15px; }
    .webinar-card__title { font-size: 22px; line-height: 28px; }
}

/* =================================================================== */
/*                          Doctors / Booking                          */
/* =================================================================== */

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    padding-bottom: 60px;
}

.doctor-card {
    display: block;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    color: inherit;
}

.doctor-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-color);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.doctor-card__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f3f4f6;
}

.doctor-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-color);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 64px;
    font-weight: 600;
}

.doctor-card__body {
    padding: 18px 20px 22px;
}

.doctor-card__title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.doctor-card__name {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #0f172a;
}

.doctor-card__specialization {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 14px;
}

.doctor-card__cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-color);
}

/* Doctor detail page */
.doctor-page {
    max-width: 960px;
}

.doctor-header {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.doctor-header__photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
}

.doctor-header__title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.doctor-header__name {
    font-family: 'Raleway', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--brand-color);
    margin: 0 0 8px;
}

.doctor-header__specialization {
    font-size: 17px;
    color: #475569;
}

.doctor-header__price {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.doctor-bio {
    font-size: 17px;
    line-height: 1.65;
    color: #334155;
}

.doctor-bio p { margin: 0 0 14px; }

.doctor-booking-section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--brand-color);
    margin: 0 0 18px;
}

/* Booking widget */
.doctor-booking {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    padding: 22px;
}

.doctor-booking__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.doctor-booking__range {
    font-weight: 600;
    color: #0f172a;
}

.doctor-booking__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.doctor-booking__day {
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 6px;
    min-height: 120px;
}

.doctor-booking__day-header {
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.doctor-booking__weekday {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.doctor-booking__date {
    font-weight: 600;
    color: #0f172a;
    font-size: 15px;
}

.doctor-booking__slots {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doctor-booking__slot {
    display: block;
    width: 100%;
    text-align: center;
    padding: 6px 4px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid var(--brand-color);
    background: #fff;
    color: var(--brand-color);
    cursor: pointer;
    transition: background 0.1s ease, color 0.1s ease;
    font-family: inherit;
}

.doctor-booking__slot:hover {
    background: var(--brand-color);
    color: #fff;
}

.doctor-booking__slot.is-selected {
    background: var(--brand-color);
    color: #fff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.doctor-booking__slot.is-disabled {
    border-color: #e2e8f0;
    color: #cbd5e1;
    background: #fff;
    cursor: not-allowed;
    text-decoration: line-through;
}

.doctor-booking__no-slots {
    color: #cbd5e1;
    text-align: center;
    font-size: 12px;
}

/* Booking form */
.doctor-booking__form {
    margin-top: 22px;
    padding: 22px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e6e8ec;
}

.doctor-booking__form h3 {
    margin: 0 0 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    color: #0f172a;
}

.doctor-booking__picked {
    margin: 0 0 16px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    color: #334155;
}

.doctor-booking__clear {
    background: none;
    border: 0;
    color: #64748b;
    margin-left: 12px;
    cursor: pointer;
    text-decoration: underline;
    font-size: 13px;
}

.doctor-booking__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.doctor-booking__form label {
    display: block;
    margin-bottom: 14px;
}

.doctor-booking__form label > span {
    display: block;
    font-size: 13px;
    color: #475569;
    margin-bottom: 5px;
    font-weight: 600;
}

.doctor-booking__form input,
.doctor-booking__form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
}

.doctor-booking__form input:focus,
.doctor-booking__form textarea:focus {
    outline: none;
    border-color: var(--brand-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.doctor-booking__consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}

.doctor-booking__consent input { width: auto !important; margin-top: 3px; }
.doctor-booking__consent span { font-size: 13px; color: #475569; font-weight: 400 !important; margin-bottom: 0 !important; }

.doctor-booking__submit {
    margin-top: 14px;
}

.doctor-booking__hint {
    margin: 14px 0 0;
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
}

.doctor-booking__error {
    color: #dc2626;
    font-size: 13px;
    display: block;
    margin-top: 4px;
}

.doctor-booking__success {
    text-align: center;
    padding: 30px;
}

.doctor-booking__success h3 {
    color: var(--brand-color);
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    margin-bottom: 8px;
}

/* Generic buttons (if not defined elsewhere) */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    transition: filter 0.15s ease;
}
.btn--primary { background: var(--brand-color); color: #fff; }
.btn--secondary { background: #fff; color: #334155; border: 1px solid #cbd5e1; }
.btn:hover { filter: brightness(0.95); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 880px) {
    .doctor-booking__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .doctor-booking__form-row { grid-template-columns: 1fr; }
    .doctor-header__photo { width: 120px; height: 120px; }
    .doctor-header__name { font-size: 28px; }
}

@media (max-width: 520px) {
    .doctor-booking__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .doctor-booking__nav { flex-direction: column; }
}
