/*
Theme Name:   Seed2Exit
Theme URI:    https://seed2exit.com
Description:  Astra child theme for Seed2Exit: brand tokens, reusable component classes for Elementor, sticky header, switchable cookie banner.
Author:       Adaptatec
Template:     astra
Version:      1.0.12
Text Domain:  seed2exit
*/

/* ---------- Brand tokens (Seed2Exit Brand Color System) ---------- */
:root {
  --s2e-green: #0E7C4A;
  --s2e-green-dark: #0A5C37;
  --s2e-green-100: #CFE5DB;
  --s2e-red: #C62828;
  --s2e-red-dark: #A82222;
  --s2e-blue: #1E3A8A;
  --s2e-blue-dark: #152961;
  --s2e-charcoal: #1A1A1A;
  --s2e-slate: #4A4A4A;
  --s2e-soft: #E5E5E5;
  --s2e-soft-100: #FAFAFA;
  --s2e-soft-200: #F5F5F5;
  --s2e-white: #FFFFFF;
  --s2e-gold: #D4A857;
  --s2e-gold-100: #F6EEDD;
  --s2e-teal: #1CA7A1;
  --s2e-teal-100: #D2EDEC;
  --s2e-teal-700: #147571;

  --s2e-font-head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s2e-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s2e-radius: 16px;
  --s2e-radius-sm: 8px;
  --s2e-shadow: 0 6px 24px rgba(26, 26, 26, 0.08);
  --s2e-shadow-hover: 0 10px 32px rgba(26, 26, 26, 0.14);
}

/* ---------- Sticky header (Astra Free has no sticky option) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--s2e-white);
  box-shadow: 0 1px 0 var(--s2e-soft);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* Utility bar above the header */
.ast-above-header-bar,
.ast-above-header-wrap {
  background: var(--s2e-soft-100);
  font-size: 13px;
}

/* ---------- Footer on Consulting Blue ---------- */
.site-primary-footer-wrap,
.site-primary-footer-wrap p,
.site-below-footer-wrap,
.site-below-footer-wrap .ast-footer-copyright { color: rgba(255, 255, 255, 0.85); }
.site-primary-footer-wrap a,
.site-primary-footer-wrap .menu-link { color: var(--s2e-white) !important; }
.site-primary-footer-wrap a:hover,
.site-primary-footer-wrap .menu-link:hover { color: var(--s2e-gold) !important; }
.site-primary-footer-wrap strong { font-family: var(--s2e-font-head); font-size: 20px; color: var(--s2e-white); }
.site-below-footer-wrap { border-top: 1px solid rgba(255, 255, 255, 0.12); }

/* ---------- Buttons ---------- */
.s2e-btn-cta .elementor-button,
a.s2e-btn-cta,
.main-header-menu .s2e-menu-cta > a {
  background: var(--s2e-red) !important;
  color: var(--s2e-white) !important;
  border-radius: 999px;
  font-weight: 600;
}
.s2e-btn-cta .elementor-button:hover,
a.s2e-btn-cta:hover,
.main-header-menu .s2e-menu-cta > a:hover {
  background: var(--s2e-red-dark) !important;
}
.main-header-menu .s2e-menu-cta > a {
  padding: 10px 20px !important;
  line-height: 1.2;
}

/* ---------- Cards ---------- */
.s2e-card {
  background: var(--s2e-white);
  border-radius: var(--s2e-radius);
  box-shadow: var(--s2e-shadow);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.s2e-card:hover {
  box-shadow: var(--s2e-shadow-hover);
  transform: translateY(-2px);
}
.s2e-card--green-top { border-top: 4px solid var(--s2e-green); }
.s2e-card--gold-top { border-top: 4px solid var(--s2e-gold); }
.s2e-card--dark {
  background: var(--s2e-blue-dark);
  color: var(--s2e-white);
}
.s2e-card--dark h1, .s2e-card--dark h2, .s2e-card--dark h3, .s2e-card--dark h4 { color: var(--s2e-white); }
.s2e-card--dark li, .s2e-card--dark p { color: #DCE3F3; }
.s2e-card ul { margin: 0 0 0 1.1em; }
.s2e-card li { margin-bottom: 4px; }
.s2e-card .elementor-toggle .elementor-tab-title { font-weight: 600; cursor: pointer; }
.s2e-card .elementor-toggle .elementor-tab-content { border: 0; }
.s2e-glance { border-top: 1px solid var(--s2e-soft); border-bottom: 1px solid var(--s2e-soft); }

/* ---------- Chips / tags ---------- */
.s2e-chip,
.s2e-chips span {
  display: inline-block;
  padding: 4px 12px;
  margin: 0 6px 6px 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  background: var(--s2e-green-100);
  color: var(--s2e-green-dark);
}
.s2e-chips--gold span { background: rgba(212, 168, 87, 0.18); color: var(--s2e-gold-100); }
.s2e-chip--teal { background: var(--s2e-teal-100); color: var(--s2e-teal-700); }
.s2e-chip--gray { background: var(--s2e-soft); color: var(--s2e-slate); }
.s2e-chip--gold { background: var(--s2e-gold-100); color: #755C30; }

/* ---------- Section bands ---------- */
.s2e-band-blue {
  background: var(--s2e-blue);
  color: var(--s2e-white);
}
.s2e-band-blue h1, .s2e-band-blue h2, .s2e-band-blue h3, .s2e-band-blue p { color: var(--s2e-white); }
.s2e-band-gradient {
  background: linear-gradient(120deg, var(--s2e-green) 0%, var(--s2e-blue) 100%);
  color: var(--s2e-white);
}
.s2e-band-soft { background: var(--s2e-soft-200); }

/* ---------- Journey steps (1–5) ---------- */
.s2e-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--s2e-green);
  color: var(--s2e-white);
  font-family: var(--s2e-font-head);
  font-weight: 700;
}

/* ---------- Photos ---------- */
.s2e-portrait img {
  border-radius: var(--s2e-radius);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.s2e-service-art img { border-radius: var(--s2e-radius); box-shadow: var(--s2e-shadow); }
.s2e-check { margin: 0; padding-left: 34px; position: relative; font-weight: 500; color: var(--s2e-charcoal); }
.s2e-check::before {
  content: "✓";
  position: absolute; left: 0; top: -1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--s2e-green-100); color: var(--s2e-green-dark);
  font-weight: 700; font-size: 14px; line-height: 24px; text-align: center;
}
.s2e-duotone img { filter: grayscale(1) sepia(0.25) hue-rotate(110deg) saturate(1.6) contrast(1.05); }

/* ---------- Latest insights shortcode ---------- */
.s2e-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* auto-fit: no empty columns with few posts */
  gap: 24px;
}
.elementor-button-text { white-space: nowrap; }
.s2e-insights__item { display: flex; flex-direction: column; }
.s2e-insights__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.s2e-insights__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.s2e-insights__date { font-size: 13px; color: var(--s2e-slate); }
.s2e-insights__title { font-family: var(--s2e-font-head); font-size: 20px; line-height: 1.3; margin: 0; }
.s2e-insights__title a { color: var(--s2e-charcoal); text-decoration: none; }
.s2e-insights__more { margin-top: auto; font-weight: 600; color: var(--s2e-green); text-decoration: none; }

/* ---------- Consultation form (Fluent Forms) ---------- */
.s2e-form-card .ff-el-input--label label { font-weight: 600; color: var(--s2e-charcoal); }
.s2e-form-card .ff-el-form-control {
  border: 1px solid var(--s2e-soft);
  border-radius: var(--s2e-radius-sm);
  padding: 12px 14px;
}
.s2e-form-card .ff-el-form-control:focus { border-color: var(--s2e-teal); box-shadow: 0 0 0 3px var(--s2e-teal-100); }
.s2e-ff-chips .ff-el-form-check { display: inline-block; margin: 0 8px 8px 0; }
.s2e-ff-chips .ff-el-form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--s2e-soft);
  border-radius: 999px;
  background: var(--s2e-white);
  font-weight: 500;
  cursor: pointer;
}
.s2e-ff-chips .ff-el-form-check-label input { accent-color: var(--s2e-green); margin: 0; }
.s2e-ff-chips .ff-el-form-check-label:has(input:checked) {
  background: var(--s2e-green-100);
  border-color: var(--s2e-green);
  color: var(--s2e-green-dark);
}
.s2e-form-card .ff-btn-submit { border-radius: 999px !important; padding: 14px 32px !important; font-weight: 600; }
.s2e-form-card .ff-message-success { border: 0; background: var(--s2e-green-100); color: var(--s2e-green-dark); border-radius: var(--s2e-radius-sm); }

/* ---------- Cookie banner ---------- */
.s2e-cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: var(--s2e-radius);
  background: var(--s2e-white);
  color: var(--s2e-charcoal);
  box-shadow: 0 12px 40px rgba(26, 26, 26, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}
.s2e-cookie[hidden] { display: none; }
.s2e-cookie__text { flex: 1 1 360px; margin: 0; color: var(--s2e-slate); }
.s2e-cookie__text a { color: var(--s2e-blue); }
.s2e-cookie__actions { display: flex; gap: 10px; }
.s2e-cookie__btn {
  border: 1px solid var(--s2e-green);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  background: var(--s2e-white);
  color: var(--s2e-green);
}
.s2e-cookie__btn--accept { background: var(--s2e-green); color: var(--s2e-white); }
.s2e-cookie__btn:focus-visible { outline: 3px solid var(--s2e-teal); outline-offset: 2px; }
