/*
Theme Name: Astra Child — Smart Expand
Template: astra
Version: 1.0.0
Description: Child theme for Smart Expand landing pages
*/


/* ══════════════════════════════════════════════
   SMART EXPAND — Design System
   Motyw potomny Astra
   ══════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --se-gold:        #BF9A3C;
  --se-gold-light:  #d4aa55;
  --se-gold-pale:   #f5efd4;
  --se-gold-bg:     #fdf9ef;
  --se-gold-border: rgba(191,154,60,0.25);
  --se-navy:        #1E2D3D;
  --se-navy-mid:    #2E4155;
  --se-text:        #2c3e50;
  --se-muted:       #556070;
  --se-faint:       #94a3b8;
  --se-border:      #e5e0d6;
  --se-surface:     #f8f6f0;
  --se-display:     'Cormorant Garamond', Georgia, serif;
  --se-body:        'DM Sans', 'Helvetica Neue', sans-serif;
  --se-r-md:        0.625rem;
  --se-r-lg:        1rem;
  --se-r-xl:        1.5rem;
  --se-r-2xl:       2rem;
  --se-r-full:      9999px;
  --se-shadow-sm:   0 1px 3px rgba(30,45,61,0.06);
  --se-shadow-md:   0 4px 16px rgba(30,45,61,0.09);
  --se-shadow-lg:   0 12px 40px rgba(30,45,61,0.13);
  --se-shadow-gold: 0 4px 24px rgba(191,154,60,0.2);
}

/* ── Global reset dla landing pages ── */
.se-page * { box-sizing: border-box; }
.se-page { font-family: var(--se-body); color: var(--se-text); }
.se-page img { max-width: 100%; display: block; }
.se-page a { color: inherit; }

/* ── Ukryj domyślne elementy Astry ── */
.ast-page-builder-template .site-content { padding: 0 !important; }
.entry-content { padding: 0 !important; }
.ast-plain-container.ast-no-sidebar #primary { margin: 0 !important; padding: 0 !important; }
.ast-plain-container.ast-no-sidebar #primary { margin-top: 0 !important; margin-bottom: 0 !important; }
@media (min-width: 1200px) {
  .ast-plain-container.ast-no-sidebar #primary { margin-top: 0 !important; margin-bottom: 0 !important; }
}
.entry-title, .ast-post-title-wrap { display: none !important; }
.post-navigation, .ast-comment-area { display: none !important; }

/* ── HEADER Smart Expand ── */
.se-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--se-border);
  height: 72px;
  width: 100%;
}
.se-header__inner {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}
.se-header__logo-img { height: 36px; width: auto; object-fit: contain; }
.se-header__nav { display: flex; align-items: center; gap: 2rem; }
.se-header__nav-links { display: flex; gap: 1.75rem; }
.se-header__nav-links a {
  font-size: .875rem; font-weight: 500;
  color: var(--se-muted); text-decoration: none;
  transition: color .15s;
}
.se-header__nav-links a:hover { color: var(--se-navy); }

/* Dropdown */
.se-products { position: relative; }
.se-products__btn {
  display: flex; align-items: center; gap: .4rem;
  background: var(--se-surface);
  border: 1px solid var(--se-border);
  border-radius: var(--se-r-full);
  padding: .45rem 1.1rem;
  font-size: .875rem; font-weight: 500;
  color: var(--se-muted); cursor: pointer;
  transition: all .15s; font-family: var(--se-body);
}
.se-products__btn:hover { border-color: var(--se-gold); color: var(--se-navy); }
.se-products__dropdown {
  position: absolute; top: calc(100% + .75rem); right: 0;
  background: #fff; border: 1px solid var(--se-border);
  border-radius: var(--se-r-xl); box-shadow: var(--se-shadow-lg);
  min-width: 260px; padding: .5rem;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: all .2s ease; z-index: 200;
}
.se-products.open .se-products__dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.se-products__item {
  display: flex; flex-direction: column;
  padding: .7rem 1rem;
  border-radius: var(--se-r-lg);
  transition: background .15s;
  text-decoration: none;
}
.se-products__item:hover { background: var(--se-surface); }
.se-products__item.current { background: var(--se-gold-pale); }
.se-products__item strong { font-size: .875rem; color: var(--se-navy); display: block; }
.se-products__item span { font-size: .75rem; color: var(--se-faint); }

/* Header CTA button */
.se-header__cta {
  display: inline-flex; align-items: center;
  padding: .6rem 1.4rem;
  background: var(--se-gold); color: #fff;
  border-radius: var(--se-r-full);
  font-size: .875rem; font-weight: 600;
  text-decoration: none; transition: all .2s;
  white-space: nowrap;
}
.se-header__cta:hover { background: var(--se-gold-light); transform: translateY(-1px); box-shadow: var(--se-shadow-gold); color: #fff; }

/* Burger */
.se-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.se-burger span { display: block; width: 22px; height: 2px; background: var(--se-navy); border-radius: 2px; }

/* Mobile nav */
.se-mobile-nav {
  display: none; position: fixed;
  inset: 72px 0 0 0;
  background: #fff; z-index: 99;
  padding: 2rem 1.5rem; overflow-y: auto;
  border-top: 1px solid var(--se-border);
}
.se-mobile-nav.open { display: block; }
.se-mobile-nav__section { margin-bottom: 2rem; }
.se-mobile-nav__section p { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--se-faint); margin-bottom: .75rem; }
.se-mobile-nav__section a { display: block; padding: .6rem 0; font-weight: 500; color: var(--se-navy); border-bottom: 1px solid var(--se-border); font-size: .95rem; text-decoration: none; }

@media (max-width: 760px) {
  .se-header__nav { display: none; }
  .se-burger { display: flex; }
}

/* ── FOOTER Smart Expand ── */
.se-footer {
  background: var(--se-navy);
  padding-block: 3.5rem 2rem;
}
.se-footer__inner {
  max-width: 1140px; margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.se-footer__logo { height: 32px; filter: brightness(0) invert(1); opacity: .85; margin-bottom: 1rem; }
.se-footer__tagline { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; margin: 0; }
.se-footer__brand { font-size: .8rem; color: rgba(255,255,255,.35); margin-top: .75rem; line-height: 1.6; }
.se-footer__col-title { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 1rem; }
.se-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.se-footer__col ul li a { font-size: .85rem; color: rgba(255,255,255,.55); text-decoration: none; transition: color .15s; }
.se-footer__col ul li a:hover { color: var(--se-gold); }
.se-footer__bottom {
  max-width: 1140px; margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.se-footer__copy { font-size: .75rem; color: rgba(255,255,255,.25); }
.se-footer__pplx { font-size: .75rem; color: rgba(255,255,255,.25); text-decoration: none; transition: color .15s; }
.se-footer__pplx:hover { color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .se-footer__inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ── WRAP ── */
.se-wrap { max-width: 1140px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.se-section { padding-block: clamp(4rem, 8vw, 7rem); }
.se-section--alt { background: var(--se-surface); }
.se-section--warm { background: var(--se-gold-bg); }
.se-section--dark { background: var(--se-navy); }

/* ── TYPOGRAPHY ── */
.se-eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--se-gold); margin-bottom: 1rem;
}
.se-display { font-family: var(--se-display); font-weight: 600; line-height: 1.12; color: var(--se-navy); }
.se-display--xl { font-size: clamp(2.8rem, 4vw + 1rem, 5rem); }
.se-display--lg { font-size: clamp(2rem, 2.5vw + .5rem, 3.2rem); }
.se-display--md { font-size: clamp(1.3rem, 1.5vw + .3rem, 1.8rem); }
.se-display--sm { font-size: clamp(1.1rem, 1vw + .2rem, 1.35rem); }
.se-lead { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: var(--se-muted); line-height: 1.75; }
.se-body-text { font-size: clamp(.9rem, .85rem + .2vw, 1rem); color: var(--se-muted); line-height: 1.7; }
.se-gold-em { font-style: italic; color: var(--se-gold); }

/* ── BUTTONS ── */
.se-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 2rem; border-radius: var(--se-r-full);
  font-family: var(--se-body); font-size: .95rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: all .2s ease; text-decoration: none;
}
.se-btn--gold { background: var(--se-gold); color: #fff; }
.se-btn--gold:hover { background: var(--se-gold-light); transform: translateY(-1px); box-shadow: var(--se-shadow-gold); color: #fff; }
.se-btn--outline { background: transparent; border-color: var(--se-navy); color: var(--se-navy); }
.se-btn--outline:hover { background: var(--se-navy); color: #fff; }
.se-btn--lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── HERO ── */
.se-hero { padding-block: clamp(5rem, 10vw, 9rem); background: #fff; border-bottom: 1px solid var(--se-border); }
.se-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.se-hero__ctas { display: flex; gap: .875rem; flex-wrap: wrap; margin: 2rem 0 1rem; }
.se-hero__fine { font-size: .8rem; color: var(--se-faint); }

/* Hero report mockup */
.se-report-mockup {
  background: var(--se-gold-bg); border: 1px solid var(--se-gold-border);
  border-radius: var(--se-r-2xl); padding: 2rem; box-shadow: var(--se-shadow-gold);
}
.se-report-mockup__label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--se-gold); margin-bottom: 1.25rem; }
.se-report-mockup__score {
  display: flex; align-items: center; gap: 1.25rem;
  background: #fff; border-radius: var(--se-r-lg);
  padding: 1.25rem 1.5rem; border: 1px solid var(--se-border); margin-bottom: 1.25rem;
}
.se-score-circle {
  width: 72px; height: 72px; border-radius: 50%;
  border: 5px solid var(--se-gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
}
.se-score-circle__n { font-family: var(--se-display); font-size: 1.4rem; font-weight: 700; color: var(--se-navy); line-height: 1; }
.se-score-circle__l { font-size: .6rem; color: var(--se-faint); }
.se-report-mockup__bars { display: flex; flex-direction: column; gap: .75rem; }
.se-bar { }
.se-bar__top { display: flex; justify-content: space-between; margin-bottom: .3rem; }
.se-bar__name { font-size: .78rem; color: var(--se-muted); font-weight: 500; }
.se-bar__pct { font-size: .78rem; font-weight: 700; color: var(--se-navy); }
.se-bar__track { height: 6px; background: var(--se-border); border-radius: 99px; overflow: hidden; }
.se-bar__fill { height: 100%; border-radius: 99px; background: var(--se-gold); }
.se-bar__fill--low { background: #e8a87c; }
.se-report-mockup__priority {
  margin-top: 1.25rem; background: var(--se-navy);
  border-radius: var(--se-r-lg); padding: 1rem 1.25rem;
  display: flex; align-items: flex-start; gap: .75rem;
}
.se-report-mockup__priority p { font-size: .8rem; color: rgba(255,255,255,.75); margin: 0; line-height: 1.4; }
.se-report-mockup__priority strong { color: #fff; }

@media (max-width: 860px) {
  .se-hero__grid { grid-template-columns: 1fr; }
  .se-report-mockup { max-width: 480px; margin-inline: auto; }
}

/* ── FOR WHOM CARDS ── */
.se-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.se-card {
  background: #fff; border: 1px solid var(--se-border);
  border-radius: var(--se-r-xl); padding: 2rem;
  transition: box-shadow .2s, transform .2s;
}
.se-card:hover { box-shadow: var(--se-shadow-md); transform: translateY(-2px); }
.se-card__icon {
  width: 44px; height: 44px; background: var(--se-gold-pale);
  border-radius: var(--se-r-md); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; border: 1px solid var(--se-gold-border);
}
.se-card h4 { font-family: var(--se-display); font-size: 1.25rem; color: var(--se-navy); margin-bottom: .5rem; }
.se-card p { font-size: .9rem; line-height: 1.65; color: var(--se-muted); margin: 0; }
@media (max-width: 760px) { .se-cards-grid { grid-template-columns: 1fr; } }
@media (max-width: 1000px) and (min-width: 761px) { .se-cards-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── BEFORE / AFTER ── */
.se-ba { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0; align-items: stretch; margin-top: 3rem; }
.se-ba__col { border-radius: var(--se-r-xl); overflow: hidden; }
.se-ba__col--before { border: 1px solid var(--se-border); }
.se-ba__col--after { border: 2px solid var(--se-gold); box-shadow: var(--se-shadow-gold); }
.se-ba__header { padding: 1.25rem 1.75rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.se-ba__col--before .se-ba__header { background: var(--se-surface); color: var(--se-faint); }
.se-ba__col--after .se-ba__header { background: var(--se-gold); color: #fff; }
.se-ba__body { padding: 1.75rem; display: flex; flex-direction: column; gap: .875rem; }
.se-ba__col--before .se-ba__body { background: #fff; }
.se-ba__col--after .se-ba__body { background: var(--se-gold-bg); }
.se-ba__item { display: flex; align-items: flex-start; gap: .75rem; }
.se-ba__icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: .1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
}
.se-ba__col--before .se-ba__icon { background: var(--se-surface); color: var(--se-faint); border: 1px solid var(--se-border); }
.se-ba__col--after .se-ba__icon { background: var(--se-gold); color: #fff; }
.se-ba__item p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--se-muted); }
.se-ba__col--after .se-ba__item p { color: var(--se-text); font-weight: 500; }
.se-ba__divider { display: flex; align-items: center; justify-content: center; }
.se-ba__divider-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--se-navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; flex-shrink: 0;
}
@media (max-width: 760px) {
  .se-ba { grid-template-columns: 1fr; }
  .se-ba__divider { display: none; }
  .se-ba__col--before { border-radius: var(--se-r-xl) var(--se-r-xl) 0 0; }
  .se-ba__col--after { border-radius: 0 0 var(--se-r-xl) var(--se-r-xl); margin-top: -1px; }
}

/* ── AREAS ── */
.se-areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.se-area {
  background: #fff; border: 1px solid var(--se-border);
  border-radius: var(--se-r-xl); padding: 2rem 2.25rem;
  position: relative; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.se-area:hover { box-shadow: var(--se-shadow-md); transform: translateY(-2px); }
.se-area::before {
  content: attr(data-letter); position: absolute;
  top: -.5rem; right: 1.25rem;
  font-family: var(--se-display); font-size: 5rem; font-weight: 700;
  color: var(--se-gold-pale); line-height: 1; pointer-events: none;
}
.se-area__tag { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--se-gold); margin-bottom: .75rem; }
.se-area h4 { font-family: var(--se-display); font-size: 1.25rem; color: var(--se-navy); margin-bottom: .625rem; }
.se-area p { font-size: .9rem; line-height: 1.65; color: var(--se-muted); margin: 0; }
@media (max-width: 680px) { .se-areas { grid-template-columns: 1fr; } }

/* ── STEPS ── */
.se-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; position: relative; }
.se-steps::before {
  content: ''; position: absolute;
  top: 2rem; left: calc(16.66% + 1rem); right: calc(16.66% + 1rem);
  height: 2px; background: linear-gradient(90deg, var(--se-gold) 0%, var(--se-gold-border) 100%);
}
.se-step { text-align: center; position: relative; }
.se-step__num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--se-navy); color: #fff;
  font-family: var(--se-display); font-size: 1.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; border: 3px solid var(--se-gold-pale);
  position: relative; z-index: 1;
}
.se-step h4 { font-family: var(--se-display); font-size: 1.2rem; color: var(--se-navy); margin-bottom: .5rem; }
.se-step p { font-size: .9rem; line-height: 1.6; color: var(--se-muted); max-width: 22ch; margin-inline: auto; }
@media (max-width: 680px) { .se-steps { grid-template-columns: 1fr; } .se-steps::before { display: none; } }

/* ── ROKSANA ── */
.se-roksana { display: grid; grid-template-columns: 400px 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.se-roksana__photo { border-radius: var(--se-r-2xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--se-shadow-gold); }
.se-roksana__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.se-roksana__creds { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.se-cred__n { font-family: var(--se-display); font-size: 2rem; font-weight: 700; color: var(--se-gold); line-height: 1; }
.se-cred__l { font-size: .8rem; color: var(--se-muted); line-height: 1.4; margin-top: .2rem; }
@media (max-width: 860px) { .se-roksana { grid-template-columns: 1fr; } .se-roksana__photo { max-width: 360px; margin-inline: auto; } }

/* ── FORM ── */
.se-form-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.se-promise { display: flex; flex-direction: column; gap: .875rem; margin-top: 2rem; }
.se-promise__item { display: flex; align-items: center; gap: .875rem; font-size: .9rem; color: var(--se-muted); }
.se-promise__item svg { flex-shrink: 0; color: var(--se-gold); }
.se-form-box {
  background: #fff; border: 1px solid var(--se-gold-border);
  border-radius: var(--se-r-2xl); padding: 2.5rem; box-shadow: var(--se-shadow-gold);
}
.se-form-box__title { font-family: var(--se-display); font-size: 1.5rem; font-weight: 700; color: var(--se-navy); margin-bottom: .4rem; }
.se-form-box__sub { font-size: .85rem; color: var(--se-muted); margin-bottom: 1.75rem; }
.se-form { display: flex; flex-direction: column; gap: 1rem; }
.se-form__field { display: flex; flex-direction: column; gap: .4rem; }
.se-form__label { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--se-muted); }
.se-form__input {
  padding: .85rem 1.1rem; border: 1px solid var(--se-border);
  border-radius: var(--se-r-md); font-family: var(--se-body); font-size: .95rem;
  color: var(--se-text); background: var(--se-gold-bg);
  transition: border-color .2s, box-shadow .2s; outline: none; width: 100%;
}
.se-form__input:focus { border-color: var(--se-gold); box-shadow: 0 0 0 3px rgba(191,154,60,.12); background: #fff; }
.se-form__submit { margin-top: .5rem; width: 100%; justify-content: center; }
.se-form__legal { font-size: .75rem; color: var(--se-faint); text-align: center; margin-top: .75rem; line-height: 1.5; }
.se-form-success { display: none; text-align: center; padding: 2rem 1rem; }
.se-form-success.visible { display: block; }
@media (max-width: 860px) { .se-form-section { grid-template-columns: 1fr; } }

/* ── SECTION HEADER ── */
.se-section-header { margin-bottom: 3rem; }
.se-section-header .se-display--lg { margin-top: .5rem; }

/* ── REVEAL ── */
.se-reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.se-reveal.visible { opacity: 1; transform: none; }
