/* Font Imports */

/* Plus Jakarta Sans (variable, 200-800) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans/PlusJakartaSans-Variable.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

/* Space Grotesk (variable, 300-700) */
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk/SpaceGrotesk-Variable.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* Inter Regular */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter_24pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Inter SemiBold */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter_24pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* End Font Imports */

/* Default Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-jakarta: 'Plus Jakarta Sans', sans-serif;
    --font-space-grotesk: 'Space Grotesk', sans-serif;
    --font-inter: 'Inter', sans-serif;

    --color-white: #FFFFFF;
    --color-black: #000000;

    /* Incitatus Build palette */
    --inc-page: #F8F9FF;
    --inc-navy: #0B2545;
    --inc-deep: #001026;
    --inc-ink: #0B1C30;
    --inc-text: #44474E;
    --inc-wine: #600B18;
    --inc-blue: #006399;
    --inc-sky: #67BAFD;
    --inc-ice: #EFF4FF;
    --inc-mist: #D3E4FE;
    --inc-line: rgba(196, 198, 207, 0.2);
}

body {
    letter-spacing: 0;
    font-family: var(--font-jakarta);
    color: var(--inc-ink);
    background-color: var(--inc-page);
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.font-family-jakarta * {
    font-family: var(--font-jakarta) !important;
}

.font-family-space-grotesk * {
    font-family: var(--font-space-grotesk) !important;
}

.font-family-inter * {
    font-family: var(--font-inter) !important;
}

.font-size-56 * {
    font-size: clamp(36px, 1.8779vw + 28.9577px, 56px) !important;
}

.font-size-42 * {
    font-size: clamp(32px, 0.9390vw + 28.4789px, 42px) !important;
}

.font-size-80 * {
    font-size: clamp(41px, 3.6620vw + 27.2676px, 80px) !important;
}

.font-size-70 * {
    font-size: clamp(39px, 2.9108vw + 28.0845px, 70px) !important;
}

.font-size-60 * {
    font-size: clamp(37px, 2.1596vw + 28.9014px, 60px) !important;
}

.font-size-62 * {
    font-size: clamp(37px, 2.3474vw + 28.1972px, 62px) !important;
}

.font-size-64 * {
    font-size: clamp(38px, 2.4413vw + 28.8451px, 64px) !important;
}

.font-size-48 * {
    font-size: clamp(34px, 1.3146vw + 29.0702px, 48px) !important;
}

.font-size-45 * {
    font-size: clamp(33px, 1.1268vw + 28.7746px, 45px) !important;
}

.font-size-50 * {
    font-size: clamp(34px, 1.5023vw + 28.3663px, 50px) !important;
}

.font-size-55 * {
    font-size: clamp(35px, 1.8779vw + 27.9579px, 55px) !important;
}

.font-size-44 * {
    font-size: clamp(33px, 1.0329vw + 29.1268px, 44px) !important;
}

.font-size-40 * {
    font-size: clamp(31px, 0.8451vw + 27.8310px, 40px) !important;
}

.font-size-36 * {
    font-size: clamp(29px, 0.6573vw + 26.5352px, 36px) !important;
}

.font-size-35 * {
    font-size: clamp(28px, 0.6573vw + 25.5352px, 35px) !important;
}

.font-size-32 * {
    font-size: clamp(27px, 0.4695vw + 25.2394px, 32px) !important;
}

.font-size-30 * {
    font-size: clamp(26px, 0.3756vw + 24.5915px, 30px) !important;
}

.font-size-28 * {
    font-size: clamp(24px, 0.3756vw + 22.5915px, 28px) !important;
}

.font-size-26 * {
    font-size: clamp(23px, 0.2817vw + 21.9437px, 26px) !important;
}

.font-size-25 * {
    font-size: clamp(22px, 0.2817vw + 20.9437px, 25px) !important;
}

.font-size-24 * {
    font-size: clamp(21px, 0.2817vw + 19.9437px, 24px) !important;
}

.font-size-23 * {
    font-size: clamp(21px, 0.1878vw + 20.2958px, 23px) !important;
}

.font-size-22 * {
    font-size: clamp(20px, 0.1878vw + 19.2958px, 22px) !important;
}

.font-size-20 * {
    font-size: clamp(19px, 0.0939vw + 18.6479px, 20px) !important;
}

.font-size-19 * {
    font-size: clamp(18px, 0.0939vw + 17.6479px, 19px) !important;
}

.font-size-18 * {
    font-size: clamp(17px, 0.0939vw + 16.6479px, 18px) !important;
}

.font-size-17 * {
    font-size: clamp(16px, 0.0939vw + 15.6479px, 17px) !important;
}

.font-size-16 * {
    font-size: clamp(15px, 0.0939vw + 14.6479px, 16px) !important;
}

.font-size-15 * {
    font-size: clamp(14px, 0.0939vw + 13.6479px, 15px) !important;
}

.font-size-14 * {
    font-size: 14px !important;
}

.font-size-13 * {
    font-size: 13px !important;
}

.font-size-12 * {
    font-size: 12px !important;
}

.font-size-11 * {
    font-size: 11px !important;
}

.font-size-10 * {
    font-size: 10px !important;
}

.font-size-8 * {
    font-size: 8px !important;
}

b {
    font-weight: 600 !important;
}

strong {
    font-weight: 700 !important;
}

.font-weight-800 *:not(strong) {
    font-weight: 800 !important;
}

.font-weight-700 *:not(strong) {
    font-weight: 700 !important;
}

.font-weight-600 *:not(strong) {
    font-weight: 600 !important;
}

.font-weight-500 *:not(strong) {
    font-weight: 500 !important;
}

.font-weight-400 *:not(strong) {
    font-weight: 400 !important;
}

.font-weight-300 *:not(strong) {
    font-weight: 300 !important;
}

.font-weight-200 *:not(strong) {
    font-weight: 200 !important;
}


/* Pixel line-heights, not percent */
.line-height-64px * {
    line-height: 64px !important;
}

.line-height-48px * {
    line-height: 48px !important;
}

.line-height-40px * {
    line-height: 40px !important;
}

.line-height-38px * {
    line-height: 38px !important;
}

.line-height-37\.5px * {
    line-height: 37.5px !important;
}

.line-height-30px * {
    line-height: 30px !important;
}

.line-height-29\.25px * {
    line-height: 29.25px !important;
}

.line-height-28px * {
    line-height: 28px !important;
}

.line-height-44px * {
    line-height: 44px !important;
}

.line-height-26px * {
    line-height: 26px !important;
}

.line-height-24\.38px * {
    line-height: 24.38px !important;
}

.line-height-24px * {
    line-height: 24px !important;
}

.line-height-21\.13px * {
    line-height: 21.13px !important;
}

.line-height-20px * {
    line-height: 20px !important;
}

.line-height-17\.5px * {
    line-height: 17.5px !important;
}

.line-height-16px * {
    line-height: 16px !important;
}

.line-height-15px * {
    line-height: 15px !important;
}

/* Letter-spacing: PERCENT->em, PIXELS->px */
.letter-spacing-n1\.68px * {
    letter-spacing: -1.68px !important;
}

.letter-spacing-n1\.05px * {
    letter-spacing: -1.05px !important;
}

.letter-spacing-n1px * {
    letter-spacing: -1px !important;
}

.letter-spacing-n0\.75px * {
    letter-spacing: -0.75px !important;
}

.letter-spacing-n0\.6px * {
    letter-spacing: -0.6px !important;
}

.letter-spacing-n0\.45px * {
    letter-spacing: -0.45px !important;
}

.letter-spacing-n0\.33px * {
    letter-spacing: -0.33px !important;
}

.letter-spacing-n0\.18px * {
    letter-spacing: -0.18px !important;
}

.letter-spacing-n0\.9px * {
    letter-spacing: -0.9px !important;
}

.letter-spacing-n0\.22px * {
    letter-spacing: -0.22px !important;
}

.letter-spacing-0\.14px * {
    letter-spacing: 0.14px !important;
}

.letter-spacing-0\.24px * {
    letter-spacing: 0.24px !important;
}

.letter-spacing-0\.6px * {
    letter-spacing: 0.6px !important;
}

.letter-spacing-0\.55px * {
    letter-spacing: 0.55px !important;
}

.letter-spacing-0\.66px * {
    letter-spacing: 0.66px !important;
}

.letter-spacing-1\.1px * {
    letter-spacing: 1.1px !important;
}

.letter-spacing-1\.2px * {
    letter-spacing: 1.2px !important;
}

[class*="max-"] * {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.max-5-row-text * {
    -webkit-line-clamp: 5;
    line-clamp: 5;
}

.max-4-row-text * {
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.max-3-row-text * {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.max-2-row-text * {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.max-1-row-text * {
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.section-pad {
    padding: 100px 0;
}

.section-ice {
    background-color: var(--inc-ice);
}

/* End Default Styles */

/* Buttons */
.btn-wine,
.btn-glass,
.btn-rose,
.btn-wiz {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    transition: background-color 0.3s ease;
}

.btn-wine {
    gap: 12px;
    padding: 16px 32px;
    background-color: var(--inc-wine);
    border: 0;
    box-shadow: 0 10px 25px -5px rgba(96, 11, 24, 0.5);
}

.btn-wine:hover {
    background-color: #7A1222;
    color: #fff;
}

.btn-wine--flat {
    width: 100%;
    box-shadow: none;
}

.btn-glass {
    gap: 8px;
    padding: 16px 28px;
    background-color: rgba(255, 116, 116, 0.15);
    border: 1px solid rgba(255, 205, 206, 0.3);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-glass:hover {
    background-color: rgba(255, 116, 116, 0.25);
    color: #fff;
}

.btn-rose {
    gap: 12px;
    padding: 16px 32px;
    background-color: #943251;
}

.btn-rose:hover {
    background-color: #7E2A45;
    color: #fff;
}

.btn-label span {
    display: block;
}

.btn-wine img,
.btn-glass img,
.btn-rose img,
.btn-wiz img {
    display: block;
    flex: none;
}

/* Arrow nudges right on hover */
.btn-arrow,
.service-link-arrow img {
    transition: transform 0.3s ease;
}

.btn-wine:hover .btn-arrow,
.btn-rose:hover .btn-arrow,
.btn-wiz--next:hover .btn-arrow,
.service-link:hover .service-link-arrow img {
    transform: translateX(4px);
}

/* Shared hover-zoom */
.service-card-media img,
.gallery-card > img {
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img,
.ref-card:hover .service-card-media img,
.gallery-card:hover > img {
    transform: scale(1.05);
}

/* Section heads */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--inc-wine);
}

.eyebrow--wide {
    gap: 10px;
}

.eyebrow-line {
    flex: none;
    width: 32px;
    height: 1px;
    background-color: var(--inc-wine);
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 64px;
}

.section-title {
    color: var(--inc-ink);
}

.section-head--compact {
    gap: 14px;
    padding-top: 6px;
}

.icon-white {
    filter: brightness(0) invert(1);
}

/* End Buttons */

/* Header */
.topbar {
    background-color: var(--inc-navy);
    border-bottom: 1px solid var(--inc-line);
    color: #fff;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    gap: 40px;
}

.topbar-contacts a {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.topbar-contacts a:hover {
    color: var(--inc-sky);
}

.topbar img {
    display: block;
    flex: none;
}

.main-nav {
    padding: 9px 0;
    background-color: #FEFEFE;
}

.main-nav-logo img {
    display: block;
    width: 112px;
    height: 62px;
}

.main-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #050505;
}

.main-nav-links a {
    transition: color 0.3s ease;
}

.main-nav-links a:hover {
    color: var(--inc-wine);
}

.main-nav .navbar-toggler {
    border-color: var(--inc-line);
}

.main-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(96, 11, 24, 0.15);
}

/* Collapse wrapper stays bare, decoration on the list */
@media (max-width: 991.98px) {
    .main-nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-top: 12px;
        padding: 20px 24px;
        background-color: #fff;
        border: 1px solid var(--inc-line);
        border-radius: 8px;
        box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }
}

/* End Header */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    background-color: var(--inc-deep);
}

.hero-glow {
    position: absolute;
    border-radius: 12px;
    filter: blur(32px);
    opacity: 0.25;
    pointer-events: none;
}

.hero-glow-1 {
    top: 0;
    left: -98px;
    width: 384px;
    height: 384px;
    background-color: var(--inc-blue);
}

.hero-glow-2 {
    right: -65px;
    bottom: -105px;
    width: 320px;
    height: 320px;
    background-color: var(--inc-sky);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    color: #fff;
}

.hero-title-accent {
    color: #9D2F40;
}

.hero-desc {
    color: var(--inc-mist);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 668 / 651;
}

.hero-shape {
    position: absolute;
    overflow: hidden;
}

.hero-shape img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shape-1 {
    left: 10.03%;
    top: -0.154%;
    width: 29.79%;
    height: 106.144%;
    clip-path: url(#heroShape1);
}

.hero-shape-1 img {
    object-position: 44.88% 0;
    transform: translateY(0.128%);
}

.hero-shape-2 {
    left: 45.659%;
    top: -0.154%;
    width: 31.287%;
    height: 100.154%;
    clip-path: url(#heroShape2);
}

.hero-shape-2 img {
    object-position: 70.23% 0;
    transform: translateY(-0.012%);
}

.hero-shape-3 {
    left: 73.802%;
    top: -3.379%;
    width: 25.599%;
    height: 103.226%;
    clip-path: url(#heroShape3);
}

.hero-shape-3 img {
    object-position: 92.41% 0;
    transform: translateY(1.43%);
}

.hero-clip-defs {
    position: absolute;
    width: 0;
    height: 0;
}

/* End Hero Section */

/* Values Section ("Miért válassz minket?") */
.values-head {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.value-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    padding: 24px;
    border-radius: 8px;
    background-color: var(--inc-ice);
}

.value-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 2px;
    background-color: rgba(103, 186, 253, 0.2);
}

.value-card-title {
    color: var(--inc-ink);
}

.value-card-desc {
    color: var(--inc-text);
}

/* End Values Section */

/* CTA bar */
.cta-bar {
    padding: 20px 0;
    background: linear-gradient(90deg, #5E1E33 0%, #6B243C 50%, #5E1E33 100%);
    border-top: 1px solid rgba(103, 186, 253, 0.3);
    border-bottom: 1px solid rgba(103, 186, 253, 0.3);
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.cta-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.cta-bar-lead {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cta-bar-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* End CTA bar */

/* About Section ("Kik vagyunk") */
.about-narrative {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
}

.about-metric {
    display: flex;
    flex: 1 1 150px;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border-radius: 8px;
    background-color: #D4E0FA;
}

.about-metric-value {
    color: var(--inc-blue);
}

.about-metric-label {
    color: var(--inc-text);
}

.about-visual {
    position: relative;
    height: 100%;
}

.about-photo {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 36.92% 50%;
}

.about-badge {
    position: absolute;
    right: 24px;
    bottom: -24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 334px;
    max-width: calc(100% - 48px);
    padding: 20px;
    border-radius: 8px;
    background-color: var(--inc-navy);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.about-badge-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-badge-desc {
    color: var(--inc-mist);
}

/* End About Section */

/* Services Section */
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--inc-line);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.service-card-media {
    position: relative;
    height: 192px;
    overflow: hidden;
    background-color: #15253C;
}

.service-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 16, 38, 0.8) 0%, rgba(0, 16, 38, 0) 50%);
}

.service-card-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 24px;
}

.service-card-title {
    color: var(--inc-ink);
}

.service-card-desc {
    color: var(--inc-text);
}

.service-card-footer {
    padding: 0 24px 24px;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 58px;
    padding: 12px 20px;
    border: 1px solid rgba(0, 99, 153, 0.2);
    border-radius: 8px;
    background-color: var(--inc-ice);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: var(--inc-blue);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.service-link:hover {
    border-color: rgba(0, 99, 153, 0.4);
    background-color: #E3ECFD;
    color: var(--inc-blue);
}

.service-link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background-color: rgba(211, 228, 254, 0.2);
}

.service-link-arrow img {
    display: block;
}

/* End Services Section */

/* Calculator teaser */
.calc-card {
    padding: 56px;
    border: 1px solid #E5EEFF;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.calc-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.calc-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--inc-wine);
}

.calc-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 50px;
    padding-top: 8px;
}

.calc-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calc-feature-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: #FFDFE4;
}

.calc-feature-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.calc-feature-title {
    color: var(--inc-deep);
}

.calc-feature-sub {
    color: var(--inc-text);
}

.calc-photo {
    aspect-ratio: 468 / 440;
    border-radius: 16px;
    overflow: hidden;
}

.calc-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* End Calculator teaser */

/* Gallery Section ("Referenciák") */
.gallery-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 64px;
    margin-bottom: 40px;
}

.gallery-head .section-head {
    margin-bottom: 0;
}

.gallery-lead {
    color: var(--inc-text);
}

.gallery-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 320px;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--inc-deep);
    box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.gallery-card--tall,
.gallery-card--featured {
    height: 480px;
}

.gallery-card > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 16, 38, 0.9) 0%, rgba(0, 16, 38, 0.3) 50%, rgba(0, 16, 38, 0) 100%);
}

.gallery-card--tall .gallery-card-scrim {
    background: linear-gradient(0deg, rgba(0, 16, 38, 0.95) 0%, rgba(0, 16, 38, 0.3) 50%, rgba(0, 16, 38, 0) 100%);
}

.gallery-card--featured .gallery-card-scrim {
    background: linear-gradient(0deg, rgba(0, 16, 38, 0.95) 0%, rgba(0, 16, 38, 0.4) 50%, rgba(0, 16, 38, 0) 100%);
}

.gallery-tags {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.gallery-card--tall .gallery-tags,
.gallery-card--featured .gallery-tags {
    top: 20px;
    left: 20px;
}

.gallery-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border: 1px solid var(--inc-line);
    border-radius: 12px;
    background-color: rgba(11, 37, 69, 0.8);
    backdrop-filter: blur(6px);
    color: #fff;
}

.gallery-tag--slim {
    padding: 6px 12px;
}

.gallery-tag--wine {
    background-color: #932637;
}

.gallery-tag--wine-soft {
    background-color: rgba(96, 11, 24, 0.8);
}

.gallery-tags--static {
    position: static;
}

.gallery-tag--featured {
    gap: 6px;
    padding: 6px 14px;
    border: 0;
    background-color: var(--inc-wine);
    backdrop-filter: none;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.gallery-tag img,
.gallery-tag span span {
    display: block;
    flex: none;
}

.gallery-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
}

.gallery-card--tall .gallery-card-body {
    padding: 24px;
}

.gallery-card--featured .gallery-card-body {
    gap: 10px;
    padding: 32px;
}

.gallery-card-cat {
    color: var(--inc-sky);
}

.gallery-card-cat--light {
    color: #87C9FF;
}

.gallery-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--inc-sky);
}

.gallery-card-date {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 8px;
}

.gallery-card-meta img,
.gallery-card-date img {
    display: block;
    flex: none;
}

.gallery-card-desc--gap {
    padding-top: 2px;
}

.gallery-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.gallery-more--tight {
    margin-top: 24px;
}

.gallery-more a {
    color: var(--inc-wine);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.gallery-more a:hover {
    color: #943251;
}

.gallery-more a span {
    display: block;
}

/* End Gallery Section */

/* Reviews Section ("Vélemények") */
.review-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: 100%;
    min-height: 343px;
    padding: 24px;
    border-radius: 16px;
    background-color: #F2F2F2;
    text-align: center;
}

.review-stars {
    display: flex;
    gap: 4px;
}

.review-stars img,
.review-posting img {
    display: block;
}

.review-text,
.review-name {
    color: #1A1A1A;
}

.review-avatar {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #811EA1;
    color: #fff;
}

.review-user {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.review-muted {
    color: rgba(0, 0, 0, 0.5);
}

.review-posting {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* End Reviews Section */

/* Contact Section */
.contact-info-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--inc-line);
    border-radius: 24px;
    background-color: #fff;
    box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact-photo {
    position: relative;
    flex: 1 1 auto;
    min-height: 260px;
    overflow: hidden;
}

.contact-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 61.7% 50%;
}

.contact-photo-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0) 50%);
}

.contact-info-panel {
    padding: 24px 40px 57px;
    border-top: 1px solid rgba(103, 186, 253, 0.2);
    background-color: #004C76;
    color: #fff;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3.5px;
}

.contact-info-item--border {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-info-label {
    color: var(--inc-mist);
}

.contact-info-value {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 37px;
    color: #fff;
    transition: color 0.3s ease;
}

.contact-info-item--border .contact-info-value {
    min-height: 29px;
}

a.contact-info-value:hover {
    color: var(--inc-sky);
}

.contact-info-value img {
    display: block;
    flex: none;
}

.social-links {
    display: flex;
    gap: 5px;
}

.social-links a {
    display: block;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.75;
}

.social-links img {
    display: block;
}

.contact-form-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
    padding: 40px;
    border: 1px solid var(--inc-line);
    border-radius: 24px;
    background-color: #fff;
    box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    color: #74777F;
}

/* Block span, no inherited strut */
.contact-label span {
    display: block;
}

/* Native inputs have no descendant, typography set here */
.contact-input {
    width: 100%;
    height: 53px;
    padding: 15px 16px 16px;
    border: 1px solid rgba(196, 198, 207, 0.5);
    border-radius: 8px;
    background-color: var(--inc-ice);
    font-family: var(--font-jakarta);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: var(--inc-ink);
}

.contact-input::placeholder {
    color: #6B7280;
    opacity: 1;
}

.contact-input:focus {
    border-color: var(--inc-blue);
    background-color: var(--inc-ice);
    box-shadow: 0 0 0 3px rgba(0, 99, 153, 0.15);
    outline: 0;
}

.contact-select-wrap {
    position: relative;
}

.contact-select {
    height: 56px;
    padding: 14px 52px 14px 16px;
    line-height: 24px;
    appearance: none;
    cursor: pointer;
}

/* Centered on the 56px select, not the wrapper */
.contact-select-arrow {
    position: absolute;
    top: 28px;
    right: 12px;
    display: block;
    transform: translateY(-50%);
    pointer-events: none;
}

.was-validated .contact-select:valid,
.was-validated .contact-select:invalid {
    padding-right: 80px;
    background-position: right 52px center;
}

.contact-field--message {
    padding-bottom: 6px;
}

.contact-textarea {
    height: 126px;
    padding: 14px 16px;
    line-height: 24px;
    resize: vertical;
}

.contact-consent {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 20px;
}

.contact-checkbox.form-check-input {
    flex: none;
    width: 16px;
    height: 16px;
    margin: 4px 0 0;
    border: 1px solid #6B7280;
    border-radius: 2px;
    background-color: #fff;
    cursor: pointer;
}

.contact-checkbox.form-check-input:checked {
    border-color: var(--inc-wine);
    background-color: var(--inc-wine);
}

.contact-checkbox.form-check-input:focus {
    border-color: var(--inc-wine);
    box-shadow: 0 0 0 3px rgba(96, 11, 24, 0.15);
}

.contact-consent-label {
    flex: 1 1 0%;
    min-width: 0;
    min-height: 22px;
    color: var(--inc-text);
}

.contact-consent-label > span {
    display: block;
}

.contact-consent-label a {
    color: var(--inc-wine);
    text-decoration: underline;
}

.contact-consent .invalid-feedback {
    padding-left: 36px;
}

.contact-form-card .invalid-feedback {
    font-family: var(--font-jakarta);
    font-size: 13px;
}

.contact-success {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #E6F4EA;
    color: #1E6B34;
}

.contact-success.is-visible {
    display: block;
}

/* End Contact Section */

/* Footer */
.site-footer {
    padding: 72px 0 32px;
    background-color: var(--inc-navy);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo img {
    display: block;
    width: 136px;
    height: 56px;
}

.footer-desc {
    padding-top: 6.875px;
    color: var(--inc-mist);
}

.footer-heading {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--inc-line);
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--inc-mist);
}

.footer-links a,
.footer-contact a,
.footer-bottom a {
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-label {
    color: #C4C6CF;
}

.footer-contact-value {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--inc-line);
    color: #C4C6CF;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.footer-legal-dot {
    color: rgba(196, 198, 207, 0.3);
}

/* End Footer */

/* Page hero (inner pages) */
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 354px;
    overflow: hidden;
    background-color: var(--inc-deep);
}

.page-hero .hero-glow-2 {
    top: 194px;
    bottom: auto;
}

.page-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52.55%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 12.339% 100%);
}

.page-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    color: #fff;
}

/* End Page hero */

/* Rólunk - Kik vagyunk */
.who-section {
    background-color: #fff;
}

.who-lead-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 9px;
}

.who-title,
.subsection-title {
    color: var(--inc-deep);
}

.who-lead {
    color: var(--inc-blue);
}

/* End Rólunk - Kik vagyunk */

/* Rólunk - Technológiai háttér */
.craft-intro {
    display: flex;
    flex-direction: column;
    gap: 23.1px;
    padding-top: 6px;
}

.craft-title {
    padding-top: 2.9px;
    color: var(--inc-deep);
}

.craft-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.craft-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.craft-item-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background-color: var(--inc-wine);
}

.craft-item-icon img {
    display: block;
}

.craft-item-title {
    color: var(--inc-wine);
}

.craft-item-desc {
    color: var(--inc-text);
}

.craft-mosaic {
    display: flex;
    align-items: center;
    gap: 16px;
}

.craft-mosaic-col {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.craft-mosaic-col--low {
    padding-bottom: 32px;
}

.craft-mosaic-col--high {
    padding-top: 32px;
}

.craft-photo {
    height: 224px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #DCE9FF;
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.craft-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Non-uniform horizontal crop, not cover */
.craft-photo--crop img {
    width: 148.94%;
    max-width: none;
    margin-left: -24.47%;
    object-fit: fill;
}

.craft-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 30px 24px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.craft-card-title {
    padding-top: 2px;
}

.craft-card--dark {
    background-color: var(--inc-deep);
}

.craft-card--dark .craft-card-label {
    color: var(--inc-sky);
}

.craft-card--dark .craft-card-title {
    color: #fff;
}

.craft-card--dark .craft-card-desc {
    color: #778DB2;
}

.craft-card--light {
    background-color: var(--inc-mist);
}

.craft-card--light .craft-card-label {
    color: var(--inc-blue);
}

.craft-card--light .craft-card-title {
    color: var(--inc-deep);
}

.craft-card--light .craft-card-desc {
    color: var(--inc-text);
}

/* End Rólunk - Technológiai háttér */

/* Referencia list */
.ref-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ref-card {
    display: flex;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ref-card-media.service-card-media {
    flex: 0 0 50%;
    height: auto;
    min-height: 318px;
}

.ref-card-media img {
    position: absolute;
    inset: 0;
}

.ref-card-media .gallery-tags {
    top: 22px;
    left: 25px;
}

.ref-card-body {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
}

.ref-card-cat {
    color: #92182B;
}

/* End Referencia list */

/* Referencia belső - project header */
.project-head {
    padding: 40px 0;
    background-color: var(--inc-ice);
}

.project-head-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* End Referencia belső - project header */

/* Referencia belső - photo slider + specs */
.project-media {
    padding: 50px 0;
}

.project-slider {
    position: relative;
    height: 620px;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--inc-navy);
    box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.project-slider .splide__track,
.project-slider .splide__list,
.project-slider .splide__slide {
    height: 100%;
}

.project-slider .splide__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-slider-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(0, 16, 38, 0.95) 0%, rgba(0, 16, 38, 0.2) 50%, rgba(0, 16, 38, 0) 100%);
    pointer-events: none;
}

.project-slider-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: block;
    padding: 0;
    border: 0;
    background: none;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
}

.project-slider-btn:hover {
    opacity: 0.75;
}

/* Figma FIT: square icon in a 56x61 box */
.project-slider-btn img {
    display: block;
    object-fit: contain;
}

/* Reset Splide's default round arrow */
.project-slider .splide__arrow {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    opacity: 1;
}

.project-slider .splide__arrow:hover:not(:disabled) {
    opacity: 0.75;
}

.project-slider-btn--prev {
    left: 25px;
}

/* Left arrow is the mirrored right one */
.project-slider-btn--prev img {
    transform: scaleX(-1);
}

.project-slider-btn--next {
    right: 25px;
}

/* Keeps the row's own negative gutter margin */
.project-specs {
    margin-top: calc(54px - var(--bs-gutter-y));
}

.project-spec {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: 100%;
    padding: 24px 19px;
    border: 1px solid rgba(196, 198, 207, 0.5);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #000;
}

/* End Referencia belső - photo slider + specs */

/* Referencia belső - case study */
.case-section {
    padding: 64px 0;
    background-color: var(--inc-ice);
}

.case-section .section-head {
    margin-bottom: 40px;
}

.case-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    padding: 40px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.case-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background-color: var(--inc-wine);
}

.case-card-icon--muted {
    background-color: #882A38;
}

.case-card-icon img {
    display: block;
}

.case-card-title {
    padding-top: 1px;
}

/* End Referencia belső - case study */

/* Referencia belső - more references */
.more-refs .section-head {
    margin-bottom: 24px;
}

/* End Referencia belső - more references */

/* Kapcsolat page */
.contact-intro {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 64px;
    padding: 38px 32px 32px;
    border-radius: 8px;
    background-color: var(--inc-ice);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.contact-map {
    height: 269px;
    margin-bottom: 64px;
    overflow: hidden;
    border-radius: 8px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* End Kapcsolat page */

/* Tetőkalkulátor wizard */
.wiz-section {
    padding: 50px 0 100px;
}

.wiz-nav {
    padding: 24px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wiz-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.wiz-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    height: 56px;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background-color: #E5EEFF;
    color: var(--inc-ink);
    text-align: left;
    transition: background-color 0.3s ease;
}

.wiz-tab:disabled {
    cursor: default;
}

.wiz-tab:not(:disabled):not(.is-active):hover {
    background-color: #D8E4FB;
}

.wiz-tab-num {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 2px;
    background-color: var(--inc-mist);
    color: var(--inc-text);
}

.wiz-tab span span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wiz-tab.is-active {
    background-color: var(--inc-wine);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #fff;
}

.wiz-tab.is-active .wiz-tab-num {
    background-color: #9E5A64;
    color: #fff;
}

.wiz-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wiz-panel[hidden] {
    display: none;
}

.wiz-heading {
    padding-top: 6px;
}

.wiz-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
}

.btn-wiz {
    gap: 8px;
    padding: 15px 24px;
    border: 0;
}

.btn-wiz--back {
    background-color: #578FD3;
}

.btn-wiz--back:hover {
    background-color: #4079BF;
    color: #fff;
}

.btn-wiz--back .btn-arrow {
    transform: scaleX(-1);
}

.btn-wiz--back:hover .btn-arrow {
    transform: scaleX(-1) translateX(4px);
}

.btn-wiz--next {
    background-color: var(--inc-navy);
}

.btn-wiz--next:hover {
    background-color: #173A63;
    color: #fff;
}

/* Selectable option card (shape, form) */
.wiz-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 25px;
    border: 1px solid rgba(196, 198, 207, 0.5);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wiz-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wiz-option:hover {
    border-color: rgba(96, 11, 24, 0.5);
}

/* 4px inside stroke without layout shift */
.wiz-option:has(input:checked) {
    border-color: var(--inc-wine);
    box-shadow: inset 0 0 0 3px var(--inc-wine), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wiz-option:has(input:focus-visible) {
    outline: 3px solid rgba(0, 99, 153, 0.4);
    outline-offset: 2px;
}

.wiz-option-media {
    aspect-ratio: 325.3 / 185;
}

.wiz-option-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wiz-option-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    color: var(--inc-deep);
}

.wiz-option-foot img {
    flex: none;
}

.wiz-radio-on,
.wiz-option:has(input:checked) .wiz-radio-off {
    display: none;
}

.wiz-radio-off,
.wiz-option:has(input:checked) .wiz-radio-on {
    display: block;
}

/* Step 2 - dimensions */
.wiz-dims-fields input[type="number"] {
    appearance: textfield;
}

.wiz-dims-fields input[type="number"]::-webkit-inner-spin-button,
.wiz-dims-fields input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.wiz-dims {
    display: flex;
    align-items: center;
    gap: 24px;
}

.wiz-dims-visual {
    flex: 0 0 calc((100% - 48px) / 3);
    cursor: default;
}

.wiz-dims-visual:hover {
    border-color: rgba(196, 198, 207, 0.5);
}

.wiz-dims-fields {
    flex: 1 1 auto;
    min-width: 0;
}

.wiz-pitch {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wiz-pitch-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 24px 24px;
    border: 1px solid rgba(196, 198, 207, 0.5);
    border-radius: 8px;
    background-color: var(--inc-ice);
}

.wiz-dial {
    position: relative;
    flex: none;
    width: 160px;
    height: 112px;
}

.wiz-dial svg {
    position: absolute;
    inset: 0;
    display: block;
}

.wiz-dial-value {
    position: absolute;
    top: 3px;
    left: 2px;
    display: flex;
    align-items: baseline;
    color: #002A54;
}

.wiz-dial-deg {
    color: var(--inc-blue);
}

.wiz-dial-value span {
    display: block;
}

.wiz-pitch-controls {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.wiz-range {
    --fill: 58.33%;
    width: 100%;
    height: 16px;
    margin: 0;
    background: transparent;
    appearance: none;
    cursor: pointer;
}

.wiz-range::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 8px;
    background: linear-gradient(90deg, #5C90FF var(--fill), #BFD2FA var(--fill));
}

.wiz-range::-moz-range-track {
    height: 10px;
    border-radius: 8px;
    background: linear-gradient(90deg, #5C90FF var(--fill), #BFD2FA var(--fill));
}

.wiz-range::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    margin-top: -3px;
    border: 3px solid #5C90FF;
    border-radius: 50%;
    background-color: #fff;
    appearance: none;
}

.wiz-range::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: 3px solid #5C90FF;
    border-radius: 50%;
    background-color: #fff;
}

.wiz-range:focus-visible {
    outline: 3px solid rgba(0, 99, 153, 0.4);
    outline-offset: 4px;
}

.wiz-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 6px;
}

.wiz-pill {
    padding: 6px 16px;
    border: 0;
    border-radius: 9999px;
    background-color: #fff;
    color: #43474F;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.wiz-pill:hover {
    background-color: #DCE7FB;
}

.wiz-pill.is-active {
    background-color: #002A54;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #fff;
}

.wiz-pill span,
.wiz-tile-btn span {
    display: block;
}

/* Step 3 - tile form + photos */
.wiz-forms {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.wiz-forms .wiz-option {
    flex: 0 1 399px;
    gap: 20px;
    padding: 30px;
}

.wiz-forms .wiz-option-media {
    aspect-ratio: 331 / 138.1;
}

.wiz-forms .wiz-option-media img {
    object-fit: fill;
}

.wiz-gallery {
    position: relative;
}

.wiz-gallery-track {
    display: flex;
    gap: 21px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.wiz-gallery-track::-webkit-scrollbar {
    display: none;
}

.wiz-gallery-item {
    flex: 0 0 calc((100% - 42px) / 3);
    aspect-ratio: 374.6 / 269.9;
    overflow: hidden;
    border-radius: 8px;
    scroll-snap-align: start;
}

.wiz-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wiz-gallery .project-slider-btn--prev {
    left: 19px;
}

.wiz-gallery .project-slider-btn--next {
    right: 19px;
}

/* Step 4 - tiles */
.wiz-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 0 0 1px rgba(196, 198, 207, 0.5), 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.wiz-tile.is-selected {
    background-color: rgba(239, 244, 255, 0.4);
    box-shadow: 0 0 0 4px var(--inc-wine), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wiz-tile-media {
    height: 224px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background-color: #DCE9FF;
}

.wiz-tile-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wiz-tile-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #992637;
    box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.wiz-tile.is-selected .wiz-tile-badge {
    display: flex;
}

.wiz-tile-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
}

.wiz-tile-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wiz-tile-strong {
    color: #002A54;
}

.wiz-tile-muted {
    color: #43474F;
}

.wiz-swatch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wiz-swatches {
    display: flex;
    gap: 8px;
    padding-top: 8px;
}

.wiz-swatch {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.wiz-swatch:hover {
    transform: scale(1.1);
}

.wiz-swatch.is-active::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
}

.wiz-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
}

.wiz-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.wiz-tile-btn {
    flex: none;
    padding: 8px 16px;
    border: 0;
    border-radius: 8px;
    background-color: #E6EEFF;
    color: #43474F;
    transition: background-color 0.3s ease;
}

.wiz-tile-btn:hover {
    background-color: #D6E2FB;
}

.wiz-tile.is-selected .wiz-tile-btn {
    background-color: var(--inc-wine);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #fff;
}

/* Step 5 - summary */
.wiz-sum-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wiz-sum-head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #002A54;
}

.wiz-sum-head img {
    display: block;
}

.wiz-sum-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding: 16px;
    border-radius: 8px;
    background-color: var(--inc-ice);
}

.wiz-sum-overview .wiz-option {
    cursor: default;
}

.wiz-sum-spec {
    display: flex;
    flex-direction: column;
    gap: 2.5px;
    padding-top: 5.5px;
}

.wiz-sum-label {
    color: var(--inc-blue);
}

.wiz-sum-title {
    color: #0D1C2E;
}

.wiz-sum-desc {
    padding-top: 1.5px;
    color: #43474F;
}

.wiz-sum-preview {
    min-height: 222px;
    overflow: hidden;
    border: 1px solid rgba(196, 198, 207, 0.5);
    border-radius: 8px;
    background-color: #002A54;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wiz-sum-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wiz-sum-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wiz-sum-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 8px;
    border-radius: 8px;
    background-color: var(--inc-ice);
}

.wiz-sum-row[hidden] {
    display: none;
}

.wiz-sum-row-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0D1C2E;
}

.wiz-sum-row-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: #fff;
}

.wiz-sum-row-icon img {
    display: block;
}

.wiz-sum-row-value {
    color: #002A54;
    text-align: right;
}

.wiz-total {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background-color: #E6EEFF;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wiz-total-lead {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #43474F;
}

.wiz-total-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #002A54;
}

.wiz-total-sum {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5.5px;
}

.wiz-total-price {
    display: flex;
    align-items: baseline;
    color: #002A54;
}

.wiz-total-from {
    color: var(--inc-blue);
}

.wiz-total-note {
    color: #43474F;
}

.wiz-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    background-color: var(--inc-page);
    color: #43474F;
}

.wiz-note img {
    display: block;
    flex: none;
}

/* End Tetőkalkulátor wizard */

/* Static Content - bare-tag server HTML, no utility classes */
.static-content {
    color: var(--inc-text);
}

.static-content > * {
    margin-bottom: 0;
}

.static-content > :first-child {
    margin-top: 0 !important;
}

.static-content h1,
.static-content h2,
.static-content h3,
.static-content h4,
.static-content h5 {
    margin-top: 32px;
    font-family: var(--font-jakarta);
    font-weight: 700;
    color: var(--inc-deep);
}

.static-content h1,
.static-content h2 {
    font-size: clamp(31px, 0.8451vw + 27.8310px, 40px);
    line-height: 48px;
    letter-spacing: -1px;
}

.static-content h3 {
    font-size: clamp(20px, 0.1878vw + 19.2958px, 22px);
    line-height: 30px;
    letter-spacing: -0.33px;
    color: var(--inc-ink);
}

.static-content h4 {
    font-size: clamp(17px, 0.0939vw + 16.6479px, 18px);
    line-height: 26px;
    letter-spacing: -0.18px;
    color: var(--inc-ink);
}

.static-content h5 {
    margin-top: 24px;
    font-size: clamp(15px, 0.0939vw + 14.6479px, 16px);
    line-height: 24px;
    color: var(--inc-ink);
}

/* Eyebrow, same as .eyebrow */
.static-content h6 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    font-family: var(--font-space-grotesk);
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 1.1px;
    color: var(--inc-wine);
    text-transform: uppercase;
}

.static-content h6::before {
    content: "";
    flex: none;
    width: 32px;
    height: 1px;
    background-color: var(--inc-wine);
}

.static-content h6 + h1,
.static-content h6 + h2,
.static-content h6 + h3 {
    margin-top: 12px;
}

/* Accent run inside a heading */
.static-content :is(h1, h2, h3, h4, h5) span {
    color: var(--inc-wine);
}

.static-content p,
.static-content ul,
.static-content ol,
.static-content blockquote,
.static-content img,
.static-content hr {
    margin-top: 16px;
}

.static-content p,
.static-content li {
    font-family: var(--font-jakarta);
    font-size: clamp(14px, 0.0939vw + 13.6479px, 15px);
    line-height: 24.38px;
}

.static-content a {
    color: var(--inc-wine);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.static-content a:hover {
    color: #943251;
}

.static-content strong {
    color: var(--inc-ink);
}

.static-content em {
    font-style: italic;
}

.static-content ul,
.static-content ol {
    padding-left: 24px;
}

.static-content ul {
    list-style: disc;
}

.static-content ol {
    list-style: decimal;
}

.static-content li::marker {
    color: var(--inc-wine);
}

.static-content li + li {
    margin-top: 8px;
}

.static-content h1 + p {
    margin-top: 12px;
}

.static-content h2 + p {
    margin-top: 24px;
}

/* Paragraph gap = one blank line */
.static-content p + p {
    margin-top: 1lh;
}

.static-content blockquote {
    padding: 16px 20px;
    border-left: 3px solid var(--inc-wine);
    border-radius: 0 8px 8px 0;
    background-color: var(--inc-ice);
    font-style: italic;
}

.static-content blockquote p {
    margin-top: 0;
}

.static-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.static-content hr {
    border: 0;
    border-top: 1px solid var(--inc-line);
    opacity: 1;
}

/* Variants on the wrapper, tags stay bare */
.static-content--ink :is(h1, h2) {
    color: var(--inc-ink);
}

.static-content--lead p {
    font-size: clamp(17px, 0.0939vw + 16.6479px, 18px);
    line-height: 29.25px;
    letter-spacing: -0.18px;
}

.static-content--display h2 {
    font-size: clamp(32px, 0.9390vw + 28.4789px, 42px);
    font-weight: 800;
    line-height: 40px;
    letter-spacing: -1.05px;
}

.static-content--display p {
    font-size: clamp(15px, 0.0939vw + 14.6479px, 16px);
    line-height: 26px;
}

.craft-title.static-content h2 + p {
    margin-top: 23.1px;
}

/* End Static Content */
