/* Font Imports */

/* Manrope font import (variable TTF, weight axis 200-800) */
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope/Manrope-Variable.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
}

/* Hanken Grotesk Medium */
@font-face {
    font-family: 'Hanken Grotesk';
    src: url('../fonts/HankenGrotesk/HankenGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Lato (SemiBold) */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Montserrat Light */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* Montserrat Regular */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Montserrat Medium */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Montserrat SemiBold */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Montserrat (Bold, instanced from the variable font at wght=700) */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Inter (Regular) */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter_24pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Inter (SemiBold) */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter_24pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Inter (Bold) */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter_24pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* JetBrains Mono Medium */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono/JetBrainsMono-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Geist (Regular, instanced from the variable font at wght=400) */
@font-face {
    font-family: 'Geist';
    src: url('../fonts/Geist/Geist-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* End Font Imports */

/* Default Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-manrope: 'Manrope', sans-serif;
    --font-hanken-grotesk: 'Hanken Grotesk', sans-serif;
    --font-lato: 'Lato', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --font-jetbrains-mono: 'JetBrains Mono', monospace;
    --font-geist: 'Geist', sans-serif;

    --color-white: #FFFFFF;
    --color-black: #000000;

    /* Sanem Hungary Kft. palette */
    --sanem-dark: #131212;
    --sanem-nav-dark: #0D0D0D;
    --sanem-gold: #D0BB51;
    --sanem-icon-gold: #C5B358;
    --sanem-cream: #F5F3EE;
    --sanem-card-bg: #FBF9F4;
    --sanem-border-gray: #C4C7C7;
    --sanem-eyebrow-gray: #5D5E62;
    --sanem-text-gray: #444748;
}

body {
    letter-spacing: 0;
    font-family: var(--font-manrope);
    color: #131212;
    background-color: #fff;
    /*overflow-x: hidden;*/
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

.font-family-manrope * {
    font-family: var(--font-manrope) !important;
}

.font-family-hanken-grotesk * {
    font-family: var(--font-hanken-grotesk) !important;
}

.font-family-lato * {
    font-family: var(--font-lato) !important;
}

.font-family-montserrat * {
    font-family: var(--font-montserrat) !important;
}

.font-family-inter * {
    font-family: var(--font-inter) !important;
}

.font-family-jetbrains-mono * {
    font-family: var(--font-jetbrains-mono) !important;
}

.font-family-geist * {
    font-family: var(--font-geist) !important;
}

[class*="max-"] * {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.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;
}

.line-height-160 * {
    line-height: 160% !important;
}

.line-height-150 * {
    line-height: 150% !important;
}

.line-height-140 * {
    line-height: 140% !important;
}

.line-height-130 * {
    line-height: 130% !important;
}

.line-height-120 * {
    line-height: 120% !important;
}

/* Figma "Auto" line-height, not literal 100% */
.line-height-100 * {
    line-height: normal !important;
}

/* Pixel line-heights, not percent */
.line-height-70px * {
    line-height: 70px !important;
}

.line-height-30px * {
    line-height: 30px !important;
}

.line-height-24px * {
    line-height: 24px !important;
}

.line-height-60px * {
    line-height: 60px !important;
}

.line-height-56px * {
    line-height: 56px !important;
}

.line-height-32px * {
    line-height: 32px !important;
}

.line-height-16px * {
    line-height: 16px !important;
}

.line-height-25px * {
    line-height: 25px !important;
}

.line-height-20px * {
    line-height: 20px !important;
}

.line-height-18px * {
    line-height: 18px !important;
}

.line-height-12px * {
    line-height: 12px !important;
}

.line-height-15px * {
    line-height: 15px !important;
}

.line-height-48px * {
    line-height: 48px !important;
}

.line-height-25\.6px * {
    line-height: 25.6px !important;
}

.line-height-36px * {
    line-height: 36px !important;
}

.line-height-13px * {
    line-height: 13px !important;
}

.line-height-28px * {
    line-height: 28px !important;
}

.line-height-40px * {
    line-height: 40px !important;
}

.line-height-26px * {
    line-height: 26px !important;
}

.line-height-21px * {
    line-height: 21px !important;
}

.line-height-22\.75px * {
    line-height: 22.75px !important;
}

.line-height-29\.25px * {
    line-height: 29.25px !important;
}

.line-height-70\.4px * {
    line-height: 70.4px !important;
}

.line-height-31\.2px * {
    line-height: 31.2px !important;
}

.line-height-38\.4px * {
    line-height: 38.4px !important;
}

/* Letter-spacing: PERCENT->em, PIXELS->px */
.letter-spacing-n3pct * {
    letter-spacing: -0.03em !important;
}

.letter-spacing-4pct * {
    letter-spacing: 0.04em !important;
}

.letter-spacing-0\.7px * {
    letter-spacing: 0.7px !important;
}

.letter-spacing-1\.2px * {
    letter-spacing: 1.2px !important;
}

.letter-spacing-0\.6px * {
    letter-spacing: 0.6px !important;
}

.letter-spacing-n0\.8px * {
    letter-spacing: -0.8px !important;
}

.letter-spacing-n0\.9px * {
    letter-spacing: -0.9px !important;
}

.letter-spacing-n2\.56px * {
    letter-spacing: -2.56px !important;
}

.letter-spacing-n0\.6px * {
    letter-spacing: -0.6px !important;
}

.letter-spacing-n0\.64px * {
    letter-spacing: -0.64px !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;
}

.pt-6 {
    padding-top: 6rem !important;
}

.pb-6 {
    padding-bottom: 6rem !important;
}

/* Navbar row uses .container's own width */
.main-nav-inner {
    width: 100%;
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

.hero-inner {
    width: 100%;
}

/* End Default Styles */

/* Navbar */

.site-header {
    position: relative;
    z-index: 10;
}

.main-nav {
    background-color: var(--sanem-nav-dark);
    /* Navbar is 80px tall */
    height: 80px;
    padding: 0;
}

.main-nav-logo {
    display: block;
    width: 86px;
    height: 59px;
    flex-shrink: 0;
}

.main-nav-logo-crop {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main-nav-logo-crop img {
    position: absolute;
    width: 143.0127%;
    height: 207.3684%;
    left: -22.3230%;
    top: -59.4737%;
    max-width: none;
    object-fit: fill;
}

.main-nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.main-nav-links li>a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-white);
    transition: color .25s ease;
}

.main-nav-links li>a:hover,
.main-nav-links li>a.is-active {
    color: var(--sanem-gold);
}

.main-nav-chevron {
    width: 17px;
    height: 12px;
    object-fit: contain;
    transition: transform .25s ease;
}

/* Chevron opens the submenu, label still links out */
.main-nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 4px;
    margin: 0;
    color: var(--color-white);
    cursor: pointer;
}

.main-nav-dropdown-menu {
    list-style: none;
    margin: 0;
    background-color: var(--sanem-nav-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav-dropdown-menu a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    transition: color .2s ease;
}

.main-nav-dropdown-menu a:hover {
    color: var(--sanem-gold);
}

@media (min-width: 992px) {
    .main-nav-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 20px;
        min-width: 240px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        z-index: 30;
    }

    /* Bridges the gap so hover doesn't drop */
    .main-nav-dropdown-menu::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -20px;
        height: 20px;
    }

    .main-nav-dropdown-menu li+li {
        margin-top: 4px;
    }

    .main-nav-dropdown-menu a {
        padding: 6px 8px;
    }

    .main-nav-dropdown:hover .main-nav-dropdown-menu,
    .main-nav-dropdown:focus-within .main-nav-dropdown-menu,
    .main-nav-dropdown.show .main-nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav-dropdown:hover .main-nav-chevron,
    .main-nav-dropdown:focus-within .main-nav-chevron,
    .main-nav-dropdown.show .main-nav-chevron {
        transform: rotate(180deg);
    }
}

.navbar-toggler {
    border: 0;
    padding: 4px 8px;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 991.98px) {
    .main-nav .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 20;
    }

    .main-nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        background-color: var(--sanem-nav-dark);
        padding: 24px 24px 28px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    }

    .main-nav-dropdown {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .main-nav-dropdown-link {
        flex: 1 1 auto;
    }

    .main-nav-dropdown-menu {
        flex-basis: 100%;
        max-height: 0;
        padding: 0 0 0 16px;
        margin-top: 0;
        border: 0;
        overflow: hidden;
        transition: max-height .25s ease, margin-top .25s ease;
    }

    .main-nav-dropdown.show .main-nav-dropdown-menu {
        max-height: 200px;
        margin-top: 14px;
    }

    .main-nav-dropdown.show .main-nav-chevron {
        transform: rotate(180deg);
    }

    .main-nav-dropdown-menu li+li {
        margin-top: 12px;
    }
}

/* End Navbar */

/* Hero Section */

.hero-section {
    position: relative;
    background-color: var(--sanem-dark);
    overflow: hidden;
    /* 917 (Figma frame) - 80 (the navbar strip stacked above it) */
    min-height: 837px;
}

.hero-photo-wrap {
    position: absolute;
    /* Figma y=295 inside the 917 frame -> 215 below the 80px navbar */
    top: 215px;
    right: 0;
    bottom: 0;
    width: 37.9688%;
    /* 729/1920 */
    max-width: 900px;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.hero-accent-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44.375%;
    /* 852/1920 */
    max-width: 1050px;
    height: 123px;
    background-color: var(--sanem-gold);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding-top: 215px;
    padding-bottom: 20px;
}

.hero-content {
    max-width: 720px;
}

/* Fixed 177px box, text overflows it on purpose */
.hero-heading {
    height: 177px;
    display: flex;
    align-items: center;
}

.hero-heading h1 {
    color: var(--color-white);
}

.hero-heading-accent {
    color: var(--sanem-gold);
}

.hero-desc {
    margin-top: 30px;
    /* Figma: the lead TEXT node itself has opacity 0.8 */
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 189px;
    height: 43px;
    padding: 0 24px;
    white-space: nowrap;
}

.hero-btn-primary {
    background-color: var(--color-white);
    color: var(--color-black);
}

.hero-btn-primary:hover {
    background-color: var(--sanem-gold);
}

.hero-btn-primary .hero-btn-icon {
    display: block;
    position: relative;
    width: 12px;
    height: 25px;
    overflow: hidden;
}

/* Chevron PNG needs a non-uniform crop */
.hero-btn-primary .hero-btn-icon img {
    position: absolute;
    width: 208.3333%;
    height: 100%;
    left: -58.3333%;
    top: 0;
    max-width: none;
    object-fit: fill;
}

.hero-btn-outline {
    border: 1px solid var(--color-white);
    color: var(--color-white);
}

.hero-btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

@media (max-width: 1199.98px) {
    .hero-section {
        min-height: 680px;
    }

    .hero-heading {
        height: auto;
        display: block;
    }

    .hero-photo-wrap {
        top: 160px;
        width: 34%;
    }

    .hero-section .container {
        padding-top: 160px;
        padding-bottom: 90px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .hero-photo-wrap {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        height: 340px;
        overflow: hidden;
        order: -1;
    }

    .hero-accent-bar {
        position: static;
        width: 100%;
        max-width: none;
        height: 24px;
        order: 2;
    }

    .hero-section .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-content {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
    }
}

/* End Hero Section */

/* Shared button base, not just the hero */

.btn-dark-fill {
    background: #000000;
    color: var(--color-white);
    /* Gold bevel via inset shadows, no border */
    box-shadow:
        2px 2px 0px 0px #FFD919 inset,
        -2px -2px 0px 0px #AA8E00 inset,
        2px 2px 0px 0px #C5B358 inset;
}

.btn-dark-fill:hover {
    background: #2b2b2b;
}

.btn-light-outline {
    background-color: var(--color-white);
    border: 2px solid var(--color-black);
    color: var(--color-black);
}

.btn-light-outline:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Features Section ("Miért válasszon minket?") */

.features-section {
    background-color: var(--sanem-cream);
    border-top: 1px solid rgba(196, 199, 199, 0.3);
    border-bottom: 1px solid rgba(196, 199, 199, 0.3);
}

.features-head {
    text-align: center;
}

.features-eyebrow {
    color: var(--sanem-eyebrow-gray);
}

.features-heading {
    margin-top: 16px;
    color: var(--color-black);
}

.features-grid {
    margin-top: 2rem;
}

.feature-card {
    height: 100%;
    background-color: var(--sanem-card-bg);
    border: 1px solid rgba(196, 199, 199, 0.3);
    padding: 32px;
    display: flex;
    flex-direction: column;
}

/* Each icon keeps its own real size */
.feature-card-icon {
    display: block;
}

.feature-card-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.feature-card-icon--arm {
    width: 27.09px;
    height: 27.79px;
}

.feature-card-icon--medal {
    width: 24px;
    height: 31.5px;
}

.feature-card-icon--layers {
    width: 27px;
    height: 28.58px;
}

.feature-card-icon--compass {
    width: 16.5px;
    height: 27px;
}

/* 28px = icon pad + gap + title pad */
.feature-card-title {
    margin-top: 28px;
    color: var(--color-black);
}

.feature-card-desc {
    margin-top: 16px;
    color: var(--sanem-text-gray);
}
/* End Features Section */

/* Intro Section ("Bemutatkozás") */
.intro-grid {
    display: grid;
    grid-template-columns: 595fr 595fr;
    gap: 40px;
    align-items: center;
}

.intro-photo-wrap {
    aspect-ratio: 595 / 475;
    overflow: hidden;
    border: 1px solid rgba(196, 199, 199, 0.3);
}

.intro-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-eyebrow {
    color: var(--sanem-eyebrow-gray);
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.intro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 189px;
    height: 43px;
    padding: 0 24px;
    white-space: nowrap;
}

.intro-btn-icon {
    display: block;
    position: relative;
    width: 12px;
    height: 25px;
    overflow: hidden;
}

.intro-btn-icon img {
    position: absolute;
    width: 208.3333%;
    height: 100%;
    left: -58.3333%;
    top: 0;
    max-width: none;
    object-fit: fill;
}

@media (max-width: 991.98px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-photo-wrap {
        order: -1;
        aspect-ratio: 595 / 340;
    }
}

@media (max-width: 575.98px) {

    .intro-actions {
        flex-direction: column;
    }

    .intro-btn {
        width: 100%;
    }
}

/* End Intro Section */

/* Precision Section (stats strip) */

.precision-section {
    position: relative;
    background-color: #000000;
    /* Faint edge tints from the Figma fills */
    background-image:
        linear-gradient(180deg, rgba(168, 169, 173, 0.1) 0%, rgba(168, 169, 173, 0) 2.5%),
        linear-gradient(90deg, rgba(168, 169, 173, 0.1) 0%, rgba(168, 169, 173, 0) 2.5%);
    overflow: hidden;
}

.precision-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1;
}

.precision-inner {
    position: relative;
    z-index: 2;
}

.precision-heading {
    text-align: center;
    color: var(--color-white);
}

.precision-heading-accent {
    color: #FFD919;
}

.precision-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    max-width: 768px;
    margin: 50px auto 0;
    padding-top: 49px;
    border-top: 1px solid rgba(196, 199, 199, 0.2);
}

.precision-stat {
    flex: 1 1 0;
    text-align: center;
    padding-bottom: 4px;
}

.precision-stat-value {
    color: #FFD919;
}

.precision-stat-label {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.precision-icon {
    position: absolute;
    top: 80px;
    right: 74px;
    width: 245px;
    height: 245px;
    opacity: 0.4;
    object-fit: contain;
    /* Icon must paint above the overlay */
    z-index: 3;
}

@media (max-width: 1199.98px) {
    .precision-icon {
        width: 180px;
        height: 180px;
        right: 40px;
    }
}

@media (max-width: 991.98px) {
    .precision-icon {
        display: none;
    }
}

@media (max-width: 767.98px) {

    .precision-stats {
        flex-wrap: wrap;
        gap: 32px 20px;
    }

    .precision-stat {
        flex: 1 1 40%;
    }
}

@media (max-width: 575.98px) {
    .precision-stats {
        padding-top: 32px;
        margin-top: 32px;
    }
}

/* End Precision Section */

/* Services Editorial Section */
.editorial-row {
    display: grid;
    grid-template-columns: 394fr 812fr;
    gap: 24px;
    align-items: center;
}

.editorial-row+.editorial-row {
    margin-top: 80px;
}

.editorial-row--reverse {
    grid-template-columns: 812fr 394fr;
}

.editorial-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.editorial-eyebrow {
    color: var(--sanem-eyebrow-gray);
}

.editorial-heading {
    color: var(--color-black);
}

.editorial-heading-link {
    display: block;
    transition: color .2s ease;
}

.editorial-row:hover .editorial-heading-link {
    color: var(--sanem-icon-gold);
}

.editorial-body {
    color: var(--sanem-text-gray);
}

.editorial-btn {
    align-self: flex-start;
}

.editorial-photo {
    aspect-ratio: 812 / 384;
    overflow: hidden;
}

.editorial-photo-link {
    display: block;
    width: 100%;
    height: 100%;
}

.editorial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.editorial-row:hover .editorial-photo img {
    transform: scale(1.05);
}

@media (max-width: 991.98px) {

    .editorial-row,
    .editorial-row--reverse {
        grid-template-columns: 1fr;
    }

    .editorial-text {
        order: 2;
    }

    .editorial-photo {
        order: 1;
    }

    .editorial-row+.editorial-row {
        margin-top: 56px;
    }
}

/* End Services Editorial Section */

/* CTA bar (Kérdése van?) */

/* Bar bleeds edge-to-edge, content stays boxed */
.cta-section {
    position: relative;
    min-height: 160px;
    display: flex;
    align-items: center;
}

.cta-arrow {
    position: absolute;
    left: 0;
    top: 0;
    width: 229px;
    height: 100%;
    z-index: 1;
    display: block;
}

.cta-bg {
    position: absolute;
    inset: 0;
    left: 229px;
    background-color: var(--color-black);
    z-index: 0;
}

.cta-section>.container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.cta-bar {
    display: flex;
    align-items: center;
    /* flex-start avoids the space-between bug */
    justify-content: flex-start;
    gap: 40px;
    padding: 20px 0;
}

.cta-text {
    max-width: 1017px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 1);
}

.cta-heading {
    color: var(--color-white);
}

.cta-lead {
    color: var(--color-white);
    margin-top: 10px;
}

.cta-btn {
    /* This button's own gap is 10px, not 5 */
    gap: 10px;
    flex-shrink: 0;
    background-color: var(--sanem-icon-gold);
    color: var(--color-black);
}

.cta-btn:hover {
    background-color: #d9c777;
}

@media (max-width: 1199.98px) {
    .cta-section {
        min-height: 0;
    }

    .cta-arrow {
        display: none;
    }

    .cta-bg {
        left: 0;
    }

    .cta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 40px 0;
    }
}

@media (max-width: 575.98px) {
    .cta-bar {
        padding: 32px 0;
    }
}

/* End CTA bar */

/* Munkáink (portfolio) section */

.works-section {
    background-color: var(--sanem-cream);
}

.works-head {
    text-align: center;
}

.works-eyebrow {
    color: var(--sanem-eyebrow-gray);
}

.works-heading {
    margin-top: 16px;
    color: var(--color-black);
}

.works-grid {
    margin-top: 2rem;
}

.work-card {
    height: 100%;
}

.work-card-photo {
    position: relative;
    aspect-ratio: 394 / 472.7;
    overflow: hidden;
}

.work-card-photo-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Non-uniform horizontal crop, not cover */
.work-card-photo img {
    position: absolute;
    width: 201.5843%;
    height: 100%;
    left: -50.7921%;
    top: 0;
    max-width: none;
    object-fit: cover;
    transition: transform .35s ease;
}

/* Hovering any of the 3 links lights up the card */
.work-card:hover .work-card-photo img {
    transform: scale(1.05);
}

.work-card-title {
    margin-top: 26px;
    color: var(--color-black);
}

.work-card-title-link {
    display: block;
    transition: color .2s ease;
}

.work-card:hover .work-card-title-link {
    color: var(--sanem-icon-gold);
}

.work-card-desc {
    margin-top: 10px;
    color: var(--sanem-text-gray);
}

.work-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--color-black);
}

.work-card-link-arrow {
    width: 13.41px;
    height: 14.92px;
    display: block;
    transition: transform .25s ease;
}

.work-card-link:hover .work-card-link-arrow {
    transform: translateX(4px);
}


/* End Munkáink section */

/* Testimonials (Vélemények) - Splide carousel */

.testimonials-section {
    overflow: hidden;
}

.testimonials-head {
    text-align: center;
}

.testimonials-eyebrow {
    color: var(--sanem-eyebrow-gray);
}

.testimonials-heading {
    margin-top: 16px;
    color: var(--color-black);
}

.testimonials-splide {
    margin-top: 64px;
}

.testimonial-slide {
    /* Everything sized in % of the slide box */
    position: relative;
    width: 100%;
    aspect-ratio: 524 / 357;
}

.testimonial-accent {
    position: absolute;
}

.testimonial-accent-a {
    left: 0;
    top: 64.43%;
    width: 51.53%;
    height: 35.57%;
    background-color: var(--sanem-icon-gold);
}

.testimonial-accent-b {
    left: 77.67%;
    top: 0;
    width: 22.33%;
    height: 35.57%;
    background-color: #FFD919;
}

.testimonial-card {
    position: absolute;
    left: 12.79%;
    top: 22.13%;
    width: 79.20%;
    height: 57.70%;
    background-color: #050505;
    box-shadow: 20px 14px 40px 0 rgba(0, 0, 0, 0.08);
    padding: 41px 24px;
    overflow: hidden;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.testimonial-stars {
    display: flex;
    gap: 0;
}

.testimonial-stars img {
    width: 14px;
    height: 14px;
}

.testimonial-rating-text {
    color: var(--sanem-icon-gold);
}

.testimonial-review {
    margin-top: 16px;
    color: var(--color-white);
}

.testimonial-author {
    margin-top: 16px;
}

.testimonial-name {
    color: var(--sanem-icon-gold);
}

.testimonial-role {
    margin-top: 4px;
    color: var(--sanem-icon-gold);
}

@media (max-width: 767.98px) {
    .testimonials-splide {
        margin-top: 40px;
    }

    /* Mobile card sizes itself, no fixed % */
    .testimonial-slide {
        aspect-ratio: auto;
        height: auto;
    }

    .testimonial-card {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        padding: 24px 20px;
    }

    .testimonial-accent-a {
        left: 0;
        top: auto;
        bottom: -16px;
        width: 55%;
        height: 32px;
    }

    .testimonial-accent-b {
        left: auto;
        right: 0;
        top: -16px;
        width: 35%;
        height: 32px;
    }
}

/* End Testimonials section */

/* FAQ Section (Gyakran Ismételt Kérdések) */

.faq-section {
    background-color: var(--sanem-cream);
}

.faq-head {
    text-align: center;
}

.faq-eyebrow {
    color: var(--sanem-eyebrow-gray);
}

.faq-heading {
    margin-top: 16px;
    color: var(--color-black);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 2rem;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid rgba(134, 134, 134, 0.3);
    padding: 24px;
    /* Clips the answer to its animated height */
    overflow: hidden;
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
    list-style: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    color: var(--color-black);
}

.faq-icon {
    flex-shrink: 0;
    display: block;
    width: 12px;
    height: 7.4px;
}

.faq-icon img {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* .is-open flips the icon before the animation ends */
.faq-item[open] .faq-icon img,
.faq-item.is-open .faq-icon img {
    transform: scaleY(-1);
}

.faq-answer {
    margin-top: 30px;
    color: #3D3D3D;
}

/* Smooth open/close, see the inline script */

@media (max-width: 575.98px) {
    .faq-list {
        margin-top: 32px;
    }

    .faq-item {
        padding: 20px;
    }
}

/* End FAQ Section */

/* Contact Section (Vegye fel velünk a kapcsolatot!) */

.contact-section {
    background-color: var(--sanem-card-bg);
}

/* Fluid two-column grid, always fills the container edge to edge */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-info {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Fixed-width chevron, flush against the column's own right edge */
.contact-accent {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 264.5px;
    z-index: 1;
}

.contact-info-card {
    position: relative;
    /* Leaves exactly the accent's own 150px clear on the right */
    width: calc(100% - 150px);
    height: 264px;
    background-color: var(--sanem-icon-gold);
    /* Padding: 20 top/right/bottom, 55 left */
    padding: 20px 20px 20px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    z-index: 2;
}

.contact-heading {
    color: var(--color-black);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 24px;
    transition: opacity .2s ease;
}

.contact-detail:hover {
    opacity: 0.7;
}

/* Address row is top-aligned, not centered */
.contact-detail--top {
    align-items: flex-start;
}

.contact-detail-icon {
    flex-shrink: 0;
    display: block;
}

.contact-detail-icon--pin {
    width: 16px;
    height: 20px;
}

.contact-detail-icon--phone {
    width: 18px;
    height: 18px;
}

.contact-detail-icon--mail {
    width: 20px;
    height: 16px;
}

.contact-detail-text {
    color: rgba(0, 0, 0, 0.8);
}

.contact-photo {
    width: 100%;
    margin-top: 30px;
    flex: 1 1 auto;
    min-height: 150px;
    overflow: hidden;
}

.contact-photo iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-form-panel {
    background-color: var(--color-black);
    padding: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    /* Figma: every block inside the Form frame is 32px apart */
    gap: 32px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* The message block carries an extra 6px bottom padding in Figma */
.contact-field--message {
    padding-bottom: 6px;
}

.contact-label {
    display: block;
    color: var(--color-white);
}

.contact-input,
.contact-textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(210, 210, 210, 0.3);
    border-radius: 0;
    color: var(--color-white);
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: normal;
    padding: 8px;
    height: 40px;
    width: 100%;
}

.contact-input:focus,
.contact-textarea:focus {
    background: transparent;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    color: var(--color-white);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #C0C0C0;
}

.contact-textarea {
    resize: none;
    height: 89px;
    line-height: 24px;
    padding: 8px 8px 56px 8px;
}

.contact-consent {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Must stay a real sibling of the checkbox for :invalid~ to fire */
.contact-consent .invalid-feedback {
    flex-basis: 100%;
    margin-left: 30px;
}

.contact-form .invalid-feedback,
.kap-form .invalid-feedback {
    font-family: var(--font-inter);
    font-size: 13px;
    color: #FF8080;
}

.cf-turnstile.is-invalid + .turnstile-feedback {
    display: block;
}

.contact-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    background-color: #F6F6F6;
    border: 0.7px solid #CCCCCC;
    border-radius: 5px;
    cursor: pointer;
}

.contact-consent input[type="checkbox"]:checked {
    background-color: var(--sanem-icon-gold);
    background-image: none;
    border-color: var(--sanem-icon-gold);
}

.contact-consent input[type="checkbox"]:focus {
    box-shadow: none;
    outline: none;
}

/* Hand-drawn checkmark, accent-color alone didn't render with a custom bg */
.contact-consent input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--color-black);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact-consent label {
    color: #B2B2B2;
    line-height: 1.5;
}

/* No underline on the linked run */
.contact-consent label a {
    color: #B2B2B2;
    text-decoration: none;
}

.contact-consent label a:hover {
    text-decoration: underline;
}

/* Light form card (kapcsolat.html) needs dark text, not the panel's gray */
.kap-form .contact-consent label,
.kap-form .contact-consent label a {
    color: #000 !important;
}

.contact-submit {
    align-self: flex-start;
    background-color: var(--sanem-icon-gold);
    color: var(--color-black);
    border: none;
    padding: 16px 32px;
    line-height: 12px;
}

.contact-submit:hover {
    background-color: #d9c777;
}

.contact-success {
    display: none;
    color: var(--sanem-icon-gold);
}

.contact-success.is-visible {
    display: block;
}

@media (max-width: 991.98px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: -1;
    }

    /* Nothing to bridge into once the columns stack */
    .contact-accent {
        display: none;
    }

    .contact-info-card {
        width: 100%;
        height: auto;
        padding: 24px;
    }

    .contact-form-panel {
        padding: 32px 24px;
    }
}

/* End Contact Section */

/* Footer */

.footer-main {
    background-color: #191919;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Brand column's own padding sets the row height */
.footer-col:first-child {
    padding-bottom: 24.41px;
}

.footer-logo-crop {
    display: block;
    position: relative;
    width: 132px;
    height: 91px;
    overflow: hidden;
    margin-bottom: 24px;
}

.footer-logo-crop img {
    position: absolute;
    width: 143.0127%;
    height: 207.3684%;
    left: -22.3230%;
    top: -59.4737%;
    max-width: none;
    object-fit: fill;
}

.footer-desc {
    color: #D9D9D9;
}

.footer-heading {
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-bottom-links a,
.footer-credit {
    transition: color 0.2s ease;
}

ul.footer-bottom-links{
    margin-bottom: 0;
}

.footer-links a {
    color: #D9D9D9;
}

.footer-links a:hover {
    color: var(--sanem-icon-gold);
}

ul.footer-links {
    padding-left: 0 !important;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: color .2s ease;
}

.footer-contact-row:hover .footer-contact-text {
    color: var(--sanem-icon-gold);
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-contact-text {
    color: #D9D9D9;
}

.footer-bottom {
    background-color: var(--color-black);
    border-top: 1px solid rgba(196, 199, 199, 0.1);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-credit,
.footer-bottom-links a {
    color: var(--color-white);
}

.footer-credit:hover,
.footer-bottom-links a:hover {
    color: var(--sanem-icon-gold);
}

.footer-copyright {
    color: #C7C7C7;
}

.footer-bottom-links {
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: 24px;
}

@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 24px 0;
        gap: 16px;
    }
}

@media (max-width: 575.98px) {
    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 12px 24px;
    }
}

/* End Footer */

/* Hero Little (inner-page hero strip, header+hero Figma frame minus the 917px homepage hero) */

.hero-little-section {
    position: relative;
    background-color: var(--sanem-dark);
    overflow: hidden;
    /* 421 (Figma frame) - 80 (navbar strip stacked above it) */
    min-height: 341px;
    display: flex;
    align-items: center;
}

.hero-little-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-little-bg-img {
    position: absolute;
    left: 0;
    width: 100%;
    /* Non-uniform FILL crop from the paint transform, not cover */
    height: 177.922%;
    top: -55.1873%;
    object-fit: fill;
    opacity: 0.2;
}

.hero-little-accent-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32.1354%;
    /* 617/1920 */
    max-width: 617px;
    height: 17px;
    background-color: var(--sanem-gold);
    z-index: 1;
}

.hero-little-section .container {
    position: relative;
    z-index: 2;
}

.hero-little-heading h1 {
    color: var(--color-white);
}

@media (max-width: 767.98px) {
    .hero-little-section {
        min-height: 220px;
    }
}

/* End Hero Little */

/* Bemutatkozás page - About Intro (two stacked photos + text, reuses .intro-grid/.intro-content) */

.about-intro-section {
    background-color: var(--sanem-card-bg);
}

/* Photos stretch to match the text column's height, not their own ratio */
.about-intro-section .intro-grid {
    align-items: stretch;
}

.about-intro-photos {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-intro-photo {
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(196, 199, 199, 0.3);
}

.about-intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .about-intro-photos {
        order: -1;
    }

    /* Stacked layout - back to a fixed ratio, nothing to match anymore */
    .about-intro-photo {
        flex: none;
        aspect-ratio: 595 / 361.5;
    }
}

/* End About Intro */

/* Bemutatkozás page - Values Section ("Amiből sosem engedünk...") */

.values-section {
    background-color: #F8F6F0;
}

.values-heading {
    margin-top: 8px;
    color: #171717;
}

.values-grid {
    margin-top: 2rem;
}

.value-card {
    height: 100%;
}

.value-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid #C5A847;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.value-card-icon img {
    width: 24px;
    height: 24px;
}

.value-card-title {
    margin-top: 16px;
    color: #171717;
}

.value-card-desc {
    margin-top: 16px;
    color: #525252;
}

/* End Values Section */

/* Szolgáltatások belső page - Intro (single photo, reuses .intro-grid/.intro-photo-wrap/.intro-content) */

.svc-intro-section {
    background-color: var(--sanem-card-bg);
}

/* This page's own photo is 595x403, not the homepage's 595x475 */
.intro-photo-wrap--svc {
    aspect-ratio: 595 / 403;
}

@media (max-width: 991.98px) {
    .intro-photo-wrap--svc {
        aspect-ratio: 595 / 340;
    }
}

/* End Szolgáltatások belső Intro */

/* Szolgáltatások belső page - Info section (gray box, "Lorem ipsum dolor sit amet.") */

.svc-info-section {
    background-color: #F0EEE9;
}

/* End Szolgáltatások belső Info */

/* Shared photo grid, mirrors Bootstrap row g-4 col-lg-3 exactly */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 991.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* End Shared Gallery Grid */

/* Szolgáltatások belső page - Gallery (4 images) */

.svc-gallery-section {
    background-color: var(--sanem-card-bg);
}

.svc-gallery-item {
    display: block;
    aspect-ratio: 285 / 301;
    overflow: hidden;
}

.svc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.svc-gallery-item:hover img {
    transform: scale(1.05);
}

/* End Szolgáltatások belső Gallery */

/* Munkáink page - portfolio gallery (8 images, 2 rows) */

.munkaink-gallery-section {
    background-color: var(--sanem-card-bg);
}

.munkaink-card {
    position: relative;
    aspect-ratio: 287 / 301;
    overflow: hidden;
}

.munkaink-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.munkaink-card:hover img {
    transform: scale(1.05);
}

/* Every card - full-card dark scrim + centered text, hidden until hover */
.munkaink-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background-color: #00000099;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.munkaink-card:hover .munkaink-card-overlay {
    opacity: 1;
}

.munkaink-card-eyebrow {
    color: var(--color-white);
}

.munkaink-card-title {
    margin-top: 8px;
    color: var(--color-white);
}

/* End Munkáink Gallery */

/* GYIK page - FAQ grouped by topic, reuses index.html's .faq-* classes */

.gyik-faq-section {
    background-color: var(--sanem-cream);
}

.faq-topic-group {
    margin-top: 64px;
}

.faq-topic-group:first-child {
    margin-top: 0;
}

.faq-topic-group .faq-list {
    margin-top: 64px;
}

.faq-topic-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-topic-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36.8px;
    height: 20px;
    background-color: var(--color-black);
    color: var(--color-white);
}

.faq-topic-heading {
    color: var(--color-black);
}

/* End GYIK FAQ */

/* GYIK page - "Still have questions?" CTA card */

.faq-cta-section {
    background-color: var(--sanem-cream);
}

.faq-cta-card {
    background-color: var(--color-black);
    padding: 56px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.faq-cta-text {
    flex: 1 1 500px;
    max-width: 763px;
}

.faq-cta-heading {
    color: var(--sanem-card-bg);
}

.faq-cta-lead {
    margin-top: 16px;
    color: #C8C6C5;
}

.faq-cta-contacts {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.faq-cta-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-cta-contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1C1B1B;
}

.faq-cta-contact-icon img{
    width: 20px;
    height: 20px;
}

.faq-cta-contact-label {
    color: #C8C6C5;
}

.faq-cta-contact-value {
    margin-top: 2px;
    color: var(--sanem-card-bg);
}

.faq-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 57px;
    padding: 0 37px;
}

/* End GYIK CTA Card */

/* Kapcsolat page - Contact info + inquiry form */

.kap-contact-section {
    background-color: var(--sanem-card-bg);
}

.kap-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.kap-info-heading {
    color: #111111;
}

.kap-info-lead {
    margin-top: 19.2px;
    color: #525252;
}

.kap-info-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kap-info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    transition: opacity .2s ease;
}

a.kap-info-row:hover {
    opacity: 0.7;
}

.kap-info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #F0EEE9;
}

.kap-info-label {
    color: var(--sanem-eyebrow-gray);
}

.kap-info-value {
    margin-top: 2px;
    color: var(--color-black);
}

.kap-form-card {
    background-color: #EAEAEA;
    border: 1px solid #E5E5E5;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 41px;
}

.kap-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kap-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kap-label {
    color: #404040;
}

.kap-input,
.kap-textarea {
    width: 100%;
    background-color: #FAFAFA;
    border: 1px solid #D4D4D4;
    border-radius: 0;
    padding: 12px 15px;
    font-family: var(--font-montserrat);
    font-size: 14px;
    color: var(--color-black);
}

.kap-input:focus,
.kap-textarea:focus {
    background-color: #FAFAFA;
    border-color: #D4D4D4;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    color: var(--color-black);
}

.kap-input {
    height: 41px;
}

.kap-textarea {
    height: 105px;
    padding: 10px 14px 70px 14px;
    resize: none;
}

.kap-input::placeholder,
.kap-textarea::placeholder {
    color: #6B7280;
}

@media (max-width: 991.98px) {
    .kap-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* End Kapcsolat Contact + Form */

/* Kapcsolat page - Map + "Minden projekt egyedi figyelmet érdemel!" CTA */

.kap-map-section {
    background-color: var(--sanem-card-bg);
}

.kap-map-cta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    background-color: #141414;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.kap-map-photo {
    flex: 1 1 400px;
    min-height: 324px;
}

.kap-map-photo iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.kap-map-accent {
    position: absolute;
    left: 50%;
    top: -10px;
    width: 43px;
    height: 341px;
    background-color: var(--sanem-icon-gold);
    transform: rotate(6deg);
    transform-origin: top left;
    z-index: 1;
}

.kap-map-content {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 53px 40px 88px;
    position: relative;
    z-index: 2;
}

.kap-map-heading {
    color: var(--color-white);
}

.kap-map-lead {
    margin-top: 19px;
    color: var(--color-white);
}

@media (max-width: 991.98px) {
    .kap-map-accent {
        display: none;
    }

    .kap-map-content {
        padding: 32px 24px;
    }
}

/* End Kapcsolat Map CTA */

/* Static Content - bare-tag server HTML, no utility classes */

.static-content {
    color: var(--sanem-text-gray);
}

.static-content>:first-child {
    margin-top: 0 !important;
}

.static-content h1 {
    margin-top: 20px;
    font-family: var(--font-montserrat);
    font-size: 45px;
    font-weight: 700;
    line-height: 70.4px;
    letter-spacing: -2.56px;
    color: var(--color-black);
}

.static-content h2 {
    margin-top: 20px;
    font-family: var(--font-montserrat);
    font-size: 25px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-black);
}

.static-content h3 {
    margin-top: 20px;
    font-family: var(--font-montserrat);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: var(--color-black);
}

.static-content h4 {
    margin-top: 20px;
    font-family: var(--font-montserrat);
    font-size: 23px;
    font-weight: 700;
    line-height: 29.25px;
    color: var(--color-black);
}

.static-content h5 {
    margin-top: 16px;
    font-family: var(--font-montserrat);
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: var(--color-black);
}

.static-content h6 {
    margin-top: 20px;
    font-family: var(--font-jetbrains-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.2px;
    line-height: 12px;
    color: var(--sanem-eyebrow-gray);
    text-transform: uppercase;
}

/* Tightens the eyebrow-to-heading gap when they sit directly together */
.static-content h6+h1,
.static-content h6+h2,
.static-content h6+h3 {
    margin-top: 1rem;
}

.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,
.static-content span {
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 24px;
}

.static-content a {
    color: var(--sanem-gold);
    text-decoration: underline;
}

.static-content em {
    font-style: italic;
}

.static-content ul,
.static-content ol {
    padding-left: 24px;
}

.static-content ul li::marker,
.static-content ol li::marker {
    color: var(--sanem-gold);
}

.static-content li+li {
    margin-top: 8px;
}

.static-content blockquote {
    border-left: 3px solid var(--sanem-gold);
    padding-left: 20px;
    font-style: italic;
}

.static-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.static-content hr {
    border: none;
    border-top: 1px solid rgba(196, 199, 199, 0.3);
}

/* End Static Content */
