/* =========================================================================
   SOCIALEXANDRA — one-pager styles
   Flexbox + CSS Grid · mobile-first · CSS custom properties (Global Colors/Fonts)
   ========================================================================= */

/* ---------- Global tokens (mirror these into Elementor Site Settings) ---------- */
:root {
  /* colors */
  --primary: #FF6B6B;          /* warm coral — accents, highlights */
  --primary-strong: #E14B6A;   /* AA-safe coral for white text on solid */
  --secondary: #6C5CE7;        /* soft violet */
  --dark: #1E1B2E;             /* headings / body text */
  --muted: #6B6677;            /* sub-text, captions */
  --bg: #FFFBF7;               /* warm off-white page bg */
  --surface: #FFFFFF;          /* cards / form */
  --tint: #F7F2FB;             /* alternating section tint */
  --line: #ECE6F1;             /* hairlines / borders */
  --gradient: linear-gradient(135deg, #FF6B6B 0%, #6C5CE7 100%);
  --gradient-strong: linear-gradient(135deg, #E14B6A 0%, #5A48D6 100%);

  /* typography */
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* spacing scale (8px base) */
  --space-section: clamp(56px, 9vw, 112px);
  --container: 1160px;
  --gutter: clamp(20px, 5vw, 40px);

  /* radii + shadows */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 20px rgba(30, 27, 46, 0.06);
  --shadow: 0 18px 50px rgba(30, 27, 46, 0.10);
  --shadow-lg: 0 30px 80px rgba(108, 92, 231, 0.18);

  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.125rem);   /* 16 → 18 */
  line-height: 1.65;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;                                   /* no horizontal scroll */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--dark); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.125rem, 4.5vw + 1rem, 3.5rem); }      /* 34 → 56 */
h2 { font-size: clamp(1.625rem, 2.4vw + 1rem, 2.5rem); }      /* 26 → 40 */
h3 { font-size: clamp(1.25rem, 0.8vw + 1rem, 1.5rem); }       /* 20 → 24 */
p  { color: var(--muted); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); position: relative; }
.section-tint { background: var(--tint); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-intro { margin-top: 16px; font-size: 1.05em; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--secondary); margin-bottom: 14px;
}
.kicker-light { color: #fff; opacity: 0.9; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 16px; --btn-pad-x: 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  line-height: 1.25; text-align: center;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: none; border-radius: 999px; cursor: pointer;
  min-height: 48px;                                /* tap target */
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
.btn-primary {
  background: var(--gradient-strong); color: #fff;
  text-shadow: 0 1px 2px rgba(30, 27, 46, 0.28);
  box-shadow: 0 12px 28px rgba(108, 92, 231, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(108, 92, 231, 0.38); filter: saturate(1.08); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { --btn-pad-y: 19px; --btn-pad-x: 34px; font-size: 1rem; min-height: 56px; }
.btn-sm { --btn-pad-y: 11px; --btn-pad-x: 20px; font-size: 0.85rem; min-height: 42px; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  color: var(--secondary); background: #fff; border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 251, 247, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 6px 24px rgba(30, 27, 46, 0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--dark); }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--gradient); color: #fff; border-radius: 11px;
  font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-link { font-weight: 600; font-size: 0.97rem; color: var(--dark); position: relative; padding: 6px 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gradient); transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px;
  align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer; box-shadow: var(--shadow-sm);
}
.hamburger span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Section anchor offset (sticky header) ---------- */
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ============================== HERO ============================== */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(30px, 6vw, 70px)); padding-bottom: clamp(80px, 12vw, 150px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.5; }
.blob-1 { width: 460px; height: 460px; top: -140px; right: -120px; background: radial-gradient(circle at 30% 30%, #FF6B6B, rgba(255,107,107,0)); opacity: 0.45; }
.blob-2 { width: 520px; height: 520px; bottom: -200px; left: -160px; background: radial-gradient(circle at 40% 40%, #6C5CE7, rgba(108,92,231,0)); opacity: 0.35; }
.blob-3 { width: 280px; height: 280px; top: 30%; left: 45%; background: radial-gradient(circle at 50% 50%, #FFD166, rgba(255,209,102,0)); opacity: 0.4; }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 64px); align-items: center;
}
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lead { font-size: 1.15em; max-width: 560px; margin-bottom: 32px; color: #4d4860; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-figure {
  position: relative; width: min(100%, 420px); padding: 18px; margin: 0;
  background: linear-gradient(160deg, #ffffff, #fdf6ff);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.hero-illustration { width: 100%; height: auto; }
.hero-badge {
  position: absolute; bottom: -22px; left: -10px;
  background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
  border: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.1;
}
.hero-badge strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--secondary); }
.hero-badge span { font-size: 0.78rem; color: var(--muted); max-width: 140px; margin-top: 4px; }

/* ---------- Curved section dividers ---------- */
.section-divider { position: absolute; left: 0; width: 100%; line-height: 0; z-index: 1; }
.section-divider svg { width: 100%; height: 90px; }
.divider-down { bottom: -1px; }
.divider-down path { fill: var(--tint); }

/* ============================== PAIN POINTS ============================== */
.pain-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.pain-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-icon {
  flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center;
  font-size: 1.35rem; background: var(--tint); border-radius: 14px;
}
.pain-card p { color: var(--dark); font-weight: 500; }
.pain-cta { text-align: center; margin-top: clamp(34px, 5vw, 52px); }
.emphasis { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1.4vw + 0.8rem, 1.45rem); color: var(--dark); line-height: 1.4; margin-bottom: 24px; }

/* ============================== ABOUT ============================== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { margin-bottom: 18px; }
.about-copy .btn { margin-top: 10px; }

.about-visual { display: flex; justify-content: center; }
.portrait { position: relative; width: min(100%, 420px); margin: 0; }
.portrait-img {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--gradient); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff;
  position: relative;
}
.portrait-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.25), transparent 60%); }
.portrait-initial { font-family: var(--font-head); font-weight: 800; font-size: 5rem; opacity: 0.9; }
.portrait-note { font-size: 0.85rem; opacity: 0.85; padding: 0 24px; text-align: center; }
.portrait-tag {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--dark); font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  padding: 9px 18px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap;
}

/* ============================== SERVICES ============================== */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 880px; margin-inline: auto; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px; min-height: 180px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 60px; height: 60px; display: grid; place-items: center; font-size: 1.7rem;
  background: var(--gradient); border-radius: 16px; box-shadow: 0 10px 24px rgba(108,92,231,0.22);
}
.service-card h3 { font-size: 1.18rem; line-height: 1.25; }

/* ============================== TESTIMONIALS ============================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testimonial-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--shadow-sm); margin: 0;
  display: flex; flex-direction: column; gap: 18px;
}
.quote-mark { font-family: var(--font-head); font-size: 3.2rem; line-height: 0.6; color: var(--primary); opacity: 0.5; height: 28px; }
.testimonial-card blockquote { font-size: 1.02rem; color: var(--dark); line-height: 1.6; flex: 1; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 14px; }
.t-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gradient); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.t-meta { display: flex; flex-direction: column; line-height: 1.2; }
.t-meta strong { font-family: var(--font-head); }
.t-meta span { font-size: 0.85rem; color: var(--muted); }

/* ============================== QUALIFIER ============================== */
.qualifier-list { max-width: 760px; margin-inline: auto; display: grid; gap: 14px; }
.qualifier-list li {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow-sm); font-weight: 500; color: var(--dark);
}
.check {
  flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--gradient); color: #fff; border-radius: 50%; font-weight: 700; font-size: 0.95rem;
}
.qualifier-close { text-align: center; max-width: 720px; margin: clamp(30px,4vw,44px) auto 0; }

/* ============================== CONTACT FORM ============================== */
.kapcsolat { color: #fff; overflow: hidden; }
.kapcsolat-bg { position: absolute; inset: 0; z-index: 0; background: var(--gradient-strong); }
.kapcsolat-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.18), transparent 45%), radial-gradient(circle at 85% 90%, rgba(255,255,255,0.12), transparent 50%); }
.kapcsolat .container { position: relative; z-index: 1; }
.form-wrap { max-width: 640px; margin-inline: auto; }
.form-head { text-align: center; color: #fff; margin-bottom: 30px; }
.form-head h2 { color: #fff; }
.form-head p { color: rgba(255,255,255,0.9); margin-top: 12px; }

.contact-form {
  background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-lg); display: grid; gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--dark); }
.req { color: var(--primary-strong); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--dark);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #a7a2b3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(108,92,231,0.14); }
.field.invalid input, .field.invalid textarea { border-color: var(--primary-strong); }
.error { color: var(--primary-strong); font-size: 0.82rem; min-height: 1em; font-weight: 500; }

.consent { gap: 6px; }
.checkbox { display: flex; align-items: flex-start; gap: 12px; font-family: var(--font-body); font-weight: 400; font-size: 0.92rem; color: var(--muted); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--secondary); flex: 0 0 auto; }
.checkbox a { color: var(--secondary); text-decoration: underline; font-weight: 600; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success {
  text-align: center; font-family: var(--font-head); font-weight: 600; color: #1d8a4e;
  background: #e7f8ef; border: 1px solid #b9ecce; border-radius: var(--radius-sm); padding: 14px;
}
.form-error-msg {
  text-align: center; font-family: var(--font-head); font-weight: 600; color: #b42318;
  background: #fef3f2; border: 1px solid #fda29b; border-radius: var(--radius-sm); padding: 14px;
}

/* ============================== FOOTER ============================== */
.site-footer { background: var(--dark); color: #d9d4e4; padding-top: clamp(48px, 7vw, 80px); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.brand-footer { color: #fff; }
.footer-tagline { color: #b3adc4; margin: 16px 0 20px; max-width: 320px; }
.footer-title { font-family: var(--font-head); font-size: 1rem; color: #fff; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-contact ul, .footer-legal ul { display: grid; gap: 10px; }
.footer-contact a, .footer-legal a { color: #cfc9dd; transition: color 0.2s; }
.footer-contact a:hover, .footer-legal a:hover { color: #fff; }
.social { display: flex; gap: 12px; }
.social-link {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #fff; transition: background 0.25s, transform 0.2s;
}
.social-link:hover { background: var(--gradient); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 24px; }
.footer-bottom p { color: #948ea8; font-size: 0.88rem; text-align: center; }

/* ============================== THANK-YOU PAGE ============================== */
.thankyou {
  position: relative; min-height: 86vh; display: grid; place-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.thankyou-inner { position: relative; z-index: 1; display: flex; justify-content: center; }
.thankyou-card {
  max-width: 680px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px); box-shadow: var(--shadow-lg);
}
.thankyou-check {
  width: 88px; height: 88px; margin: 0 auto 26px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gradient); color: #fff;
  box-shadow: 0 16px 40px rgba(108, 92, 231, 0.32);
  animation: pop 0.5s cubic-bezier(.18, .89, .32, 1.28);   /* no fill: resting state stays visible */
}
.thankyou-check svg { width: 44px; height: 44px; }
.thankyou-card .kicker { display: inline-block; }
.thankyou-card h1 { margin: 8px 0 18px; }
.thankyou-card p { font-size: 1.12em; color: #4d4860; margin-bottom: 32px; }
@keyframes pop { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* ============================== SCROLL-ENTRANCE ANIMATIONS ============================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; }
  .hero-copy .lead { margin-inline: auto; }
  .eyebrow { margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }               /* photo above text on mobile */
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* mobile nav */
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255, 251, 247, 0.98); backdrop-filter: blur(12px);
    padding: 18px var(--gutter) 26px; box-shadow: 0 20px 40px rgba(30,27,46,0.12);
    transform: translateY(-130%); transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: 13px 6px; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-cta { margin: 12px 0 0; }
  .hamburger { display: flex; }

  .service-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -26px; }
  .btn { width: auto; }
  .hero-copy .btn, .pain-cta .btn, .about-copy .btn { width: 100%; }
}

@media (max-width: 420px) {
  :root { --gutter: 18px; }
  .pain-card, .qualifier-list li { padding: 18px 18px; }
}

/* ============================== REDUCED MOTION ============================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
