:root {
    --landing-accent: #c2410c;
    --landing-bg: #fff8f3;
    --landing-navy-950: #061321;
    --landing-navy-900: #0a1c2e;
    --landing-navy-800: #123149;
    --landing-text: #172536;
    --landing-muted: #637083;
    --landing-line: #e5eaf0;
    --landing-surface: #ffffff;
    --hero-opacity: .65;
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.pfs-landing-view {
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    overflow-x: clip;
    background:
        radial-gradient(circle at 100% 4%, rgba(194, 65, 12, .05), transparent 30rem),
        var(--landing-bg);
    color: var(--landing-text);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.pfs-landing-view ::selection {
    background: #ffd7c0;
    color: var(--landing-navy-950);
}

.pfs-landing-view a {
    color: inherit;
}

.pfs-landing-view img {
    max-width: 100%;
}

.landing-skip {
    position: fixed;
    top: -100px;
    left: 18px;
    z-index: 2000;
    padding: 11px 16px;
    border-radius: 0 0 9px 9px;
    background: #fff;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.landing-skip:focus {
    top: 0;
}

/* Header */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
    border-bottom: 1px solid rgba(222, 229, 236, .9);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 30px rgba(8, 28, 45, .055);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.landing-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--landing-accent) 48%, transparent 100%);
    opacity: .5;
}

.landing-header-inner {
    width: min(1220px, calc(100% - 48px));
    min-height: 92px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.landing-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.landing-header img {
    width: 214px;
    height: 70px;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.landing-header nav,
.landing-footer nav {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
}

.landing-main-link {
    position: relative;
    padding: 10px 12px;
    color: #334255;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.landing-main-link::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 6px;
    left: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--landing-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .22s ease;
}

.landing-main-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Buttons */
.landing-button {
    min-height: 49px;
    padding: 13px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--landing-accent);
    border-radius: 10px;
    background: var(--landing-accent);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(173, 63, 15, .19);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
    text-decoration: none;
    transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

.landing-button:hover {
    filter: brightness(.94);
    box-shadow: 0 14px 30px rgba(125, 46, 12, .24);
    transform: translateY(-2px);
}

/* Hero */
.landing-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(540px, 68vh, 720px);
    padding: clamp(88px, 10vw, 142px) 24px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 28%, rgba(243, 106, 33, .18), transparent 22rem),
        radial-gradient(circle at 6% 80%, rgba(14, 84, 129, .12), transparent 25rem),
        linear-gradient(120deg, #fffdfb 0%, #fff4ec 55%, #f7fbff 100%);
}

.landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(13, 39, 59, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 39, 59, .035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to right, #000 0%, transparent 74%);
}

.landing-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -170px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(194, 65, 12, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 54px rgba(194, 65, 12, .035), 0 0 0 108px rgba(18, 49, 73, .025);
    transform: translateY(-50%);
}

.landing-hero-image {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.landing-hero.has-image::before {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 17, 30, .35) 0%, rgba(5, 17, 30, .12) 58%, transparent 100%),
        linear-gradient(rgba(5, 17, 30, var(--hero-opacity)), rgba(5, 17, 30, var(--hero-opacity)));
    mask-image: none;
}

.landing-hero.has-image::after {
    z-index: -1;
    border-color: rgba(255, 255, 255, .14);
    box-shadow: 0 0 0 54px rgba(255, 255, 255, .025), 0 0 0 108px rgba(255, 255, 255, .018);
}

.landing-hero-content {
    width: min(1220px, 100%);
    margin: 0 auto;
}

.landing-kicker {
    width: fit-content;
    max-width: 100%;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(194, 65, 12, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #a53e12;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .17em;
    line-height: 1.3;
    text-transform: uppercase;
}

.landing-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--landing-accent);
    box-shadow: 0 0 0 4px rgba(194, 65, 12, .1);
}

.landing-hero h1 {
    max-width: 940px;
    margin: 24px 0 20px;
    color: var(--landing-navy-950);
    font-size: clamp(39px, 5.1vw, 72px);
    font-weight: 750;
    letter-spacing: -.052em;
    line-height: 1.06;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.landing-hero p {
    max-width: 760px;
    margin: 0 0 32px;
    color: #566578;
    font-size: clamp(16px, 1.45vw, 20px);
    font-weight: 400;
    line-height: 1.75;
}

.landing-hero.has-image,
.landing-hero.has-image h1,
.landing-hero.has-image p,
.landing-hero.has-image .landing-kicker {
    color: #fff;
}

.landing-hero.has-image p {
    color: #d9e2ea;
}

.landing-hero.has-image .landing-kicker {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.landing-hero.has-image .landing-kicker::before {
    background: #ff9862;
    box-shadow: 0 0 0 4px rgba(255, 152, 98, .17);
}

.landing-hero .landing-button {
    min-height: 54px;
    padding: 15px 25px;
    border-radius: 11px;
    font-size: 14px;
}

/* Dynamic content */
.landing-sections {
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(62px, 7vw, 100px) 0;
    display: grid;
    gap: 28px;
}

.landing-section {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(218, 226, 234, .95);
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(15, 39, 59, .075);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.landing-section::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 92px;
    height: 4px;
    border-radius: 0 0 6px 0;
    background: linear-gradient(90deg, var(--landing-accent), #ff9a62);
}

.landing-section:hover {
    border-color: rgba(194, 65, 12, .19);
    box-shadow: 0 24px 64px rgba(15, 39, 59, .11);
    transform: translateY(-3px);
}

.landing-section.has-media {
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-items: stretch;
}

.landing-section.image-left.has-media {
    grid-template-areas: "media copy";
}

.landing-section.image-right.has-media {
    grid-template-areas: "copy media";
}

.landing-section figure {
    grid-area: media;
    min-width: 0;
    min-height: 100%;
    margin: 0;
    padding: clamp(24px, 3.5vw, 44px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid rgba(218, 226, 234, .8);
    background:
        radial-gradient(circle at 50% 42%, rgba(18, 102, 168, .085), transparent 60%),
        #f6f9fc;
}

.landing-section.image-right figure {
    border-right: 0;
    border-left: 1px solid rgba(218, 226, 234, .8);
}

.landing-section figure img {
    width: 100%;
    height: 100%;
    max-height: 470px;
    display: block;
    border-radius: 14px;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(12, 37, 57, .1));
}

.landing-section-copy {
    grid-area: copy;
    min-width: 0;
    padding: clamp(36px, 5vw, 68px);
    align-self: center;
    overflow-wrap: anywhere;
}

.landing-section.no-media .landing-section-copy,
.landing-section.text .landing-section-copy {
    max-width: 980px;
    margin: 0 auto;
    padding-top: clamp(44px, 5vw, 66px);
    padding-bottom: clamp(44px, 5vw, 66px);
}

.landing-section h2 {
    margin: 0 0 20px;
    color: var(--landing-navy-950);
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.2;
    text-wrap: balance;
}

.landing-section p {
    margin: 0 0 18px;
    color: #5a687a;
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.landing-section p:last-of-type {
    margin-bottom: 0;
}

.landing-section-copy .landing-button {
    margin-top: 27px;
}

/* FAQ blocks */
.landing-section.faq {
    padding: 0;
}

.landing-faq {
    width: 100%;
}

.landing-faq summary {
    position: relative;
    min-height: 92px;
    padding: 27px 76px 27px 32px;
    display: flex;
    align-items: center;
    color: var(--landing-navy-950);
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 650;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.landing-faq summary::-webkit-details-marker {
    display: none;
}

.landing-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 27px;
    width: 37px;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0c4ab;
    border-radius: 10px;
    background: #fff4ed;
    color: var(--landing-accent);
    font-size: 22px;
    font-weight: 400;
    transform: translateY(-50%);
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.landing-faq[open] summary::after {
    content: "−";
    background: var(--landing-accent);
    color: #fff;
    transform: translateY(-50%) rotate(180deg);
}

.landing-faq > div {
    padding: 0 32px 30px;
    border-top: 1px solid rgba(218, 226, 234, .75);
}

.landing-faq > div p {
    max-width: 970px;
    margin-top: 24px;
}

/* Footer */
.landing-footer {
    position: relative;
    padding: 0 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 20%, rgba(243, 106, 33, .16), transparent 22rem),
        linear-gradient(125deg, #061321 0%, #0b2135 100%);
    color: #fff;
}

.landing-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--landing-accent), #ff9b63 45%, transparent 88%);
}

.landing-footer-inner {
    width: min(1220px, 100%);
    min-height: 230px;
    margin: 0 auto;
    padding: 54px 0 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.landing-footer strong {
    display: block;
    color: #fff;
    font-size: 21px;
    font-weight: 650;
    letter-spacing: -.02em;
}

.landing-footer p {
    margin: 7px 0 13px;
    color: #aebdca;
    font-size: 13px;
}

.landing-footer small {
    color: #7f93a5;
    font-size: 11px;
}

.landing-footer nav a {
    min-height: 40px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 9px;
    background: rgba(255, 255, 255, .045);
    color: #dbe5ed;
    font-size: 11px;
    font-weight: 550;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.landing-footer nav a:hover {
    border-color: rgba(255, 156, 101, .38);
    background: rgba(243, 106, 33, .12);
    color: #fff;
}

/* Fixed WhatsApp action */
.landing-whatsapp {
    position: fixed;
    right: 22px;
    bottom: calc(22px + env(safe-area-inset-bottom));
    z-index: 1000;
    min-height: 50px;
    padding: 11px 17px 11px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: #087a42;
    color: #fff;
    box-shadow: 0 14px 34px rgba(0, 67, 35, .27);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease;
}

.landing-whatsapp svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.landing-whatsapp:hover {
    background: #096c3d;
    color: #fff;
    transform: translateY(-2px);
}

/* Preview and not-found states */
.landing-preview {
    position: relative;
    z-index: 950;
    padding: 10px 20px;
    border-bottom: 1px solid #f0d588;
    background: #fff4c7;
    color: #654400;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.landing-preview a {
    margin-left: 14px;
    font-weight: 700;
}

.landing-not-found {
    width: min(760px, calc(100% - 36px));
    margin: max(9vh, 50px) auto;
    padding: clamp(30px, 6vw, 65px);
    border: 1px solid var(--landing-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(12, 35, 54, .1);
    text-align: center;
}

.landing-not-found .landing-kicker {
    margin: 0 auto;
}

.landing-not-found h1 {
    margin: 24px 0 12px;
    color: var(--landing-navy-950);
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
}

.landing-not-found p {
    margin: 0 0 27px;
    color: var(--landing-muted);
}

.pfs-landing-view a:focus-visible,
.pfs-landing-view summary:focus-visible {
    outline: 3px solid rgba(243, 106, 33, .48);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .landing-section.has-media,
    .landing-section.image-left.has-media,
    .landing-section.image-right.has-media {
        grid-template-columns: 1fr;
        grid-template-areas: "media" "copy";
    }

    .landing-section figure,
    .landing-section.image-right figure {
        min-height: 320px;
        border-right: 0;
        border-bottom: 1px solid rgba(218, 226, 234, .8);
        border-left: 0;
    }

    .landing-section figure img {
        max-height: 380px;
    }

    .landing-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .landing-header-inner {
        width: min(100% - 30px, 1220px);
        min-height: 76px;
        gap: 12px;
    }

    .landing-header img {
        width: 155px;
        height: 56px;
    }

    .landing-header nav {
        flex: 0 0 auto;
    }

    .landing-main-link {
        display: none;
    }

    .landing-header .landing-button {
        min-height: 42px;
        padding: 10px 13px;
        border-radius: 9px;
        font-size: 11px;
    }

    .landing-hero {
        min-height: 520px;
        padding: 72px 19px;
    }

    .landing-hero::after {
        right: -260px;
        width: 440px;
        height: 440px;
    }

    .landing-hero h1 {
        margin: 21px 0 17px;
        font-size: clamp(35px, 11vw, 52px);
        letter-spacing: -.043em;
    }

    .landing-hero p {
        margin-bottom: 27px;
        font-size: 16px;
        line-height: 1.7;
    }

    .landing-hero .landing-button {
        min-height: 50px;
        padding: 13px 20px;
    }

    .landing-sections {
        width: calc(100% - 30px);
        padding: 52px 0;
        gap: 20px;
    }

    .landing-section {
        border-radius: 18px;
    }

    .landing-section:hover {
        transform: none;
    }

    .landing-section figure,
    .landing-section.image-right figure {
        min-height: 250px;
        padding: 22px;
    }

    .landing-section figure img {
        max-height: 310px;
        border-radius: 10px;
    }

    .landing-section-copy,
    .landing-section.no-media .landing-section-copy,
    .landing-section.text .landing-section-copy {
        padding: 31px 24px 34px;
    }

    .landing-section h2 {
        margin-bottom: 15px;
        font-size: clamp(25px, 8vw, 32px);
    }

    .landing-section p {
        font-size: 15px;
        line-height: 1.8;
    }

    .landing-faq summary {
        min-height: 80px;
        padding: 22px 65px 22px 23px;
        font-size: 16px;
    }

    .landing-faq summary::after {
        right: 20px;
        width: 34px;
        height: 34px;
    }

    .landing-faq > div {
        padding: 0 23px 25px;
    }

    .landing-footer {
        padding: 0 20px;
    }

    .landing-footer-inner {
        min-height: 0;
        padding: 46px 0 88px;
    }

    .landing-footer nav {
        gap: 8px;
    }

    .landing-footer nav a {
        padding: 8px 11px;
    }

    .landing-whatsapp {
        right: 15px;
        bottom: calc(15px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 430px) {
    .landing-header img {
        width: 132px;
        height: 50px;
    }

    .landing-header .landing-button {
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .landing-kicker {
        font-size: 9px;
        letter-spacing: .12em;
    }

    .landing-whatsapp > span:nth-of-type(1) {
        display: none;
    }

    .landing-whatsapp {
        width: 52px;
        height: 52px;
        padding: 0;
    }

    .landing-whatsapp > span:last-child {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .pfs-landing-view *,
    .pfs-landing-view *::before,
    .pfs-landing-view *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
