/* [admax_dobozok] — sorszámozott tény-sorok */

.about__facts {
    border-top: 1px solid #dbeae3;
}

.about__fact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #dbeae3;
}

.about__fact-index {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 14px;
    color: #2c8b74;
    min-width: 25px;
}

.about__fact-text {
    font-size: 15px;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-weight: 600;
}

/* [admax_dobozok] — hero kategória: stat-pár sor (nagy szám + címke) */
.hero__stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    border-top: 1px solid #dbeae3;
    padding-top: 23px;
}

.stat-value {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 29px;
    line-height: 1;
}

.stat-value--teal {
    color: #2c8b74;
}

.stat-label {
    font-size: 12px;
    color: #5c7b73;
    margin-top: 5px;
    font-weight: 600;
}

/* [admax_dobozok kategoria="rolunkdobozok"] — érték-rács: vezető panel (2×2, teál gradiens) + érték-kártyák */
/* — Motor: reveal kezdőállapot (html.am-anim = fut a JS) — */
html.am-anim .am-values-grid [data-am-reveal] {
    opacity: 0;
}

html.am-anim .am-values-grid [data-am-reveal].am-in {
    opacity: 1;
}

.am-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(170px, auto);
    gap: 16px;
}

.am-panel {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(150deg, #2C8B74, #1E3A38);
    color: #fff;
    border-radius: 21px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.am-panel-circle {
    position: absolute;
    top: -36px;
    right: -36px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(167, 235, 221, .18);
}

.am-panel-head {
    position: relative;
}

.am-panel-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #A7EBDD;
    margin-bottom: 14px;
}

.am-panel-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 43px;
    line-height: 1;
    letter-spacing: -1.3px;
    margin: 0;
    text-transform: uppercase;
}

.am-panel-text {
    position: relative;
    font-size: 14px;
    font-family: 'Space Grotesk', monospace;
    line-height: 1.65;
    color: rgba(241, 247, 244, .9);
    margin: 21px 0 0;
    font-weight: 500;
}

.am-vcard {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #dbeae3;
    border-radius: 20px;
    padding: 27px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform .35s cubic-bezier(.16, .84, .3, 1), box-shadow .35s ease, border-color .35s ease;
}

.am-vcard.is-wide {
    flex-direction: row;
    align-items: center;
    gap: 21px;
    grid-column: span 2;
}

.am-vcard.is-dark {
    background: #1E3A38;
    border-color: transparent;
}

.am-vcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(22, 51, 46, .14);
    border-color: #5FBDA8;
}

.am-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid #dbeae3;
    background: #E3F3EC;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex: none;
    transition: background .35s, border-color .35s;
}

.am-vcard.is-dark .am-ico {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
}

.am-vcard.is-wide .am-ico {
    margin-bottom: 0;
}

/* svg-méret/vonalvastagság expliciten, hogy a Lucide <i data-lucide> ikonok is a sablon méretén jelenjenek meg */
.am-ico svg {
    stroke: #2C8B74;
    width: 21px;
    height: 21px;
    stroke-width: 1.7;
}

.am-vcard:hover .am-ico {
    background: #2C8B74;
    border-color: #2C8B74;
}

.am-vcard:hover .am-ico svg {
    stroke: #fff;
}

.am-vcard-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.2px;
    margin: 0 0 9px;
    color: #16332E;
}

.am-vcard.is-dark .am-vcard-title {
    color: #fff;
}

.am-vcard-text {
    font-size: 13px;
    line-height: 1.6;
    color: #5c7b73;
    margin: 0;
    font-weight: 500;
}

.am-vcard.is-dark .am-vcard-text {
    color: #9fb6ae;
}

/* Számozott aurora-kártya: teál gradiens, szellem-szám, hoverre fénysöprés. */
@keyframes am-ncard-aurora {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes am-ncard-sweep {
    0% {
        transform: translateX(-160%) skewX(-20deg);
    }

    100% {
        transform: translateX(260%) skewX(-20deg);
    }
}

.am-ncard {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: linear-gradient(150deg, #2C8B74, #1E3A38);
    background-size: 220% 220%;
    animation: am-ncard-aurora 9s ease infinite;
    transition: transform .4s cubic-bezier(.16, .84, .3, 1);
    color: #fff;
    height: 250px;
}

.am-ncard:hover {
    transform: translateY(-6px) scale(1.015);
}

.am-ncard-num {
    position: relative;
    z-index: 3;
    font-family: 'Space Grotesk', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
}

.am-ncard-body {
    position: relative;
    z-index: 3;
}

.am-ncard-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 1;
    margin: 0;
    color: #fff;
}

.am-ncard-text {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
    margin: 10px 0 0;
    font-family: 'Space Grotesk', monospace;
    color: #fff;
}

.am-ncard-ghost {
    position: absolute;
    left: 22px;
    bottom: -26px;
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 120px;
    line-height: 1;
    letter-spacing: -.04em;
    pointer-events: none;
    z-index: 1;
    color: rgb(255 255 255 / 5%);
}

.am-ncard-sweep {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
    pointer-events: none;
    opacity: 0;
}

.am-ncard:hover .am-ncard-sweep {
    opacity: 1;
    animation: am-ncard-sweep 1.1s ease;
}

/* [admax_dobozok megjelenes="elonyok"] — előny-rács: képes hero-kártya + ikonkártyák leírással + széles kártyák. */
.am-why-sec {
    background: #F1F7F4;
    padding: 107px 0;
}

.am-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.am-bhero {
    grid-column: span 2;
    grid-row: span 2;
    border-radius: 20px;
    border: 1px solid #dbeae3;
    position: relative;
    min-height: 304px;
    background: #1E3A38;
    overflow: hidden;
}

.am-bhero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .62;
}

.am-bhero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 58, 56, .15) 0%, rgba(22, 51, 46, .88) 72%);
}

.am-bhero-body {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 29px 27px;
    min-height: 304px;
    box-sizing: border-box;
}

.am-bhero-tag {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 7px;
    background: rgba(167, 235, 221, .16);
    color: #A7EBDD;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.am-bhero-t {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 29px;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -.6px;
}

.am-bhero-p {
    font-size: 13px;
    line-height: 1.55;
    color: #c4dbd4;
    margin: 13px 0 0;
    font-weight: 500;
    max-width: 375px;
}

.am-why-grid .am-icard {
    background: #fff;
    padding: 21px 20px 23px;
}

.am-why-grid .am-icard .am-ico {
    width: 50px;
    background: #E3F3EC;
}

.am-why-grid .am-icard .am-ico svg {
    width: 19px;
    height: 19px;
}

.am-why-grid .am-icard-t {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 0;
}

.am-why-grid .am-icard-p {
    font-size: 13px;
    line-height: 1.55;
    color: #5c7b73;
    font-weight: 500;
    margin: 8px 0 0;
}

.am-why-grid .am-icard.is-wide {
    grid-column: span 2;
}

/* [admax_dobozok megjelenes="sima"] — tömör sorszámozott sorok. */
.am-plist {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 27px;
}

.am-plist-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid #dbeae3;
}

.am-plist-n {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 12px;
    color: #5FBDA8;
    width: 23px;
}

.am-plist-t {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 15px;
}

/* [admax_dobozok megjelenes="lista"] — egymás alatti előny-sorok automatikus sorszámmal. */
.am-benefit-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 5px;
    border-bottom: 1px solid #dbeae3;
}

.am-benefit-num {
    flex: none;
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    color: #5FBDA8;
    width: 27px;
}

.am-benefit-ico {
    flex: none;
    display: flex;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #fff;
    border: 1px solid #dbeae3;
    align-items: center;
    justify-content: center;
}

.am-benefit-ico svg {
    width: 17px;
    height: 17px;
    stroke: #2C8B74;
    stroke-width: 1.9;
}

.am-benefit-t {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.35;
}

/* [admax_dobozok megjelenes="kartyak"] — ikonkártya-rács. */
.am-icards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.am-icard {
    position: relative;
    overflow: hidden;
    background: #F1F7F4;
    border: 1px solid #dbeae3;
    border-radius: 18px;
    padding: 23px 20px;
    transition: transform .4s cubic-bezier(.16, .84, .3, 1), box-shadow .4s ease, border-color .3s ease;
}

.am-icard:hover {
    transform: translateY(-6px);
    box-shadow: 0 27px 54px rgba(22, 51, 46, .15);
    border-color: #5FBDA8;
}

.am-icard .am-ico {
    display: flex;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #dbeae3;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background .35s ease, border-color .35s ease;
}

.am-icard:hover .am-ico {
    background: #2C8B74;
    border-color: #2C8B74;
}

.am-icard .am-ico svg {
    width: 25px;
    height: 25px;
    stroke: #2C8B74;
    stroke-width: 1.9;
    transition: stroke .35s ease, transform .35s cubic-bezier(.16, .84, .3, 1);
}

.am-icard:hover .am-ico svg {
    stroke: #fff;
    transform: scale(1.08);
}

.am-icard-t {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.25;
}

.am-icard-s {
    font-size: 12px;
    line-height: 1.5;
    color: #5c7b73;
    font-weight: 500;
}

/* [admax_dobozok megjelenes="folyamat"] — számozott lépés-lista automatikus sorszámmal. */
.am-join-rows {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.am-plrow {
    transition: background .25s ease, border-color .25s ease;
}

.am-plrow:hover {
    background: #E3F3EC;
    border-color: #5FBDA8;
}

.am-plrow.is-step {
    background: #fff;
    border: 1px solid #dbeae3;
    border-radius: 16px;
    padding: 23px 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.am-step-num {
    flex: none;
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 30px;
    line-height: .9;
    color: #A7EBDD;
    letter-spacing: -1.2px;
}

.am-step-t {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 5px;
}

.am-step-d {
    font-size: 13px;
    line-height: 1.55;
    color: #5c7b73;
    margin: 0;
    font-weight: 500;
}

/* [admax_dobozok megjelenes="technikai"] — elhelyezési helyek listája. */
.am-integ-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 23px;
}

.am-plrow.is-place {
    background: #fff;
    border: 1px solid #dbeae3;
    border-radius: 14px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 30px 1fr auto auto;
    gap: 16px;
    align-items: center;
}

.am-pl-i {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    color: #5FBDA8;
}

.am-pl-n {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 14px;
}

.am-pl-u {
    font-size: 12px;
    color: #5c7b73;
    margin-top: 3px;
    font-weight: 500;
}

.am-pl-s {
    font-size: 12px;
    font-weight: 700;
    color: #2C8B74;
    white-space: nowrap;
}

.am-pl-t {
    font-size: 11px;
    font-weight: 600;
    color: #5c7b73;
    white-space: nowrap;
    text-align: right;
    min-width: 93px;
}

/* [admax_dobozok megjelenes="portfolio"] — portfólió-kártya-rács. */
.am-sol-sec {
    background: #fff;
    padding: 107px 0;
}

.am-sol-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px;
}

.am-bcard {
    background: #F1F7F4;
    border: 1px solid #dbeae3;
    border-radius: 23px;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.16, .84, .3, 1), box-shadow .35s ease, border-color .3s ease;
}

.am-bcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 23px 48px rgba(22, 51, 46, .14);
    border-color: #5FBDA8;
}

.am-bcard-cover {
    position: relative;
    height: 188px;
    background: #1E3A38;
    overflow: hidden;
}

.am-bcard-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
}

.am-bcard-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, rgba(44, 139, 116, .42), rgba(30, 58, 56, .72));
}

.am-bcard-name {
    position: absolute;
    left: 21px;
    bottom: 18px;
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 27px;
    color: #fff;
    letter-spacing: -.5px;
}

.am-bcard-body {
    padding: 25px 27px 29px;
}

.am-bcard-lead {
    font-size: 14px;
    line-height: 1.6;
    color: #16332E;
    margin: 0 0 13px;
    font-weight: 600;
}

.am-bcard-p {
    font-size: 14px;
    line-height: 1.6;
    color: #5c7b73;
    margin: 0 0 13px;
    font-weight: 500;
}

.am-bcard .am-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2C8B74;
    font-weight: 800;
    font-size: 13px;
    transition: gap .3s ease;
}

.am-bcard .am-link:hover {
    gap: 13px;
}

/* [admax_dobozok megjelenes="szamok"] — statisztika-kártya-rács. */
.am-statgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.am-statgrid .am-stat {
    background: #F1F7F4;
    border: 1px solid #dbeae3;
    border-radius: 20px;
    padding: 25px 23px 27px;
}

.am-statgrid .am-stat .am-ico {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #fff;
    margin-bottom: 16px;
}

.am-statgrid .am-stat-v {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 38px;
    line-height: 1;
    color: #2C8B74;
    letter-spacing: -1.1px;
    font-variant-numeric: tabular-nums;
}

.am-statgrid .am-stat-l {
    font-size: 13px;
    color: #5c7b73;
    margin-top: 11px;
    font-weight: 600;
    line-height: 1.4;
}

/* [admax_dobozok megjelenes="garancia"] — garancia-pill rács, SÖTÉT szekcióra: áttetsző fehét kártyák + menta ikonok. */
.am-ggrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}

.am-gitem {
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(167, 194, 186, .16);
    border-radius: 14px;
    padding: 16px 20px;
    transition: transform .3s ease, background .3s ease;
}

.am-gitem:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, .09);
}

.am-gico {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: rgba(167, 235, 221, .12);
    border: 1px solid rgba(167, 235, 221, .22);
    display: flex;
    align-items: center;
    justify-content: center;
}

.am-gico svg {
    width: 16px;
    height: 16px;
    stroke: #A7EBDD;
    stroke-width: 1.9;
}

.am-gt {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #e4f1ec;
}

/* [admax_dobozok megjelenes="kampany"] — kockázatcsökkentő kártya-oszlop: ikon + cím + alcím sorok egymás alatt. */
.am-risk {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.am-risk-card {
    flex: 1;
    background: #F1F7F4;
    border: 1px solid #dbeae3;
    border-radius: 18px;
    padding: 20px 21px;
    display: flex;
    gap: 13px;
    align-items: center;
}

.am-risk-card .am-ico {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 0;
}

.am-risk-t {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 4px;
}

.am-risk-s {
    font-size: 12px;
    line-height: 1.5;
    color: #5c7b73;
    font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
    html.am-anim .am-values-grid [data-am-reveal] {
        opacity: 1;
    }

    .am-ncard {
        animation: none;
    }
}

/* megjelenes="technikai" — mobilon két soros kártya. */
@media (max-width: 767px) {
     .hero__stats {
        gap: 10px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-value {
        font-size: 24px;
        text-align: center;
    }
    .stat-label {
    font-size: 11px;
    margin-top: 2px;
    text-align: center;
}

    .am-values-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .am-panel {
        grid-column: auto;
        grid-row: auto;
        padding: 27px;
    }

    .am-panel-title {
        font-size: 32px;
        letter-spacing: -.9px;
    }

    .am-vcard {
        padding: 21px;
    }

    .am-vcard.is-wide {
        grid-column: auto;
    }

    .am-ncard {
        padding: 20px;
    }

    .am-ncard-ghost {
        font-size: 90px;
    }

    .am-why-sec {
        padding: 60px 0;
    }

    .am-why-grid {
        grid-template-columns: 1fr;
    }

    .am-bhero {
        grid-column: auto;
        grid-row: auto;
        min-height: 260px;
    }

    .am-bhero-body {
        min-height: 260px;
        padding: 20px;
    }

    .am-bhero-t {
        font-size: 24px;
    }

    .am-why-grid .am-icard.is-wide {
        grid-column: auto;
    }

    .am-sol-sec {
        padding: 60px 0;
    }

    .am-sol-grid {
        grid-template-columns: 1fr;
    }

    .am-statgrid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .am-statgrid .am-stat-v {
        font-size: 30px;
    }

    .am-ggrid {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-bottom: 23px;
    }

    .am-benefit-t {
        font-size: 15px;
        line-height: 1.4;
    }

    .am-benefit-row {
        padding: 15px 5px;
    }

    .am-icards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .am-icard {
        padding: 20px;
    }

    .am-step-t {
        font-size: 15px;
        margin-bottom: 0px;
    }

    .am-plrow.is-place {
        grid-template-columns: 30px 1fr auto;
        gap: 8px 14px;
        padding: 16px 18px;
    }

    .am-plrow.is-place .am-pl-t {
        grid-column: 2 / -1;
        min-width: 0;
        white-space: normal;
    }
}
