/* ================================================================
   GAYA Advisory — Strategic Purchase Analysis
   Brand design: deep navy, electric blue, cream, Playfair Display
   ================================================================ */

/* ---------- Design Tokens ---------- */
:root {
    /* Brand */
    --navy:          #0B2240;   /* Deep navy (hero, footer, top bar) */
    --navy-body:     #1E2D4A;   /* Body headings */
    --navy-deep:     #081A33;
    --blue:          #3D82E8;   /* Primary action blue */
    --blue-deep:     #2F6FDC;
    --teal:          #14B8A6;   /* Accent */
    --green:         #47D58D;   /* WhatsApp / success */

    /* Neutrals */
    --cream:         #F7F4EF;   /* Page background */
    --cream-warm:    #F7F4F2;
    --mist:          #ECEDEF;   /* Surface tint */
    --slate:         #3A4A5C;
    --slate-soft:    #5D7694;
    --slate-mute:    #7A8DAA;
    --ink:           #1E2D4A;
    --white:         #FFFFFF;
    --field-bg:      #F5F7FA;
    --field-border:  #D0DFE8;

    /* Support */
    --gray-50:   #F9FAFB;
    --gray-100:  #F3F4F6;
    --gray-200:  #E5E7EB;
    --gray-300:  #D1D5DB;
    --gray-400:  #9CA3AF;
    --gray-500:  #6B7280;
    --gray-600:  #4B5563;
    --gray-700:  #374151;

    /* Status */
    --green-text: #16A34A;
    --green-bg:   #F0FDF4;
    --amber:      #D97706;
    --amber-bg:   #FFFBEB;
    --red:        #DC2626;
    --red-bg:     #FEF2F2;
    --blue-bg:    #EFF6FF;

    /* Fonts */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radii / Shadows */
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  20px;
    --shadow-sm:  0 1px 3px rgba(11,34,64,0.06);
    --shadow-md:  0 4px 14px rgba(11,34,64,0.08);
    --shadow-lg:  0 12px 40px rgba(11,34,64,0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body { width: 100%; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    min-height: 100vh;
    animation: slideUpPage 0.8s ease forwards;
}

a { color: inherit; text-decoration: none; }

@keyframes slideUpPage {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease forwards;
}
.fade-in-d1 { animation-delay: 0.1s; }
.fade-in-d2 { animation-delay: 0.2s; }
.fade-in-d3 { animation-delay: 0.3s; }
.fade-in-d4 { animation-delay: 0.4s; }
.fade-in-d5 { animation-delay: 0.5s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   GOOGLE TRANSLATE — hide widget artifacts
   ================================================================ */
#google_translate_element { display: none !important; }
.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-balloon-frame,
#goog-gt-tt,
.skiptranslate > iframe { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style*="background-color"] { background: transparent !important; }

/* ================================================================
   TOP BAR + NAV
   ================================================================ */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--navy);
    border-bottom: 1px solid rgba(215,223,234,0.12);
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
}

.top-bar-brand {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--cream-warm);
}

/* Sign-in / My-account button on top bar (right side) */
.top-bar-account {
    display: inline-flex;
    align-items: center;
}
.top-bar-account-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--cream-warm);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 120ms ease, color 120ms ease;
}
.top-bar-account-link:hover {
    background: var(--teal);
    color: #fff;
}
.top-bar-account-link i { font-size: 14px; }

/* Language toggle (lives inside top bar) */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.lang-btn {
    background: transparent;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--cream-warm);
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
    letter-spacing: 0.3px;
}

.lang-btn:hover:not(.active) {
    background: rgba(61,130,232,0.15);
}

.lang-btn.active {
    color: var(--white);
    background: var(--blue);
}

.lang-divider {
    color: rgba(215,223,234,0.3);
    font-size: 12px;
    user-select: none;
}

/* Inline report variant sits on white */
.lang-toggle--inline .lang-btn { color: var(--slate); }
.lang-toggle--inline .lang-btn.active { color: var(--white); background: var(--blue); }
.lang-toggle--inline .lang-divider { color: var(--gray-300); }

.site-nav {
    position: sticky;
    top: 44px;
    z-index: 40;
    background: var(--mist);
    border-bottom: 1px solid rgba(30,45,74,0.08);
}

.site-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 500;
}

.site-nav-links a {
    color: var(--ink);
    transition: color 0.2s ease;
}

.site-nav-links a:hover {
    color: var(--blue);
}

.nav-cta {
    display: inline-block;
    background: var(--blue);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(61,130,232,0.3);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy) url('../images/3.png') center / cover no-repeat;
    color: var(--cream-warm);
    padding: 96px 24px 112px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,34,64,0.82) 0%, rgba(11,34,64,0.92) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 30% 40%, #3D82E8 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, #1E2D4A 0%, transparent 50%);
}

.hero-inner { position: relative; z-index: 1; }

/* Hero CTA buttons (reference: two side-by-side) */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 40px;
}

.btn-primary {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(61,130,232,0.25);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--blue-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(61,130,232,0.4);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--cream-warm);
    padding: 14px 32px;
    border: 1.5px solid rgba(93,118,148,0.9);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(93,118,148,0.15);
    transform: translateY(-1px);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(61,130,232,0.4);
    color: var(--teal);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 6px 20px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: var(--cream-warm);
    margin-bottom: 24px;
}

.hero-lead {
    max-width: 640px;
    margin: 0 auto 16px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(215,223,234,0.8);
}

.hero-sub {
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(215,223,234,0.6);
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.hero-trust p:first-child {
    font-size: 14px;
    color: rgba(215,223,234,0.5);
}

.hero-trust p:last-child {
    font-size: 13px;
    color: rgba(215,223,234,0.4);
}

/* ================================================================
   SECTION SHELL
   ================================================================ */
.section-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-inner--narrow {
    max-width: 820px;
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.blue-line {
    width: 60px;
    height: 2px;
    background: var(--blue);
    margin: 0 auto 18px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.section-title--light { color: var(--cream-warm); }

.section-desc {
    max-width: 640px;
    margin: 0 auto;
    color: var(--slate-soft);
    font-size: 15px;
    line-height: 1.65;
}

.section-desc--light { color: rgba(215,223,234,0.7); }

.section-scope {
    font-size: 13px;
    color: var(--slate-mute);
    margin-top: 12px;
}

.subsection-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 28px;
}

/* ---------- Services ---------- */
.services-section {
    padding: 96px 0;
    background: var(--cream);
}

/* Görsel 2 — Strategic Analysis support. Full-bleed editorial band. */
.services-accent {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 72px;
    padding: 0;
}

.services-accent img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.services-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 40px 44px;
    max-width: 720px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-cta {
    max-width: 720px;
    margin: 56px auto 0;
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
}

/* Görsel 1 — CTA / Submit Property accent. Edge-to-edge inside the navy block. */
.cta-accent {
    margin: -48px -40px 36px;
}

.cta-accent img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    outline: 1px solid rgba(255,255,255,0.06);
    outline-offset: -1px;
}

.services-cta h3 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    color: var(--cream-warm);
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.services-cta p {
    color: rgba(215,223,234,0.65);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(11,34,64,0.14);
}

.services-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 24px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
}

.service-item--wide {
    grid-column: 1 / -1;
}

.service-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 8px;
    background: var(--blue);
}

/* ================================================================
   CALCULATOR (navy background, cream form cards)
   ================================================================ */
.calculator-section {
    padding: 96px 0 112px;
    background: var(--navy);
    position: relative;
}

.analysis-form {
    display: block;
}

.form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.06);
}

.form-section-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: -0.1px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: 0.1px;
}

.form-group input,
.form-group select {
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink);
    background: var(--field-bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(61,130,232,0.15);
    background: var(--white);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

.form-hint {
    font-size: 12px;
    color: var(--slate-mute);
    margin-top: 5px;
    line-height: 1.45;
}

/* Optional section */
.form-section--optional .form-section-title {
    cursor: pointer;
    user-select: none;
}

.toggle-optional {
    background: none;
    border: none;
    color: var(--slate-soft);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: transform 0.3s ease, color 0.2s ease;
}

.toggle-optional:hover { color: var(--blue); }
.toggle-optional.open { transform: rotate(180deg); }

.optional-fields {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.optional-fields.show {
    max-height: 320px;
    opacity: 1;
}

/* Generate Button */
.form-actions {
    text-align: center;
    margin-top: 20px;
}

.btn-generate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(61,130,232,0.25);
}

.btn-generate:hover {
    background: var(--blue-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(61,130,232,0.38);
}

.btn-generate:active {
    transform: translateY(0);
}

.btn-generate i {
    font-size: 15px;
    color: var(--white);
}

.form-minimum {
    margin-top: 28px;
    padding: 18px 24px;
    background: var(--mist);
    border: 1px solid rgba(30,45,74,0.1);
    border-radius: 12px;
    text-align: center;
}

.form-minimum p {
    font-size: 14px;
    color: var(--slate-soft);
    line-height: 1.6;
}

.form-minimum strong {
    color: var(--ink);
    font-weight: 700;
}

/* ================================================================
   MARKETS / WHO THIS IS FOR
   ================================================================ */
.markets-section {
    padding: 96px 0;
    background: var(--cream);
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

.market-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.market-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #DCE7F7;
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-section {
    padding: 96px 0;
    background: var(--white);
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.contact-card {
    background: var(--mist);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon--blue { background: #DCE7F7; color: #4A90E2; }
.contact-icon--green { background: #E0F9F0; color: var(--green); }

.contact-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
}

.contact-value--teal { color: var(--teal); }
.contact-value--green { color: var(--green); }

.contact-response {
    font-size: 13px;
    color: var(--slate-mute);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background: var(--navy);
    color: rgba(215,223,234,0.5);
    padding: 48px 0 36px;
    text-align: center;
}

.footer-brand {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 22px;
}

.footer-legal {
    max-width: 800px;
    margin: 0 auto 16px;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(215,223,234,0.4);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0 0 18px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(215,223,234,0.7);
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-copy {
    font-size: 12px;
    color: rgba(215,223,234,0.25);
}

/* ================================================================
   LEGAL PAGES (GDPR / KVKK / Cookie)
   ================================================================ */
.legal-body { background: var(--cream); }

.legal-page {
    padding: 72px 0 96px;
    background: var(--cream);
    min-height: calc(100vh - 200px);
}

.legal-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-inner .blue-line { margin: 0 0 22px; }

.legal-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.legal-lead {
    font-size: 16px;
    color: var(--slate-soft);
    line-height: 1.65;
    margin-bottom: 52px;
    max-width: 640px;
}

.legal-section {
    padding: 28px 0;
    border-top: 1px solid rgba(30,45,74,0.08);
}

.legal-section:first-of-type { border-top: none; padding-top: 0; }

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.1px;
}

.legal-section p {
    font-size: 15px;
    color: var(--slate);
    line-height: 1.7;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin-top: 6px;
}

.legal-section li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--slate);
    line-height: 1.6;
}

.legal-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.legal-section h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin: 18px 0 8px;
    letter-spacing: -0.05px;
}

.legal-section a {
    color: var(--blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(61,130,232,0.25);
    transition: border-color 0.2s;
}
.legal-section a:hover { border-color: var(--blue); }

.legal-meta {
    background: var(--mist);
    border: 1px solid rgba(30,45,74,0.08);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 36px;
    font-size: 13px;
}

.legal-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    color: var(--slate-soft);
}
.legal-meta-row strong { color: var(--ink); font-weight: 600; }
.legal-meta-row + .legal-meta-row { border-top: 1px solid rgba(30,45,74,0.05); }

.legal-meta-note {
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(30,45,74,0.08);
    font-size: 12.5px;
    color: var(--slate-mute);
    line-height: 1.55;
}

.legal-company {
    background: var(--white);
    border: 1px solid rgba(30,45,74,0.08);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 14px 0;
    font-size: 14px;
    color: var(--slate);
    line-height: 1.7;
}
.legal-company--alt {
    background: rgba(61,130,232,0.04);
    border-color: rgba(61,130,232,0.15);
}
.legal-company strong { color: var(--ink); }

/* Legal page top-bar brand link looks identical to span */
.legal-body .top-bar-brand {
    display: inline-block;
    text-decoration: none;
}

@media (max-width: 768px) {
    .legal-page { padding: 48px 0 72px; }
    .legal-lead { margin-bottom: 36px; }
    .legal-section { padding: 22px 0; }
}

/* ================================================================
   WHATSAPP FLOAT
   ================================================================ */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(71,213,141,0.42);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 32px rgba(71,213,141,0.55);
}

/* ================================================================
   APP VIEWS
   ================================================================ */
.app-view { animation: fadeIn 0.4s ease; }
.hidden { display: none !important; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   CALCULATOR — 2-column layout (form + Investment Overview)
   ================================================================ */
.calculator-section .section-head { margin-bottom: 44px; }

.calc-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 28px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.calc-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 36px 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.06);
}

.calc-form-card .analysis-form { display: block; }

.calc-form-card .form-group { margin-bottom: 16px; }
.calc-form-card .form-group:last-of-type { margin-bottom: 0; }

.calc-form-card .form-actions { margin-top: 18px; text-align: center; }

.calc-form-card .btn-generate {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 15px;
}

.calc-form-card .btn-generate.saved {
    background: var(--green-text);
    box-shadow: 0 4px 16px rgba(22,163,74,0.22);
}
.calc-form-card .btn-generate.saved:hover {
    background: var(--green-text);
    transform: none;
}

/* Consent block */
.form-consent { margin-top: 14px; margin-bottom: 6px; }

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.55;
    color: var(--slate);
}

.consent-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    border: 1.5px solid var(--field-border);
    border-radius: 3px;
    background: var(--white);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}

.consent-row input[type="checkbox"]:checked {
    background: var(--blue);
    border-color: var(--blue);
}

.consent-row input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 0;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-row input[type="checkbox"].error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

.consent-note {
    margin-top: 10px;
    margin-left: 26px;
    font-size: 12.5px;
    color: var(--slate-mute);
    line-height: 1.55;
}

/* Submit feedback message */
.submit-msg {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.5;
    text-align: center;
}
.submit-msg--success {
    background: var(--green-bg);
    color: var(--green-text);
    border: 1px solid rgba(22,163,74,0.18);
}
.submit-msg--error {
    background: var(--red-bg);
    color: var(--red);
    border: 1px solid rgba(220,38,38,0.18);
}

/* ── Investment Overview (right panel) ───────────────────────── */
.calc-preview {
    position: sticky;
    top: 90px;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #0e2a52 100%);
    border-radius: var(--radius-lg);
    padding: 36px 32px 30px;
    color: var(--cream-warm);
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.preview-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.2px;
    color: var(--white);
    margin-bottom: 8px;
}

.preview-stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.preview-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.preview-row .preview-stat { padding: 14px 16px; }

.preview-label {
    font-size: 12.5px;
    color: rgba(215,223,234,0.72);
    letter-spacing: 0.2px;
}

.preview-value {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
}

.preview-row .preview-value { font-size: 18px; }
.preview-value--accent { color: var(--teal); }

.preview-roi {
    margin-top: 6px;
    padding: 26px 24px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(20,184,166,0.18) 0%, rgba(61,130,232,0.18) 100%);
    border: 1px solid rgba(20,184,166,0.35);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.preview-roi-label {
    font-size: 13px;
    color: rgba(215,223,234,0.85);
    letter-spacing: 0.4px;
}

.preview-roi-value {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 48px;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}

.preview-roi-pct {
    font-size: 32px;
    margin-left: 2px;
}

.preview-disclaimer {
    margin-top: 4px;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(215,223,234,0.6);
    padding: 0 6px;
}

.btn-full-analysis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    padding: 14px 22px;
    background: var(--teal);
    color: var(--navy-deep);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(20,184,166,0.18);
}

.btn-full-analysis:hover {
    background: #0DA092;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(20,184,166,0.28);
}

.btn-full-analysis i { font-size: 14px; }

/* ── ROI panel "pending" empty state ───────────────────────────── */
.preview-empty { display: none; }
.preview-content { display: flex; flex-direction: column; gap: 14px; }

.calc-preview--pending .preview-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 520px;
    padding: 32px 24px;
    gap: 14px;
}
.calc-preview--pending .preview-content { display: none; }

.preview-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(20,184,166,0.1);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 24px;
    margin-bottom: 8px;
    box-shadow: 0 6px 18px rgba(20,184,166,0.12);
}

.preview-empty-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.2px;
    margin: 0;
}

.preview-empty-subtitle {
    font-size: 14.5px;
    color: rgba(215,223,234,0.65);
    line-height: 1.6;
    max-width: 360px;
    margin: 0;
}

/* Reveal fade-in when results show */
.calc-preview:not(.calc-preview--pending) .preview-content {
    animation: previewFadeIn 0.5s ease;
}
@keyframes previewFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   REQUEST PROPERTY ANALYSIS (WhatsApp redirect section)
   ================================================================ */
.request-section {
    padding: 96px 0;
    background: var(--navy);
    color: var(--cream-warm);
    position: relative;
    overflow: hidden;
}

.request-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(20,184,166,0.07) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(61,130,232,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.request-card {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.request-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(20,184,166,0.22), rgba(20,184,166,0.08));
    border: 1px solid rgba(20,184,166,0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(20,184,166,0.16);
}

.request-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.4px;
    line-height: 1.18;
    margin-bottom: 16px;
}

.request-subtitle {
    font-size: 15px;
    color: rgba(215,223,234,0.7);
    line-height: 1.65;
    margin: 0 auto 32px;
    max-width: 520px;
}

.request-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 18px;
    resize: vertical;
    min-height: 130px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.request-input:focus {
    outline: none;
    border-color: rgba(20,184,166,0.5);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(20,184,166,0.12);
}

.request-input::placeholder {
    color: rgba(215,223,234,0.42);
}

.btn-request {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    padding: 17px 28px;
    background: var(--teal);
    color: var(--navy-deep);
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 18px rgba(20,184,166,0.22);
    cursor: pointer;
}

.btn-request:hover {
    background: #0DA092;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(20,184,166,0.32);
}

.btn-request i { font-size: 14px; }

.request-note {
    margin-top: 18px;
    font-size: 12.5px;
    color: rgba(215,223,234,0.5);
    line-height: 1.55;
}

@media (max-width: 600px) {
    .request-section { padding: 64px 0; }
    .request-card { padding: 0 16px; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
    .calc-grid { grid-template-columns: 1fr; gap: 22px; }
    .calc-preview { position: static; }
}

@media (max-width: 900px) {
    .markets-grid { grid-template-columns: 1fr; }
    .services-cta { padding: 40px 28px; }
    .services-accent { margin-bottom: 48px; }
    .services-accent img { height: 280px; }
    .cta-accent { margin: -40px -28px 28px; }
    .cta-accent img { height: 220px; }
}

@media (max-width: 768px) {
    .top-bar-inner { padding: 10px 16px; }
    .site-nav-inner { padding: 10px 16px; }
    .site-nav-links { gap: 16px; font-size: 13px; }
    .nav-cta { display: none; }

    .hero { padding: 64px 20px 80px; }
    .hero-lead { font-size: 16px; }

    .services-section, .calculator-section, .markets-section, .contact-section { padding: 64px 0; }

    .section-inner, .section-inner--narrow { padding: 0 16px; }

    .services-card { padding: 28px 24px; }
    .services-grid { grid-template-columns: 1fr; }

    .calc-form-card { padding: 26px 22px 22px; }
    .calc-preview { padding: 26px 22px 22px; }
    .preview-title { font-size: 20px; }
    .preview-value { font-size: 18px; }
    .preview-roi-value { font-size: 40px; }
    .preview-roi-pct { font-size: 26px; }

    .btn-generate { width: 100%; justify-content: center; padding: 16px 20px; }

    .contact-grid { grid-template-columns: 1fr; }

    .brand-name { font-size: 32px; letter-spacing: 4px; }
}

@media (max-width: 480px) {
    .site-nav-links a:nth-child(3),
    .site-nav-links a:nth-child(4) { display: none; }

    .preview-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Loading state ---------- */
.btn-generate.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-generate.loading i::before {
    content: '\f110';
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Print ---------- */
@media print {
    .lang-toggle, .top-bar, .site-nav { display: none !important; }
    body { background: white; }
}

/* ================================================================
   PRICING SECTION (Faz 3.B — 3 cards on landing)
   ================================================================ */
.pricing-section {
    padding: 96px 0;
    background: var(--gray-50);
}

/* Homepage has no hero — collapse the top padding so cards sit close to header. */
.home .pricing-section { padding-top: 48px; }
.home .section-head { margin-bottom: 36px; }

.section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(30,45,74,0.08);
    border-radius: var(--radius-lg);
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30,45,74,0.14);
}

.pricing-card--popular {
    border: 2px solid var(--teal);
    box-shadow: 0 6px 22px rgba(20,184,166,0.14);
}

.pricing-card-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--teal);
    color: var(--navy-deep);
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 6px 14px;
    border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
    text-transform: capitalize;
}

.pricing-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--blue-bg);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 26px;
}

.pricing-card--popular .pricing-card-icon {
    background: rgba(20,184,166,0.12);
    color: var(--teal);
}

.pricing-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.2px;
    margin-bottom: 10px;
}

.pricing-card-desc {
    font-size: 14.5px;
    color: var(--slate-soft);
    line-height: 1.6;
    margin-bottom: 22px;
}

.pricing-card-includes-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--slate-mute);
    margin-bottom: 14px;
}

.pricing-card-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}

.pricing-card-includes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--slate);
    line-height: 1.5;
}

.pricing-card-includes li i {
    color: var(--teal);
    font-size: 13px;
    margin-top: 4px;
    flex-shrink: 0;
}

.pricing-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
    transition: gap 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.pricing-cta:hover {
    color: var(--blue-deep);
    gap: 10px;
}

.pricing-cta i { font-size: 12px; }

.pricing-cta--popular {
    width: 100%;
    align-self: stretch;
    justify-content: center;
    background: var(--teal);
    color: var(--navy-deep);
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(20,184,166,0.18);
}

.pricing-cta--popular:hover {
    background: #0DA092;
    color: var(--navy-deep);
    box-shadow: 0 8px 22px rgba(20,184,166,0.28);
    gap: 8px;
}

.pricing-cta--popular i {
    font-size: 13px;
}

.pricing-bottom-note {
    text-align: center;
    margin-top: 36px;
    font-size: 13.5px;
    color: var(--slate-mute);
}

@media (max-width: 960px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
    .pricing-section { padding: 64px 0; }
}

/* ================================================================
   LEAD MODAL (cards 1 & 3 → WhatsApp)
   ================================================================ */
.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: leadModalIn 0.2s ease;
}

.lead-modal[hidden] { display: none; }

.lead-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11,34,64,0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.lead-modal-panel {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 36px 30px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
    animation: leadPanelIn 0.25s ease;
}

@keyframes leadModalIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes leadPanelIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lead-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--slate-mute);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.lead-modal-close:hover {
    background: var(--gray-100);
    color: var(--ink);
}

.lead-modal-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    padding-right: 36px;
    line-height: 1.25;
}

.lead-modal-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--slate-soft);
    margin-top: 4px;
}

.lead-modal-form {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lead-modal-field { display: flex; flex-direction: column; gap: 5px; }

.lead-modal-field label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.1px;
}

.lead-modal-field input,
.lead-modal-field textarea {
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink);
    background: var(--field-bg);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}
.lead-modal-field textarea {
    height: auto;
    padding: 10px 14px;
    resize: vertical;
    min-height: 70px;
    line-height: 1.5;
}
.lead-modal-field input:focus,
.lead-modal-field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(61,130,232,0.15);
    background: var(--white);
}

.lead-modal-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    background: #25D366; /* WhatsApp brand green */
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-top: 4px;
    box-shadow: 0 4px 14px rgba(37,211,102,0.22);
}
.lead-modal-submit:hover {
    background: #1FB957;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.32);
}
.lead-modal-submit i { font-size: 16px; }

.lead-modal-note {
    margin-top: 4px;
    font-size: 12px;
    color: var(--slate-mute);
    text-align: center;
    line-height: 1.5;
}

/* ================================================================
   PROPERTY FORM — post-checkout, step 2 of 3
   Hero is shared with the Checkout/Order-Received pages
   (.checkout-page-header lives in assets/css/woocommerce.css).
   ================================================================ */
.pform-page {
    background: var(--cream);
    padding-bottom: 96px;
    min-height: calc(100vh - 200px);
}
.pform-page .checkout-page-header {
    margin-bottom: 24px;
}
.pform-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ─── Intro paragraph ─────────────────────────────────────────── */
.pform-intro {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-600);
    margin: 0 0 32px;
    max-width: 720px;
}

/* ─── Form card ───────────────────────────────────────────────── */
.pform-form {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 1px 2px rgba(11, 34, 64, 0.04), 0 8px 24px -16px rgba(11, 34, 64, 0.08);
}

/* ─── Sections (fieldsets) ────────────────────────────────────── */
.pform-section {
    border: 0;
    padding: 0;
    margin: 0 0 32px;
}
.pform-section + .pform-section {
    padding-top: 32px;
    border-top: 1px solid var(--gray-100);
}
.pform-section legend {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 20px;
    padding: 0;
}

/* ─── Grid (two columns) ──────────────────────────────────────── */
.pform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}
.pform-field-wide { grid-column: 1 / -1; }

/* ─── Field ──────────────────────────────────────────────────── */
.pform-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'DM Sans', system-ui, sans-serif;
}
.pform-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.4;
}
.pform-label em {
    color: var(--blue);
    font-style: normal;
    margin-left: 2px;
}
.pform-field input[type="text"],
.pform-field input[type="number"],
.pform-field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: #fff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    color: var(--navy);
    transition: border-color 120ms ease, box-shadow 120ms ease;
    -webkit-appearance: none;
    appearance: none;
}
.pform-field select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.pform-field input:focus,
.pform-field select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(61, 130, 232, 0.18);
}
.pform-field input::placeholder { color: var(--gray-400); }
.pform-field input[type="number"] {
    -moz-appearance: textfield;
}
.pform-field input[type="number"]::-webkit-outer-spin-button,
.pform-field input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pform-help {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ─── Affix (€ / %) ───────────────────────────────────────────── */
.pform-input-affix {
    position: relative;
    display: flex;
    align-items: stretch;
}
.pform-input-affix .pform-affix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 0 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-right: 0;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
}
.pform-input-affix input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.pform-input-affix-end .pform-affix {
    border-right: 1px solid var(--gray-200);
    border-left: 0;
    border-radius: 0 10px 10px 0;
    order: 2;
}
.pform-input-affix-end input {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    order: 1;
}

/* ─── Field error ────────────────────────────────────────────── */
.pform-field.has-error input,
.pform-field.has-error select,
.pform-field.has-error .pform-affix {
    border-color: #DC2626;
}
.pform-field.has-error input:focus,
.pform-field.has-error select:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}
.pform-field-error {
    font-size: 12px;
    color: #DC2626;
    font-weight: 500;
}

/* ─── Actions ────────────────────────────────────────────────── */
.pform-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    padding-top: 28px;
    border-top: 1px solid var(--gray-100);
}
.pform-submit {
    appearance: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--blue);
    box-shadow: 0 8px 24px -8px rgba(61, 130, 232, 0.5);
    transition: background 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.pform-submit:hover {
    background: #2D6FCC;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -10px rgba(61, 130, 232, 0.6);
}
.pform-submit:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.pform-busy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-500);
}
.pform-page [hidden],
.pform-form [hidden] { display: none !important; }

.pform-errors {
    margin-top: 16px;
    padding: 14px 18px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

/* ─── State cards (invalid / submitted / success) ────────────── */
.pform-state {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 56px 48px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(11, 34, 64, 0.04), 0 8px 24px -16px rgba(11, 34, 64, 0.08);
}
.pform-state > i {
    font-size: 56px;
    margin-bottom: 20px;
    display: inline-block;
}
.pform-state h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 12px;
    line-height: 1.25;
}
.pform-state p {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-600);
    margin: 0 auto;
    max-width: 560px;
}
.pform-state-success > i,
.pform-state-submitted > i {
    color: var(--teal);
}
.pform-state-invalid > i {
    color: #DC2626;
}

.pform-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 18px;
    border-radius: 10px;
    color: var(--navy);
    background: var(--gray-50);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 120ms ease;
}
.pform-back:hover { background: var(--gray-100); }

/* ─── Recap list on already-submitted ─────────────────────────── */
.pform-recap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 32px;
    margin: 28px auto 0;
    max-width: 560px;
    text-align: left;
}
.pform-recap > div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}
.pform-recap dt {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 4px;
}
.pform-recap dd {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    color: var(--navy);
    margin: 0;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .pform-inner { padding: 0 20px; }
    .pform-form,
    .pform-state { padding: 28px 22px; }
    .pform-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .pform-section legend { font-size: 20px; }
    .pform-state { padding: 40px 24px; }
    .pform-state h2 { font-size: 22px; }
    .pform-recap { grid-template-columns: 1fr; }
}
