/*
Theme Name: temaprovaAC Child
Template: temaprovaac
Description: Lexterna Production Theme - Consolidated Styles
Tags: custom-background,custom-logo,custom-menu,featured-images,threaded-comments,translation-ready
Version: 1.2.4
Updated: 2026-03-22
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --gold: #C9A42A;
    --gold-light: #D4AF37;
    --gold-deep: #A8841F;
    --ink: #EAE6DB;
    --ink-mid: #A09A90;
    --ink-soft: #6A6560;
    --ink-page: #0B0A08;
    --paper: #0C0B09;
    --paper-warm: #111008;
    --paper-cream: #161410;
    --paper-grey: #131210;
    --paper-light: #F4F0E6;
    --line: #242118;
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

/* ── CORE RESET & BODY ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Montserrat', sans-serif; 
    background: var(--paper); 
    color: var(--ink); 
    line-height: 1.8; 
    -webkit-font-smoothing: antialiased; 
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }

/* ── SECTION SEPARATION ── */
section { padding: 10.4rem 0; position: relative; z-index: 1; }
.sep {
    height: 0;
    border: none;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg,
        transparent 5%,
        rgba(201,164,42,0.2) 25%,
        rgba(212,175,55,0.45) 50%,
        rgba(201,164,42,0.2) 75%,
        transparent 95%) 1;
    margin: 0;
    position: relative;
    z-index: 10;
}

/* ── BACKGROUNDS ── */
.s-base  { background: #0C0B09; }
.s-warm  { background: #111008; }
.s-cream { background: #161410; }
.s-grey  { background: #131210; }
.s-hero  { background: #060503; }
.s-light { background: var(--paper-light); color: #1A1610; }

/* ── PARALLAX SYSTEM ── */
.ps { position: relative; overflow: hidden; }
.pbg {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14rem, 32vw, 26rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    opacity: 0.055;
    color: var(--gold);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    will-change: transform;
    z-index: 0;
}
.ps > .container { position: relative; z-index: 1; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); }
em, i, .serif-accent {
    font-family: var(--serif) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: var(--gold-light);
}
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.hero-title { font-size: clamp(3.5rem, 7vw, 5.5rem); margin-bottom: 2rem; }
.section-label { display: inline-block; color: var(--gold); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.38em; margin-bottom: 0.6rem; }
.gold-bar { width: 56px; height: 3px; background: var(--gold); margin-bottom: 2.5rem; }

.sh { margin-bottom: 5rem; }
.sh.center { text-align: center; }
.sh h2 { margin-top: 0.5rem; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 1.1rem 2.4rem; border-radius: 100px; font-weight: 700; font-size: 0.88rem; text-decoration: none; transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); border: 2px solid transparent; text-align: center; letter-spacing: 0.02em; }
.btn-ink  { background: var(--ink); color: #0B0A08; }
.btn-ink:hover  { background: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,164,42,0.25); }
.btn-ghost { border-color: rgba(234,230,219,0.2); color: rgba(234,230,219,0.8); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: rgba(234,230,219,0.5); }
.btn-line { border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ── COMPONENTS ── */
.card { background: rgba(255,255,255,0.03); padding: 3rem; border-radius: 16px; border: 1px solid var(--line); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); height: 100%; }
.card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,0.3); background: rgba(255,255,255,0.05); }
.card-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.05); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.8rem; color: var(--gold); }
.card h3 { font-size: 1.45rem; margin-bottom: 1rem; color: var(--ink); }
.card p { color: var(--ink-mid); font-size: 1rem; line-height: 1.7; }

.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

.chk { list-style: none; }
.chk li { padding: 1.1rem 0; font-size: 1.05rem; display: flex; align-items: flex-start; border-bottom: 1px solid var(--line); }
.ck { color: var(--gold); margin-right: 1.5rem; font-weight: 900; font-size: 1.1rem; flex-shrink: 0; line-height: 1.9; }

/* ── NAVIGATION ── */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 1.65rem 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.5s ease, border-color 0.4s ease, padding 0.4s ease;
}
nav.scrolled {
    background: rgba(8,7,5,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: var(--line);
    padding: 0.9rem 0;
}
.nav-progress {
    position: absolute; top: 0; left: 0; height: 2px; width: 0%;
    background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold-light) 50%, var(--gold-deep) 100%);
    z-index: 2; pointer-events: none;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 38px; display: block; transition: opacity 0.3s; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
    text-decoration: none; color: rgba(234,230,219,0.52);
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.14em; padding: 0.45rem 1.25rem;
    position: relative; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.btn-nav {
    display: inline-flex; align-items: center;
    padding: 0.58rem 1.4rem; border-radius: 100px;
    font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid rgba(201,164,42,0.38);
    color: var(--gold); background: rgba(201,164,42,0.04);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-nav:hover {
    background: var(--gold); color: #0B0A08; border-color: var(--gold);
}

/* ── FOOTER ── */
footer { background: #060503; color: var(--ink); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
.footer-brand-block { margin-bottom: 5.5rem; max-width: 420px; }
.flogo { max-width: 120px; margin-bottom: 1.8rem; }
.footer-brand-sep { height: 1px; background: linear-gradient(90deg, rgba(201,164,42,0.2) 0%, rgba(212,175,55,0.35) 50%, transparent 100%); margin: 2rem 0; }
.fdesc { font-size: 0.95rem; color: var(--ink-mid); line-height: 1.65; }
.fl h4 { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.32em; margin-bottom: 1.8rem; color: var(--gold); font-weight: 800; }
.fl ul { list-style: none; }
.fl li { margin-bottom: 1rem; }
.fl a { color: var(--ink); text-decoration: none; transition: color 0.3s; display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.fl a:hover { color: var(--gold); }
.fl a svg { flex-shrink: 0; }
.fb { border-top: 1px solid var(--line); padding: 2.5rem 0; display: flex; flex-direction: column; gap: 0.8rem; font-size: 0.78rem; color: var(--ink-soft); }
.fb p { margin: 0; }

/* ── REVEAL SYSTEM ── */
.reveal { opacity: 0; transform: translateY(26px); transition: all 0.8s cubic-bezier(0.165,0.84,0.44,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── PAGE SPECIFIC: FAQ ── */
.faq-stack { display: grid; gap: .9rem; }
.faq-card { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-card[open] { border-color: rgba(201, 164, 42, .3); background: rgba(201, 164, 42, .04); }
.faq-card summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem; }
.faq-number { color: var(--gold); font-weight: 800; margin-right: 1rem; }

/* ── PAGE SPECIFIC: INHOUSE LEGAL ── */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.metric { padding: 1.5rem; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 16px; }
.metric strong { color: var(--gold); display: block; font-size: 1.5rem; margin-bottom: 0.5rem; }

/* ── PAGE SPECIFIC: AI IMPLEMENTATION ── */
.hero-tagline { font-size: 1.45rem; color: rgba(234,230,219,0.55); margin-bottom: 4.5rem; max-width: 680px; font-weight: 400; line-height: 1.55; }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.adv-item { padding: 2.5rem; background: rgba(255,255,255,0.03); border-radius: 16px; border: 1px solid var(--line); }
.adv-item h4 { color: var(--gold); margin-bottom: 1rem; font-size: 1.2rem; }
.adv-item p { color: var(--ink-mid); font-size: 0.95rem; line-height: 1.7; }

/* ── PAGE SPECIFIC: NOTE LEGALI (Light Theme Overrides) ── */
.policy-page-body {
    background: #FFFFFF !important;
    color: #111111 !important;
}
.policy-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #E1E1DC;
    border-radius: 24px;
}

/* ── BUTTON GLOBAL OVERRIDES ── */
/* Enforce consistent button styling across all pages */
.btn-submit,
button[type="submit"],
input[type="submit"],
button.btn-submit {
    background: var(--gold) !important;
    color: #0B0A08 !important;
    border: none !important;
    padding: 1.05rem 2.4rem !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    cursor: pointer !important;
    transition: transform 0.25s, box-shadow 0.25s !important;
    text-transform: uppercase !important;
    font-size: 0.95rem !important;
    font-family: 'Montserrat', sans-serif !important;
}

.btn-submit:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
button.btn-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 24px rgba(201,164,42,0.25) !important;
    background: var(--gold-light) !important;
}

.btn-submit:disabled,
button[type="submit"]:disabled,
input[type="submit"]:disabled,
button.btn-submit:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .g2, .g3, .adv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    section { padding: 4.8rem 0; }
    .hero-title { font-size: 2.8rem; }
    .nav-links { display: none; }
    .hero, .hero-standard { padding-top: 8rem !important; }
}
