/* =========================================================================
   inhalator.hu — LÉGIES ÉGSZÍN (Clean Airy Sky) design system
   Harmonized to the logo's cyan (#00adee), one hue family, zero rogue accents.
   ========================================================================= */
:root {
  --ff-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --ff-sans:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* ONE coherent ink family (slate-teal, never harsh black) */
  --ink:           #0f2d40;
  --ink-secondary: #4f6d80;
  --ink-muted:     #4f6d80;

  /* Primary action: deep, trustworthy ocean-teal (WCAG AA 6.9:1 on white) */
  --btn:           #0b5e8c;
  --btn-hover:     #08476a;
  --deep:          #0a3d5e;

  /* Logo cyan as accent only (icons, chips, soft washes) */
  --brand:         #00adee;
  --brand-dark:    #008fca;

  /* Single warm highlight — echoes the dandelion photo's orange tee & meadow */
  --accent-warm:   #e88d4d;
  --accent-warm-soft: rgba(232, 141, 77, 0.14);

  /* ONE coherent ground family — airy, calm, breathing */
  --ground:        #f4f8fb;
  --surface:       #ffffff;
  --surface-tint:  #eaf3f8;
  --mist:          #e0f1f8;
  --line:          rgba(15, 45, 64, 0.08);

  --shadow-1: 0 2px 10px rgba(15, 45, 64, 0.04);
  --shadow-2: 0 12px 36px rgba(15, 45, 64, 0.07);
  --shadow-3: 0 24px 60px rgba(0, 173, 238, 0.10);

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 24px;
}
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.65;
  font-size: 1.04rem;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
a { color: var(--btn); text-decoration: none; transition: color 180ms ease; }
a:hover { color: var(--btn-hover); }
img { max-width: 100%; height: auto; }
.skip-link {
  position: absolute; left: -9999px; top: auto; z-index: 999;
  padding: .5rem 1rem; background: var(--deep); color: #fff; border-radius: .4rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.hero-title em {
  font-style: italic;
  color: var(--btn);
}
.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.22;
}
.section-lead {
  font-size: 1.08rem;
  color: var(--ink-secondary);
  line-height: 1.7;
}
.section-sublead {
  font-size: 1.0rem;
  color: var(--ink-secondary);
}
/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.navbar-brand .logo-img { height: 34px; width: auto; }
.navbar-nav .nav-link {
  font-size: .80rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  padding: .55rem .95rem !important;
  border-radius: 9999px;
  transition: color 160ms ease, background 160ms ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible { color: var(--btn); }
.navbar-nav .nav-link.active {
  background: rgba(0, 173, 238, 0.10);
  color: var(--btn);
}
.navbar-toggler { border: 1px solid var(--line); padding: .45rem .65rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(11, 94, 140, 0.25); }
/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--btn);
  border-color: var(--btn);
  color: #fff;
  font-weight: 600;
  border-radius: 9999px;
  padding: .75rem 1.6rem;
  font-size: .98rem;
  box-shadow: 0 6px 18px rgba(11, 94, 140, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(11, 94, 140, 0.28);
}
.btn-outline-primary {
  color: var(--btn);
  border-color: rgba(11, 94, 140, 0.35);
  border-radius: 9999px;
  font-weight: 600;
  padding: .75rem 1.6rem;
  font-size: .98rem;
  background: transparent;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.btn-outline-primary:hover, .btn-outline-primary:focus-visible {
  background: var(--btn);
  border-color: var(--btn);
  color: #fff;
  transform: translateY(-1px);
}
.btn-pill { border-radius: 9999px; }
.btn-lg { padding: .95rem 2rem; font-size: 1.05rem; }
/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  background:
    radial-gradient(ellipse 95% 85% at 80% 25%, rgba(0, 173, 238, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 70% 60% at 15% 90%, rgba(232, 141, 77, 0.05) 0%, transparent 65%),
    linear-gradient(180deg, #e8f4fa 0%, #ffffff 88%);
  padding: 5.5rem 0 6.5rem;
  overflow: hidden;
}
.hero-stage { position: relative; }
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.hero-media img { display: block; width: 100%; height: auto; }
.hero-backdrop-badge {
  position: absolute; right: 1.25rem; bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  color: var(--ink);
  padding: .55rem 1rem;
  border-radius: 9999px;
  font-size: .84rem;
  font-weight: 600;
  box-shadow: var(--shadow-1);
}
/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.8rem 0;
  background: #fff;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.trust-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mist);
  color: var(--btn);
  font-size: 2.4rem;
  flex-shrink: 0;
}
/* ---------- Section rhythm ---------- */
.section { padding: 6.5rem 0; }
.section-alt { background: var(--surface-tint); }
.section-white { background: #fff; }
.section-heroic {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}
.showcase-mesh {
  background: var(--ground);
  padding: 6.5rem 0;
}
#sooldatok {
  background: var(--ground);
}
/* ---------- Montage photo figures ---------- */
.montage-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: #fff;
  border: 1px solid var(--line);
}
.montage-figure img { display: block; width: 100%; height: auto; }
/* ---------- Product cards ---------- */
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  display: flex; flex-direction: column; height: 100%;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2);
  border-color: rgba(11, 94, 140, 0.28);
}
.product-thumb {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
}
.product-thumb img {
  display: block; max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
  transition: transform 280ms ease;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-title {
  font-family: var(--ff-sans);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 .35rem;
}
.product-title a { color: var(--ink); }
.product-title a:hover { color: var(--btn); }
.product-desc {
  font-size: .87rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}
.product-meta { min-height: 34px; }
.product-price { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
/* ---------- Product detail page ---------- */
.gallery-main {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.gallery-main img {
  display: block; max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.gallery-thumbs {
  display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem;
}
.gallery-thumb {
  width: 72px; height: 72px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}
.gallery-thumb:hover, .gallery-thumb.active {
  border-color: var(--btn);
  transform: translateY(-2px);
}
.gallery-thumb img {
  display: block; max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.product-hero-title {
  font-size: clamp(2.0rem, 3.6vw, 2.7rem);
  font-weight: 600;
  line-height: 1.15;
}
.badge.text-bg-primary {
  background-color: var(--btn) !important;
  color: #fff !important;
}
.spec-list dt { font-weight: 600; color: var(--ink); font-size: .95rem; }
.spec-list dd { color: var(--ink-secondary); font-size: .95rem; }
.stock-note { font-size: .9rem; color: var(--ink-secondary); }
.stock-note strong { color: var(--ink); }
/* ---------- How-to steps ---------- */
.howto-section { scroll-margin-top: 80px; }
.howto-carousel { max-width: 100%; }
.howto-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: .5rem 0 .75rem;
}
.howto-track.is-fine-paging { scroll-snap-type: none; }
.howto-track::-webkit-scrollbar { display: none; }
.howto-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 3 * 1.5rem) / 4);
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition: transform 220ms ease, box-shadow 220ms ease;
  outline: none;
}
.howto-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(15, 45, 64, 0.12); }
.howto-media {
  overflow: hidden;
  background: #fff;
  display: flex; flex-direction: column; align-items: center;
}
.howto-media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1; object-fit: contain; padding: 10px;
}
.howto-num {
  order: -1; align-self: flex-start; margin: 1rem 1rem 0;
  background: var(--deep); color: #fff;
  font-size: .78rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.howto-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.4rem; }
.howto-title {
  font-size: 1.22rem; line-height: 1.3; margin: 0 0 .6rem;
  font-family: var(--ff-serif);
}
.howto-text { color: var(--ink-secondary); font-size: .96rem; line-height: 1.65; }

/* Arrows */
.howto-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-size: 1.25rem;
  display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0, 173, 238, 0.4);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.howto-arrow:hover, .howto-arrow:focus-visible {
  background: #fff; color: var(--brand);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 173, 238, 0.5);
}
.howto-prev { left: -24px; }
.howto-next { right: -24px; }
.howto-arrow[disabled] { opacity: .25; pointer-events: none; }
@media (max-width: 575.98px) {
  .howto-prev { left: 4px; }
  .howto-next { right: 4px; }
}
.howto-card:focus-visible,
.howto-track:focus-visible { outline: 3px solid rgba(11, 94, 140, 0.45); outline-offset: 3px; }
/* ---------- Article cards ---------- */
.article-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.article-thumb { display: block; overflow: hidden; background: #fff; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.article-card:hover .article-thumb img { transform: scale(1.04); }
.article-title { font-family: var(--ff-serif); line-height: 1.35; margin: 0 0 .5rem; }
.article-title a { color: var(--ink); }
.article-title a:hover { color: var(--btn); }
.article-excerpt { color: var(--ink-secondary); line-height: 1.6; }
/* ---------- Article detail page ---------- */
.article-hero-title {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.15;
}
.article-body { font-size: 1.08rem; line-height: 1.85; max-width: 68ch; color: var(--ink); }
.article-body h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 600;
  margin: 2.4rem 0 .9rem;
  line-height: 1.25;
}
.article-body p { margin-bottom: 1.3rem; }
.article-body strong { color: var(--ink); }
.article-list { padding-left: 1.4rem; margin-bottom: 1.4rem; }
.article-list li { margin-bottom: .5rem; color: var(--ink-secondary); }
.article-table table { font-size: .95rem; }
/* ---------- Contact / CTA block ---------- */
.contact-section {
  background:
    radial-gradient(ellipse 90% 65% at 50% 100%, rgba(0, 173, 238, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, var(--ground) 0%, #e8f4fa 100%);
  padding: 6.5rem 0;
}
.contact-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.8rem;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
  text-align: center;
}
.contact-email {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 600;
  color: var(--btn);
}
/* ---------- Breadcrumb ---------- */
.breadcrumb-nav { padding: .75rem 0; font-size: .88rem; }
.breadcrumb-nav a { color: var(--ink-secondary); }
.breadcrumb-nav .breadcrumb-item.active { color: var(--ink-muted); }
/* ---------- Pills / badging ---------- */
.pill-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .95rem; border-radius: 9999px;
  background: #fff; color: var(--ink);
  font-size: .86rem; font-weight: 600;
  box-shadow: var(--shadow-1);
  border: 1px solid var(--line);
}
/* ---------- Medical note box ---------- */
.med-note {
  background: var(--surface-tint);
  border: 1px solid rgba(11, 94, 140, 0.18);
  border-left: 4px solid var(--btn);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.6rem;
  font-size: .96rem;
  color: var(--ink);
}
/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep);
  color: #fff;
  padding: 4.5rem 0 2rem;
  margin-top: 0;
}
.footer-logo {
  height: 38px; width: auto;
  filter: brightness(0) invert(1);
}
.footer-text { color: rgba(255, 255, 255, 0.72); font-size: .95rem; line-height: 1.65; }
.footer-title {
  font-family: var(--ff-serif);
  font-size: 1.15rem; font-weight: 600;
  color: #fff; margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(255, 255, 255, 0.85); font-size: .93rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-note { font-size: .88rem; color: rgba(255, 255, 255, 0.78); }
.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: .84rem; color: rgba(255, 255, 255, 0.62);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.88); text-decoration: underline; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-section { padding: 4rem 0 5rem; }
  .section { padding: 4.5rem 0; }
  .showcase-mesh { padding: 5rem 0; }
  .howto-card { flex: 0 0 calc((100% - 2 * 1.5rem) / 3); }
}
@media (max-width: 767.98px) {
  .howto-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
}
@media (max-width: 575.98px) {
  .hero-section { padding: 3rem 0 4rem; }
  .section { padding: 3.5rem 0; }
  .howto-card { flex: 0 0 100%; }
  .product-thumb { padding: .75rem; }
  .contact-panel { padding: 2.2rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
/* In-text link distinction (WCAG) */
.article-body a, .med-note a, .stock-note a, .footer-desc a { text-decoration: underline; }
/* Contrast overrides for Bootstrap text helpers */
.text-muted { color: var(--ink-secondary) !important; }
.text-secondary { color: var(--ink-secondary) !important; }
.text-primary { color: var(--btn) !important; }
.bg-light { background: var(--surface-tint) !important; }
@media (min-width: 576px) { .trust-item { justify-content: center; } }
@media (max-width: 575.98px) { .trust-strip .row { max-width: 22rem; margin-inline: auto; } }
@media (min-width: 992px) and (max-width: 1399.98px) {
  .navbar-brand .logo-img { width: 180px; height: auto; }
  .navbar-nav .nav-link { font-size: .73rem; letter-spacing: .035em; padding-inline: .55rem !important; white-space: nowrap; }
}
@media (max-width: 575.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .howto-track { scroll-behavior: auto; }
}
