:root {
    --surface: #f5f2eb;
    --surface-alt: #ece5da;
    --card: rgba(251, 250, 247, 0.92);
    --card-solid: #fbfaf7;
    --text: #1f2721;
    --muted: #5f6962;
    --line: rgba(31, 39, 33, 0.12);
    --line-strong: rgba(31, 39, 33, 0.2);
    --accent: #73816d;
    --accent-strong: #52604d;
    --accent-soft: #dce4d8;
    --shadow-soft: 0 18px 45px rgba(33, 39, 33, 0.08);
    --shadow-strong: 0 24px 60px rgba(33, 39, 33, 0.14);
    --radius-xl: 32px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(220, 228, 216, 0.68), transparent 34%),
        radial-gradient(circle at bottom right, rgba(228, 219, 203, 0.58), transparent 28%),
        var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

::selection {
    background: rgba(115, 129, 109, 0.24);
    color: var(--text);
}

.container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 110px 24px;
    scroll-margin-top: 110px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-heading.align-left {
    margin-left: 0;
    text-align: left;
}

.section-heading h1,
.section-heading h2,
.hero h1,
.ponuda-text h3,
.zasto-card h3,
.contact-card a,
.popup-box h2,
.popup-box h3,
.paket-body h3 {
    font-family: "Cormorant Garamond", serif;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 0.96;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.section-heading p {
    margin: 16px 0 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 16px;
}

.section-heading.align-left p {
    max-width: 100%;
}

header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 24px));
    min-height: 78px;
    padding: 12px 18px 12px 12px;
    border: 1px solid rgba(156, 141, 116, 0.22);
    border-radius: 999px;
    background: rgba(241, 234, 223, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 14px 36px rgba(31, 39, 33, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1200;
    transition:
        top 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

header.scrolled {
    top: 10px;
    background: rgba(238, 230, 218, 0.97);
    border-color: rgba(156, 141, 116, 0.26);
    box-shadow: 0 18px 42px rgba(31, 39, 33, 0.14);
}

.logo img {
    height: 80px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav a {
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

nav a:hover,
nav a:focus-visible {
    background: rgba(250, 244, 235, 0.74);
    color: var(--text);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(31, 39, 33, 0.08);
    border-radius: 50%;
    background: rgba(244, 237, 227, 0.92);
    color: var(--text);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(31, 39, 33, 0.24);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 1100;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 154px;
    padding-bottom: 110px;
    background:
        linear-gradient(115deg, rgba(245, 242, 235, 0.8) 0%, rgba(245, 242, 235, 0.58) 44%, rgba(245, 242, 235, 0.16) 78%, rgba(245, 242, 235, 0.04) 100%),
        url("../img/herobg.webp") center right / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(115, 129, 109, 0.1), transparent 30%),
        radial-gradient(circle at bottom right, rgba(236, 229, 218, 0.32), transparent 24%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.72fr);
    gap: 42px;
    align-items: end;
}

.hero-shell {
    max-width: 690px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(52px, 8vw, 94px);
    line-height: 0.92;
    letter-spacing: -0.04em;
    font-weight: 600;
    text-wrap: balance;
}

.hero-copy {
    max-width: 640px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 19px);
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn,
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.btn {
    background: var(--text);
    color: #f9f6ef;
    box-shadow: 0 14px 30px rgba(31, 39, 33, 0.18);
}

.btn:hover,
.btn:focus-visible,
.btn-gold:hover,
.btn-gold:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(31, 39, 33, 0.18);
}

.btn.btn-secondary {
    background: rgba(255, 255, 255, 0.68);
    color: var(--text);
    border-color: rgba(31, 39, 33, 0.08);
    box-shadow: none;
}

.btn.btn-secondary:hover,
.btn.btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(31, 39, 33, 0.08);
}

.btn-gold {
    background: var(--accent-strong);
    color: #f8f6f1;
    border-color: rgba(82, 96, 77, 0.14);
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
}

.hero-fact {
    padding: 18px 20px;
    border: 1px solid rgba(173, 156, 130, 0.18);
    border-radius: 24px;
    background: rgba(243, 236, 227, 0.76);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-fact span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-fact strong {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

.hero-aside {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    width: min(100%, 390px);
    padding: 28px;
    border: 1px solid rgba(173, 156, 130, 0.18);
    border-radius: var(--radius-xl);
    background: rgba(244, 237, 228, 0.84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.hero-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-list li {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(250, 245, 238, 0.82);
    border: 1px solid rgba(31, 39, 33, 0.06);
}

.hero-list span,
.highlight-item span,
.summary-card span,
.contact-card span,
.popup-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-list strong,
.highlight-item strong,
.summary-card strong {
    font-size: 15px;
    line-height: 1.45;
}

.hero-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-decoration: none;
}

#ponuda {
    background: linear-gradient(180deg, #ece1cf 0%, #f1e8db 42%, #f5f2eb 100%);
}

.ponuda-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.ponuda-item,
.zasto-card,
.kontakt-panel,
.contact-form-pro {
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.ponuda-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(247, 241, 233, 0.96);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.ponuda-item:hover {
    transform: translateY(-6px);
    border-color: rgba(82, 96, 77, 0.24);
    box-shadow: var(--shadow-strong);
}

.ponuda-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(31, 39, 33, 0.05);
}

.ponuda-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.img-default {
    opacity: 1;
}

.img-hover {
    opacity: 0;
    transform: scale(1.04);
}

.ponuda-item:hover .img-default {
    opacity: 0;
    transform: scale(0.98);
}

.ponuda-item:hover .img-hover {
    opacity: 1;
    transform: scale(1);
}

.card-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ponuda-text {
    text-align: left;
}

.ponuda-text h3 {
    margin: 14px 0 10px;
    font-size: 34px;
    line-height: 0.95;
    font-weight: 600;
}

.ponuda-text p,
.zasto-card p,
.highlight-copy,
.kontakt-note,
.contact-card p,
.form-note,
.consent,
footer p,
.popup-box p,
.popup-list li {
    color: var(--muted);
}

.zasto-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 18%), var(--surface-alt);
}

.zasto-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}

.zasto-highlight {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(251, 250, 247, 0.66);
    box-shadow: var(--shadow-soft);
}

.highlight-copy {
    margin: 0;
    font-size: 15px;
}

.highlight-grid,
.paketi-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.highlight-item,
.summary-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(236, 229, 218, 0.7);
    border: 1px solid rgba(31, 39, 33, 0.06);
}

.zasto-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.zasto-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: left;
}

.zasto-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(220, 228, 216, 0.78), rgba(251, 250, 247, 0.98));
}

.zasto-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.zasto-card h3 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 0.96;
    font-weight: 600;
}

.kontakt-section {
    background: linear-gradient(180deg, rgba(220, 228, 216, 0.46), transparent 22%), var(--surface);
}

.kontakt-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 24px;
    align-items: start;
}

.kontakt-panel,
.contact-form-pro {
    border-radius: var(--radius-xl);
}

.kontakt-panel {
    padding: 30px;
    text-align: left;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(236, 229, 218, 0.62);
}

.kontakt-panel > * + * {
    margin-top: 16px;
}

.contact-card i {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.86);
    color: var(--accent-strong);
    box-shadow: inset 0 0 0 1px rgba(31, 39, 33, 0.06);
}

.contact-card a {
    font-size: 30px;
    line-height: 0.95;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.kontakt-note {
    margin: 18px 0 0;
    font-size: 14px;
}

.kontakt-note a {
    color: var(--accent-strong);
    font-weight: 800;
    text-decoration: none;
}

.contact-form-pro {
    display: grid;
    gap: 18px;
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    position: relative;
}

.form-group i {
    position: absolute;
    top: 18px;
    left: 18px;
    color: var(--accent-strong);
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 58px;
    padding: 16px 18px 16px 50px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group textarea {
    min-height: 150px;
    padding-top: 16px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: rgba(82, 96, 77, 0.34);
    box-shadow: 0 0 0 4px rgba(115, 129, 109, 0.14);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.form-note {
    margin: 0;
    font-size: 14px;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.consent input {
    margin-top: 4px;
    accent-color: var(--accent-strong);
}

.call-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: var(--accent-strong);
    color: #f8f6f1;
    text-decoration: none;
    box-shadow: 0 16px 28px rgba(31, 39, 33, 0.18);
    z-index: 1000;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.call-button:hover,
.call-button:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 20px 34px rgba(31, 39, 33, 0.22);
    background: #44523f;
}

footer {
    padding: 24px 24px 38px;
    background: rgba(251, 250, 247, 0.8);
    border-top: 1px solid rgba(31, 39, 33, 0.08);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
    font-size: 14px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: min(340px, calc(100% - 32px));
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(31, 39, 33, 0.96);
    color: #f8f6f1;
    box-shadow: 0 24px 50px rgba(31, 39, 33, 0.28);
    z-index: 2300;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-title {
    display: block;
    margin-bottom: 8px;
    color: rgba(248, 246, 241, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.toast p {
    margin: 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .hero .container,
    .zasto-layout,
    .kontakt-layout {
        grid-template-columns: 1fr;
    }

    .hero-aside {
        justify-content: flex-start;
    }

    .hero-card {
        width: min(100%, 460px);
    }

    .ponuda-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .section {
        padding: 92px 18px;
    }

    header {
        top: 12px;
        width: calc(100% - 20px);
        min-height: 72px;
        padding-right: 12px;
    }

    .logo img {
        height: 68px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
        position: relative;
        z-index: 1202;
    }

    nav {
        position: fixed;
        top: 88px;
        left: 12px;
        right: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 18px;
        border: 1px solid rgba(31, 39, 33, 0.08);
        border-radius: 28px;
        background: rgba(241, 234, 223, 0.98);
        box-shadow: 0 22px 50px rgba(31, 39, 33, 0.12);
        transform: translateY(-18px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 1201;
    }

    nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    nav a {
        padding: 14px 16px;
        background: rgba(250, 244, 235, 0.66);
    }

    .hero {
        padding-top: 136px;
    }

    .hero-facts,
    .highlight-grid,
    .zasto-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        align-items: flex-start;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }

    .call-button {
        width: 54px;
        height: 54px;
        right: 18px;
        bottom: 18px;
    }
}

@media (max-width: 720px) {
    .ponuda-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .buttons {
        align-items: stretch;
    }

    .btn,
    .btn-gold {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .hero h1,
    .section-heading h1,
    .section-heading h2 {
        text-wrap: initial;
    }

    .hero-card,
    .kontakt-panel,
    .contact-form-pro,
    .zasto-highlight {
        padding: 22px;
    }

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

    .ponuda-text h3,
    .zasto-card h3,
    .contact-card a {
        font-size: 28px;
    }

    .toast {
        right: 16px;
        bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
