/* =============================================================
   FRONT-PAGE.CSS — Pronat Industries
   Design tokens + all front-page / division-page styles
   ============================================================= */

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
    --fp-navy:          #1e3d82;
    --fp-red:           #e10004;
    --fp-text:          #3f3f3f;
    --fp-bg-light:      #f7f7f7;
    --fp-white:         #ffffff;

    --fp-font-heading:  'Anton', sans-serif;
    --fp-font-body:     'Roboto', sans-serif;

    --fp-heading-size:  clamp(34px, 2.9vw, 55px);
    --fp-body-size:     clamp(16px, 1.15vw, 22px);
    --fp-body-lh:       1.5;

    --fp-section-py:    clamp(60px, 10vw, 110px);
    --fp-section-py-big-bottom:  110px 0 180px;
    --fp-section-py-bottom:  0 110px ;
    --fp-container-max: 1560px;
    --fp-card-gap:      24px;
    --fp-radius-card:   18px;
    --fp-radius-panel:  50px;
}

/* ── Shared utilities ───────────────────────────────────────── */
.fp-main {
    overflow-x: hidden;
}

.container-big {
    max-width: var(--fp-container-max);
    padding-inline: clamp(16px, 3vw, 40px);
}

.fp-section-bar {
    width: 67px;
    height: 7px;
    background: var(--fp-red);
    margin: 0 auto 18px;
}

.fp-section-title {
    font-family: var(--fp-font-heading);
    font-size: var(--fp-heading-size);
    color: var(--fp-text);
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.01em;
    margin-bottom: 40px;
}

/* ── 1. HERO ────────────────────────────────────────────────── */
.fp-hero {
    min-height: clamp(400px, 52vw, 760px);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: clamp(80px, 8vw, 140px) 0 clamp(60px, 5vw, 90px);
    position: relative;
}

.fp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(16, 30, 65, 0.72) 0%,
        rgba(16, 30, 65, 0.30) 60%,
        transparent 100%
    );
}

.fp-hero .container-big {
    position: relative;
    z-index: 1;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center; 
}

.fp-hero__content {
    padding: 20px 0;
}

.fp-hero__title {
    font-family: var(--fp-font-heading);
    font-size: clamp(30px, 4.2vw, 55px);
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    color: var(--fp-white);
    line-height: 1.15;
    margin-bottom: 0;
    max-width: 930px;
    margin: 0 auto;
}

.fp-hero__title strong{
	color: #E10004;
    font-weight: 500;
}

.fp-hero__accent {
    color: var(--fp-red);
}

.fp-hero__subtitle {
    font-family: var(--fp-font-body);
    font-size: clamp(16px, 1.3vw, 22px);
    color: var(--fp-white);
    margin-top: 18px;
    margin-bottom: 0;
    opacity: 0.9;
}

/* contact-page variant: no text content, just a visual strip */
.fp-hero--contact {
    min-height: clamp(80px, 12vw, 240px);
    padding: 0;
    background-color: var(--fp-navy);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: bottom center;
	height: 505px;
    z-index: 0;
}

.fp-hero--contact::before {
    display: none; /* no dark overlay on the contact strip */
}

/* ── 2. APPLICATIONS ────────────────────────────────────────── */
.fp-applications {
    padding: var(--fp-section-py-big-bottom);
    background: var(--fp-white);
    position: relative;
    z-index: 1;

}
.fp-applications__slider-wrap{
    padding-bottom: 90px;
}
.fp-applications__desc {
    font-family: var(--fp-font-body);
    font-size: var(--fp-body-size);
    color: var(--fp-text);
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 0;
}

.fp-applications__slider-wrap {
    margin-top: clamp(40px, 4vw, 92px);
    padding-inline: 0;
}

/* Swiper: centred with peek; extra bottom padding holds the pagination dots */
.fp-applications-swiper {
    padding-top: 12px !important;
    padding-bottom: 48px !important;
    overflow: visible !important;
}

.fp-app-card {
    height: clamp(280px, 30vw, 460px);
    border-radius: 26px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

/* Full-cover background image — <img> so browser keeps it in memory for loop clones */
.fp-app-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.fp-app-card__overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        182deg,
        rgba(0, 0, 0, 0.0) 14%,
        rgba(0, 0, 0, 0.62) 94%
    );
}

.fp-app-card__body {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 28px 40px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.fp-app-card__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-app-card__label {
    font-family: var(--fp-font-body);
    font-size: clamp(20px, 1.7vw, 33px);
    color: var(--fp-white);
    line-height: 1.25;
    margin: 0;
}

/* Side slides: scaled down + dimmed; will-change keeps clones composited */
.fp-applications-swiper .swiper-slide .fp-app-card {
    will-change: transform, opacity;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.fp-applications-swiper .swiper-slide:not(.swiper-slide-active) .fp-app-card {
    opacity: 0.55;
    transform: scale(0.85);
}
.fp-applications-swiper .swiper-slide-active .fp-app-card {
    opacity: 1;
    transform: scale(1);
}

/* Pagination dots — inside swiper, Swiper positions it below the slides */
.fp-applications-pagination.swiper-pagination {
    bottom: -50px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding-block: 12px; 
    left: 50%;
    transform: translateX(-50%);
}

.fp-applications-pagination .swiper-pagination-bullet {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #BDC5D7;
    opacity: 1 !important;
    flex-shrink: 0;
    transition: background 0.3s, width 0.3s, height 0.3s;
    margin: 0 !important;
}

.fp-applications-pagination .swiper-pagination-bullet::after{
    content: '';
    position: relative;

    border: 1px solid #BDC5D7;
    transform: translate(-50%, -50%);
    display: block;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    transition: .3s all;
}

.fp-applications-pagination .swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    background: var(--fp-navy);
    margin: 0 5px !important;
}

.fp-applications-pagination .swiper-pagination-bullet-active::after{
    content: '';
    position: relative;
    width: 32px;
    height: 32px;
    border: 1px solid #1E3D82;
    transform: translate(-50%, -50%);
    display: block;
    border-radius: 50%;
    left: 50%;
    top: 50%;
}

/* Navigation arrows — overlaid on left/right side cards */
.fp-apps-prev,
.fp-apps-next {
    display: none; /* hidden on mobile — side slides not visible */
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--fp-navy);
    padding: 0;
    transition: box-shadow 0.2s;
}

.fp-apps-prev:hover,
.fp-apps-next:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.26);
}

/* Show arrows only when side cards are visible (≥ 992px = 2.6 slides) */
/* top offset: pagination (~44px) is inside swiper, so card centre = 50% - 22px */
@media (min-width: 992px) {
    .fp-apps-prev,
    .fp-apps-next {
        display: flex;
        top: calc(50% - 22px);
    }

    /* At 2.6 slides: side card centre ≈ 19% from each edge */
    .fp-apps-prev {
        left: calc(100% / (2 * 2.6));
        transform: translate(-50%, -50%);
    }
    .fp-apps-next {
        right: calc(100% / (2 * 2.6));
        transform: translate(50%, -50%);
    }
}

/* At 3 slides: side card centre = 1/6 from each edge */
@media (min-width: 1200px) {
    .fp-apps-prev {
        left: calc(100% / 6);
    }
    .fp-apps-next {
        right: calc(100% / 6);
    }
}

/* ── 3. ABOUT / DESCRIPTION ─────────────────────────────────── */
.fp-about {
    background: var(--fp-navy);
    background-size: cover;
    background-position: center;
    padding-block: var(--fp-section-py);
    height: 730px;
    max-height: 80vh; 
    border-radius: 60px 60px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.fp-about .container{
    max-width: 1150px;
}

.fp-about__text {
    font-family: var(--fp-font-body);
    font-size: 25px;
    color: var(--fp-white);
    line-height: 1.65;
    text-align: justify;
    margin-bottom: 0;
    font-weight: 300;
}

/* ── 3b. SERVICE HIGHLIGHTS ────────────────────────────────── */
.fp-highlights {
    padding-block: var(--fp-section-py-bottom);
    background: #F7F7F7;
    position: relative;
    z-index: 2;
}

.fp-highlight-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.fp-highlight-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.fp-highlight-card:hover .fp-highlight-card__img {
    transform: scale(1.04);
}

.fp-highlight-card__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px 18px;
    font-family: var(--fp-font-body);
    font-size: clamp(13px, 1.4vw, 26px);
    background-color: rgba(0, 18, 59, 0.59);
    font-weight: 500;
    color: var(--fp-white);
    line-height: 1.3;
}

/* ── 4. PRODUCTION CAPABILITIES ────────────────────────────── */
.fp-capabilities {
    padding-block: var(--fp-section-py);
    background: var(--fp-white);
}

.fp-capabilities__panel {
    margin-top: clamp(32px, 3vw, 56px);
    background: var(--fp-bg-light);
    border-radius: var(--fp-radius-panel);
    padding: 56px;
    justify-content: space-between;
    gap: 32px;
    align-items: stretch;
    min-height: 500px;
    max-width: 1380px;
}

/* Left: list */
.fp-capabilities__list {
    flex: 0 0 auto;
    width: clamp(220px, 28vw, 400px);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fp-cap-item {
    all: unset;
    cursor: pointer;
    display: block;
    font-family: var(--fp-font-body);
    font-size: clamp(15px, 1.25vw, 24px);
    font-weight: 500;
    color: var(--fp-text);
    padding: 16px 24px;
    border-radius: 11px;
    line-height: 1.4;
    transition: background 0.2s, color 0.2s;
    text-align: left;
    margin-bottom: 20px;
}
.fp-cap-item:last-child{
    margin-bottom: 0;
}

.fp-cap-item:hover {
    background: rgba(30, 61, 130, 0.08);
    color: var(--fp-navy);
}

.fp-cap-item.is-active {
    background: var(--fp-navy);
    color: var(--fp-white);
}

/* Right: content panels */
.fp-capabilities__content { 
    position: relative;
    min-height: 400px;
    width: 585px;
}

.fp-cap-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: stretch;
}

.fp-cap-panel.is-active {
    opacity: 1;
    pointer-events: auto;
}

.fp-cap-panel__inner {
    background: var(--fp-navy);
    border-radius: var(--fp-radius-card);
    padding: 60px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--fp-white);
}

.fp-cap-panel__img-wrap {
 
    border-radius: 12px;
    overflow: hidden;
    min-height: 180px;
    margin-bottom: 40px;
}

.fp-cap-panel__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 458px;
}

.fp-cap-panel__title {
    font-family: var(--fp-font-body);
    font-size: clamp(16px, 1.3vw, 24px);
    font-weight: 600;
    color: var(--fp-white);
    margin: 0;
}

.fp-cap-panel__desc {
    font-family: var(--fp-font-body);
    color: #FFF; 
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
    line-height: 36px;
    line-height: 1.6;
    margin: 0;
}

/* Mobile accordion */
.fp-capabilities__accordion {
    margin-top: clamp(24px, 3vw, 48px);
}

.fp-acc-item {
    border: none;
    border-radius: 11px !important;
    margin-bottom: 8px;
    overflow: hidden;
    background: var(--fp-bg-light);
}

.fp-acc-btn {
    font-family: var(--fp-font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--fp-text);
    background: var(--fp-bg-light);
    border-radius: 11px;
    padding: 16px 20px;
}

.fp-acc-btn:not(.collapsed) {
    background: var(--fp-navy);
    color: var(--fp-white);
    box-shadow: none;
}

.fp-acc-btn:focus {
    box-shadow: none;
}

.fp-acc-btn::after {
    filter: none;
}

.fp-acc-btn:not(.collapsed)::after {
    filter: invert(1);
}

.fp-acc-body {
    background: var(--fp-white);
    font-family: var(--fp-font-body);
    font-size: 15px;
    color: var(--fp-text);
    line-height: 1.65;
}

/* ── 5 & 8. CTA BANNERS ─────────────────────────────────────── */
.fp-cta {
    position: relative;
    min-height: clamp(240px, 26vw, 503px);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end; 
    margin-bottom: 120px;
}

.fp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.fp-cta__panel {
    position: relative;
    z-index: 1;
    background: var(--fp-navy);
    max-width: clamp(280px, 55vw, 1100px);
    padding: clamp(28px, 10vw, 100px) clamp(28px, 4vw, 72px);
        top: clamp(28px, 10vw, 90px);
}

/* Banner 1: panel bottom-left, rounded bottom-right */
.fp-cta--left .fp-cta__panel {
    border-radius: 0 0 60px 0;
    margin-left: 0;
    margin-bottom: 0;
}

/* Banner 2: panel bottom-right, rounded top-left */
.fp-cta--right {
    justify-content: flex-end;
    margin-top: 80px;
}

.fp-cta--right .fp-cta__panel {
    border-radius: 0 0 0 60px;
    margin-right: 0;
    margin-bottom: 0;
}

.fp-cta__text {
    font-family: var(--fp-font-heading);
    font-size: clamp(24px, 2.9vw, 55px);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--fp-white);
    line-height: 1.2;
    margin: 0;
}

.fp-cta__accent {
    color: var(--fp-red);
}

/* ── 6 & 7. TITLE SECTIONS ──────────────────────────────────── */
.fp-title-section {
    padding-block: var(--fp-section-py);
    background: var(--fp-white);
}
.fp-main .fp-title-section:last-child{
    margin-bottom: 100px;
}

.fp-title-section__heading {
    font-family: var(--fp-font-heading);
    font-size: var(--fp-heading-size);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--fp-text);
    line-height: 1.15;
    margin-bottom: 24px;
}

.fp-title-section__body {
    font-family: var(--fp-font-body);
    font-size: var(--fp-body-size);
    color: var(--fp-text);
    line-height: 1.65;
    text-align: justify;
    margin-bottom: 0;
}

.fp-title-section__img-wrap {
    border-radius: var(--fp-radius-card);
    overflow: hidden;
    line-height: 0;
}

.fp-title-section__img-wrap img {
    width: 100%;
    height: clamp(280px, 25vw, 463px);
    object-fit: cover;
    display: block;
}

/* ── 9. MATERIAL SUPPLIERS ──────────────────────────────────── */
.fp-suppliers {
    padding-block: var(--fp-section-py);
    background: var(--fp-white);
}

.fp-suppliers__slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: clamp(32px, 3.5vw, 60px);
}

.fp-suppliers-swiper {
    flex: 1;
    min-width: 0;
}

/* 2-row: each slide contains 2 logos stacked */
.fp-suppliers-slide--pair {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fp-supplier-logo {
    height: 79px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fp-white);
    border: 1px solid #ededed;
    border-radius: 15px;
    padding: 12px 16px;
    filter: grayscale(100%);
    transition: filter 0.35s ease, box-shadow 0.35s ease;
}

.fp-supplier-logo:hover {
    filter: grayscale(0%);
}
.fp-supplier-logo:hover::after{
    opacity: 1;
}
.fp-supplier-logo::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: radial-gradient(138.3% 112.26% at 97.99% 100%, #E9F2FF 0%, #FFF 35.58%, #FFF 94.87%);
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 15px;
    transition: .3s all;
}
.fp-supplier-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    z-index: 1;
    position: relative;
}

.fp-swiper-arrow {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--fp-white);
    border: 1px solid #ededed;
    box-shadow: 0 0 15px rgba(121, 121, 121, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
    padding: 0;
    line-height: 0;
}

.fp-swiper-arrow:hover {
    background: var(--fp-navy);
    border-color: var(--fp-navy);
}

.fp-swiper-arrow:hover svg path {
    stroke: var(--fp-white);
}

/* ── Responsive overrides ───────────────────────────────────── */
@media (max-width: 991.98px) {
    .fp-cta__panel {
        max-width: 90%;
            padding: 30px 20px;
    }

    .fp-hero .container-big{
        padding-top: 0; 
    }
    .fp-hero .container::after{
        transform: translateY(100%);
    }
    .fp-highlight-card__label{
        font-size: 20px;
    }
    .fp-about{
        padding: 80px 40px;
        height: auto;
        max-height: unset;
    }
    .fp-cta__panel{

    }
    .fp-cta{
        margin-bottom: 60px;
    }
}

@media (max-width: 575.98px) {
    .fp-hero__title strong{
        font-weight: 500;
    }
    .fp-hero {
        min-height: 320px;
        padding: 80px 0 40px;
    }
    .fp-hero__title {
        font-size: 38px;
    }
    .fp-about__text {
        text-align: left;
        font-size: 20px;
    }
    .fp-title-section__body {
        text-align: left;
    }
 
    .fp-title-section:not(.fp-title-section--alt) .row{
        flex-direction: column-reverse;
    }
    .fp-suppliers__slider-wrap {
        gap: 8px;
    }
    .fp-swiper-arrow {
        width: 40px;
        height: 40px;
    }
}
