/* ===========================================================================
   Alinzen — Soft UI / elegant wellness theme
   Palette: deep plum + warm gold on cream. Fonts: Lora (display) + Raleway.
   =========================================================================== */
:root {
    --plum-900: #2a2036;
    --plum-700: #3b2a55;
    --plum-500: #6d5a9c;
    --plum-300: #b3a6cf;
    --gold-600: #b8893f;
    --gold-500: #c9a24b;
    --gold-200: #ecd9a8;
    --cream:    #fbf8f3;
    --surface:  #ffffff;
    --ink:      #2a2438;
    --muted:    #6b6478;
    --line:     #ece6dc;
    --line-strong: #ddd3c4;
    --danger:   #c0492f;
    --ok:       #2f7d5b;

    --radius:    18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(43, 32, 54, .06), 0 2px 8px rgba(43, 32, 54, .05);
    --shadow-md: 0 6px 24px rgba(43, 32, 54, .10), 0 2px 6px rgba(43, 32, 54, .06);
    --shadow-lg: 0 18px 50px rgba(43, 32, 54, .16);
    --container: 1060px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--cream);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Lora", Georgia, serif; font-weight: 600; line-height: 1.2; color: var(--plum-900); }

a { color: var(--plum-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-600); }

img, svg { max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(251, 248, 243, .82);
    backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--plum-700); }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-mark { color: var(--gold-600); flex: none; }
.brand-name { font-family: "Lora", serif; font-weight: 600; font-size: 1.35rem; letter-spacing: .3px; color: var(--plum-900); }
.header-nav { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-link:hover { color: var(--plum-700); }
.lang-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
    color: var(--plum-700); font-weight: 600; font-size: .85rem; background: var(--surface);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}
.lang-toggle:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); color: var(--plum-700); }
.lang-dot {
    display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
    background: var(--plum-700); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .5px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: inherit; font-weight: 600; font-size: 1rem; cursor: pointer;
    border: 1px solid transparent; border-radius: 999px; padding: 13px 26px;
    transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, #1f9d55, #128c46); color: #fff; box-shadow: 0 8px 20px rgba(18, 140, 70, .28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(18, 140, 70, .36); color: #fff; }
.btn-primary:disabled { background: #b9c3bd; box-shadow: none; cursor: not-allowed; opacity: .8; }
.btn-ghost { background: var(--surface); color: var(--plum-700); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--gold-500); color: var(--plum-700); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 76px 0 56px; text-align: center; }
.hero--compact { padding-top: 36px; padding-bottom: 44px; }
.hero--compact .hero-subtitle { margin-top: 0; font-size: 1.2rem; color: var(--ink); max-width: 640px; }
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 2.5px; font-size: .76rem;
    font-weight: 700; color: var(--gold-600); margin-bottom: 18px;
}
.hero-title { font-size: clamp(2.1rem, 5vw, 3.3rem); margin: 0 0 18px; }
.hero-subtitle { font-size: 1.12rem; color: var(--muted); max-width: 600px; margin: 0 auto 28px; }
.hero-glow {
    position: absolute; inset: -30% 10% auto; height: 460px; z-index: 1;
    background: radial-gradient(45% 60% at 50% 40%, rgba(201, 162, 75, .18), transparent 70%),
                radial-gradient(50% 60% at 30% 50%, rgba(109, 90, 156, .16), transparent 70%);
    filter: blur(8px); pointer-events: none;
}

/* ---------- Cards / sections ---------- */
.request { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-bottom: 130px; }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-md); padding: 30px;
}
.section-title { font-size: 1.45rem; margin: 0 0 6px; }
.section-note { color: var(--muted); margin: 0 0 22px; font-size: .98rem; }

.alert {
    background: #fdecec; border: 1px solid #f2c6bf; color: var(--danger);
    padding: 14px 18px; border-radius: var(--radius-sm); margin: 18px 0 0; font-weight: 500;
}

/* ---------- Service checkboxes ---------- */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.service-item {
    display: flex; align-items: center; gap: 14px; cursor: pointer; min-width: 0;
    padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #fdfbf7; transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.service-item:hover { border-color: var(--plum-300); box-shadow: var(--shadow-sm); }
.service-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.service-check {
    flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line-strong);
    background: #fff; display: grid; place-items: center; transition: all .18s var(--ease);
}
.service-check::after {
    content: ""; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
    transform: rotate(-45deg) scale(0); transform-origin: center; transition: transform .18s var(--ease); margin-top: -2px;
}
.service-item input:checked ~ .service-check,
.consent input:checked ~ .service-check {
    background: var(--plum-700); border-color: var(--plum-700);
}
.service-item input:checked ~ .service-check::after,
.consent input:checked ~ .service-check::after { transform: rotate(-45deg) scale(1); }
.service-item input:focus-visible ~ .service-check,
.consent input:focus-visible ~ .service-check { outline: 3px solid var(--gold-200); outline-offset: 2px; }
.service-item:has(input:checked) { border-color: var(--plum-500); background: #f7f3fc; }
.service-name { flex: 1; min-width: 0; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.service-price { font-weight: 700; color: var(--plum-700); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.currency-note { margin: 16px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Form fields ---------- */
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field input { max-width: 100%; }
.field label { font-weight: 600; font-size: .92rem; color: var(--plum-900); }
.req { color: var(--gold-600); }
.field input {
    font-family: inherit; font-size: 1rem; color: var(--ink); background: #fdfbf7;
    border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px;
    min-height: 48px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:focus { outline: none; border-color: var(--plum-500); background: #fff; box-shadow: 0 0 0 3px rgba(109, 90, 156, .15); }
.field input[type="file"] { padding: 9px 12px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
    font-family: inherit; font-weight: 600; border: 1px solid var(--line-strong); background: #fff;
    color: var(--plum-700); border-radius: 8px; padding: 7px 12px; margin-right: 12px; cursor: pointer;
}
.help { font-size: .8rem; color: var(--muted); line-height: 1.45; }

.consent {
    display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; cursor: pointer;
    background: #fdfbf7; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px;
    font-size: .95rem; position: relative;
}
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent .service-check { margin-top: 1px; }

/* ---------- Sticky summary bar ---------- */
.summary-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    background: rgba(255, 255, 255, .9); backdrop-filter: saturate(150%) blur(14px);
    border-top: 1px solid var(--line-strong); box-shadow: 0 -8px 30px rgba(43, 32, 54, .10);
}
.summary-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.summary-info { display: flex; flex-direction: column; min-width: 0; }
.summary-count { font-size: .82rem; color: var(--muted); font-weight: 600; }
.summary-total { font-size: 1.5rem; font-weight: 700; color: var(--plum-900); font-family: "Raleway", sans-serif; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.summary-bar .btn-primary { flex: none; white-space: nowrap; }

/* ---------- Generic page (services / legal) ---------- */
.page-head { padding: 50px 0 10px; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 10px; }
.page-lead { color: var(--muted); max-width: 640px; margin: 0 0 20px; }

.service-detail-list { display: grid; gap: 18px; padding-block: 26px 90px; }
.service-detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.service-detail-head h2 { font-size: 1.3rem; margin: 0; flex: 1; min-width: 200px; }
.service-index {
    flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
    background: var(--plum-700); color: #fff; font-family: "Lora", serif; font-weight: 600;
    font-variant-numeric: lining-nums;
}
.tag { background: var(--gold-200); color: var(--plum-900); padding: 5px 12px; border-radius: 999px; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.service-detail p { color: #4a4458; margin: 0; }

/* ---------- 404 ---------- */
/* Fill the viewport so the footer is pushed to the bottom. */
body.page-404 { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body.page-404 main { flex: 1 0 auto; display: flex; }
.notfound { position: relative; overflow: hidden; text-align: center; padding: 60px 0; flex: 1; display: flex; align-items: center; justify-content: center; }
.notfound-inner { position: relative; z-index: 2; max-width: 560px; }
.notfound-code {
    display: block; font-family: "Lora", serif; font-weight: 700; line-height: 1;
    font-size: clamp(4.5rem, 18vw, 8rem); color: var(--gold-500);
    font-variant-numeric: lining-nums; letter-spacing: 2px;
}
.notfound-title { font-size: clamp(1.6rem, 5vw, 2.3rem); margin: 8px 0 14px; }
.notfound-text { color: var(--muted); font-size: 1.08rem; margin: 0 auto 28px; max-width: 460px; }
.notfound-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.legal { padding-block: 20px 80px; max-width: 760px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p { color: #4a4458; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-900); color: #d9d2e2; margin-top: 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 36px; padding-block: 46px; }
.site-footer .brand-name { color: #fff; }
.footer-disclaimer { font-size: .82rem; color: #b6adc6; margin: 10px 0 0; line-height: 1.55; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #e7e1f0; font-weight: 500; }
.footer-links a:hover { color: var(--gold-500); }
.footer-contact p { font-size: .88rem; color: #b6adc6; margin: 0 0 8px; }
.footer-contact a { color: #e7e1f0; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 18px; font-size: .82rem; color: #9b92b0; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .field-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-inner { grid-template-columns: 1fr; gap: 26px; }
    .card { padding: 22px; }
    .hero { padding: 54px 0 40px; }
    .summary-total { font-size: 1.25rem; }
    .btn-primary { padding: 12px 18px; font-size: .95rem; }
    .header-nav .nav-link { display: none; }
}

/* Narrow phones (e.g. Galaxy Z Fold cover screen ~344px) */
@media (max-width: 400px) {
    .container { padding-inline: 14px; }
    .brand-logo { height: 34px; }
    .summary-inner { gap: 10px; padding-block: 12px; }
    .summary-total { font-size: 1.15rem; }
    .summary-count { font-size: .72rem; }
    .summary-bar .btn-primary { padding: 11px 16px; font-size: .9rem; gap: 7px; }
    .summary-bar .btn-primary svg { width: 18px; height: 18px; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.2rem); }
    .card { padding: 18px; }
    .service-item { padding: 14px; gap: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
