/*
Theme Name: Diana — Świadome decyzje finansowe
Theme URI: https://example.com/
Author: Custom by itk
Description: Jednostronicowy motyw WordPress z własnym tłem, portretem Diany i działającym formularzem kontaktowym.
Version: 2.0.0
Text Domain: diana-finanse
*/

*, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #1d2733;
    background: #f6f4ee;
    line-height: 1.6;
  }
  a { color: inherit; }
  img { max-width: 100%; display: block; }
  input:focus, textarea:focus, button:focus { outline: 2px solid rgba(45,90,135,.35); outline-offset: 2px; }

  /* ===== LAYOUT TŁA ===== */
  .page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('assets/images/background.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
  }
  .page__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,253,247,0.18) 0%, rgba(246,244,238,0.50) 55%, rgba(246,244,238,0.94) 100%);
    pointer-events: none;
  }
  .page__inner { position: relative; z-index: 1; }
  .container { max-width: 1280px; margin: 0 auto; }

  /* ===== TYPOGRAFIA ===== */
  h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; margin: 0; color: #0f1a26; }
  em { font-style: italic; color: #a88a4c; }
  .eyebrow {
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
    color: #a88a4c; margin-bottom: 20px;
  }

  /* ===== NAWIGACJA ===== */
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 28px 64px; max-width: 1280px; margin: 0 auto;
  }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand__mark {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #d4b878 0%, #a88a4c 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600;
  }
  .brand__name { font-family: 'Cormorant Garamond', serif; font-size: 22px; letter-spacing: 0.12em; color: #1d2733; }
  .nav__links { display: flex; gap: 36px; font-size: 14px; letter-spacing: 0.04em; color: #384352; }
  .nav__links a { text-decoration: none; transition: color .2s; }
  .nav__links a:hover { color: #a88a4c; }

  /* ===== HERO ===== */
  .hero {
    max-width: 1280px; margin: 0 auto; padding: 80px 64px 160px;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center;
  }
  .pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; background: rgba(255,255,255,0.55); backdrop-filter: blur(8px);
    border: 1px solid rgba(168,138,76,0.25); border-radius: 999px;
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: #7a5e2c; margin-bottom: 32px;
  }
  .pill__dot { width: 6px; height: 6px; border-radius: 50%; background: #a88a4c; }
  .hero h1 { font-size: 68px; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 28px; }
  .hero__lead { font-size: 18px; line-height: 1.6; color: #3a4655; max-width: 520px; margin: 0 0 40px; font-weight: 300; }
  .hero__actions { display: flex; gap: 16px; align-items: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 32px; background: #0f1a26; color: #fff; text-decoration: none;
    border-radius: 2px; font-size: 14px; letter-spacing: 0.08em; font-weight: 500;
    border: none; cursor: pointer; font-family: inherit; transition: background .2s;
  }
  .btn:hover { background: #1d2f44; }
  .btn--ghost {
    background: transparent; color: #1d2733; padding: 18px 8px;
    border-bottom: 1px solid #1d2733; border-radius: 0;
  }
  .btn--ghost:hover { background: transparent; color: #a88a4c; border-color: #a88a4c; }
  .hero__stats { display: flex; gap: 48px; margin-top: 72px; padding-top: 32px; border-top: 1px solid rgba(15,26,38,0.1); }
  .stat__num { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: #0f1a26; font-weight: 500; }
  .stat__label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #5a6675; margin-top: 4px; }

  .hero__media { position: relative; }
  .portrait {
    position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(15,26,38,0.18), 0 8px 24px rgba(15,26,38,0.08);
    background: linear-gradient(135deg, #e8e1d2 0%, #cdb88e 50%, #8a7142 100%);
  }
  .portrait__stripes { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 14px); }
  .portrait__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; color: #fff; }
  .portrait__name { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 500; line-height: 1.2; }
  .portrait__role { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; margin-top: 6px; }
  .portrait__hint { position: absolute; top: 24px; left: 24px; font-family: monospace; font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 0.08em; }
  .quote-card {
    position: absolute; bottom: -32px; left: -32px; background: #fff;
    padding: 20px 24px; border-radius: 2px; box-shadow: 0 12px 32px rgba(15,26,38,0.12); max-width: 260px;
  }
  .quote-card__text { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; line-height: 1.4; color: #1d2733; }
  .quote-card__src { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #7a5e2c; margin-top: 10px; }

  /* ===== SEKCJA 2 ===== */
  .section2 {
    background: rgba(255,253,247,0.85); backdrop-filter: blur(20px);
    border-top: 1px solid rgba(168,138,76,0.18); border-bottom: 1px solid rgba(168,138,76,0.18);
  }
  .section2__inner { max-width: 1280px; margin: 0 auto; padding: 120px 64px; }
  .section2__head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; margin-bottom: 80px; }
  .section2__head h2 { font-size: 48px; line-height: 1.1; }
  .section2__head p { font-size: 17px; line-height: 1.7; color: #3a4655; font-weight: 300; margin: 0; align-self: end; }

  .steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: rgba(15,26,38,0.08); }
  .step { background: #fff; padding: 40px 36px; }
  .step__num { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: #a88a4c; font-weight: 500; line-height: 1; }
  .step__title { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: #0f1a26; margin: 20px 0 12px; font-weight: 500; }
  .step p { font-size: 14px; line-height: 1.65; color: #5a6675; margin: 0; }

  .pillars {
    margin-top: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px;
    background: linear-gradient(135deg, #0f1a26 0%, #1d2f44 100%); color: #fff; border-radius: 2px;
  }
  .pillars__eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #d4b878; margin-bottom: 20px; }
  .pillars h3 { font-size: 34px; line-height: 1.2; margin-bottom: 16px; color: #fff; }
  .pillars__intro { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.7); font-weight: 300; margin: 0; }
  .pillars__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .pillar { padding: 20px 0; border-top: 1px solid rgba(212,184,120,0.3); }
  .pillar__name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; }
  .pillar__desc { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; }

  /* ===== SEKCJA 3 / KONTAKT ===== */
  .contact__inner { max-width: 1280px; margin: 0 auto; padding: 120px 64px; }
  .contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
  .contact h2 { font-size: 48px; line-height: 1.1; margin-bottom: 24px; }
  .contact__lead { font-size: 16px; line-height: 1.7; color: #3a4655; font-weight: 300; margin: 0 0 40px; max-width: 420px; }
  .contact__info { display: flex; flex-direction: column; gap: 20px; padding-top: 32px; border-top: 1px solid rgba(15,26,38,0.1); }
  .info__label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #7a5e2c; margin-bottom: 6px; }
  .info__value { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: #0f1a26; }
  .info__value--sm { font-family: 'Inter', sans-serif; font-size: 15px; color: #3a4655; }

  .form {
    background: #fff; padding: 48px; border-radius: 2px;
    box-shadow: 0 20px 60px rgba(15,26,38,0.08); border: 1px solid rgba(168,138,76,0.15);
  }
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
  .field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
  .field--inline { margin-bottom: 0; }
  .field__label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #5a6675; font-weight: 500; }
  .field input {
    border: none; border-bottom: 1px solid rgba(15,26,38,0.2); padding: 12px 0;
    font-size: 15px; font-family: inherit; background: transparent; color: #0f1a26;
  }
  .field textarea {
    border: 1px solid rgba(15,26,38,0.15); border-radius: 2px; padding: 14px;
    font-size: 15px; font-family: inherit; background: #faf8f3; color: #0f1a26; resize: vertical;
  }
  .chips__title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #5a6675; font-weight: 500; margin-bottom: 14px; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
  .chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
    border: 1px solid rgba(15,26,38,0.18); border-radius: 999px;
    font-size: 13px; cursor: pointer; color: #3a4655;
  }
  .chip input { margin: 0; }
  .consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 32px; font-size: 12px; color: #5a6675; line-height: 1.5; }
  .consent input { margin-top: 3px; }
  .form .btn { width: 100%; justify-content: center; padding: 18px; letter-spacing: 0.1em; }

  /* ===== FOOTER ===== */
  .footer { background: #0f1a26; color: rgba(255,255,255,0.6); padding: 40px 64px; }
  .footer__inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
  .footer__brand { display: flex; align-items: center; gap: 12px; }
  .footer__mark {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, #d4b878 0%, #a88a4c 100%);
    display: flex; align-items: center; justify-content: center; color: #fff;
    font-family: 'Cormorant Garamond', serif; font-size: 15px;
  }
  .footer__name { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.12em; color: #fff; }
  .footer__quote { font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 15px; }

  /* ===== RESPONSYWNOŚĆ ===== */
  @media (max-width: 980px) {
    .nav { padding: 24px; }
    .nav__links { gap: 20px; }
    .hero { grid-template-columns: 1fr; gap: 56px; padding: 56px 24px 120px; }
    .hero h1 { font-size: 44px; }
    .hero__stats { gap: 28px; flex-wrap: wrap; }
    .quote-card { position: static; margin-top: 16px; max-width: none; }
    .section2__inner, .contact__inner { padding: 80px 24px; }
    .section2__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
    .section2__head h2 { font-size: 36px; }
    .steps { grid-template-columns: 1fr; gap: 16px; background: transparent; }
    .step { border: 1px solid rgba(15,26,38,0.08); }
    .pillars { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
    .contact__grid { grid-template-columns: 1fr; gap: 48px; }
    .contact h2 { font-size: 36px; }
    .form { padding: 32px; }
    .form__row { grid-template-columns: 1fr; gap: 16px; }
    .footer__inner { flex-direction: column; gap: 16px; text-align: center; }
    .footer__quote { order: -1; }
  }
  @media (max-width: 560px) {
    .hero h1 { font-size: 36px; }
    .nav__links { display: none; }   /* na bardzo małych ekranach ukryj menu lub zastąp hamburgerem */
  }

/* ===== GRAFIKI I WORDPRESS ===== */
body.admin-bar .nav { padding-top: 52px; }

.portrait {
  isolation: isolate;
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(15,26,38,.72) 100%);
  pointer-events: none;
}
.portrait__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.portrait__caption {
  z-index: 2;
}
.form-column {
  min-width: 0;
}
.form-message {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.5;
}
.form-message--success {
  background: #edf7ef;
  border: 1px solid #b8d9bf;
  color: #245b31;
}
.form-message--error {
  background: #fff0ef;
  border: 1px solid #e3b6b1;
  color: #7d2922;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.info__value a {
  color: inherit;
  text-decoration: none;
}
.info__value a:hover {
  color: #a88a4c;
}
@media (max-width: 980px) {
  .page {
    background-attachment: scroll;
    background-position: center top;
  }
}
