/* Βασίλειος Ν. Παπαδόπουλος — static law office website */
:root {
  --burgundy: #2b0d13;
  --burgundy-deep: #1b080c;
  --burgundy-soft: #431923;
  --gold: #c5a15b;
  --gold-light: #dfc58e;
  --ivory: #f4efe6;
  --ink: #211a18;
  --muted: #6d625a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 120; padding: 10px 14px; background: white; color: black; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(27,8,12,.97); border-bottom: 1px solid rgba(197,161,91,.25); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; min-width: 0; }
.brand-logo { display: block; width: 68px; height: 68px; padding-right: 12px; border-right: 1px solid rgba(223,197,142,.75); }
.brand-copy { display: grid; gap: 3px; }
.brand-name { color: #f8f2e8; font-family: var(--serif); font-size: clamp(14px, 1.8vw, 21px); letter-spacing: .045em; white-space: nowrap; }
.brand-role { color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: .36em; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.primary-nav a { position: relative; color: #f3eae0; text-decoration: none; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a.active { color: var(--gold-light); }
.primary-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 1px; background: var(--gold); }
.menu-toggle { display: none; border: 1px solid rgba(223,197,142,.45); background: transparent; padding: 9px; border-radius: 3px; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px; background: var(--gold-light); }
.hero { position: relative; min-height: 510px; display: flex; align-items: center; overflow: hidden; color: #fff8ef; background: #210a0e url("assets/hero-law.webp") center 48% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,5,10,.98) 0%, rgba(39,9,15,.91) 40%, rgba(31,9,12,.48) 72%, rgba(22,7,9,.25) 100%); }
.hero::after { content: "§"; position: absolute; right: 12%; top: 50%; transform: translateY(-50%); color: rgba(223,197,142,.24); font-family: var(--serif); font-size: clamp(260px, 36vw, 470px); line-height: 1; pointer-events: none; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 48%, transparent 0, rgba(20,5,8,.2) 60%, rgba(20,5,8,.5) 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 88px 96px; }
.eyebrow, .section-kicker { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .32em; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.eyebrow span { width: 34px; height: 1px; background: var(--gold); }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 6.3vw, 78px); font-weight: 500; line-height: .95; letter-spacing: -.025em; }
.hero h1 em { font-weight: 400; }
.hero-subtitle { margin: 13px 0 0; font-family: var(--serif); font-size: 27px; }
.gold-rule { width: 46px; height: 2px; margin: 22px 0; background: var(--gold); }
.hero-lead { margin: 0 0 25px; color: #e7dcd0; font-family: var(--serif); font-size: 20px; font-style: italic; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 22px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font: 700 12px var(--sans); cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #21140c; background: linear-gradient(135deg, #d7bd81, #b88d42); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.button-gold:hover { background: #e4ce9d; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-caption { position: absolute; right: max(24px, calc((100% - 1120px)/2)); bottom: 24px; z-index: 2; color: var(--gold-light); font-size: 9px; letter-spacing: .35em; }
.section-light { background: var(--ivory); }
.profile-section { padding: 76px 0; }
.profile-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 58px; align-items: center; }
.profile-copy .section-kicker { margin: 0 0 7px; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 48px); line-height: 1.05; font-weight: 600; }
.profile-copy .gold-rule { margin: 17px 0 22px; }
.profile-copy p:not(.section-kicker) { margin: 0 0 13px; color: #443b35; font-size: 13px; line-height: 1.85; }
.profile-visual { min-height: 420px; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(42,14,17,.15), rgba(42,14,17,.08)), url("assets/library-profile.webp") center / cover no-repeat; box-shadow: 18px 18px 0 rgba(197,161,91,.16); }
.profile-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,8,11,.58), transparent 55%); }
.visual-frame { position: absolute; z-index: 1; inset: 18px; border: 1px solid rgba(232,208,157,.65); }
.visual-label { position: absolute; left: 20px; bottom: 18px; color: #fff5e6; font-size: 9px; letter-spacing: .25em; }
.practice-section { padding: 66px 0 58px; color: #f7efe5; background: radial-gradient(ellipse at 50% 0%, #4a1b24, var(--burgundy) 70%); }
.section-heading { text-align: center; margin-bottom: 36px; }
.section-heading .section-kicker { margin: 0 0 5px; }
.section-heading h2 { font-size: clamp(36px, 4vw, 44px); }
.section-heading-dark h2 { color: #fff5e9; }
.heading-ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 13px; }
.heading-ornament span { width: 48px; height: 1px; background: var(--gold); }
.heading-ornament i { width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.practice-card { text-align: center; padding: 10px 34px 18px; position: relative; display: flex; flex-direction: column; }
.practice-card + .practice-card { border-left: 1px solid rgba(223,197,142,.45); }
.practice-icon { width: 60px; height: 60px; margin: 0 auto 13px; color: var(--gold); }
.practice-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.practice-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 25px; font-weight: 600; color: #fff5e9; }
.practice-card p { max-width: 270px; margin: 0 auto; color: #d7c7b9; font-size: 12px; line-height: 1.7; }
.practice-list { list-style: none; margin: 14px auto 0; padding: 12px 0 0; border-top: 1px solid rgba(223,197,142,.22); max-width: 260px; text-align: left; display: grid; gap: 6px; color: #eadfd4; font-size: 11.5px; line-height: 1.5; }
.practice-list li { position: relative; padding-left: 14px; }
.practice-list li::before { content: "·"; position: absolute; left: 2px; color: var(--gold-light); font-weight: 700; }
.card-line { display: block; width: 30px; height: 2px; margin: 18px auto 0; background: var(--gold); }
.practice-note { margin: 29px 0 0; color: #d8c6b6; text-align: center; font-family: var(--serif); font-size: 18px; font-style: italic; }
.approach-section { padding: 65px 0 70px; }
.approach-section .section-heading { margin-bottom: 38px; }
.centered { margin: 16px auto 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-item { padding: 0 20px; text-align: center; }
.value-item + .value-item { border-left: 1px solid rgba(147,117,69,.35); }
.value-item svg { width: 45px; height: 45px; margin-bottom: 8px; fill: none; stroke: #a9823f; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value-item h3 { margin: 0; font-size: 13px; line-height: 1.55; font-weight: 700; }
.contact-section { padding: 68px 0; color: #f8f0e7; background: linear-gradient(120deg, #260a10, #3a141d 70%, #260a10); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.contact-copy .section-kicker { margin: 0 0 7px; }
.contact-copy h2 { color: #fff4e8; }
.contact-copy .gold-rule { margin: 17px 0 20px; }
.contact-name { margin: 0; font-family: var(--serif); font-size: 23px; }
.contact-role { margin: 0 0 20px; color: var(--gold-light); font-size: 11px; letter-spacing: .1em; }
.contact-row { display: flex; align-items: center; gap: 13px; width: fit-content; margin: 13px 0; color: #f0e5d9; text-decoration: none; font-size: 13px; transition: color .2s; }
.contact-row:hover { color: var(--gold-light); }
.contact-icon { width: 23px; height: 23px; color: var(--gold); }
.contact-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button-outline { margin-top: 13px; border-color: var(--gold); color: var(--gold-light); }
.button-outline:hover { color: var(--burgundy); background: var(--gold-light); }

/* GDPR Two-Click Map */
.map-wrap { position: relative; min-height: 340px; padding: 10px; border: 1px solid rgba(223,197,142,.45); background: rgba(255,255,255,.06); display: grid; }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; filter: saturate(.72) contrast(.96); }
.map-consent { min-height: 320px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 30%, rgba(74,27,36,.7), rgba(24,7,11,.94)); }
.map-consent-kicker { margin: 0 0 6px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .28em; }
.map-consent h3 { margin: 0; font-family: var(--serif); font-size: 28px; color: #fff4e8; }
.map-consent p { max-width: 390px; margin: 10px 0 18px; color: #d9cabe; font-size: 12px; line-height: 1.65; }
.map-consent-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.map-link-inline { padding: 10px 14px; border: 1px solid rgba(223,197,142,.5); border-radius: 3px; color: var(--gold-light); text-decoration: none; font-size: 11px; font-weight: 600; transition: background .2s, color .2s; }
.map-link-inline:hover { background: rgba(223,197,142,.12); }
.map-link { position: absolute; right: 20px; bottom: 20px; padding: 8px 12px; color: #2a1710; background: var(--gold-light); border-radius: 2px; text-decoration: none; font-size: 10px; font-weight: 700; }

/* Contact Form */
.contact-form-panel { margin-top: 46px; padding: 28px 30px; border: 1px solid rgba(223,197,142,.35); background: rgba(20,6,9,.52); }
.contact-form-header .section-kicker { margin: 0 0 4px; }
.contact-form-header h3 { margin: 0 0 18px; font-family: var(--serif); font-size: 28px; font-weight: 600; color: #fff4e8; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 6px; font-size: 11px; font-weight: 600; color: #e9dccf; }
.field-full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid rgba(223,197,142,.4); border-radius: 2px; background: rgba(255,255,255,.06); color: #fff8ef; font: 400 13px var(--sans); transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { border-color: var(--gold-light); background: rgba(255,255,255,.1); outline: none; }
.field textarea { resize: vertical; min-height: 90px; }
.contact-form-footer { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; max-width: 620px; font-size: 11.5px; color: #d8c9bc; line-height: 1.5; cursor: pointer; }
.consent-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--gold); flex: 0 0 auto; cursor: pointer; }
.inline-link { border: 0; padding: 0; background: none; color: var(--gold-light); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.cookie-modal .inline-link { color: #6b2733; }
.inline-link-light { color: var(--gold-light); }
.form-status { min-height: 18px; margin: 12px 0 0; font-size: 12px; color: var(--gold-light); }
.form-status.is-error { color: #f6b3b3; }

/* Footer */
.site-footer { padding: 26px 0 88px; background: #19070b; border-top: 1px solid rgba(197,161,91,.28); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-brand .brand-logo { width: 54px; height: 54px; }
.footer-brand .brand-name { font-size: 15px; }
.footer-brand .brand-role { font-size: 8px; }
.footer-inner p { margin: 0; color: #cbbdb0; font-size: 10.5px; text-align: right; display: grid; gap: 4px; }
.footer-links { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.footer-link-button { border: 0; padding: 0; background: none; color: var(--gold-light); font: inherit; cursor: pointer; text-decoration: none; }
.footer-link-button:hover { text-decoration: underline; }
.site-credit { color: #cbbdb0; }
.site-credit a { color: var(--gold-light); text-decoration: none; }
.site-credit a:hover { text-decoration: underline; }

/* Fixed Floating Controls */
.floating-button { position: fixed; z-index: 90; bottom: 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 10px 15px; border: 1px solid rgba(223,197,142,.65); border-radius: 3px; color: #f7ecdc; background: rgba(35,10,15,.94); box-shadow: 0 5px 20px rgba(0,0,0,.22); font: 600 11px var(--sans); cursor: pointer; transition: background .2s, transform .2s, opacity .2s; }
.floating-button:hover { background: #4a1b24; transform: translateY(-2px); }
.floating-button svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--gold-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cookie-settings-button { left: 20px; min-width: 112px; }
.back-to-top { right: 20px; width: 48px; height: 48px; padding: 0; border-radius: 50%; }
.back-to-top[hidden] { display: none; }

/* Cookie Banner & Modals */
.cookie-banner { position: fixed; z-index: 100; left: 20px; bottom: 78px; width: min(620px, calc(100vw - 40px)); padding: 20px; color: #f8f0e7; background: #210a0f; border: 1px solid rgba(223,197,142,.55); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.cookie-banner[hidden], .cookie-modal-backdrop[hidden] { display: none; }
.cookie-banner h2 { font-size: 26px; }
.cookie-banner p, .cookie-modal-intro { margin: 8px 0 15px; color: #d8c9bc; font-size: 12px; line-height: 1.65; }
.cookie-banner-actions, .cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-action { min-height: 38px; padding: 9px 13px; border: 1px solid var(--gold); border-radius: 2px; font: 700 10px var(--sans); cursor: pointer; }
.cookie-action.primary { color: #21140c; background: var(--gold-light); }
.cookie-action.secondary { color: var(--gold-light); background: transparent; }
.cookie-modal .cookie-action.secondary { color: #4b3b34; border-color: #937545; }
.cookie-action:hover { filter: brightness(1.08); }
.cookie-modal-backdrop { position: fixed; z-index: 110; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(10,4,6,.72); }
.cookie-modal { position: relative; width: min(560px, 100%); max-height: min(86vh, 680px); overflow-y: auto; padding: 30px; color: var(--ink); background: var(--ivory); border-top: 3px solid var(--gold); box-shadow: 0 18px 60px rgba(0,0,0,.35); }
.cookie-modal h2 { font-size: 34px; }
.cookie-modal .section-kicker { margin: 0 0 5px; }
.cookie-modal-intro { color: #5f554d; }
.cookie-modal-close { position: absolute; top: 10px; right: 14px; border: 0; background: none; color: #4b3b34; font-size: 28px; cursor: pointer; line-height: 1; padding: 4px 8px; }
.cookie-choice { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 0; border-top: 1px solid rgba(147,117,69,.28); }
.cookie-choice strong, .cookie-choice small { display: block; }
.cookie-choice strong { font-size: 12px; }
.cookie-choice small { max-width: 330px; margin-top: 3px; color: #71665e; font-size: 10px; line-height: 1.5; }
.cookie-choice input { width: 19px; height: 19px; accent-color: #6b2733; cursor: pointer; }
.always-on { color: #6b2733; font-size: 10px; font-weight: 700; white-space: nowrap; }
.cookie-modal-actions { justify-content: flex-end; margin-top: 15px; }
.privacy-content { margin: 14px 0 8px; border-top: 1px solid rgba(147,117,69,.28); padding-top: 12px; display: grid; gap: 10px; }
.privacy-content h3 { margin: 4px 0 0; font-size: 13px; color: #3a141d; }
.privacy-content p { margin: 0; font-size: 12px; color: #443b35; line-height: 1.65; }
body.cookie-modal-open { overflow: hidden; }

@media (max-width: 800px) {
  .header-inner { min-height: 72px; }
  .brand-logo { width: 60px; height: 60px; }
  .brand-name { font-size: 14px; }
  .menu-toggle { display: block; cursor: pointer; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 24px 22px; flex-direction: column; align-items: flex-start; gap: 18px; background: #1b080c; border-top: 1px solid rgba(197,161,91,.25); }
  .primary-nav.open { display: flex; }
  .primary-nav a.active::after { bottom: -5px; }
  .hero { min-height: 470px; background-position: 58% center; }
  .hero::before { background: linear-gradient(90deg, rgba(27,5,10,.98), rgba(39,9,15,.82) 62%, rgba(31,9,12,.45)); }
  .hero::after { right: 3%; opacity: .7; }
  .profile-grid { grid-template-columns: 1fr; gap: 30px; }
  .profile-visual { min-height: 320px; }
  .contact-grid { gap: 35px; }
}

@media (max-width: 600px) {
  .desktop-only { display: none; }
  .container { width: min(100% - 36px, 480px); }
  .brand { gap: 11px; }
  .brand-logo { width: 53px; height: 53px; padding-right: 9px; }
  .brand-name { font-size: 11px; letter-spacing: .015em; }
  .brand-role { font-size: 8px; letter-spacing: .25em; }
  .hero { min-height: 470px; }
  .hero-content { padding-block: 76px 82px; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .hero-subtitle { font-size: 23px; }
  .hero-lead { font-size: 18px; }
  .hero-caption { font-size: 8px; }
  .profile-section, .approach-section { padding: 54px 0; }
  .profile-copy p:not(.section-kicker) { font-size: 12px; }
  .profile-visual { min-height: 260px; box-shadow: 9px 9px 0 rgba(197,161,91,.16); }
  .practice-section { padding: 52px 0; }
  .practice-grid { grid-template-columns: 1fr; gap: 22px; }
  .practice-card { padding: 12px 10px 20px; }
  .practice-card + .practice-card { border-left: 0; border-top: 1px solid rgba(223,197,142,.35); padding-top: 25px; }
  .practice-card h3 { font-size: 24px; }
  .practice-note { font-size: 16px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .value-item { padding: 0 10px; }
  .value-item:nth-child(3) { border-left: 0; }
  .contact-section { padding: 54px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .map-wrap, .map-consent { min-height: 280px; }
  .map-wrap iframe { height: 260px; }
  .contact-form-panel { padding: 22px 18px; margin-top: 32px; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner p { text-align: left; }
  .footer-links { justify-content: flex-start; }
  .cookie-settings-button { left: 12px; bottom: 14px; }
  .back-to-top { right: 12px; bottom: 14px; }
  .cookie-banner { left: 12px; bottom: 70px; width: calc(100vw - 24px); padding: 16px; }
  .cookie-banner-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-action { width: 100%; }
  .cookie-modal { padding: 25px 20px; }
  .cookie-modal-actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
