/* =========================================
   TINDAIR LANDING PAGE
   ========================================= */


/* =========================================
   GLOBAL SECTIONS
   ========================================= */

.section {
    width: 100%;
    margin: 0;
    padding: 110px 0;
}

.section-inner {
    width: min(calc(100% - 48px), var(--tindair-max-content));
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin: 0 0 52px;
}

.section-heading h2,
.contact h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.eyebrow {
    margin: 0 0 15px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    --hero-image: url("/wp-content/uploads/2026/09/background.jpg");

    position: relative;
    width: 100%;
    min-height: 100svh;
    margin: 0;
    padding: 0;

    display: grid;
    align-items: center;

    overflow: hidden;

    background:
        var(--hero-image) center center / cover no-repeat,
        radial-gradient(
            circle at 75% 25%,
            #5c646c 0,
            #2b3035 34%,
            #15181b 74%,
            #0d0f10 100%
        );

    background-attachment: fixed;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(8, 10, 12, 0.78) 0%,
        rgba(8, 10, 12, 0.48) 48%,
        rgba(8, 10, 12, 0.18) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;

    width: min(calc(100% - 48px), var(--tindair-max-content));
    margin: 0 auto;
    padding: 150px 0 92px;
}

.hero-kicker {
    max-width: 740px;
    margin: 0 0 28px;

    font-size: clamp(0.82rem, 1.5vw, 1rem);
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 930px;
    margin: 0;

    font-size: clamp(3rem, 7.5vw, 7.4rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.hero-lead {
    max-width: 650px;
    margin: 30px 0 0;

    font-size: clamp(1rem, 1.55vw, 1.25rem);
    color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
    margin-top: 38px;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================================
   BUTTONS
   ========================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 24px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 0.94rem;
    font-weight: 750;

    transition:
        transform 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: #fff;
    color: var(--tindair-text);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--tindair-accent);
    color: #fff;
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.button-ghost:hover,
.button-ghost:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.button-dark {
    background: var(--tindair-dark);
    color: #fff;
}


/* =========================================
   BENEFITS
   ========================================= */

.benefits {
    background: #fff;
}

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

    border-top: 1px solid #dedfe1;
    border-bottom: 1px solid #dedfe1;
}

.benefit-card {
    min-width: 0;
    padding: 44px 36px 46px;

    border-right: 1px solid #dedfe1;
}

.benefit-card:first-child {
    padding-left: 0;
}

.benefit-card:last-child {
    padding-right: 0;
    border-right: 0;
}

.benefit-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 34px;

    display: grid;
    place-items: center;

    border: 1px solid #d8dade;
    border-radius: 50%;
}

.benefit-icon svg {
    width: 26px;
    height: 26px;

    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefit-card h3 {
    margin: 0 0 14px;

    font-size: 1.28rem;
    letter-spacing: -0.025em;
}

.benefit-card p {
    margin: 0;
    color: var(--tindair-muted);
}


/* =========================================
   PROCESS
   ========================================= */

.process {
    background: var(--tindair-dark);
    color: #fff;
}

.section-heading-light {
    color: #fff;
}

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

    gap: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.process-step {
    min-height: 300px;
    padding: 42px;

    background: var(--tindair-dark);
}

.step-number {
    display: block;
    margin-bottom: 72px;

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;

    color: rgba(255, 255, 255, 0.48);
}

.process-step h3 {
    margin: 0 0 12px;
    font-size: 1.45rem;
}

.process-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}


/* =========================================
   CONTACT + FLUENT FORMS
   ========================================= */

.contact {
    background: var(--tindair-soft);
}

.contact .contact-inner {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(460px, 620px);

    align-items: center;
    gap: clamp(50px, 7vw, 100px);
}

.contact-copy {
    max-width: 700px;
    margin: 25px 0 0;

    color: var(--tindair-muted);
    font-size: 1.06rem;
}

.contact .quote-form-wrapper {
    width: 100%;
    max-width: 620px;
    padding: 36px 40px;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 18px;

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

/* Fluent Forms */
.contact .fluentform,
.contact .frm-fluent-form {
    width: 100% !important;
}

.contact .ff-el-group {
    margin-bottom: 18px !important;
}

.contact .ff-el-input--label label {
    margin-bottom: 7px !important;

    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #17191c !important;
}

.contact .ff-el-form-control {
    width: 100% !important;
    padding: 13px 15px !important;

    border: 1px solid #d9dcdf !important;
    border-radius: 10px !important;

    background: #f7f8f9 !important;
    color: #17191c !important;

    font-size: 0.95rem !important;

    outline: none !important;
    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease !important;
}

.contact .ff-el-form-control:focus {
    background: #fff !important;
    border-color: #17191c !important;

    box-shadow: 0 0 0 3px rgba(23, 25, 28, 0.06) !important;
}

/* Üzenet mező: kb. 3 sor */
.contact textarea.ff-el-form-control {
    min-height: 90px !important;
    height: 90px !important;
    resize: vertical !important;
}

/* Checkbox / GDPR */
.contact .ff-el-form-check {
    margin-top: 2px;
}

.contact .ff-el-form-check-label {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    color: #686d72 !important;
}

/* Küldés gomb */
.contact .ff-btn-submit {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 24px !important;

    border: 0 !important;
    border-radius: 999px !important;

    background: #17191c !important;
    color: #fff !important;

    font-size: 0.92rem !important;
    font-weight: 700 !important;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease !important;
}

.contact .ff-btn-submit:hover,
.contact .ff-btn-submit:focus-visible {
    background: var(--tindair-accent) !important;
    transform: translateY(-1px) !important;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12) !important;
}


/* =========================================
   CONTACT BAR
   ========================================= */

.sticky-contact-bar,
.footer-contact-dock {
    width: 100%;

    background: rgba(18, 20, 22, 0.97);
    color: #fff;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Képernyő alján fix sáv */
.sticky-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 9000;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.10s ease,
        visibility 0.10s ease;
}

/* Amikor a footer előtti statikus sáv megjelenik */
.sticky-contact-bar.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Ugyanaz a sáv fix helyen közvetlenül a footer előtt */
.footer-contact-dock {
    position: relative;
    z-index: 2;
}

.sticky-contact-inner {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sticky-contact-item {
    min-width: 0;
    min-height: 36px;

    padding: 3px 16px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: 6px;

    color: #fff;
    text-decoration: none;

    transition: background-color 0.15s ease;
}

.sticky-contact-item + .sticky-contact-item {
    border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.sticky-contact-item:hover,
.sticky-contact-item:focus-visible {
    background: rgba(255, 255, 255, 0.06);
}

.sticky-contact-label {
    font-size: 0.60rem;
    font-weight: 500;

    color: rgba(255, 255, 255, 0.48);

    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sticky-contact-value {
    font-size: 0.72rem;
    font-weight: 600;

    white-space: nowrap;
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    width: 100%;
    margin: 0;
    padding: 16px 0;

    background: #0b0d0f;
    color: #fff;
}

.footer-inner {
    width: min(calc(100% - 48px), var(--tindair-max-content));
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;

    line-height: 1;
}


/* =========================================
   FALLBACK PAGE
   ========================================= */

.basic-page {
    min-height: 80vh;
    padding: 150px 0 80px;
}


/* =========================================
   RESPONSIVE - TABLET
   ========================================= */

@media (max-width: 900px) {

    .section {
        padding: 82px 0;
    }

    .benefit-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card,
    .benefit-card:first-child,
    .benefit-card:last-child {
        padding: 34px 0;

        border-right: 0;
        border-bottom: 1px solid #dedfe1;
    }

    .benefit-card:last-child {
        border-bottom: 0;
    }

    .process-step {
        min-height: auto;
        padding: 34px;
    }

    .step-number {
        margin-bottom: 42px;
    }

    .contact .contact-inner {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 42px;
    }

    .contact .quote-form-wrapper {
        max-width: 100%;
    }

    .sticky-contact-item {
        min-height: 40px;
        padding: 4px 10px;

        flex-direction: column;
        gap: 0;
    }

    .sticky-contact-label {
        font-size: 0.50rem;
    }

    .sticky-contact-value {
        max-width: 100%;

        font-size: 0.66rem;

        overflow: hidden;
        text-overflow: ellipsis;
    }
}


/* =========================================
   RESPONSIVE - MOBILE
   ========================================= */

@media (max-width: 640px) {

    .section-inner,
    .hero-content,
    .footer-inner {
        width: calc(100% - 32px);
    }

    .section {
        padding: 68px 0;
    }

    .hero {
        min-height: 100svh;

        background-attachment: scroll;
        background-position: 62% center;
    }

    .hero-content {
        padding-top: 126px;
        padding-bottom: 64px;
    }

    .hero-overlay {
        background: rgba(8, 10, 12, 0.56);
    }

    .hero h1 {
        font-size: clamp(3rem, 16vw, 4.8rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .contact .quote-form-wrapper {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .contact .ff-el-form-control {
        font-size: 16px !important;
    }

    .contact textarea.ff-el-form-control {
        min-height: 95px !important;
        height: 95px !important;
    }

    .sticky-contact-item {
        min-height: 38px;
        padding: 3px 6px;
    }

    .sticky-contact-label {
        font-size: 0.47rem;
    }

    .sticky-contact-value {
        font-size: 0.62rem;
    }

    .site-footer {
        padding: 13px 0;
    }
}
