@font-face {
    font-family: 'EurostileExtendedBlack';
    src: url('/fonts/EurostileExtendedBlack.woff2') format('woff2'),
         url('/fonts/EurostileExtendedBlack.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body,
h1,
h2,
h3,
h4,
h5,
.main-nav  {
    font-family: 'Michroma', sans-serif;
}

:root {
    --bs-primary: #0053A5;
}

p,
input,
textarea,
label,
footer {
    font-family: 'Gidole', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.2rem) !important;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background-color: #004080;
    border-color: #004080;
}


.bg-soft-blue {
    background-color: #E0ECF3 !important;
}

.hidden-honeypot {
    position: absolute;
    left: -9999px;
}

.text-muted{
    font-family: 'Gidole', sans-serif;
    margin-left: 10px;
    font-size: clamp(0.6rem, 1vw, 0.8rem) !important;
    line-height: 1.2;
    text-align: justify;
}

i.bi{
    color: #0053A5 !important;
}

.logo-text {
    display: none;
}

.logo-img {
    height: clamp(30px, 5vw, 100px);
    width: auto;
}

.custom-divider {
    width: 2px;
    height: 55px;
    background-color: #0053A5;
}

.header-title {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.1;
    color: #000;
}

.header-title-sub2 {
    font-family: 'EurostileExtendedBlack' !important;
    font-size: clamp(1rem, 2vw, 2rem);
}

/* Hamburger tečky a nápis MENU */
.custom-toggler .dots {
    width: 6px;
    height: 20px;
    justify-content: space-between;
}
.custom-toggler .dots span {
    display: block;
    width: 6px;
    height: 6px;
    background-color: #0053A5;
    border-radius: 50%;
}
.custom-toggler .menu-label {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(0.8rem, 3vw, 1.2rem) !important;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Menu odkazy */
.main-nav .nav-item {
    padding: 0.5rem 0;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
}
.main-nav .nav-item:hover {
    color: #0053A5;
}

.phone-number {
    font-family: 'Michroma', sans-serif;
    color: #000  !important;
    font-size: clamp(0.8rem, 3vw, 1.0rem) !important;
}

.hero-section {
    position: relative;
    height: 770px;
    background-color: white;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -40%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px; /* nebo tolik, kolik má design */
    background: url('/img/hero.png') no-repeat center center;
    background-size: contain; /* změna z 'cover' na 'contain' */
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 1;
}

.hero-section .container {
    z-index: 1;
    position: relative;
}

/* Box s bublinou */
.hero-label-box {
    position: relative;
    width: 440px;
    max-width: 100%;
    z-index: 1;
    transform: translateY(-90px); /* ← doladíš podle návrhu */
}

.hero-label-bg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-label-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;         /* vertikální zarovnání */
    justify-content: center;     /* horizontální zarovnání */
    background-color: #0053A5;   /* modré pozadí */
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-family: 'Michroma', sans-serif;
    font-size: clamp(1.1rem, 2.4vw, 1.4rem);
    cursor: pointer;
    text-decoration: none;
}

.hero-label-icon {
    height: 80px;
    width: auto;
    flex-shrink: 0;
}

.hero-label-text {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.4;
    text-align: left;
}

.main-section {
    margin-top: -410px; /* přesah přes hero sekci */
    padding-bottom: 4rem;
}

.calc-frame {
    width: 100%;
    min-height: 800px;
    border: none;
    border-radius: 12px;
    background-color: transparent;
}

.calculator-iframe {
    width: 100%;
    max-width: 1200px;
    height: 638x; /* fallback */
    transition: height 0.3s ease;
    border: none;
    /*box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);*/
    border-radius: 12px;
    background: white;
    display: block;
}

.form-wrapper {
    max-width: 700px;
}