/* =====================================================
   HEAR-LAND1 · style.css
   Palette: deep teal + sky blue, editorial feel
   Fonts: Cormorant Garamond (headings) + Nunito Sans (body)
   ===================================================== */

/* === Variables === */
:root {
    --clr-primary:      #0d4b6e;
    --clr-primary-mid:  #1a7a8a;
    --clr-accent:       #3db8d2;
    --clr-accent-warm:  #e07b54;
    --clr-bg:           #f8fbfc;
    --clr-bg-alt:       #edf5f8;
    --clr-surface:      #ffffff;
    --clr-text:         #1a2530;
    --clr-muted:        #5a7284;
    --clr-border:       #cce0e9;
    --clr-footer:       #091e2b;

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body:    'Nunito Sans', 'Segoe UI', Arial, sans-serif;

    --radius-sm:    8px;
    --radius:       14px;
    --radius-lg:    24px;
    --shadow-sm:    0 2px 10px rgba(13, 75, 110, 0.08);
    --shadow:       0 6px 28px rgba(13, 75, 110, 0.13);
    --shadow-lg:    0 16px 56px rgba(13, 75, 110, 0.18);

    --transition:   0.2s ease;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background: var(--clr-bg);
    line-height: 1.68;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--clr-primary-mid); transition: color var(--transition); }
a:hover { color: var(--clr-primary); }
ul { list-style: none; }

/* === Typography === */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; color: var(--clr-primary); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.12rem; font-weight: 600; }
p  { color: var(--clr-muted); }

/* === Layout === */
.wrapper { max-width: 1020px; margin: 0 auto; padding: 0 28px; }

/* === Section tag === */
.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clr-accent);
    border: 1.5px solid var(--clr-accent);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}


/* ==========================================
   BLOCK 1 — Hero / Příznaky
   ========================================== */
.block1 {
    background: linear-gradient(140deg, #0a3650 0%, #0d6480 40%, #1a8fa5 100%);
    color: white;
    padding: 90px 0 110px;
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.block1::before,
.block1::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.block1::before {
    width: 520px; height: 520px;
    top: -120px; right: -80px;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
}
.block1::after {
    width: 300px; height: 300px;
    bottom: -80px; left: -60px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.block1 .wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.b1_inner { flex: 1; position: relative; z-index: 1; }

.b1_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}
.b1_badge::before {
    content: '';
    width: 7px; height: 7px;
    background: #4de8c8;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

.block1 h1 { color: white; margin-bottom: 18px; }

.b1_lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 540px;
}

/* Symptom list */
.b1_symptoms { margin-bottom: 44px; }
.b1_symptoms li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.88);
    font-size: 0.97rem;
    line-height: 1.5;
}
.b1_symptoms li:first-child { border-top: 1px solid rgba(255,255,255,0.1); }

.sym-dot {
    flex-shrink: 0;
    width: 10px; height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: #4de8c8;
    box-shadow: 0 0 0 4px rgba(77, 232, 200, 0.2);
}

.btn-hero {
    display: inline-block;
    background: white;
    color: var(--clr-primary);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.97rem;
    padding: 15px 34px;
    border-radius: 100px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    transition: transform var(--transition), box-shadow var(--transition);
}
.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.22);
    text-decoration: none;
    color: var(--clr-primary);
}

/* Decorative wave rings */
.b1_visual {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}
.wave-rings {
    position: relative;
    width: 120px; height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wave-rings span {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    animation: ring-expand 3s ease-out infinite;
}
.wave-rings span:nth-child(1) { width:40px;  height:40px;  animation-delay:0s; background: rgba(255,255,255,0.15); }
.wave-rings span:nth-child(2) { width:80px;  height:80px;  animation-delay:0.6s; }
.wave-rings span:nth-child(3) { width:120px; height:120px; animation-delay:1.2s; }
.wave-rings span:nth-child(4) { width:170px; height:170px; animation-delay:1.8s; border-style: dashed; opacity:0.4; }

@keyframes ring-expand {
    0%   { opacity:0.6; transform:scale(0.85); }
    60%  { opacity:0.3; }
    100% { opacity:0;   transform:scale(1.1); }
}


/* ==========================================
   BLOCK 2 — Příčiny
   ========================================== */
.block2 {
    background: var(--clr-surface);
    padding: 88px 0;
}

.b2_lead {
    max-width: 680px;
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.b2_highlight {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--clr-bg-alt);
    border-left: 4px solid var(--clr-accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 22px;
    margin: 0 0 52px;
    max-width: 720px;
}
.highlight-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: var(--clr-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 2px;
}
.b2_highlight p { color: var(--clr-primary); font-weight: 500; margin: 0; font-size: 0.97rem; }

.b2_cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.cause-card {
    background: var(--clr-bg);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.cause-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--clr-accent);
}
.cause-num {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--clr-accent);
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.7;
}
.cause-card h3 { margin-bottom: 8px; color: var(--clr-primary); font-size: 1rem; }
.cause-card p  { font-size: 0.88rem; line-height: 1.55; }


/* ==========================================
   BLOCK 3 — Doporučení
   ========================================== */
.block3 {
    background: var(--clr-bg-alt);
    padding: 88px 0;
    position: relative;
}
.block3::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
}

.b3_lead {
    max-width: 600px;
    margin-bottom: 52px;
    font-size: 1.02rem;
}

.b3_list { display: flex; flex-direction: column; gap: 0; }
.rec-item {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 26px 0;
    border-bottom: 1px solid var(--clr-border);
    position: relative;
}
.rec-item:last-child { border-bottom: none; }
.rec-item:hover .rec-num { color: var(--clr-primary-mid); }

.rec-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--clr-accent);
    line-height: 1;
    flex-shrink: 0;
    width: 52px;
    padding-top: 2px;
    transition: color var(--transition);
}
.rec-body h3 { margin-bottom: 6px; }
.rec-body p  { font-size: 0.95rem; line-height: 1.6; }


/* ==========================================
   BLOCK 5 — Kontakt
   ========================================== */
.block5 {
    background: var(--clr-surface);
    padding: 88px 0;
}
.b5_inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 72px;
    align-items: start;
}
.b5_text h2 { margin-bottom: 16px; }
.b5_text p  { font-size: 1rem; }

.b5_form { background: var(--clr-bg); border-radius: var(--radius-lg); padding: 36px; border: 1.5px solid var(--clr-border); }

.form_item { margin-bottom: 16px; }
.form_item input,
.form_item textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.97rem;
    color: var(--clr-text);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    appearance: none;
}
.form_item input:focus,
.form_item textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(61, 184, 210, 0.15);
}
.form_item textarea { resize: vertical; line-height: 1.55; }
.form_item input::placeholder,
.form_item textarea::placeholder { color: #9ab5c4; }

.form_consent {
    font-size: 0.8rem;
    color: var(--clr-muted);
    margin-bottom: 18px;
    line-height: 1.55;
}

.btn-submit {
    width: 100%;
    background: var(--clr-primary);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--clr-primary-mid); transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }


/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: var(--clr-footer);
    padding: 44px 0;
    font-size: 0.87rem;
    color: rgba(255,255,255,0.5);
}
.footer-links { margin-bottom: 16px; }
.footer-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-links a:hover { color: white; }
.footer-sep { margin: 0 10px; opacity: 0.35; }

.footer-operator {
    margin-bottom: 16px;
    line-height: 1.85;
    color: rgba(255,255,255,0.45);
}
.footer-operator strong { color: rgba(255,255,255,0.65); font-weight: 600; }
.footer-operator a { color: rgba(255,255,255,0.65); }

.footer-disclaimer {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    font-style: italic;
}
