/* ===============================================
   Vítězslav Jirucha — Finanční poradce
   Světlá, elegantní paleta · důvěra a klid
   =============================================== */

:root {
  --cream:      #f8f5ef;   /* warm near-white base */
  --sand:       #efe9dd;   /* section tint */
  --sand-deep:  #e6ddcb;
  --paper:      #ffffff;
  --ink:        #1f2733;   /* deep navy-charcoal text */
  --ink-soft:   #55606f;   /* muted body text */
  --line:       #e2dccf;   /* hairline borders */
  --navy:       #294a75;   /* primary accent (trust/blue) */
  --navy-deep:  #1d3a5f;
  --navy-tint:  #eef2f7;
  --gold:       #b18a4e;   /* premium warm accent */
  --shadow:     0 18px 50px -24px rgba(31, 39, 51, 0.35);
  --shadow-sm:  0 8px 24px -14px rgba(31, 39, 51, 0.3);
  --radius:     18px;
  --radius-sm:  12px;
  --maxw:       1160px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: 'Lora', Georgia, serif; font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
em { font-style: italic; color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 239, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -20px rgba(0,0,0,0.4); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.brand-name { font-family: 'Lora', serif; font-size: 1.24rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-role { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 0.94rem; font-weight: 500; color: var(--ink-soft); position: relative; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--navy); transition: width 0.28s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.btn-header { padding: 11px 22px; font-size: 0.88rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(41,74,117,0.10), transparent 60%),
    radial-gradient(760px 520px at 8% 30%, rgba(177,138,78,0.10), transparent 55%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.eyebrow { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 22px; }
.eyebrow-dot { margin: 0 0.5em; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); margin-bottom: 24px; }
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 40ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-trust { list-style: none; display: flex; gap: 34px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: 'Lora', serif; font-size: 1.5rem; font-weight: 600; color: var(--navy); }
.hero-trust span { font-size: 0.86rem; color: var(--ink-soft); }

.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; border-radius: 220px 220px var(--radius) var(--radius);
  object-fit: cover; aspect-ratio: 3/4; box-shadow: var(--shadow);
}
.hero-photo-badge {
  position: absolute; left: -26px; bottom: 42px;
  background: var(--paper); padding: 18px 22px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); max-width: 235px; border: 1px solid var(--line);
}
.badge-quote { font-family: 'Lora', serif; font-size: 1.02rem; font-style: italic; color: var(--ink); line-height: 1.4; }

/* ---------- Section shared ---------- */
.section-eyebrow { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.section-eyebrow.light { color: #d9be92; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.section-title.light { color: #fff; }
.section-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 52ch; margin-bottom: 8px; }

/* ---------- Values ---------- */
.values { padding: 100px 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.value-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.value-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy-tint); color: var(--navy); margin-bottom: 22px;
}
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.value-card p { color: var(--ink-soft); font-size: 0.99rem; }

/* ---------- About ---------- */
.about { padding: 40px 0 100px; }
.about-inner { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: center; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 7/5; object-fit: cover; width: 100%; }
.about-highlight { font-family: 'Lora', serif; font-size: 1.5rem; font-style: italic; color: var(--navy); margin: 4px 0 20px; line-height: 1.3; }
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.about-copy .btn { margin-top: 12px; }

/* ---------- Services ---------- */
.services { padding: 100px 0; background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services .section-sub { margin-bottom: 50px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 34px; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--navy), var(--gold)); transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleY(1); }
.service-num { font-family: 'Lora', serif; font-size: 1rem; color: var(--gold); font-weight: 600; letter-spacing: 0.1em; }
.service-card h3 { font-size: 1.4rem; margin: 10px 0 12px; }
.service-card p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Proof / credibility band ---------- */
.proof { padding: 96px 0; background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.proof::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 85% 10%, rgba(177,138,78,0.22), transparent 60%);
}
.proof-inner { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.proof-photo img { border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6); aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.proof-copy p { color: rgba(255,255,255,0.78); margin-bottom: 26px; max-width: 46ch; }

/* ---------- Contact ---------- */
.contact { padding: 100px 0; }
.contact-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.contact-lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 48ch; margin-bottom: 34px; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 34px; }
.contact-item {
  display: flex; flex-direction: column; gap: 3px; padding: 16px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.25s, transform 0.25s var(--ease); min-width: 0;
}
a.contact-item:hover { border-color: var(--navy); transform: translateY(-3px); }
.contact-item-label { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.contact-item-value { font-size: 1.06rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.contact-item-email { font-size: 0.98rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; object-position: center 20%; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand-deep); border-top: 1px solid var(--line); padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.footer-brand { display: flex; flex-direction: column; margin-right: auto; }
.footer-contact { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-contact a { font-weight: 500; color: var(--ink); transition: color 0.2s; }
.footer-contact a:hover { color: var(--navy); }
.footer-copy { width: 100%; font-size: 0.84rem; color: var(--ink-soft); padding-top: 20px; margin-top: 4px; border-top: 1px solid var(--line); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .proof-inner, .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 48px 0 72px; }
  .hero-photo { max-width: 440px; margin: 0 auto; }
  .about-inner .about-photo { order: 2; }
  .value-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .proof-photo { max-width: 520px; }
  .contact-photo { max-width: 420px; margin: 0 auto; }
  .contact-details { grid-template-columns: 1fr; }

  .nav, .btn-header { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .nav {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid var(--line); padding: 8px 24px 20px; box-shadow: var(--shadow-sm);
  }
  .site-header.menu-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .eyebrow { font-size: 0.76rem; line-height: 1.7; margin-bottom: 18px; }
  .eyebrow-dot { display: none; }
  .eyebrow-part { display: block; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero-trust { gap: 22px; }
  .hero-photo-badge { left: 0; right: auto; bottom: -18px; max-width: 210px; }
  .btn { width: 100%; }
  .hero-actions .btn, .contact-actions .btn { flex: 1 1 auto; }
  .footer-contact { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
