/* Tisa Export Landing — Independent B2B page
   Colors: Tisa theme tokens (--tisa-primary, --tisa-secondary, etc.) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --x-primary: var(--tisa-primary, #054f59);
    --x-accent: var(--tisa-accent, #043b42);
    --x-secondary: var(--tisa-secondary, #824e27);
    --x-bg: var(--tisa-background, #FDF6F0);
    --x-cream: #FDF6F0;
    --x-blush: #F5D0C5;
    --x-text: #4A4A4A;
    --x-text-dark: #0c2b30;
    --x-white: #fff;
    --x-border: rgba(245, 208, 197, 0.45);
    --x-font: 'DM Sans', system-ui, sans-serif;
    --x-serif: 'Playfair Display', Georgia, serif;
    --x-wrap: min(1180px, 100% - 2.5rem);
    --x-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --x-section: clamp(4.5rem, 9vw, 7rem);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, .xmarquee__track { animation: none !important; transition: none !important; }
    .xreveal { opacity: 1 !important; transform: none !important; }
}

body.export-page {
    font-family: var(--x-font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--x-text);
    background: var(--x-bg);
    overflow-x: hidden;
}

.xwrap { width: var(--x-wrap); margin-inline: auto; }

.export-skip {
    position: absolute; top: -100px; left: 1rem; z-index: 9999;
    padding: .75rem 1.25rem; background: var(--x-primary); color: var(--x-white);
    border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .875rem;
}
.export-skip:focus { top: 1rem; }

/* Typography */
.xlabel {
    display: inline-block; margin-bottom: .75rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--x-secondary);
}
.xlabel--light { color: var(--x-blush); }

.xh2 {
    font-family: var(--x-serif); font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 600; line-height: 1.15; color: var(--x-text-dark);
    letter-spacing: -.02em; margin-bottom: 1rem;
}
.xh2--light { color: var(--x-white); }

.xp { font-size: 1.05rem; line-height: 1.75; color: var(--x-text); margin-bottom: 1rem; }
.xp--light { color: rgba(255,255,255,.82); }

.xhead { text-align: center; margin-bottom: 3rem; }
.xhead__sub { max-width: 52ch; margin: 0 auto; color: var(--x-text); font-size: 1.05rem; }
.xhead--light .xhead__sub { color: rgba(255,255,255,.75); }

/* Buttons */
.xbtn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: 0 1.75rem; border-radius: 999px;
    font-family: var(--x-font); font-size: .9375rem; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer;
    transition: transform .25s var(--x-ease), box-shadow .25s var(--x-ease), background .25s var(--x-ease);
}
.xbtn:focus-visible { outline: 2px solid var(--x-secondary); outline-offset: 3px; }
.xbtn--fill { background: var(--x-primary); color: var(--x-white); box-shadow: 0 10px 28px -10px rgba(5,79,89,.5); }
.xbtn--fill:hover { transform: translateY(-2px); background: var(--x-accent); }
.xbtn--secondary { background: var(--x-secondary); color: var(--x-white); box-shadow: 0 10px 28px -10px rgba(130,78,39,.45); }
.xbtn--secondary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.xbtn--outline { background: transparent; border: 1.5px solid var(--x-border); color: var(--x-text-dark); }
.xbtn--outline:hover { border-color: var(--x-primary); }
.xbtn--light { color: var(--x-white); border-color: rgba(255,255,255,.45); }
.xbtn--light:hover { background: rgba(255,255,255,.12); border-color: var(--x-white); }
.xbtn--light-bg { background: var(--x-white); color: var(--x-primary); }
.xbtn--light-bg:hover { background: var(--x-cream); }
.xbtn--sm { min-height: 40px; padding: 0 1.25rem; font-size: .875rem; }
.xbtn--lg { min-height: 52px; padding: 0 2rem; }
.xbtn--full { width: 100%; }
.xbtn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Nav */
.xnav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: background .3s var(--x-ease), box-shadow .3s var(--x-ease), backdrop-filter .3s;
}
.xnav.is-scrolled,
.xnav:hover {
    background: rgba(253,246,240,.92);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 4px 24px -8px rgba(5,79,89,.12);
    border-bottom: 1px solid var(--x-border);
}
.xnav__bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; width: var(--x-wrap); margin-inline: auto;
    padding: .75rem 0;
    transition: padding .35s var(--x-ease);
}
.xnav.is-scrolled .xnav__bar { padding: .5rem 0; }
.xnav__brand { display: flex; align-items: center; text-decoration: none; }
.xnav__logo {
    height: 90px; width: auto; max-width: 220px;
    object-fit: contain; display: block;
    transition: height .35s var(--x-ease), max-width .35s var(--x-ease);
}
.xnav.is-scrolled .xnav__logo { height: 60px; max-width: 140px; }
.xnav__wordmark {
    font-family: var(--x-serif); font-size: 1.5rem; font-weight: 600;
    color: var(--x-primary); letter-spacing: .04em;
}
.xnav__menu { display: flex; gap: 2rem; }
.xnav__menu a {
    font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.92);
    text-decoration: none; transition: color .25s var(--x-ease); cursor: pointer;
}
.xnav__menu a:hover { color: var(--x-white); }
.xnav.is-scrolled .xnav__menu a,
.xnav:hover .xnav__menu a { color: var(--x-text); }
.xnav.is-scrolled .xnav__menu a:hover,
.xnav:hover .xnav__menu a:hover { color: var(--x-secondary); }
.xnav__end { display: flex; align-items: center; gap: .75rem; }
.xnav__langs { display: flex; align-items: center; gap: .35rem; }
.xnav__lang {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255,255,255,.85);
    padding: .25rem .45rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
}
.xnav__lang.is-active,
.xnav__lang:hover { color: var(--x-white); border-color: rgba(255,255,255,.55); }
.xnav.is-scrolled .xnav__lang,
.xnav:hover .xnav__lang { color: var(--x-text); border-color: rgba(5,79,89,.18); }
.xnav.is-scrolled .xnav__lang.is-active,
.xnav.is-scrolled .xnav__lang:hover,
.xnav:hover .xnav__lang.is-active,
.xnav:hover .xnav__lang:hover { color: var(--x-secondary); border-color: rgba(130,78,39,.35); }
.xnav__burger {
    display: none; width: 44px; height: 44px;
    border: 1.5px solid rgba(255,255,255,.45); border-radius: 12px;
    background: rgba(255,255,255,.08); color: var(--x-white);
    cursor: pointer; place-items: center;
    transition: background .25s var(--x-ease), border-color .25s, color .25s;
}
.xnav.is-scrolled .xnav__burger,
.xnav:hover .xnav__burger {
    border-color: var(--x-border); background: var(--x-white); color: var(--x-text-dark);
}
.xnav__drawer {
    display: none; flex-direction: column; gap: 0;
    width: var(--x-wrap); margin: 0 auto .75rem; padding: .5rem;
    background: var(--x-white); border: 1px solid var(--x-border);
    border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(5,79,89,.2);
}
.xnav__drawer.is-open { display: flex; }
.xnav__drawer a {
    padding: .875rem 1rem; font-weight: 500; color: var(--x-text-dark);
    text-decoration: none; border-radius: 10px; cursor: pointer;
}
.xnav__drawer a:hover { background: var(--x-bg); }

@media (max-width: 860px) {
    .xnav__menu { display: none; }
    .xnav__burger { display: grid; }
    .xnav__end .xbtn { display: none; }
    .xnav__logo { height: 72px; }
    .xnav.is-scrolled .xnav__logo { height: 52px; }
}

/* Parallax layers */
.xparallax-wrap {
    position: absolute; inset: -12% 0;
    overflow: hidden;
}
.xparallax-wrap--banner,
.xparallax-wrap--origins { inset: -18% 0; }
.xparallax-img {
    width: 100%; height: 120%; object-fit: cover;
    will-change: transform;
}
.xhero__img { object-position: center 30%; }
.xbanner__img { object-position: center; }

/* Hero */
.xhero {
    position: relative; min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding-bottom: 0;
}
.xhero__bg { position: absolute; inset: 0; overflow: hidden; }
.xhero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        180deg,
        rgba(4,59,66,.25) 0%,
        rgba(4,59,66,.55) 45%,
        rgba(4,59,66,.82) 100%
    );
}
.xhero__body {
    position: relative; z-index: 2;
    padding: calc(8rem + 5vw) 0 3rem;
    max-width: 680px;
}
.xhero__slogan {
    font-family: var(--x-serif); font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-style: italic; font-weight: 500; color: var(--x-blush);
    margin: 0 0 .75rem; letter-spacing: .02em;
}
.xhero__title {
    font-family: var(--x-serif); font-size: clamp(2.5rem, 6.5vw, 4.25rem);
    font-weight: 600; line-height: 1.08; color: var(--x-white);
    letter-spacing: -.03em; margin-bottom: 1.25rem;
}
.xhero__sub {
    font-size: 1.125rem; line-height: 1.75; color: rgba(255,255,255,.85);
    margin-bottom: 2rem; max-width: 52ch;
}
.xhero__actions { display: flex; flex-wrap: wrap; gap: .875rem; }
.xhero__stats {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1rem; padding: 1.75rem 0 2.5rem;
    border-top: 1px solid rgba(255,255,255,.18);
}
.xhero__stat strong {
    display: block; font-family: var(--x-serif); font-size: 1.65rem;
    font-weight: 600; color: var(--x-white);
}
.xhero__stat span {
    font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.7);
}

@media (max-width: 640px) {
    .xhero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* Marquee */
.xmarquee {
    overflow: hidden; padding: 1.1rem 0;
    background: var(--x-primary); border-block: 1px solid var(--x-accent);
}
.xmarquee__track {
    display: flex; gap: 3rem; width: max-content;
    animation: xmarquee 28s linear infinite;
}
.xmarquee__track span {
    font-size: .8rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: rgba(255,255,255,.75); white-space: nowrap;
}
.xmarquee__track span::after { content: '◆'; margin-left: 3rem; font-size: .5rem; opacity: .7; color: var(--x-blush); }
@keyframes xmarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About */
.xabout { padding: var(--x-section) 0; }
.xabout__grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.xabout__media { position: relative; }
.xabout__img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
    border-radius: 20px; box-shadow: 0 24px 60px -20px rgba(5,79,89,.25);
}
.xabout__badge {
    position: absolute; bottom: -1rem; right: -1rem;
    padding: 1.25rem 1.5rem; background: var(--x-secondary); color: var(--x-white);
    border-radius: 16px; box-shadow: 0 12px 32px -12px rgba(130,78,39,.45);
}
.xabout__badge strong { display: block; font-family: var(--x-serif); font-size: 1.35rem; }
.xabout__badge span { font-size: .8rem; opacity: .8; }
.xabout__points {
    list-style: none; margin-top: 1.5rem;
}
.xabout__points li {
    position: relative; padding: .5rem 0 .5rem 1.5rem;
    font-weight: 500; color: var(--x-text-dark);
}
.xabout__points li::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 7px; height: 7px; border-radius: 50%; background: var(--x-secondary);
}

@media (max-width: 768px) {
    .xabout__grid { grid-template-columns: 1fr; }
    .xabout__badge { right: 1rem; bottom: -1rem; }
}

/* Full-width banner */
.xbanner {
    position: relative; min-height: 420px;
    display: flex; align-items: center; overflow: hidden;
}
.xbanner .xparallax-wrap {
    position: absolute; inset: -18% 0;
}
.xbanner__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(4,59,66,.88) 0%, rgba(4,59,66,.55) 55%, rgba(130,78,39,.25) 100%);
}
.xbanner__content {
    position: relative; z-index: 2; max-width: 560px; padding: 4rem 0;
}

@media (max-width: 640px) {
    .xbanner { min-height: 360px; }
    .xbanner__overlay {
        background: linear-gradient(180deg, rgba(4,59,66,.7) 0%, rgba(4,59,66,.88) 100%);
    }
}

/* Offerings */
.xofferings { padding: var(--x-section) 0 0; background: var(--x-white); }
.xofferings__list { display: flex; flex-direction: column; gap: 0; }

.xline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(540px, auto);
    align-items: stretch;
    min-height: 540px;
}
.xline--reverse .xline__media { order: 2; }
.xline--reverse .xline__body { order: 1; }
.xline__media {
    position: relative;
    overflow: hidden;
    align-self: stretch;
    min-height: 540px;
    height: 100%;
}
.xline__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s var(--x-ease);
}
.xline:hover .xline__media img { transform: scale(1.04); }
.xline__tag {
    position: absolute; top: 1.25rem; left: 1.25rem;
    padding: .4rem .9rem; font-size: .7rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    background: var(--x-secondary); color: var(--x-white); border-radius: 999px;
}
.xline__body {
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(2rem, 5vw, 3.5rem);
    background: var(--x-bg);
    align-self: stretch;
    min-height: 540px;
}
.xline:nth-child(even) .xline__body { background: var(--x-white); }
.xline__name {
    font-family: var(--x-serif); font-size: 1.75rem; font-weight: 600;
    color: var(--x-text-dark); margin-bottom: .35rem;
}
.xline__tagline {
    font-size: .95rem; font-weight: 600; color: var(--x-secondary);
    margin-bottom: 1rem;
}
.xline__desc { font-size: 1rem; line-height: 1.7; color: var(--x-text); margin-bottom: 1.25rem; }
.xline__specs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.xline__specs span {
    padding: .35rem .8rem; font-size: .75rem; font-weight: 600;
    background: rgba(130,78,39,.1); color: var(--x-secondary);
    border-radius: 999px; border: 1px solid rgba(130,78,39,.2);
}
.xline__cta {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: 0; border: none; background: none;
    font-family: var(--x-font); font-size: .9rem; font-weight: 700;
    color: var(--x-primary); cursor: pointer;
    transition: gap .2s, color .2s;
}
.xline__cta:hover { color: var(--x-secondary); gap: .65rem; }

/* Offerings — tablet & mobile: image first, then text */
@media (max-width: 1024px) {
    .xline,
    .xline--reverse {
        display: flex;
        flex-direction: column;
        min-height: auto;
        grid-template-rows: none;
    }
    .xline__media,
    .xline--reverse .xline__media {
        order: 1;
        flex: none;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        max-height: none;
    }
    .xline__body,
    .xline--reverse .xline__body {
        order: 2;
        flex: 1;
        width: 100%;
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .xline__media {
        aspect-ratio: 4 / 3;
    }
    .xline__body {
        padding: 1.5rem 1.25rem 2rem;
    }
    .xline__name { font-size: 1.45rem; }
}

/* Quality bridge — white section between offerings & origins */
.xbridge {
    padding: var(--x-section) 0;
    background: var(--x-white);
    border-top: 1px solid var(--x-border);
}
.xbridge__head { text-align: center; margin-bottom: 3rem; }
.xbridge__sub {
    max-width: 54ch; margin: 0 auto; font-size: 1.05rem;
    line-height: 1.75; color: var(--x-text);
}
.xbridge__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.xbridge__card {
    padding: 1.75rem 1.5rem; background: var(--x-bg);
    border: 1px solid var(--x-border); border-radius: 16px;
    border-top: 3px solid var(--x-secondary);
    transition: transform .25s var(--x-ease), box-shadow .25s;
}
.xbridge__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -20px rgba(130,78,39,.2);
}
.xbridge__icon {
    display: grid; place-items: center;
    width: 44px; height: 44px; margin-bottom: 1rem;
    color: var(--x-secondary); background: rgba(130,78,39,.1);
    border-radius: 12px;
}
.xbridge__icon svg { width: 22px; height: 22px; }
.xbridge__card h3 {
    font-family: var(--x-serif); font-size: 1.1rem; font-weight: 600;
    color: var(--x-text-dark); margin-bottom: .5rem;
}
.xbridge__card p { font-size: .875rem; line-height: 1.65; color: var(--x-text); margin: 0; }
.xbridge__cta { text-align: center; }

@media (max-width: 900px) { .xbridge__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .xbridge__grid { grid-template-columns: 1fr; } }

/* Origins */
.xorigins { padding-bottom: var(--x-section); background: var(--x-bg); }
.xorigins__banner {
    position: relative; height: 380px; overflow: hidden; margin-bottom: 3rem;
}
.xorigins__banner .xparallax-wrap { position: absolute; inset: -18% 0; }
.xorigins__banner img {
    width: 100%; height: 120%; object-fit: cover;
}
.xorigins__banner-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(0deg, rgba(4,59,66,.88) 0%, rgba(130,78,39,.15) 50%, rgba(4,59,66,.25) 100%);
}
.xorigins__banner-text {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding-bottom: 2.5rem;
}
.xorigins__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.xorigin-card {
    padding: 1.75rem; background: var(--x-white);
    border: 1px solid var(--x-border); border-radius: 16px;
    transition: border-color .25s, box-shadow .25s;
}
.xorigin-card:hover {
    border-color: var(--x-secondary);
    box-shadow: 0 12px 32px -16px rgba(130,78,39,.18);
}
.xorigin-card h3 {
    font-family: var(--x-serif); font-size: 1.3rem; font-weight: 600;
    color: var(--x-text-dark); margin-bottom: .2rem;
}
.xorigin-card__region {
    font-size: .85rem; font-weight: 600; color: var(--x-secondary);
    margin-bottom: 1.1rem;
}
.xorigin-card dl { display: grid; gap: .5rem; }
.xorigin-card dl div {
    display: flex; justify-content: space-between; gap: 1rem;
    font-size: .82rem;
}
.xorigin-card dt { color: var(--x-text); font-weight: 500; }
.xorigin-card dd { color: var(--x-text-dark); font-weight: 600; margin: 0; }

@media (max-width: 768px) { .xorigins__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .xorigins__grid { grid-template-columns: 1fr; } }

/* Services */
.xservices {
    padding: var(--x-section) 0;
    background: linear-gradient(165deg, var(--x-primary) 0%, var(--x-accent) 100%);
}
.xservices__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.xservice {
    padding: 2rem 1.5rem; background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: background .25s;
}
.xservice:hover { background: rgba(255,255,255,.12); }
.xservice__icon {
    width: 40px; height: 40px; margin-bottom: 1.1rem; color: var(--x-secondary);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.2));
}
.xservice__icon svg { width: 100%; height: 100%; }
.xservice h3 {
    font-family: var(--x-serif); font-size: 1.15rem; font-weight: 600;
    color: var(--x-white); margin-bottom: .5rem;
}
.xservice p { font-size: .9rem; line-height: 1.65; color: rgba(255,255,255,.72); margin: 0; }

@media (max-width: 768px) { .xservices__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .xservices__grid { grid-template-columns: 1fr; } }

/* Process */
.xprocess { padding: var(--x-section) 0; }
.xprocess__steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.xstep {
    text-align: center; padding: 1.5rem 1rem;
    background: var(--x-white); border: 1px solid var(--x-border);
    border-radius: 16px;
}
.xstep__num {
    display: inline-grid; place-items: center;
    width: 3.25rem; height: 3.25rem; margin-bottom: 1rem;
    font-family: var(--x-serif); font-size: 1rem; font-weight: 700;
    color: var(--x-secondary); background: var(--x-bg);
    border: 2px solid rgba(130,78,39,.35); border-radius: 50%;
}
.xstep h3 {
    font-family: var(--x-serif); font-size: 1.15rem; font-weight: 600;
    color: var(--x-text-dark); margin-bottom: .4rem;
}
.xstep p { font-size: .875rem; line-height: 1.65; color: var(--x-text); }

@media (max-width: 768px) { .xprocess__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .xprocess__steps { grid-template-columns: 1fr; } }

/* Contact */
.xcontact {
    padding: var(--x-section) 0;
    background: linear-gradient(180deg, var(--x-bg) 0%, var(--x-blush) 40%, var(--x-bg) 100%);
}
.xcontact__grid {
    display: grid; grid-template-columns: .85fr 1.15fr;
    gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.xcontact__links { display: flex; flex-direction: column; gap: .875rem; margin-top: 1.75rem; }
.xcontact__links a,
.xcontact__links .xcontact__item {
    display: inline-flex; align-items: center; gap: .75rem;
    font-weight: 500; color: var(--x-text-dark); text-decoration: none;
}
.xcontact__links a {
    transition: color .2s; cursor: pointer;
}
.xcontact__links a:hover { color: var(--x-primary); }
.xcontact__links svg { color: var(--x-secondary); flex-shrink: 0; }

.xform-card {
    padding: 2rem; background: var(--x-white);
    border: 1px solid var(--x-border); border-radius: 20px;
    box-shadow: 0 24px 60px -24px rgba(5,79,89,.15);
}
.xform__row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem;
}
.xfield { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.xform__row .xfield { margin-bottom: 0; }
.xfield > span { font-size: .8rem; font-weight: 600; color: var(--x-text); }
.xfield > span em { font-style: normal; color: #c0392b; }
.xinput {
    width: 100%; padding: .75rem 1rem;
    border: 1.5px solid var(--x-border); border-radius: 12px;
    font-family: var(--x-font); font-size: .9375rem; color: var(--x-text-dark);
    background: var(--x-bg); transition: border-color .2s, box-shadow .2s;
}
.xinput:focus {
    outline: none; border-color: var(--x-primary);
    box-shadow: 0 0 0 3px rgba(5,79,89,.1); background: var(--x-white);
}
.xinput.is-invalid { border-color: #c0392b; }
.xselect {
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A4A4A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 36px;
}
.xtextarea { resize: vertical; min-height: 96px; line-height: 1.65; }
.xchips-field { border: 0; margin: 0 0 1rem; padding: 0; }
.xchips-field legend { font-size: .8rem; font-weight: 600; color: var(--x-text); margin-bottom: .5rem; }
.xchips { display: flex; flex-wrap: wrap; gap: .5rem; }
.xchips label { position: relative; cursor: pointer; }
.xchips input { position: absolute; opacity: 0; pointer-events: none; }
.xchips span {
    display: inline-block; padding: .5rem 1rem; font-size: .8rem; font-weight: 600;
    color: var(--x-text); background: var(--x-bg); border: 1.5px solid var(--x-border);
    border-radius: 999px; transition: all .2s; user-select: none;
}
.xchips input:checked + span { background: var(--x-secondary); color: var(--x-white); border-color: var(--x-secondary); }
.xprivacy {
    display: flex; align-items: flex-start; gap: .6rem;
    margin-bottom: 1.25rem; font-size: .8rem; line-height: 1.6;
    color: var(--x-text); cursor: pointer;
}
.xprivacy input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--x-primary); flex-shrink: 0; }
.xform__msg { margin-top: 1rem; font-size: .875rem; font-weight: 500; text-align: center; min-height: 1.25rem; }
.xform__msg.is-ok { color: #15803d; }
.xform__msg.is-err { color: #c0392b; }

@media (max-width: 768px) {
    .xcontact__grid { grid-template-columns: 1fr; }
    .xform__row { grid-template-columns: 1fr; }
    .xform-card { padding: 1.5rem; }
}

/* Footer */
.xfoot {
    padding: 2.5rem 0 2rem; background: var(--x-primary);
    border-top: 1px solid var(--x-accent);
}
.xfoot__inner {
    display: flex; flex-direction: column; gap: 0;
}
.xfoot__top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; width: 100%; flex-wrap: wrap;
}
.xfoot__brand {
    display: flex; align-items: center; gap: 1.25rem;
}
.xfoot__logo {
    height: 80px; width: auto; object-fit: contain;
    filter: brightness(0) invert(1);
}
.xfoot__wordmark {
    font-family: var(--x-serif); font-size: 1.5rem; font-weight: 600;
    color: var(--x-white); letter-spacing: .04em;
}
.xfoot__socials {
    display: flex; flex-wrap: wrap; align-items: center; gap: .625rem;
}
.xfoot__social {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    color: var(--x-white); background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    transition: background .2s var(--x-ease), border-color .2s, transform .2s, color .2s;
    cursor: pointer;
}
.xfoot__social:hover {
    background: var(--x-secondary); border-color: var(--x-secondary);
    transform: translateY(-2px); color: var(--x-white);
}
.xfoot__social--static {
    cursor: default; opacity: .85;
}
.xfoot__social--static:hover {
    background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18);
    transform: none;
}
.xfoot__social svg { display: block; flex-shrink: 0; }
.xfoot__meta {
    display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; width: 100%;
    margin-top: 1.25rem; font-size: .85rem; color: rgba(255,255,255,.7);
}
.xfoot__copy {
    width: 100%; margin-top: 1.75rem; padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .8rem; color: rgba(255,255,255,.55); text-align: center;
}

@media (max-width: 640px) {
    .xfoot__top { flex-direction: column; align-items: flex-start; }
    .xfoot__socials { width: 100%; }
}

/* Reveal */
.xreveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .65s var(--x-ease), transform .65s var(--x-ease);
}
.xreveal.is-in { opacity: 1; transform: translateY(0); }
.xreveal--d1 { transition-delay: .12s; }
