/*
Theme Name: LightApp Child
Theme URI: https://lightapp.ro
Description: Tema child pentru LightApp — extinde Kadence cu design-ul Light App (cream, blue, gold, Manrope + Instrument Serif).
Author: LightApp / PPA THGIL SRL
Author URI: https://lightapp.ro
Template: kadence
Version: 1.0.0
Text Domain: lightapp-child
*/

/* ============================================
   DESIGN TOKENS LIGHTAPP
   ============================================ */
:root {
  --lap-bg: #ffffff;
  --lap-cream: #f6f1e7;
  --lap-cream-2: #e6dcc4;
  --lap-paper: #fbf8f1;
  --lap-tab-bg: #d9ceb0;
  --lap-ink: #0d0d0d;
  --lap-muted: #4a4843;
  --lap-line: #ddd8cc;
  --lap-line-strong: #c4beb0;
  --lap-blue: #1d24d9;
  --lap-blue-deep: #0f15a8;
  --lap-blue-soft: #e1e3fa;
  --lap-gold: #b8924a;
  --lap-gold-soft: #ede2c8;
  --lap-forest: #2d4a3a;
  --lap-purple: #3C3489;
  --lap-green: #0d6a4f;
  --lap-amber: #854f0b;
  --lap-red: #a32d2d;
}

/* ============================================
   FONTURI GOOGLE (incarcate prin functions.php)
   ============================================ */
body, .wp-site-blocks, .entry-content {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 400;
  line-height: 1.65;
  color: var(--lap-ink);
  background: var(--lap-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lap-ink);
  line-height: 1.15;
}

.serif, em.serif, .wp-block-heading em {
  font-family: 'Instrument Serif', Georgia, serif !important;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* ============================================
   BUTOANE STIL LIGHTAPP
   ============================================ */
.btn,
.wp-block-button__link,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-blue,
.wp-block-button.is-style-primary .wp-block-button__link,
.wp-element-button.is-style-primary {
  background: var(--lap-blue);
  color: #fff;
}
.btn-blue:hover,
.wp-block-button.is-style-primary .wp-block-button__link:hover {
  background: var(--lap-blue-deep);
  color: #fff;
}

.btn-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--lap-ink);
  border: 1.5px solid var(--lap-line-strong);
}
.btn-outline:hover {
  border-color: var(--lap-blue);
  color: var(--lap-blue);
}

.btn-ink {
  background: var(--lap-ink);
  color: #fff;
}

.btn-lg { padding: 15px 28px; font-size: 16px; }

.btn-arrow { display: inline-block; margin-left: 4px; }

/* ============================================
   HEADER
   ============================================ */
.site-header,
.kadence-header-row-inner,
header.site-header {
  background: #fff !important;
  border-bottom: 1px solid var(--lap-line) !important;
}

.site-branding .site-title,
.site-logo a {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.025em;
  color: var(--lap-ink);
}

.logo-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: var(--lap-blue);
  border-radius: 5px;
  position: relative;
  margin-right: 8px;
  vertical-align: middle;
}
.logo-mark::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 8px;
  height: 8px;
  background: var(--lap-gold);
  border-radius: 1px;
}

/* Navigation */
.main-navigation a,
.wp-block-navigation a {
  font-weight: 500;
  font-size: 15px;
  color: var(--lap-ink);
}
.main-navigation a:hover {
  color: var(--lap-blue);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.lap-hero {
  background: var(--lap-cream);
  padding: 80px 0 96px;
  position: relative;
}
.lap-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.lap-hero p.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--lap-muted);
  max-width: 620px;
}

.lap-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--lap-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ============================================
   SECTIONS GENERIC
   ============================================ */
.lap-section {
  padding: 80px 0;
}

.lap-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 24px;
}

.wrap, .container,
.entry-content > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================
   CARDS
   ============================================ */
.lap-card {
  background: var(--lap-paper);
  border: 1px solid var(--lap-line);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.15s, transform 0.15s;
}
.lap-card:hover {
  border-color: var(--lap-blue);
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--lap-ink) !important;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.site-footer h4 {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-weight: 600;
}
.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
}

.site-footer .footer-brand .serif {
  color: var(--lap-gold);
}

/* ============================================
   MOBILE (under 1000px)
   ============================================ */
@media (max-width: 1000px) {
  .lap-hero { padding: 56px 0 64px; }
  .lap-section { padding: 56px 0; }
  
  .wrap, .container { padding-left: 16px; padding-right: 16px; }
}

/* ============================================
   EASTER EGG ZONE (mobile only)
   ============================================ */
.ee-zone {
  display: none; /* default hidden */
}
@media (max-width: 900px) {
  .ee-zone {
    display: block;
    background: var(--lap-ink);
    padding: 240px 20px 60px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    min-height: 380px;
  }
  .ee-mark {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    margin-bottom: 16px;
  }
  .ee-text {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255,255,255,0.4);
    max-width: 260px;
    margin: 0 auto 8px;
  }
  .ee-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.25);
    margin-top: 16px;
  }
}

/* ============================================
   ARTICLE BLOG STYLES
   ============================================ */
.article-hero {
  background: var(--lap-cream);
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--lap-line);
}
.article-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
}
.article-meta {
  font-size: 14px;
  color: var(--lap-muted);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.article-body {
  padding: 56px 0 72px;
}
.article-body p.lead {
  font-size: 18px;
  line-height: 1.7;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--lap-line);
  margin-bottom: 32px;
}
.article-body h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  margin: 48px 0 20px;
}
.article-body h3 {
  font-size: 20px;
  margin: 32px 0 14px;
}
.article-body p, .article-body li {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* FAQ */
.faq-section {
  background: var(--lap-paper);
  padding: 64px 0;
  border-top: 1px solid var(--lap-line);
}
.faq-item {
  border-bottom: 1px solid var(--lap-line);
  padding: 20px 0;
}
.faq-item summary {
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--lap-blue);
  font-weight: 300;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  margin-top: 14px;
  font-size: 16px;
  color: var(--lap-muted);
  line-height: 1.7;
}

/* ============================================
   CALCULATORS WRAPPER
   ============================================ */
.lap-calculator {
  background: var(--lap-paper);
  border: 1px solid var(--lap-line);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}
.lap-calculator label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--lap-ink);
}
.lap-calculator input[type="number"],
.lap-calculator input[type="text"],
.lap-calculator select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--lap-line);
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  margin-bottom: 20px;
  background: #fff;
}
.lap-calculator input:focus,
.lap-calculator select:focus {
  outline: none;
  border-color: var(--lap-blue);
}
.lap-calc-result {
  background: var(--lap-blue-soft);
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}
.lap-calc-result .label {
  font-size: 13px;
  color: var(--lap-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.lap-calc-result .value {
  font-size: 36px;
  font-weight: 800;
  color: var(--lap-ink);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   STILURI PENTRU CONȚINUT IMPORTAT
   (page-hero, breadcrumb, level-badge etc.)
   ============================================ */

/* PAGE HERO */
.page-hero,
.legal-hero {
  background: var(--lap-cream);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--lap-line);
  margin-bottom: 0;
}
.page-hero .wrap,
.legal-hero .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-hero h1,
.legal-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 16px 0 16px;
}
.page-hero p,
.legal-hero p {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--lap-muted);
  max-width: 700px;
  margin: 0;
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 13px;
  color: var(--lap-muted);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb a {
  color: var(--lap-blue);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb-sep {
  color: var(--lap-line-strong);
  margin: 0 4px;
}

/* LEVEL BADGE (Live, Disponibil acum, Curând etc.) */
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--lap-paper);
  border: 1px solid var(--lap-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lap-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.level-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--lap-green, #0f6e56);
  border-radius: 50%;
}

/* MEGA TAGS (Live, Curând, Nou) */
.mega-tag,
.tag-live,
.tag-soon,
.tag-new {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mega-tag.live, .tag-live {
  background: #e1f5ee;
  color: #0f6e56;
}
.mega-tag.soon, .tag-soon {
  background: #fbeaf0;
  color: #993556;
}
.mega-tag.new, .tag-new {
  background: var(--lap-blue-soft);
  color: var(--lap-blue);
}

/* HERO CARD WRAP */
.hero,
.hero-section {
  background: var(--lap-cream);
  padding: 80px 0 96px;
}
.hero .wrap,
.hero-section .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero h1,
.hero-section h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.hero .lead,
.hero p.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  color: var(--lap-muted);
  max-width: 640px;
  margin-bottom: 32px;
}

/* CTA ROW */
.cta-row,
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

/* SECTIONS */
.section,
.lap-section,
section.feature-section,
section.testimonials,
section.modules-section {
  padding: 80px 0;
}
.section .wrap,
section .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* CARDS GRID */
.cards-grid,
.modules-grid,
.feature-grid,
.finder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

/* MCARD - module card */
.mcard,
.module-card,
.feature-card {
  background: var(--lap-paper);
  border: 1px solid var(--lap-line);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.15s, transform 0.15s;
  text-decoration: none;
  color: var(--lap-ink);
  display: block;
}
.mcard:hover,
.module-card:hover,
.feature-card:hover {
  border-color: var(--lap-blue);
  transform: translateY(-2px);
}
.mcard h3, .module-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 8px 0 8px;
}
.mcard p, .module-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--lap-muted);
  margin: 0;
}

/* SECTION INTRO */
.section-intro,
.section-header {
  text-align: left;
  max-width: 720px;
  margin-bottom: 48px;
}
.section-intro h2,
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 16px 0;
}
.section-intro .eyebrow,
.section-header .eyebrow,
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--lap-blue);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

/* PILLARS */
.pillar {
  background: var(--lap-paper);
  border: 1px solid var(--lap-line);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
}

/* HOW IT WORKS STEPS */
.how-step {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
  align-items: flex-start;
}
.how-step .step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--lap-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

/* CTA CARD */
.cta-card {
  background: var(--lap-ink);
  color: white;
  padding: 48px 32px;
  border-radius: 16px;
  text-align: center;
  margin: 48px 0;
}
.cta-card h2 {
  color: white !important;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
}
.cta-card p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}

/* QUOTE */
.quote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.4;
  color: var(--lap-ink);
  padding: 32px 0;
  border-top: 1px solid var(--lap-line);
  border-bottom: 1px solid var(--lap-line);
  margin: 32px 0;
}

/* FOOTER */
footer .footer-brand {
  font-weight: 700;
  font-size: 18px;
}

/* MEGA MENU items (when in mobile drawer) */
.mega-menu,
.mega-item {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--lap-ink);
  border-radius: 8px;
}
.mega-item:hover {
  background: var(--lap-cream);
}

/* TYPOGRAPHY FIXES */
.entry-content > * {
  max-width: none !important;
}
.entry-content .wrap,
.entry-content .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

