* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none !important;
}

:root {
    --color-bg: #e6e6e6;
    --color-red: #c93636;
    --color-15: #262626;
    --color-text: #666666;
    --color-borders: #cccccc;
}

main {
    overflow: hidden;
}

small {
    font-size: 1.4rem;
    line-height: 1.8;
}

a {
    font-weight: 600;
    color: var(--color-15);
    transition: all 0.2s ease-in-out;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--color-borders);
    text-underline-offset: 4px;
}

a:hover {
    text-decoration-color: var(--color-red);
}

h1, h2, h3 {
    color: var(--color-15);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 2)), 6.4rem);
}

h2 {
    font-size: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 2)), 4.8rem);
}

h3 {
    font-size: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 0.25)), 1.8rem);
    line-height: 1.4;
    color: var(--color-text);
}

.divider {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

button {
    all: unset;
}

.button {
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    color: white;
    border-radius: 4px;
    background-color: var(--color-red);
    box-shadow: 0 4px 8px -4px var(--color-red);
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    font-weight: 600;
    z-index: 50;
}

.button--small {
    font-size: 1.6rem;
    padding: 12px 24px;
}

.button:hover {
    color: white;
    background-color: #a12b2b;
    transform: scale(0.96);
}

.hamburger {
    display: none;
}

.header {
    padding: 0px 24px;
    background-color: var(--color-bg);
    z-index: 9999;
}

.header__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__wrapper {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__phone {
    display: none;
}

.header__socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__socials-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    border: 1px solid var(--color-borders);
    border-radius: 4px;
}

.header__socials-icon {
    width: 100%;
    height: 16px;
    fill: rgba(0, 0, 0, 0.24);
}

.header__link {
    display: flex;
    text-decoration: none;
}

.header__logo {
    font-size: 2.4rem;
    color: var(--color-15);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav__item {
    display: flex;
}

.nav__link {
    padding: 24px 0px;
    color: var(--color-15);
    border-top: 4px solid transparent;
    text-decoration: none;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}

.nav__link:hover {
    border-top: 4px solid var(--color-red);
}

[aria-current="page"] {
    border-top: 4px solid var(--color-red);
    font-weight: 600;
}

.nav__item--dropdown {
    position: relative;
    color: var(--color-15);
}

.nav__link--dropdown {
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font: inherit;
    color: inherit;
}

.nav__icon {
    transition: transform 0.2s ease-in-out;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    z-index: 990;
    min-width: 240px;
    overflow: hidden;
}

.dropdown__item {
    display: flex;
}

.dropdown__link {
    width: 100%;
    display: flex;
    align-items: center;
    border: none;
    gap: 8px;
    padding: 8px;
    color: var(--color-15);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-weight: normal;
}

.dropdown__link:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.dropdown__link:hover .dropdown__icon{
    background-color: var(--color-red);
    color: white;
}

.dropdown__link[aria-current="page"] {
    background-color: rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

.dropdown__link[aria-current="page"] .dropdown__icon {
    background-color: var(--color-red);
    color: white;
}

.dropdown__icon {
    background-color: rgba(0, 0, 0, 0.08);
    color: var(--color-text);
    border-radius: 4px;
    padding: 4px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    order: -1;
    transition: all 0.2s ease-in-out;
}

@media (min-width: 1024px) {
.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown {
    display: block;
}

.nav__item--dropdown:hover .nav__icon,
.nav__item--dropdown:focus-within .nav__icon {
    transform: rotate(180deg);
}

}

.hero {
    padding: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem) 24px 96px;
    position: relative;
    background-image: url(/assets/images/tomas-hyls.webp);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-borders);
    border-bottom: 1px solid var(--color-borders);
}

.hero--bydleni {
    background-image: url(/assets/images/bydleni-a-reality-boskovice.webp);
}

.hero--investice {
    background-image: url(/assets/images/investice-sporeni.webp);
}

.hero--pojisteni {
    background-image: url(/assets/images/pojisteni-brno.webp);
}

.hero--renta {
    background-image: url(/assets/images/renta-brno.webp);
}

.hero--osobni {
    background-image: url(/assets/images/tomas-hyls-osobni-zivot.webp);
}

.hero__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
    max-width: 560px;
}

.hero__keyword {
    font-size: 0.1rem;
    color: var(--color-bg);
    margin-bottom: clamp(-3.2rem, calc(-2.4rem + ((1vw - 0.48rem) * -1)), -2.4rem);
}

.hero__heading {
    font-size: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 2)), 6.4rem);
}

.hero__subheading {
    font-size: 2rem;
    color: var(--color-text);
}

.hero__image {
    width: 100%;
    height: auto;
    max-width: clamp(9.6rem, calc(9.6rem + ((1vw - 0.48rem) * 28)), 32rem);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 5;
}

.hero__image--cart {
    transform: rotate(-8deg);
    bottom: clamp(-3.2rem, calc(-0.8rem + ((1vw - 0.48rem) * -3)), -0.8rem);
}

.hero__image--web {
    transform: rotate(-8deg);
    bottom: clamp(-3.2rem, calc(-1.2rem + ((1vw - 0.48rem) * -2.5)), -1.2rem);
    right: 16px;
}

.hero__image--db {
    transform: rotate(-8deg);
    bottom: clamp(-4.8rem, calc(-1.6rem + ((1vw - 0.48rem) * -4)), -1.6rem);
    right: 16px;
}

.hero__image--magnifier {
    transform: rotate(-16deg);
    right: clamp(-1.6rem, calc(-0.8rem + ((1vw - 0.48rem) * -1)), -0.8rem);
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
}

.hero__avatars {
    display: flex;
    align-items: center;
}

.hero__avatar {
    width: 32px;
    height: 32px;
    border: 4px solid var(--color-bg);
    border-radius: 999px;
    margin-right: -16px;
}

.hero__avatars-caption {
    font-size: 1.2rem;
    margin-left: 24px;
}

.reality {
    padding: 96px 24px;
}

.reality__container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
}

.reality__keyword {
    font-size: 0.1rem;
    color: white;
}

.reality__items {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(0.8rem, calc(1.6rem + ((1vw - 0.48rem) * -1)), 1.6rem);
    align-items: stretch;
}

.reality__item {
    padding: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 4)), 6.4rem);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 16px;
    background-color: var(--color-bg);
}

.reality__image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.features {
    padding: 96px 24px;
    background-color: var(--color-bg);
}

.features__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
}

.features__header {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 10)), 9.6rem);
}

.features__keyword {
    font-size: 0.1rem;
    color: white;
}

.features__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 9)), 9.6rem);
}

.features__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
}

.features__card-icon {
    width: 32px;
    height: 32px;
    fill: #4caf50;
    order: -1;
}

.features__card-heading {
    font-size: 2.4rem;
}

.cta {
    padding: clamp(0rem, calc(0rem + ((1vw - 0.48rem) * 12)), 9.6rem) 24px;
}

.cta__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 2)), 3.2rem);
}

.cta__contacts {
    padding: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 4)), 6.4rem);
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.cta__contacts-image {
    width: clamp(10rem, calc(10rem + ((1vw - 0.48rem) * 17.5)), 24rem);
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
}

.cta__locations {
    padding: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 4)), 6.4rem);
    background-color: #1c3553;
    color: rgba(255, 255, 255, 0.64);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    border-radius: 16px;
}

.cta__locations-heading {
    color: white;
}

.cta__heading {
    font-size: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
}

.cta__links {
    display: flex;
    gap: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 2)), 3.2rem);
}

.cta__link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-underline-offset: 8px;
    text-decoration-color: transparent;
    transition: all 0.2s ease-in-out;
}

.cta__link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--color-red);
}

.cta__link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    width: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 2)), 4.8rem);
    height: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 2)), 4.8rem);
    color: white;
    background-color: var(--color-red);
    order: -1;
}

.jobs {
    padding: 96px 24px;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-borders);
    background-image: url(/assets/images/kariera-ve-financich.webp);
    background-position: top right;
    background-size: 90%;
    background-repeat: no-repeat;
}

.jobs__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
}

.jobs__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 2)), 3.2rem);
}

.jobs__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
    border: 1px solid var(--color-borders);
    border-top: 4px solid var(--color-borders);
    border-radius: 16px;
    padding: 32px;
}

.jobs__card-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.jobs__card-heading {
    font-size: 2.4rem;
}

.jobs__price {
    margin-top: auto;
    color: var(--color-15);
    font-weight: 600;
}

.jobs__price-value {
    font-size: 2.4rem;
    color: #009959;
}

.jobs__contact {
    line-height: 1.6;
}

.jobs__contact a {
    color: var(--color-red);
}

.jobs__features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jobs__feature {
    display: flex;
    padding-left: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 0.5)), 2rem);
    position: relative;
}

.jobs__feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    width: 8px;
    height: 8px;
    background-color: var(--color-red);
}

.about {
    padding: 96px 24px;
}

.about__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
}

.about__keyword {
    font-size: 0.1rem;
    color: white;
}

.about__items {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
    gap: clamp(0.8rem, calc(1.6rem + ((1vw - 0.48rem) * -1)), 1.6rem);
    align-items: stretch;
}

.about__item {
    padding: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 4)), 6.4rem);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 32px;
    background-color: var(--color-bg);
}

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

.about__link {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about__link-icon {
    width: 24px;
    height: 24px;
    order: -1;
}

.about__image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.reviews {
    padding: 96px 24px;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-borders);
}

.reviews__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
}

.reviews__header {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 10)), 9.6rem);
}

.reviews__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 2)), 3.2rem);
}

.reviews__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
    border: 1px solid var(--color-borders);
    border-top: 4px solid var(--color-borders);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.reviews__wrap {
    margin-top: auto;
}

.reviews__name {
    font-size: 2.4rem;
}

.reviews__service {
    font-size: 1.4rem;
}

.reviews__stars {
    display: flex;
    align-items: center;
    color: var(--color-borders);
    position: absolute;
    top: 32px;
    right: 32px;
}

.reviews__photo {
    width: clamp(6.4rem, calc(6.4rem + ((1vw - 0.48rem) * 4)), 9.6rem);
    height: clamp(6.4rem, calc(6.4rem + ((1vw - 0.48rem) * 4)), 9.6rem);
    border-radius: 999px;
    border: 4px solid white;
    order: -1;
}

.services {
    padding: 96px 24px;
}

.services__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
}

.services__header {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 10)), 9.6rem);
}

.services__keyword {
    font-size: 0.1rem;
    color: white;
}

.services__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
}

.services__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    border: 1px solid var(--color-borders);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    font-weight: normal;
    min-height: 400px;
    position: relative;
}

.services__card-icon {
    fill: var(--color-text);
    width: 32px;
    height: 32px;
    order: -1;
}

.services__card-chevron {
    display: flex;
    width: 32px;
    height: 32px;
    stroke: var(--color-red);
    position: absolute;
    top: 32px;
    right: 32px;
}

.services__card--bydleni {
    background-image: url(/assets/images/bydleni-a-reality.webp);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

.services__card--investice {
    background-image: url(/assets/images/investice.webp);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

.services__card--pojisteni {
    background-image: url(/assets/images/pojisteni.webp);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

.services__card--renta {
    background-image: url(/assets/images/renta.webp);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

.services__card:hover {
    transform: translateY(-16px);
    box-shadow: 8px 0 16px -8px rgba(0, 0, 0, 0.16);
    border-top-width: 4px;
    border-top-color: var(--color-red)
}

.services__card-heading {
    font-size: 2.4rem;
}

.benefits {
    padding: 96px 24px;
}

.benefits__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
}

.benefits__header {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 10)), 9.6rem);
}

.benefits__keyword {
    font-size: 0.1rem;
    color: white;
}

.benefits__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 2)), 3.2rem);
}

.benefits__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    border: 1px solid var(--color-borders);
    border-top: 4px solid var(--color-borders);
    border-radius: 16px;
    padding: 32px;
}

.benefits__card-icon {
    width: 32px;
    height: 32px;
    fill: var(--color-red);
    order: -1;
}

.benefits__card-heading {
    font-size: 2.4rem;
}

.contacts {
    padding: 96px 24px;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-borders);
}

.contacts__container {
    padding-bottom: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
}

.contacts__header {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contacts__heading {
    font-size: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 2)), 4.8rem);
}

.contacts__wrapper {
    display: flex;
    align-items: center;
    gap: clamp(2.4rem, calc(2.4rem + ((1vw - 0.48rem) * 1)), 3.2rem);
}

.contacts__photo {
    width: clamp(9.6rem, calc(9.6rem + ((1vw - 0.48rem) * 8)), 16rem);
    height: auto;
    border: clamp(0.4rem, calc(0.4rem + ((1vw - 0.48rem) * 0.5)), 0.8rem) solid white;
    border-radius: 999px;
}

.contacts__photo-wrapper {
    border-radius: 999px;
    position: relative;
}

.contacts__photo-wrapper::after {
    content: "";
    position: absolute;
    bottom: clamp(0.8rem, calc(0.8rem + ((1vw - 0.48rem) * 1)), 1.6rem);
    right: 16px;
    width: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 1)), 2.4rem);
    height: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 1)), 2.4rem);
    border-radius: 999px;
    background-color: #009959;
    box-shadow: 0 0 16px 0 #009959;
}

.contacts__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.contacts__link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-underline-offset: 8px;
    text-decoration-color: transparent;
    transition: all 0.2s ease-in-out;
}

.contacts__link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--color-red);
}

.contacts__link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    width: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 2)), 4.8rem);
    height: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 2)), 4.8rem);
    color: white;
    background-color: var(--color-red);
    order: -1;
}

.contacts__locations {
    padding-top: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
    border-top: 4px dotted var(--color-borders);
    position: relative;
}

.contacts__locations::before {
    content: "Můžeme se potkat u mě v kanceláři";
    width: max-content;
    font-size: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 0.5)), 2rem);
    font-weight: 600;
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translate(-50%);
    background-color: var(--color-bg);
    padding: 0 16px;
}

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

.contacts__location-title {
    font-size: 2.4rem;
}

.contacts__location-image {
    margin-bottom: 16px;
    width: clamp(12rem, calc(12rem + ((1vw - 0.48rem) * 5)), 16rem);
    height: auto;
    border: 4px solid white;
    border-radius: 999px;
    order: -1;
}

.contacts__form {
    position: relative;
    overflow: hidden;
    background-color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 2)), 4.8rem);
    gap: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 2)), 4.8rem);
    z-index: 10;
}

.contacts__form-decoration {
    width: 100%;
    height: auto;
    max-width: clamp(9.6rem, calc(9.6rem + ((1vw - 0.48rem) * 8)), 16rem);
    position: absolute;
    top: clamp(3.2rem, calc(3.2rem + ((1vw - 0.48rem) * 2)), 4.8rem);
    right: clamp(-1.6rem, calc(-1.6rem + ((1vw - 0.48rem) * 8)), 4.8rem);
}

.contacts__form-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
  
.contacts__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
  
.contacts__form-group--full {
    grid-column: 1 / -1;
}

.contacts__form-radio {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer {
    padding: 96px 24px;
    padding-bottom: 48px;
    background-color: var(--color-primary);
    border-top: 1px solid var(--color-borders);
}

.footer__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
}

.footer__columns {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 48px;
}

.footer__column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--color-text);
}

.footer__heading {
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.48rem) * 0.5)), 2.4rem);
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__nav-item {
    display: flex;
}

.footer__nav-link {
    color: var(--color-text);
    font-weight: normal;
    text-underline-offset: 8px;
    text-decoration-color: transparent;
    transition: all 0.2s ease-in-out;
}

.footer__nav-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--color-red);
  }

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

.footer__list-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__link {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.48rem) * 0.5)), 2.4rem);
    font-weight: 600;
    text-underline-offset: 8px;
    text-decoration-color: transparent;
    transition: all 0.2s ease-in-out;
}

.footer__link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--color-red);
}

.footer__icon {
    display: flex;
    min-width: clamp(4rem, calc(4rem + ((1vw - 0.48rem) * 1)), 4.8rem);
    min-height: clamp(4rem, calc(4rem + ((1vw - 0.48rem) * 1)), 4.8rem);
    align-items: center;
    justify-content: center;
    background-color: var(--color-red);
    border-radius: 4px;
    color: white;
    order: -1;
}

.footer__socials {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__socials-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    border: 1px solid var(--color-borders);
    border-radius: 4px;
}

.footer__socials-icon {
    width: 100%;
    height: 16px;
    fill: rgba(0, 0, 0, 0.24);
}

.footer__gmb {
    text-decoration: none;
}

.footer__gmb-logo {
    width: 48px;
    height: 48px;
}

.footer__gmb-header {
    display: flex;
    align-items: center;
    color: var(--color-15);
    font-size: 1.4rem;
    gap: 8px;
}

.footer__gmb-info {
    display: flex;
    flex-direction: column;
}

.footer__gmb-rating {
    display: flex;
    gap: 4px;
}

.footer__gmb-stars {
    display: flex;
    align-items: center;
    color: #fcbc05;
}

.credits {
    padding: 0 24px;
    background-color: white;
}

.credits__author {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: normal;
    color: var(--color-primary);
    gap: 8px;
    text-decoration: none;
}

.credits__author:hover {
    text-decoration: underline;
}

.credits__container {
    padding: 24px 0;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--color-borders);
}

.faq {
    padding: 96px 24px;
    padding-top: clamp(9.6rem, calc(9.6rem + ((1vw - 0.48rem) * 6)), 14.4rem);
    position: relative;
    background-color: white;
}

.faq__keyword {
    font-size: 0.1rem;
    color: white;
}

.faq__heading {
    text-align: center;
}

.faq__container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(4.8rem, calc(4.8rem + ((1vw - 0.48rem) * 6)), 9.6rem);
}

.faq__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
    background-color: var(--color-bg);
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.faq__question {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  list-style: none;
  padding: 32px;
  font-size: clamp(2rem, calc(2rem + ((1vw - 0.48rem) * 0.5)), 2.4rem);
  font-weight: 600;
  color: var(--color-15);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.faq__answer {
    padding: 0 32px 32px 32px;
    color: var(--color-15);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::before {
  content: '▼';
  color: var(--color-red);
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}

.faq__item[open] .faq__question::before {
  transform: rotate(180deg);
}

.success {
	display: block;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    background-color:#d9f2e6;
    color: #26734d;
    font-weight: 600;
}

.hidden {
    display: none;
}
  
input, textarea {
    width: 100%;
    font-size: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 0.25)), 1.8rem);
    padding: 16px;
    background-color: #F6F6F6;
    border: 2px solid #cccccc;
    border-radius: 4px;
    color: var(--color-15);
    transition: all 0.2s ease-in-out;
}

input:focus, textarea:focus, select:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--color-15);
}

select {
    width: 100%;
    height: 100%;
    padding: 16px;
    font-size: clamp(1.6rem, calc(1.6rem + ((1vw - 0.48rem) * 0.25)), 1.8rem);
    font-weight: 600;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #cccccc;
    border-radius: 4px;
    background-color: #F6F6F6 !important;
    color: var(--color-15) !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%23999999' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 32px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

textarea {
    resize: none;
}

@media (max-width: 1024px) {

    .button--form {
        width: auto;
    }

    .button--small {
        flex-grow: 1;
}
    
    .hamburger {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        width: 32px;
        height: 16px;
        cursor: pointer;
    }
    
    .hamburger__bar {
        height: 2px;
        background-color: var(--color-15);
        transition: all 0.2s ease-in-out;
    }
    
    .hamburger--active .hamburger__bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .hamburger--active .hamburger__bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger--active .hamburger__bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .header__phone {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        background-color: var(--color-red);
        box-shadow: 0 4px 8px -4px var(--color-red);
        color: white;
        width: 32px;
        height: 32px;
        margin: 0px 24px 0px auto;
    }
    
    .nav__link {
        flex-grow: 1;
        justify-content: center;
        text-align: center;
        padding: 12px 24px;
        border: none;
        border-radius: 4px;
        background-color: var(--color-bg);
        text-decoration: none;
    }

    .nav__link:hover {
        border-top: none;
    }
    
    .nav__link[aria-current="page"] {
    border-left: 4px solid var(--color-red);
}
    
    .nav__list {
        display: none;
    }
    
    .nav__list--active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
        gap: 12px;
        padding: 24px;
        background-color: white;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 9999;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.48);
        z-index: 999;
    }
    
    .overlay.active {
        display: block;
    }

    .hero__actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;

    }

    .contacts__form-body {
        grid-template-columns: 1fr;
    }

    .nav__item--dropdown {
        display: flex;
        flex-direction: column;
        position: static;
        gap: 12px;
    }

    .dropdown {
        display: none;
        flex-direction: column;
        position: static;
        min-width: auto;
        background-color: var(--color-bg);
        box-shadow: none;
        position: relative;
    }
    
    .dropdown--active {
        display: flex;
    }

    .problems__item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .benefits__item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }


.header {
    padding: 24px;
}

.header__socials {
    display: none;
}

.hero {
    background-image: url(/assets/images/tomas-hyls-mobil.webp);
    padding-bottom: 360px;
    background-position: bottom;
}

.hero--bydleni {
    background-image: url(/assets/images/bydleni-a-reality-blansko.webp);
}

.hero--investice {
    background-image: url(/assets/images/investice.webp);
}

.hero--pojisteni {
    background-image: url(/assets/images/pojisteni.webp);
}

.hero--renta {
    background-image: url(/assets/images/renta.webp);
}

.hero--osobni {
    background-image: url(/assets/images/tomas-hyls-osobni.webp);
}

.credits__container {
   flex-direction: column;
   gap: 8px;
}

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

.cta__links {
    flex-direction: column;
}

.about__image:first-of-type {
    order: -1;
}

.jobs {
    background-image: none;
}


}