@import url('https://fonts.googleapis.com/css2?family=Anton&family=Caveat:wght@700&family=Manrope:wght@200..800&display=swap');

/* ================= ALAPOK ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --orange: #FD450A;
    --orange-dark: #d93a06;
    --black: #0b0908;
    --dark: #141110;
    --cream: #f3e9da;
    --text-light: #f5ece0;
    --muted: #b9ada0;
    --container: 1200px;
    --display: "Anton", sans-serif;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;    /* menüpontra ugráskor a fix fejléc ne takarja ki a szekció tetejét */
}
body {
    font-family: "Manrope", sans-serif;
    background: var(--black);
    color: var(--text-light);
    line-height: 1.5;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.sr_only {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* ---- Tipográfia ---- */
h1, h2, h3 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    line-height: .95;
    letter-spacing: .5px;
}
h1 {
    font-size: clamp(56px, 9vw, 112px);
    transform: rotate(-2deg) skewX(-4deg);
    transform-origin: left;
}
h2 {
    font-size: clamp(44px, 6.5vw, 80px);
}
h1 span, h2 span {
    color: var(--orange);
}
.eyebrow {
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 12px;
}

/* ---- Gombok ---- */
.btn_orange {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: #fff;
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.btn_orange:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}
.btn_small {
    padding: 10px 18px;
    font-size: 14px;
}
.btn_big {
    padding: 16px 30px;
    font-size: 20px;
}
.arrow {
    transition: transform .2s;
}
a:hover .arrow, button:hover .arrow {
    transform: translateX(4px);
}

/* ================= HEADER ================= */
.site_header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 18px 0;
    transition: background .3s, padding .3s;
}
.site_header.scrolled {
    position: fixed;
    padding: 10px 0;
}
/* A háttér/blur külön rétegen van, mert a backdrop-filter
   a fejlécen belül megtörné a teljes képernyős mobilmenüt */
.site_header.scrolled::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(11, 9, 8, .92);
    backdrop-filter: blur(8px);
}
.menu_head,
.menu_cta {
    display: none;
}
.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.logo img {
    width: 90px;
}
.main_nav ul {
    display: flex;
    gap: 48px;
}
.main_nav a, .site_footer nav a {
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
    transition: color .2s;
}
.main_nav a:hover, .site_footer nav a:hover {
    color: var(--orange);
}
/* Aktív menüpont (görgetés alapján a JS állítja) */
.main_nav a {
    position: relative;
    padding: 6px 0;
}
.main_nav a.active {
    color: var(--orange);
}
.main_nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform .3s;
}
.main_nav a.active::after {
    transform: scaleX(1);
}
.nav_toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
}
.nav_toggle span {
    display: block;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.nav_toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav_toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav_toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ================= 1. HERO ================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 70%),
        url("assets/hero.png") center right / cover no-repeat;
    padding: 120px 0 80px;
}
.badge {
    display: inline-block;
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    border: 1.5px solid var(--text-light);
    border-radius: 8px;
    padding: 4px 12px;
    margin-bottom: 20px;
}
.hero h1 span {
    text-shadow: 2px 2px 10px #000;
}
.hero_lead {
    font-size: clamp(18px, 2vw, 24px);
    margin: 28px 0 32px;
}

/* ================= 2. A PENGETŐ / FORMA ================= */
.shape {
    background: var(--cream) url("assets/size.png") left center / cover no-repeat;
    color: #111;
    padding: 80px 0 40px;
    min-height: 70vh;
    display: flex;               /* a belső rács kitölti a teljes magasságot */
}
.shape_inner {
    flex: 1;
    display: grid;
    max-width: 1440px;           /* ennél a szekciónál szélesebb tartalom */
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    grid-template-areas:
        "text pick"
        "feat feat";
    column-gap: 40px;
    row-gap: 50px;
    /* A szöveg a képernyő ~32%-ánál kezdődik, így mindig a róka mellett marad */
    padding-left: max(24px, calc(32vw - max(0px, (100vw - 1440px) / 2) - 24px));
}
.shape_text {
    grid-area: text;
    align-self: center;
}
.shape_text .eyebrow {
    font-size: 16px;
}
.shape_text h2 {
    color: #111;
    font-size: clamp(44px, 4.8vw, 70px);
    white-space: nowrap;         /* "Nem hétköznapi" egy sorban maradjon */
}
.shape_desc {
    max-width: 400px;
    margin: 28px 0 0 40px;
    font-size: 18px;
    line-height: 1.6;
}
.shape_desc strong { font-weight: 800; }

/* Pengető méretjelöléssel */
.shape_pick {
    grid-area: pick;
    align-self: center;
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: 34px 70px 0 0;
}
.shape_pick img {
    filter: drop-shadow(4px 8px 12px rgba(0,0,0,.25));
}
.dim {
    position: absolute;
    font-size: 13px;
    font-weight: 600;
}
.dim_w {
    top: 0; left: 0; right: 70px;
    height: 20px;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}
.dim_w::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 14px;
    border-top: 1px solid #333;
}
.dim_w span {
    position: absolute;
    left: 50%; top: -6px;
    transform: translateX(-50%);
}
.dim_h {
    top: 34px; bottom: 0; right: 0;
    width: 70px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.dim_h::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 18px;
    border-left: 1px solid #333;
}
.dim_h span {
    position: absolute;
    top: 50%; left: 26px;
    transform: translateY(-50%);
    white-space: nowrap;
}

/* Jellemzők */
.features {
    grid-area: feat;
    align-self: end;             /* a szekció aljára kerül */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(17, 17, 17, .18);
}
.features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--display);
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: .5px;
    line-height: 1.2;
}
.features svg {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    fill: none;
    stroke: #111;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
}

/* ================= 3. A MÁRKA ================= */
.eyebrow_wide {
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    letter-spacing: 6px;
    font-size: 14px;
    margin-bottom: 18px;
}
.light {
    color: var(--text-light);
}
.brand {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 40%, rgba(0,0,0,0) 65%),
        url("assets/marka.png") right center / cover no-repeat;
}
.brand h2 {
    font-size: clamp(64px, 9vw, 130px);
    color: var(--orange);
}
.brand_lead {
    font-size: clamp(20px, 2.1vw, 28px);
    margin: 18px 0 20px;
}
.brand_desc {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.65;
    color: #e6dccf;
}
.brand_values {
    display: flex;
    margin-top: 44px;
}
.brand_values li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 0 28px;
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    line-height: 1.3;
}
.brand_values li:first-child { padding-left: 0; }
.brand_values li + li {
    border-left: 1px solid rgba(245, 236, 224, .2);
}
.brand_values svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: var(--orange);
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
}

/* ================= 5. HOGYAN HASZNÁLD ================= */
.how {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
    background: var(--black);
}
.how_media {
    position: absolute;
    inset: 0;
}
.how_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}
.how_media::after {               /* sötétítés a szöveg mögött */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 35%, rgba(0,0,0,0) 60%);
    pointer-events: none;
}
.how_marks {                       /* méretét/helyét a JS a kép valós helyére állítja */
    position: absolute;
    z-index: 1;
    inset: 0;
}
.how_marks svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.how_marks path {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.8));
}
.mark {
    position: absolute;
    transform: translate(-100%, -50%);   /* a felirat jobb széle a nyíl kezdőpontja */
    padding: 0 10px 8px 0;
    font-family: "Caveat", cursive;
    font-weight: 700;
    font-size: clamp(22px, 2.2vw, 34px);
    color: #fff;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6);
    transform-origin: right center;
    rotate: -4deg;
}
.mark::after {                     /* narancs ecsetvonás a felirat alatt */
    content: "";
    position: absolute;
    left: 6%; right: 0; bottom: 2px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(253,69,10,.2), var(--orange) 30%, var(--orange) 85%, rgba(253,69,10,.4));
}
/* a felirat helye a kép koordinátáiban (1672 × 941) */
.mark_normal { left: calc(1140 / 1672 * 100%); top: calc(318 / 941 * 100%); }
.mark_ears   { left: calc(1140 / 1672 * 100%); top: calc(652 / 941 * 100%); }

.how_inner {
    position: relative;
    z-index: 2;
}
.how h2 {
    font-size: clamp(64px, 9vw, 130px);
    color: var(--orange);
    position: relative;
    display: inline-block;
    padding-bottom: 22px;
}
.how h2::after {                   /* ecsetvonás a cím alatt */
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 70%;
    height: 8px;
    border-radius: 50% 10% 50% 10%;
    background: linear-gradient(90deg, var(--orange), rgba(253,69,10,.35));
    transform: rotate(-2deg);
}
.how_desc {
    max-width: 470px;
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.65;
    color: #e6dccf;
}

/* ================= 4. DESIGNOK ================= */
.designs {
    /* világos papírtextúra (a "Nem hétköznapi forma" háttérének stílusában, róka nélkül) */
    background: var(--cream) url("assets/designs_bg.png") center / cover no-repeat;
    color: #111;
    padding: 80px 0 60px;
}
.designs_head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 50px;
}
.designs_head h2 {
    transform: skewX(-6deg);
}
.designs_desc {
    max-width: 380px;
    font-size: 15px;
    color: #2a221d;
}

/* Karusszel */
.carousel {
    position: relative;
    padding: 0 60px;
}
.carousel_viewport {
    overflow: hidden;
    padding: 24px 0 8px;         /* hely a hoverkor felemelkedő pengetőnek */
}
.carousel_track {
    display: flex;
    transition: transform .5s ease;
}
.design_card {
    flex: 0 0 calc(100% / 3);
    padding: 0 20px;
    text-align: center;
}
.design_card img {
    margin: 0 auto 18px;
    filter: drop-shadow(0 14px 16px rgba(60, 30, 10, .35));
    transition: transform .3s;
}
.design_card:hover img {
    transform: translateY(-8px) rotate(-2deg);
}
.design_card h3 {
    font-size: 30px;
}
.design_card p {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: #6b5d52;
}
.carousel_btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid #111;
    background: transparent;
    color: #111;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.carousel_btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
.carousel_btn.prev { left: 0; }
.carousel_btn.next { right: 0; }
.carousel_dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}
.carousel_dots button {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 0;
    background: #cbbba8;
    cursor: pointer;
}
.carousel_dots button.active {
    background: var(--orange);
}

/* ================= 6. CTA ================= */
.cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--orange);
    color: #111;
    padding: 70px 0;
}
/* Rókás háttér narancs bevonattal: tükrözve, hogy a róka jobbra kerüljön,
   multiply keveréssel halványan "beleég" a narancsba */
.cta::before {
    content: "";
    position: absolute;
    right: 0;
    top: -17.5%;
    height: 135%;
    aspect-ratio: 1672 / 941;    /* a kép arányai */
    z-index: -1;
    background: url("assets/size.png") center / cover no-repeat;
    transform: scaleX(-1);
    /* a kép vége lágyan beleolvad a narancsba (tükrözés miatt "to left") */
    -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 45%);
    mask-image: linear-gradient(to left, transparent 0%, #000 45%);
    filter: grayscale(1) contrast(1.2);
    mix-blend-mode: multiply;
    opacity: .3;
}
.cta_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}
.eyebrow_dark {
    display: inline-block;
    border-bottom: 2px solid #111;
}
.cta h2 {
    color: var(--cream);
    transform: rotate(-2deg) skewX(-4deg);
    transform-origin: left;
    margin-bottom: 20px;
}
.cta h2 span {
    color: #111;
}
.cta_text p {
    max-width: 420px;
    color: #fff;
}
.cta_text strong { font-weight: 800; }
.cta_form {
    display: flex;
    background: var(--cream);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.cta_form input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 18px 22px;
    font: inherit;
    font-size: 15px;
    outline: none;
}
.cta_form button {
    background: var(--black);
    color: #fff;
    border: 0;
    padding: 0 26px;
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
}
.cta_form button:hover { background: #2a2420; }
.cta_form button:disabled { opacity: .7; cursor: wait; }
.cta_form.error { outline: 2px solid #111; }
.form_note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 13px;
    color: #fff;
}
.form_note svg {
    width: 18px; height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* ================= 7. KAPCSOLAT ================= */
.contact {
    position: relative;
    padding: 110px 0;
    background:
        radial-gradient(ellipse 55% 60% at 88% 0%, rgba(160, 45, 10, .55), transparent 70%),
        radial-gradient(ellipse 45% 55% at 0% 100%, rgba(120, 40, 15, .45), transparent 70%),
        linear-gradient(160deg, #0b0908 0%, #140d0b 55%, #1a0f0b 100%);
}
.contact_inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 70px;
    align-items: start;
}
.eyebrow_line {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--orange);
}
.eyebrow_line::before {
    content: "";
    width: 32px;
    height: 2px;
    background: var(--orange);
}
.contact h2 {
    font-size: clamp(64px, 8.5vw, 120px);
}
.contact_desc {
    max-width: 560px;
    margin-top: 34px;
    font-size: 17px;
    line-height: 1.8;
    color: #e6dccf;
}
.contact_desc strong { color: #fff; font-weight: 800; }
.contact_list { padding-top: 34px; }
.contact_list h3 {
    font-size: clamp(28px, 2.6vw, 36px);
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(245, 236, 224, .14);
}
.contact_item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(245, 236, 224, .14);
}
.contact_icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    border: 1px solid var(--orange);
    border-radius: 50%;
    transition: background .2s;
}
.contact_icon svg {
    width: 22px; height: 22px;
    fill: none;
    stroke: var(--orange);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .2s;
}
.contact_item:hover .contact_icon { background: var(--orange); }
.contact_item:hover .contact_icon svg { stroke: #fff; }
.contact_item small {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.contact_item strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(22px, 2.2vw, 30px);
    letter-spacing: .5px;
    word-break: break-word;
    transition: color .2s;
}
.contact_item:hover strong { color: var(--orange); }

/* ================= IMPRESSZUM (modal) ================= */
.modal {
    width: min(650px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    margin: auto;
    padding: 56px 54px 40px;
    border: 1px solid #3a2a22;
    border-top: 5px solid var(--orange);
    background: linear-gradient(160deg, #1d1411 0%, #110c0a 60%);
    color: var(--text-light);
    overflow-y: auto;
}
.modal::backdrop {
    background: rgba(5, 3, 2, .72);
    backdrop-filter: blur(6px);
}
.modal[open] { animation: modal_in .3s ease; }
@keyframes modal_in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}
body.modal_open { overflow: hidden; }
.modal .eyebrow { color: var(--orange); font-size: 12px; }
.modal h2 { font-size: clamp(48px, 7vw, 76px); color: var(--text-light); }
.modal h2 span { color: var(--orange); }
.modal_lead {
    margin: 16px 0 26px;
    font-size: 15px;
    color: #cbbfb2;
}
.modal_close {
    position: absolute;
    top: 18px; right: 18px;
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    background: #3a2c26;
    border: 0;
    cursor: pointer;
    transition: background .2s;
}
.modal_close:hover { background: var(--orange); }
.modal_close svg {
    width: 20px; height: 20px;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
}
.imp_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
    border-top: 1px solid rgba(245, 236, 224, .14);
}
.imp_grid > div {
    padding: 22px 0 20px;
    border-bottom: 1px solid rgba(245, 236, 224, .14);
}
.imp_grid .imp_full { grid-column: 1 / -1; }
.imp_grid dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
}
.imp_grid dd {
    font-weight: 700;
    font-size: 15px;
}

/* ================= FOOTER ================= */
.site_footer {
    background: var(--black);
    padding: 40px 0 24px;
}
.footer_top {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-bottom: 28px;
    border-bottom: 1px solid #2a2522;
}
.site_footer nav ul {
    display: flex;
    gap: 40px;
}
.site_footer nav a { font-size: 13px; }
.socials {
    display: flex;
    gap: 16px;
    margin-left: auto;
}
.socials svg {
    width: 22px; height: 22px;
    fill: none;
    stroke: var(--text-light);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .2s;
}
.socials .fill { fill: var(--text-light); stroke: none; }
.socials a:hover svg { stroke: var(--orange); }
.socials a:hover .fill { fill: var(--orange); }
.footer_bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    font-size: 12px;
    color: var(--muted);
}
.footer_bottom ul { display: flex; }
.footer_bottom li + li::before {
    content: "|";
    margin: 0 12px;
}
.footer_bottom a:hover { color: var(--orange); }

/* ================= RESZPONZÍV ================= */
@media (max-width: 1024px) {
    .shape { min-height: 0; background-position: -180px center; }
    .shape_inner { padding-left: 24px; grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "text" "pick" "feat"; row-gap: 30px; }
    /* Egymás alatti elrendezés: a szöveg és a rajz bal széle a szekció közepén, egy vonalban */
    .shape_text { background: rgba(243, 233, 218, .85); padding: 20px; border-radius: 8px; justify-self: start; margin-left: 50%; }
    .shape_text h2 { white-space: normal; }
    .shape_desc { margin-left: 0; }
    .shape_pick { justify-self: start; margin: 0 0 0 calc(50% + 20px); max-width: min(380px, calc(50% - 20px)); }
    .features { background: rgba(243, 233, 218, .9); padding: 16px; border-radius: 8px; border-top: 0; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .design_card { flex-basis: 50%; }
    .main_nav ul { gap: 28px; }
    .header_inner { gap: 24px; }
    .brand_values li { padding: 0 16px; }
}

/* Álló tablet: a hero a mobilos elrendezést kapja, nagyobb címmel */
@media (max-width: 1024px) and (orientation: portrait) {
    .hero {
        background:
            linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.85) 70%),
            url("assets/hero.png") 70% center / cover no-repeat;
        align-items: flex-end;
    }
    .hero h1 { font-size: 13vw; }
}

@media (max-width: 768px) {
    .header_inner > .btn_orange { display: none; }
    .nav_toggle { display: block; }

    /* Teljes képernyős menü: jobbról becsúszik, bezáráskor jobbra kicsúszik */
    .main_nav {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: flex;
        flex-direction: column;
        background: var(--black) url("assets/products.png") center bottom / cover no-repeat;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .45s cubic-bezier(.77, 0, .18, 1), visibility 0s .45s;
    }
    .main_nav.open {
        transform: translateX(0);
        visibility: visible;
        transition: transform .45s cubic-bezier(.77, 0, .18, 1), visibility 0s;
    }
    .menu_head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 24px;
    }
    .nav_close {
        width: 40px; height: 40px;
        background: none;
        border: 0;
        color: #fff;
        font-size: 34px;
        line-height: 1;
        cursor: pointer;
    }
    .main_nav ul {
        flex: 1;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 0 24px;
    }
    .main_nav li a::after { display: none; }
    .main_nav li a {
        display: block;
        padding: 8px 0;
        font-size: 44px;
        line-height: 1.1;
        opacity: 0;
        transform: translateX(40px);
        transition: opacity .3s, transform .3s, color .2s;
    }
    .main_nav.open li a {
        opacity: 1;
        transform: none;
    }
    .main_nav.open li:nth-child(1) a { transition-delay: .2s; }
    .main_nav.open li:nth-child(2) a { transition-delay: .27s; }
    .main_nav.open li:nth-child(3) a { transition-delay: .34s; }
    .menu_cta {
        display: flex;
        justify-content: center;
        margin: 0 24px 40px;
        padding: 16px;
        font-size: 18px;
    }
    body.menu_open { overflow: hidden; }

    .hero h1 { font-size: 17vw; }
    .hero {
        background:
            linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.85) 70%),
            url("assets/hero.png") 70% center / cover no-repeat;
        align-items: flex-end;
    }

    .shape { background-position: -180px center; }
    .shape_inner { padding-left: 24px; }
    .shape_text { margin-left: 0; justify-self: stretch; }
    .shape_pick { justify-self: center; margin: 0 auto; max-width: 100%; }
    .shape_text { background: rgba(243, 233, 218, .85); padding: 16px; border-radius: 8px; }
    .shape_desc { margin-left: 0; }
    .features { background: rgba(243, 233, 218, .9); padding: 16px; border-radius: 8px; border-top: 0; }
    .shape { min-height: 0; }
    .shape_text h2 { white-space: normal; }
    .shape_inner { grid-template-rows: auto; row-gap: 30px; }
    .cta::before { opacity: .22; top: 0; height: 100%; }
    .shape_pick { background: rgba(243, 233, 218, .93); border-radius: 8px; padding: 50px 86px 16px 16px; }
    .shape_pick .dim_w { top: 16px; left: 16px; right: 86px; }
    .shape_pick .dim_h { top: 50px; bottom: 16px; right: 16px; }

    .designs_head { flex-direction: column; align-items: flex-start; }

    .brand_values { flex-wrap: wrap; row-gap: 24px; }
    .brand_values li { flex: 1 1 50%; padding: 0 10px; }
    .brand_values li:first-child { padding-left: 10px; }
    .brand_values li:nth-child(3) { border-left: 0; }
    .mark { font-size: 22px; }
    .carousel { padding: 0 44px; }
    .design_card { flex-basis: 100%; }

    .cta_inner { grid-template-columns: 1fr; gap: 30px; }

    .contact { padding: 80px 0; }
    .contact_inner { grid-template-columns: 1fr; gap: 30px; }
    .contact_list { padding-top: 0; }
    .contact_icon { width: 48px; height: 48px; }
    .contact_item { gap: 16px; }
    .contact_item strong { font-size: clamp(17px, 5.2vw, 22px); word-break: normal; overflow-wrap: anywhere; }

    .modal { padding: 48px 22px 30px; }
    .imp_grid { grid-template-columns: 1fr; }

    .footer_top { flex-direction: column; gap: 24px; }
    .socials { margin-left: 0; }
    .footer_bottom { flex-direction: column; gap: 10px; align-items: center; }
}

/* Mobil és álló tablet: a Márka és a Hogyan használd egymás alatti elrendezést kap */
@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
    /* Márka: felül tisztán a kép (róka + pengető), alatta a szöveg */
    .brand {
        min-height: 0;
        padding: calc(80px + 76vw) 0 60px;
        /* a kép 95vw magas sávban látszik, az alja lágyan feketébe olvad */
        background:
            linear-gradient(180deg, rgba(11,9,8,0) 55%, var(--black) 100%) 0 80px / 100% 95vw no-repeat,
            url("assets/marka.png") 80% 80px / auto 95vw no-repeat,
            var(--black);
    }

    /* Hogyan használd: szöveg felül, kép alatta a nyilakkal */
    .how { flex-direction: column; align-items: stretch; padding: 70px 0 0; min-height: 0; }
    .how_inner { order: -1; }
    .how_media { position: relative; height: 120vw; max-height: 640px; margin-top: 30px; }
    .how_media img { object-position: 80% center; }
    .how_media::after { background: linear-gradient(180deg, var(--black) 0%, rgba(0,0,0,0) 25%); }
}

@media (max-width: 480px) {
    .features { grid-template-columns: 1fr; }
    .cta_form { flex-direction: column; }
    .cta_form button { padding: 16px; }
    .site_footer nav ul { gap: 20px; }
}

/* ================= Mobil + álló tablet: hero cím felül, gomb alul, középen szabadon a pengető ================= */
@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
    .hero {
        align-items: stretch;
        min-height: 100vh;
        min-height: 100svh;
        padding: 96px 0 36px;
        background:
            linear-gradient(180deg,
                rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 28%, rgba(0,0,0,.45) 42%,
                rgba(0,0,0,.45) 60%, rgba(0,0,0,.85) 80%, rgba(0,0,0,.92) 100%),
            url("assets/hero.png") 68% 60% / cover no-repeat;
    }
    .hero_content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero_lead { margin-top: auto; }      /* szöveg + gomb a képernyő aljára */
}

/* ================= Mobil lábléc: menü egymás alatt, középen ================= */
@media (max-width: 768px) {
    .footer_top { align-items: center; }
    .site_footer nav ul {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .site_footer nav a { font-size: 15px; }
}

/* ================= Keskeny tablet: az 5 menüpont kiférjen egy sorban ================= */
@media (min-width: 769px) and (max-width: 920px) {
    .header_inner { gap: 16px; }
    .logo img { width: 72px; }
    .main_nav ul { gap: 18px; }
    .main_nav a { font-size: 13px; letter-spacing: .5px; white-space: nowrap; }
    .header_inner > .btn_small { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
}
