/* ════════════════════════════════════════
   FilterMaster – Apple-inspired Design System
   ════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS VÁLTOZÓK ── */
:root {
  /* Háttér rétegek */
  --bg:          #ffffff;
  --bg-2:        #f5f5f7;
  --bg-3:        #e8e8ed;
  --bg-dark:     #1d1d1f;
  --bg-dark-2:   #2d2d2f;
  /* Szöveg */
  --text-h:      #1d1d1f;
  --text-b:      #3d3d3f;
  --text-s:      #6e6e73;
  --text-xs:     #a1a1a6;
  --text-white:  #ffffff;
  --text-white2: rgba(255,255,255,0.72);
  /* Akcentszínek */
  --orange:        #f56300;
  --orange-h:      #d95700;
  --orange-bg:     #fff4ed;
  --orange-border: rgba(245,99,0,0.2);
  --cyan:          #0071e3;
  --cyan-h:        #0077ed;
  --green:         #34c759;
  --green-bg:      #f0fdf4;
  --red:           #ff3b30;
  --red-bg:        #fff5f5;
  --yellow:        #ff9f0a;
  --yellow-bg:     #fffbf0;
  /* Border */
  --line:        rgba(0,0,0,0.08);
  --line-2:      rgba(0,0,0,0.14);
  --line-focus:  var(--orange);
  /* Radius */
  --r-xs:  6px;
  --r-sm:  10px;
  --r:     14px;
  --r-lg:  20px;
  --r-xl:  28px;
  /* Shadow */
  --sh-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --sh:     0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --sh-lg:  0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --sh-xl:  0 24px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  /* Transition */
  --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --fast:  0.18s var(--ease);
  --med:   0.28s var(--ease);

  /* ── BACKWARD COMPAT (home.css / calculator.css / products.css) ── */
  --nav-h:       52px;
  --sidebar-w:   220px;
  --radius:      var(--r);
  --radius-sm:   var(--r-sm);
  --radius-lg:   var(--r-lg);
  --transition:  var(--fast);
  --font:        'Inter', -apple-system, sans-serif;
  /* Old color aliases */
  --bg2:         var(--bg-2);
  --bg3:         var(--bg-3);
  --bg-card:     var(--bg);
  --bg-card-alt: var(--bg-2);
  --bg-primary:  var(--bg);
  --white:       var(--text-h);
  --text:        var(--text-h);
  --text-muted:  var(--text-s);
  --muted:       var(--text-s);
  --muted2:      var(--text-xs);
  --blue:        var(--cyan);
  --blue2:       var(--cyan-h);
  --border:      var(--line);
  --border2:     var(--line-2);
  --card:        var(--bg);
  --ok:          var(--green);
  --warn:        var(--yellow);
  --danger:      var(--red);
  --success:     var(--green);
  --warning:     var(--yellow);
  --error:       var(--red);
  --orange-dark:  var(--orange-h);
  --orange-light: var(--orange-bg);
  --cyan-dark:    var(--cyan-h);
  --text-sec:     var(--text-s);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-b);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── TIPOGRÁFIA ── */
h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--text-h); }
h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; color: var(--text-h); }
h3 { font-size: clamp(20px, 3vw, 28px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-h); }
h4 { font-size: 17px; font-weight: 600; color: var(--text-h); }
p  { color: var(--text-b); line-height: 1.65; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 12px; display: block;
}
.lead { font-size: 21px; font-weight: 300; color: var(--text-s); line-height: 1.5; }

/* ── CONTAINER ── */
.container    { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 680px;  margin: 0 auto; padding: 0 24px; }

/* ── NAVBAR ── */
.navbar,
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo { font-size: 20px; font-weight: 700; color: var(--text-h); text-decoration: none; letter-spacing: -0.02em; }
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a,
a.nav-link {
  font-size: 14px; font-weight: 400; color: var(--text-s);
  text-decoration: none; transition: color var(--fast);
}
.nav-links a:hover,
a.nav-link:hover { color: var(--text-h); text-decoration: none; }
a.nav-link.active { color: var(--text-h); font-weight: 500; }
.nav-cta {
  font-size: 14px; font-weight: 500;
  background: var(--orange); color: #fff;
  padding: 7px 16px; border-radius: 20px;
  text-decoration: none; transition: background var(--fast);
}
.nav-cta:hover { background: var(--orange-h); text-decoration: none; color: #fff; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 20px; height: 1.5px; background: var(--text-h); margin: 5px 0; transition: var(--fast); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  padding: 20px 20px;
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a.nav-link { font-size: 16px; padding: 12px 0; color: var(--text-b); border-bottom: 1px solid var(--line); }
.nav-drawer a.nav-link:last-of-type { border-bottom: none; }

/* User area in navbar */
.nav-user {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-b); flex-shrink: 0;
}
.nav-user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.nav-bell {
  position: relative; display: flex; align-items: center;
  color: var(--text-s); transition: color var(--fast); text-decoration: none;
}
.nav-bell:hover { color: var(--orange); text-decoration: none; }
.nav-bell-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 16px; height: 16px;
  background: var(--red); border-radius: 99px;
  font-size: 0.62rem; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 2px solid var(--bg);
}
.nav-auth { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  font-size: .78rem; font-weight: 600; color: var(--text-s);
  text-decoration: none; padding: .2rem .45rem; border-radius: 5px;
  transition: color var(--fast), background var(--fast);
}
.lang-btn.on, .lang-btn:hover { color: var(--orange); background: var(--orange-bg); }

/* ── BUTOANE ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: inherit; font-size: 15px; font-weight: 500;
  padding: 12px 22px; border-radius: var(--r-sm);
  border: none; cursor: pointer; text-decoration: none;
  transition: all var(--fast); white-space: nowrap;
}
.btn-primary {
  background: var(--orange); color: #fff;
}
.btn-primary:hover { background: var(--orange-h); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,99,0,0.3); text-decoration: none; color: #fff; }
.btn-secondary {
  background: var(--bg-2); color: var(--text-h);
  border: 1px solid var(--line-2);
}
.btn-secondary:hover { background: var(--bg-3); text-decoration: none; color: var(--text-h); }
.btn-ghost {
  background: transparent; color: var(--cyan);
  border: 1px solid var(--cyan);
}
.btn-ghost:hover { background: rgba(0,113,227,0.06); text-decoration: none; color: var(--cyan); }
.btn-lg   { font-size: 17px; padding: 16px 32px; border-radius: var(--r); }
.btn-sm   { font-size: 13px; padding: 8px 16px;  border-radius: var(--r-xs); }
.btn-full { width: 100%; }
.btn-dark { background: var(--text-h); color: #fff; }
.btn-dark:hover { background: #2d2d2f; color: #fff; text-decoration: none; }

/* ── KÁRTYÁK ── */
.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px;
  box-shadow: var(--sh); transition: all var(--med);
}
.card:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }
.card-sm { padding: 20px; border-radius: var(--r); }
.card-flat { box-shadow: none; }
.card-dark { background: var(--bg-dark); border-color: rgba(255,255,255,0.08); color: var(--text-white); }
.card-dark h1, .card-dark h2, .card-dark h3, .card-dark h4 { color: var(--text-white); }
.card-dark p { color: var(--text-white2); }
.card-orange { background: var(--orange-bg); border-color: var(--orange-border); }

/* ── FORM ELEMEK ── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 500; color: var(--text-h); margin-bottom: 7px;
}
.form-label-link { font-size: 13px; font-weight: 400; color: var(--cyan); }
.form-label-link:hover { text-decoration: underline; }
.form-req { color: var(--orange); margin-left: 2px; }
.form-input {
  width: 100%; padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 400;
  color: var(--text-h);
  font-family: inherit;
  transition: border-color var(--fast), box-shadow var(--fast);
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-xs); }
.form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,99,0,0.12);
}
.form-input:hover:not(:focus) { border-color: var(--line-focus); }
.form-input.inp-invalid { border-color: var(--red); }
.input-wrap { position: relative; }
.input-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%); color: var(--text-xs); pointer-events: none;
}
.input-wrap .form-input { padding-left: 42px; }
.input-action {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--text-xs); padding: 4px; transition: color var(--fast);
}
.input-action:hover { color: var(--text-h); }
/* Legacy input classes (used by login.php) */
.inp {
  width: 100%; background: var(--bg-2); border: 1.5px solid transparent;
  border-radius: var(--r-sm); padding: 13px 16px;
  font-size: 15px; color: var(--text-h); font-family: inherit;
  transition: border-color var(--fast), background var(--fast);
  -webkit-appearance: none;
}
.inp::placeholder { color: var(--text-xs); }
.inp:focus { outline: none; background: var(--bg); border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,99,0,0.10); }
.inp.inp-invalid { border-color: var(--red); }
.inp-wrap { position: relative; display: flex; align-items: center; gap: 0; }
.inp-wrap .inp { padding-left: 44px; padding-right: 44px; }
.inp-icon { position: absolute; left: 14px; color: var(--text-xs); pointer-events: none; display: flex; }
.inp-eye {
  position: absolute; right: 12px;
  background: none; border: none; cursor: pointer;
  color: var(--text-xs); padding: 4px; transition: color var(--fast);
}
.inp-eye:hover { color: var(--text-h); }
.inp-group { margin-bottom: 16px; }
.inp-label { font-size: 14px; font-weight: 500; color: var(--text-h); margin-bottom: 6px; display: block; }

/* ── ALERT / BANNER ── */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 16px; border-radius: var(--r-sm);
  font-size: 14px; line-height: 1.5; margin-bottom: 20px;
}
.alert-error   { background: var(--red-bg);    border: 1px solid rgba(255,59,48,0.2);  color: #c0392b; }
.alert-success { background: var(--green-bg);  border: 1px solid rgba(52,199,89,0.2);  color: #186a3b; }
.alert-warning { background: var(--yellow-bg); border: 1px solid rgba(255,159,10,0.2); color: #9a5f00; }
.alert-info    { background: #f0f6ff;          border: 1px solid rgba(0,113,227,0.2);  color: #004499; }
.alert svg { flex-shrink: 0; margin-top: 1px; }
/* Legacy error box */
.auth-error {
  background: var(--red-bg); border: 1px solid rgba(255,59,48,0.25);
  border-radius: var(--r-sm); padding: 11px 14px;
  font-size: 14px; color: #c0392b; margin-bottom: 16px;
}

/* ── BADGE ── */
.badge, .b-blue {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.badge-orange, .b-blue { background: var(--orange-bg); color: var(--orange-h); border: 1px solid var(--orange-border); }
.badge-green            { background: var(--green-bg);  color: #186a3b; border: 1px solid rgba(52,199,89,0.2); }
.badge-red              { background: var(--red-bg);    color: #c0392b; border: 1px solid rgba(255,59,48,0.2); }
.badge-gray             { background: var(--bg-2);      color: var(--text-s); border: 1px solid var(--line-2); }
.badge-blue             { background: #f0f6ff;          color: #004499; border: 1px solid rgba(0,113,227,0.2); }

/* ── SZEKCIÓK ── */
section     { padding: 96px 0; }
section.sm  { padding: 64px 0; }
section.dark { background: var(--bg-dark); }
section.gray { background: var(--bg-2); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head p { color: var(--text-s); font-size: 19px; margin-top: 14px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── DIVIDER ── */
hr.divider,
.divider { border: none; border-top: 1px solid var(--line); margin: 1.5rem 0; }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── HERO ── */
.hero {
  min-height: 90vh; display: flex; align-items: center;
  background: var(--bg-dark);
  position: relative; overflow: hidden;
}
/* Hero background photo (used on homepage) */
.hero-bg-photo,
.hero-photo-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
}
.hero-bg-photo::after,
.hero-photo-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(247,243,238,0.55) 0%, rgba(247,243,238,0.75) 60%, rgba(247,243,238,0.95) 100%);
}
.hero-content,
.hero-inner {
  position: relative; z-index: 1; color: #fff; padding: 80px 0;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--orange); }
.hero-lead,
.hero-sub { font-size: 21px; color: rgba(255,255,255,0.72); margin: 20px 0 36px; max-width: 520px; line-height: 1.55; }
.hero-actions,
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 440px; gap: 64px;
  align-items: center; max-width: 1120px; margin: 0 auto; padding: 0 24px;
}
.hero-photo-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--sh-xl);
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-stat {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r); padding: 12px 18px;
}
.hero-stat-top    { top: 20px; right: 20px; }
.hero-stat-bottom { bottom: 20px; left: 20px; }
.hero-stat-num   { font-size: 24px; font-weight: 700; color: #fff; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 2px; }

/* ── FOOTER ── */
.footer { background: var(--bg-dark); color: var(--text-white2); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; font-size: 22px; }
.footer-brand p { color: var(--text-white2); font-size: 14px; margin-top: 10px; max-width: 260px; line-height: 1.6; }
.footer h5 { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a  { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--fast); }
.footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-border { border-top: 3px solid var(--orange); }

/* ── PRICE BADGE ── */
.price-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--orange-bg); color: var(--orange-h);
  border: 1px solid var(--orange-border);
  border-radius: 20px; padding: 4px 12px;
  font-size: 13px; font-weight: 600;
}
.price-badge.gratuit { background: var(--green-bg); color: #186a3b; border-color: rgba(52,199,89,0.2); }
.price-badge.oferta  { background: #f0f6ff; color: #004499; border-color: rgba(0,113,227,0.2); }

/* ── ICON WRAP ── */
.icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); box-shadow: var(--sh-sm); flex-shrink: 0;
}
.icon-wrap svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.10)); }

/* ── TOAST ── */
.toast-stack {
  position: fixed; top: calc(var(--nav-h) + 1rem); right: 1.25rem;
  z-index: 3000; display: flex; flex-direction: column; gap: 0.6rem; max-width: 360px;
}
.toast {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 0.85rem 1rem;
  box-shadow: var(--sh-lg); animation: fadeInRight 0.28s ease both;
}
.toast.hide { animation: fadeOutRight 0.25s ease both; }
.toast-icon {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; margin-top: 1px;
}
.toast-body  { flex: 1; }
.toast-title { font-size: 0.875rem; font-weight: 600; color: var(--text-h); }
.toast-msg   { font-size: 0.8rem; color: var(--text-s); margin-top: 1px; }
.toast-ok    { border-color: rgba(52,199,89,0.25); }
.toast-ok    .toast-icon { background: var(--green-bg); color: var(--green); }
.toast-error { border-color: rgba(255,59,48,0.25); }
.toast-error .toast-icon { background: var(--red-bg); color: var(--red); }
.toast-warn  { border-color: rgba(255,159,10,0.25); }
.toast-warn  .toast-icon { background: var(--yellow-bg); color: var(--yellow); }

/* ── ANIMÁCIÓK ── */
@keyframes fadeInRight  { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeOutRight { from { opacity: 1; transform: translateX(0); }    to { opacity: 0; transform: translateX(24px); } }
@keyframes fadeInUp     { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin         { to { transform: rotate(360deg); } }
@keyframes shimmer      { 0% { background-position: -600px 0; } 100% { background-position: 600px 0; } }

.reveal.will-animate { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible      { opacity: 1; transform: translateY(0); }

/* Spinner */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(0,0,0,0.08); border-top-color: var(--orange);
  border-radius: 50%; animation: spin 0.7s linear infinite;
  display: inline-block; flex-shrink: 0;
}
.auth-spinner { @extend .spinner; }

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--bg-2) 25%, rgba(255,255,255,0.8) 50%, var(--bg-2) 75%);
  background-size: 600px 100%; animation: shimmer 1.6s infinite linear; border-radius: 8px;
}

/* Gradient text */
.grad-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-h) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── UTILITIES ── */
.text-orange { color: var(--orange); }
.text-cyan   { color: var(--cyan); }
.text-muted  { color: var(--text-s); }
.text-muted2 { color: var(--text-xs); }
.text-white  { color: var(--text-white); }
.text-ok     { color: var(--green); }
.text-warn   { color: var(--yellow); }
.text-danger { color: var(--red); }
.text-xs     { font-size: 0.75rem; }
.text-sm     { font-size: 0.875rem; }
.text-lg     { font-size: 1.125rem; }
.text-xl     { font-size: 1.25rem; }
.text-2xl    { font-size: 1.5rem; }
.fw-400 { font-weight: 400; } .fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-0 { margin-top: 0; }       .mt-1 { margin-top: 0.25rem; }  .mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; }     .mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }    .mt-12 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }    .mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; } .mb-12 { margin-bottom: 3rem; }
.gap-1 { gap: 0.25rem; } .gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }    .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.flex          { display: flex; }
.flex-col      { display: flex; flex-direction: column; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap     { flex-wrap: wrap; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.justify-end   { justify-content: flex-end; }
.flex-1        { flex: 1; }
.hidden        { display: none !important; }
.invisible     { visibility: hidden; }
.mobile-only   { display: none; }
.desktop-only  { display: block; }
.truncate      { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-auth { display: none; }
  .nav-hamburger { display: flex; flex-direction: column; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  section { padding: 64px 0; }
  .nav-user { display: none; }
  .mobile-only  { display: block; }
  .desktop-only { display: none; }
  .toast-stack  { left: 1rem; right: 1rem; max-width: 100%; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; padding-top: 2.5rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
