
/* Modern minimal, mobile-first (koronafurofelujitas.hu) */

:root{
  --bg:#0b0b0b;
  --ink:#111;
  --muted:#616161;
  --paper:#ffffff;
  --soft:#f6f6f6;
  --line:#e9e9e9;
  --shadow: 0 16px 40px rgba(0,0,0,.10);
  --shadow2: 0 10px 24px rgba(0,0,0,.10);
  --radius: 18px;
  --radius2: 14px;
  --max: 1080px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top: 0px; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--ink);
  background: #fff;
}

img{ max-width:100%; display:block; }

.container{
  width: min(var(--max), calc(100% - 32px));
  margin-inline:auto;
}

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 12px;
  background:#fff; border:1px solid var(--line); border-radius:10px; z-index:99;
}

/* TOPBAR */
.topbar{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand{ display:flex; align-items:center; gap:12px; }
.brand__mark{
  width:34px; height:34px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, #2a2a2a, #0b0b0b 65%);
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}
.brand__name{ font-family: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial; font-weight: 800; letter-spacing: -0.7px; font-size:18px; text-transform: lowercase; }
.brand__tag{ font-size: 12px; color: var(--muted); margin-top:2px; }

.nav{ display:flex; gap:16px; align-items:center; }
.nav a{
  color:#1a1a1a;
  text-decoration:none;
  font-weight: 600;
  font-size: 14px;
  opacity:.9;
}
.nav a:hover{ opacity:1; }
.nav__cta{
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  background: #fff;
}

/* HERO */
.hero{
  background: radial-gradient(1200px 400px at 20% 0%, rgba(0,0,0,.06), transparent 55%),
              radial-gradient(800px 300px at 85% 10%, rgba(0,0,0,.05), transparent 55%);
  padding: 36px 0 12px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}
.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background:#fff;
  color:#1c1c1c;
  font-weight: 650;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.hero h1{
  margin: 12px 0 10px;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.8px;
}
.lead{
  margin:0;
  color:#2d2d2d;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 56ch;
}
.hero__cta{
  display:flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.btn{
  appearance:none;
  border:0;
  cursor:pointer;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  font-weight: 750;
  letter-spacing: -.2px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration:none;
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
  font-size: 14px;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: #0b0b0b;
  color:#fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
}
.btn--ghost{
  background:#fff;
  color:#111;
  border:1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.btn--wide{ width: 100%; }

.trust{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.trust__item{
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}
.trust__kpi{
  font-weight: 900;
  font-size: 16px;
}
.trust__lbl{
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.2;
}

.note{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero__media{ display:block; }
.mediaCard{
  position: relative;
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.08);
}
.mediaCard img{
  width:100%;
  height: 320px;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.12) brightness(1.02);
}
.mediaCard__shade{
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent 55%);
  pointer-events:none;
}
.mediaCard__cap{
  position:absolute; left:14px; right:14px; bottom:12px;
  color:#fff;
  font-weight: 700;
  font-size: 13px;
  opacity: .92;
}

/* SECTIONS */
.section{ padding: 34px 0; scroll-margin-top: 92px; }
.section--soft{ background: var(--soft); }
.section--dark{
  background: var(--bg);
  color: #fff;
}
.section__head{
  max-width: 70ch;
  margin-bottom: 18px;
}
.section__head h2{
  margin:0 0 8px;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: -.4px;
}
.section__head p{
  margin:0;
  color: #3b3b3b;
  line-height: 1.7;
}
.section--dark .section__head p{ color: rgba(255,255,255,.80); }

/* CARDS */
.cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}
.card--accent{
  background: radial-gradient(500px 200px at 20% 0%, rgba(0,0,0,.06), transparent 55%),
              #fff;
}
.card__icon{
  width:32px; height:32px;
  border-radius: 12px;
  background:#0b0b0b;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  margin-bottom: 10px;
}
.card h3{ margin:0 0 8px; }
.card p{ margin:0 0 10px; color:#333; line-height:1.65; }
.bullets{
  margin:0;
  padding-left: 18px;
  color:#2a2a2a;
  line-height: 1.65;
}
.bullets li{ margin: 6px 0; }

/* FORM */
.form{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow2);
}
.grid2{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.field{ display:flex; flex-direction:column; gap: 8px; }
label{ font-weight: 800; font-size: 13px; }
select, input[type="text"], input[type="number"], input[type="file"], input{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  outline: none;
  font-size: 14px;
  background:#fff;
}
select:focus, input:focus{
  border-color: rgba(0,0,0,.30);
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}
.hint{
  margin:0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.inline2{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 10px;
}

.segmented{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.segmented__btn{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background:#fff;
  font-weight: 850;
  cursor:pointer;
}
.segmented__btn.is-active{
  background:#0b0b0b;
  color:#fff;
  border-color: transparent;
}

.chips{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip{
  border: 1px solid rgba(0,0,0,.12);
  background:#fff;
  border-radius: 999px;
  padding: 9px 12px;
  cursor:pointer;
  font-weight: 850;
  font-size: 13px;
}
.chip.is-active{
  background:#0b0b0b;
  color:#fff;
  border-color: transparent;
}

.form__actions{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}
.fineprint{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* PRICING */
.pricing{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.price{
  position:relative;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}
.price__desc{ color:#333; line-height:1.65; margin: 6px 0 10px; }
.price--featured{
  border-color: rgba(0,0,0,.18);
  box-shadow: var(--shadow);
}
.badge{
  position:absolute; top:14px; right:14px;
  background:#0b0b0b; color:#fff;
  font-weight: 900;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
}

/* GALLERY (discreet) */
.gallery-details{
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  border-radius: 22px;
  padding: 14px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}
.gallery-details > summary{
  cursor:pointer;
  user-select:none;
  font-weight: 900;
  list-style:none;
}
.gallery-details > summary::-webkit-details-marker{ display:none; }
.gallery-details > summary::after{ content:" ▾"; color:#666; }
.gallery-details[open] > summary::after{ content:" ▴"; }
.gallery-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
.shot{
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  background:#fafafa;
}
.shot img{
  width:100%;
  height: 170px;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.12) brightness(1.02);
}

/* FAQ */
.faq{
  display:grid;
  gap: 10px;
}
.faq__item{
  border:1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 12px 14px;
  background:#fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
.faq__item summary{
  cursor:pointer;
  font-weight: 900;
  list-style:none;
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item p{
  margin: 10px 0 0;
  color:#333;
  line-height: 1.65;
}

/* CONTACT */
.contact{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.contact__meta{
  margin-top: 10px;
  display:grid;
  gap: 6px;
  color: rgba(255,255,255,.92);
}
.section--dark .fineprint{ color: rgba(255,255,255,.70); }
.contact__cta{ display:grid; gap: 10px; }

/* FOOTER */
.footer{
  background:#050505;
  color: rgba(255,255,255,.82);
  padding: 18px 0;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer__links a{
  color: rgba(255,255,255,.82);
  text-decoration:none;
  margin-left: 12px;
}
.footer__links a:hover{ color:#fff; }

/* MODAL */
.modal{
  position: fixed;
  inset: 0;
  display:none;
  z-index: 80;
}
.modal.is-open{ display:block; }
.modal__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
}
.modal__panel{
  position: relative;
  width: min(560px, calc(100% - 28px));
  margin: 10vh auto 0;
  background:#fff;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.modal__title{ font-weight: 950; }
.iconBtn{
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
}
.modal__body{
  padding: 14px 16px;
  color:#333;
  line-height: 1.65;
}
.modal__actions{
  padding: 14px 16px 16px;
}

/* RESPONSIVE */
@media (min-width: 860px){
  .nav{ display:flex; }
  .hero{ padding: 54px 0 18px; }
  .hero__grid{ grid-template-columns: 1.05fr .95fr; gap: 28px; }
  .mediaCard img{ height: 420px; }
  .cards{ grid-template-columns: 1fr 1fr; }
  .grid2{ grid-template-columns: 1fr 1fr; }
  .span2{ grid-column: span 2; }
  .inline2{ grid-template-columns: 1fr 1fr; }
  .form__actions{ grid-template-columns: 1fr 1fr; }
  .pricing{ grid-template-columns: 1fr 1.1fr 1fr; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .shot img{ height: 320px; }
  .contact{ grid-template-columns: 1.2fr .8fr; }
}


/* Multi-select checkboxes */
.checks{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
}
.check{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 750;
  color:#1a1a1a;
}
.check input{
  width: 18px;
  height: 18px;
  accent-color: #0b0b0b;
}
@media (min-width: 860px){
  .checks{ grid-template-columns: 1fr 1fr; }
}


/* ===== Cover HERO (full image) ===== */
.hero--cover{
  position: relative;
  padding: 0;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0b0b0b;
}
.hero--cover .hero__bg{
  position:absolute;
  inset:0;
  background-image: url('images/felujitas-hegesztes.jpg');
  background-size: cover;
  background-position: 55% 28%;
  transform: scale(1.03);
  filter: contrast(1.08) saturate(1.12) brightness(1.02);
}
.hero--cover .hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.14), rgba(0,0,0,.28));
}
.heroCover__inner{
  position: relative;
  z-index: 2;
  padding: 54px 0 44px;
  color: #fff;
  max-width: 920px;
}
.hero--cover .pill{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.95);
  box-shadow: none;
}
.heroCover__title{
  margin: 14px 0 6px;
  font-family: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-weight: 800;
  letter-spacing: -1.1px;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.02;
  text-transform: lowercase;
}
.heroCover__subtitle{
  margin: 0;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,.90);
  max-width: 62ch;
}
.heroCover__cta{
  display:flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.hero--cover .btn--ghost{
  background: rgba(255,255,255,.12);
  color:#fff;
  border-color: rgba(255,255,255,.22);
  box-shadow: none;
}
.hero--cover .btn--primary{
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.heroCover__meta{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}
.metaCard{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 12px 14px;
  backdrop-filter: blur(8px);
}
.metaCard__kpi{
  font-weight: 900;
  letter-spacing: -.2px;
}
.metaCard__lbl{
  margin-top: 4px;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  line-height: 1.35;
}
.note--onDark{
  color: rgba(255,255,255,.82);
  margin-top: 12px;
}

/* Desktop: meta cards in a row */
@media (min-width: 860px){
  .hero--cover{ min-height: 84vh; }
  .heroCover__inner{ padding: 74px 0 60px; }
  .heroCover__meta{ grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

/* ===== Load animations (staggered) ===== */
.anim{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .65s ease, transform .75s ease;
  will-change: opacity, transform;
}
.is-loaded .anim{
  opacity: 1;
  transform: translateY(0);
}
.is-loaded .anim--1{ transition-delay: .12s; }
.is-loaded .anim--2{ transition-delay: .26s; }
.is-loaded .anim--3{ transition-delay: .40s; }
.is-loaded .anim--4{ transition-delay: .54s; }
.is-loaded .anim--5{ transition-delay: .70s; }
.is-loaded .anim--6{ transition-delay: .84s; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .anim, .is-loaded .anim{ transition: none; transform:none; opacity:1; }
}


/* Hero focal point overrides */
@media (max-width: 520px){
  .hero--cover .hero__bg{ background-position: 60% 20%; }
}
@media (min-width: 1200px){
  .hero--cover .hero__bg{ background-position: 58% 32%; }
}


/* ===== Hero Image Cinematic Reveal ===== */
.hero--cover .hero__bg{
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease, transform 2.8s ease;
}

.is-loaded .hero--cover .hero__bg{
  opacity: 1;
  transform: scale(1.02);
  animation: heroImageBreath 14s ease-in-out infinite;
}

@keyframes heroImageBreath {
  0%   { transform: scale(1.02); }
  50%  { transform: scale(1.025); }
  100% { transform: scale(1.02); }
}



/* ===== Mobile Hamburger ===== */
.hamburger{
  display:none;
  position:absolute;
  right:20px;
  top:18px;
  width:28px;
  height:22px;
  background:none;
  border:none;
  cursor:pointer;
  z-index:1001;
}

.hamburger span{
  display:block;
  height:3px;
  width:100%;
  background:#111;
  margin:4px 0;
  border-radius:2px;
  transition:0.3s ease;
}

@media (max-width: 900px){
  nav{
    display:flex;
    z-index:1000;
    position:fixed;
    top:0;
    right:-100%;
    height:100vh;
    width:250px;
    background:#fff;
    flex-direction:column;
    padding:100px 20px;
    transition:0.35s ease;
    box-shadow:-5px 0 25px rgba(0,0,0,.1);
  }

  nav.active{
    right:0;
  }

  .hamburger{
    display:block;
  }
}

/* Adjust left reference image to show more of the top */
.references-grid img:first-child {
    object-position: 50% 20%;
}


/* ===== drill-section centering ===== */
.drill-section{
  padding-left: 20px;
  padding-right: 20px;
}
.drill-section > *{
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.drill-section .drill-offer{
  max-width: 1280px;
  margin: 28px auto 0;
}

/* Keep section text readable */
.drill-section p{
  max-width: 980px;
}

/* Feature grid responsive */
.drill-features{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}
@media (max-width: 980px){
  .drill-features{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .drill-features{ grid-template-columns: 1fr; }
}

/* feature card */
.drill-feature{
  display:flex;
  gap:14px;
  padding:16px 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transform: translateY(10px);
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0ms);
}
.drill-icon{
  width:44px;height:44px;
  border-radius: 14px;
  background: #111;
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  flex: 0 0 auto;
}
.drill-icon svg{ width:22px;height:22px; }

.drill-feature__title{
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}
.drill-feature__text{
  color: rgba(0,0,0,.65);
  line-height: 1.35;
}

.drill-offer{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
}
.drill-offer__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 10px;
}
.drill-offer__title{ font-size: 22px; margin: 0 0 6px; }
.drill-offer__lead{ margin: 0; color: rgba(0,0,0,.65); }
.drill-offer__badge{
  background:#111;
  color:#fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.drill-offer__cta{
  margin-top: 18px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap: wrap;
}
.drill-offer__note{
  color: rgba(0,0,0,.55);
  font-size: 13px;
}

/* reveal when in-view */
.is-inview .drill-feature{
  transform: translateY(0);
  opacity: 1;
}


/* Contact separate fields */
.contact-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:16px;
  margin-bottom:18px;
}
@media (max-width:640px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}
.form-group label{
  display:block;
  font-weight:600;
  margin-bottom:6px;
}
.form-group input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  font-size:14px;
}


/* Form spacing cleanup after removing fields */
.form .grid2{ row-gap: 14px; }
.chips{ margin-bottom: 6px; }


/* ===== References section ===== */
.refs .refs__inner{
  max-width: 1280px;
}
.refs__head h2{
  margin: 0 0 10px 0;
  letter-spacing: -0.4px;
}
.refs__head p{
  margin: 0;
  color: rgba(0,0,0,.68);
  max-width: 78ch;
  line-height: 1.65;
}
.refs__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.ref-pill{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 650;
  color: rgba(0,0,0,.84);
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}

.refs__note{
  margin-top: 14px;
  color: rgba(0,0,0,.55);
  font-size: 13px;
}

@media (max-width: 1100px){
  .refs__grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .refs__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .refs__grid{ grid-template-columns: 1fr; }
  .ref-pill{ border-radius: 18px; }
}

/* Reveal animation for refs (reuse is-inview) */
.refs [data-animate="item"]{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .65s ease, transform .75s cubic-bezier(.2,.9,.2,1);
  transition-delay: var(--d, 0ms);
}
.refs .is-inview [data-animate="item"],
.refs.is-inview [data-animate="item"]{
  opacity: 1;
  transform: translateY(0);
}


/* ===== Logo wall (references) ===== */
.logoWall{ margin-top: 16px; }
.logoWall__row{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.logoTile{
  margin:0;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height: 92px;
}
.logoTile img{
  max-height: 44px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05) opacity(.88);
  transition: filter .25s ease, transform .25s ease;
}
.logoTile:hover img{
  filter: grayscale(0) contrast(1.05) opacity(1);
  transform: translateY(-1px);
}
.logoTile figcaption{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(0,0,0,.66);
  line-height: 1.25;
}
.logoTile--text{ align-items:flex-start; justify-content:center; gap: 4px; }
.logoTile__text{ font-weight: 800; letter-spacing: -0.2px; }
.logoTile__sub{ color: rgba(0,0,0,.60); font-size: 12px; }

.logoWall__row--photos{
  margin-top: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.logoTile--photo{
  padding: 0;
  overflow:hidden;
  min-height: 180px;
}
.logoTile--photo img{
  max-height: none;
  height: 180px;
  filter: none;
  opacity: 1;
  transform: none;
  object-fit: cover;
}
.logoTile--photo:hover img{ transform: scale(1.02); transition: transform .35s ease; }
.logoTile--photo figcaption{
  padding: 12px 14px;
  margin:0;
  background: rgba(255,255,255,.92);
  border-top: 1px solid rgba(0,0,0,.08);
}
@media (max-width: 1200px){
  .logoWall__row{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .logoWall__row{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logoWall__row--photos{ grid-template-columns: 1fr; }
  .logoTile--photo img{ height: 320px; }
}


/* ===== Logo wall (references) - sizing fix ===== */
.logoWall__row{
  align-items: center;
}
.logoTile{
  min-height: 150px;
  padding: 18px 18px 14px;
}
.logoTile img{
  max-height: 62px !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto;
  display:block;
}
.logoTile figcaption{
  margin-top: 8px;
  font-size: 12px;
}
.logoWall__row--photos .logoTile--photo{
  min-height: 280px;
}
.logoWall__row--photos .logoTile--photo img{ height: 280px; }
@media (max-width: 820px){
  .logoTile img{ max-height: 38px !important; }
  .logoWall__row--photos .logoTile--photo img{ height: 320px; }
}


/* ===== Logo wall - larger layout ===== */
.logoWall__row{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1100px){
  .logoWall__row{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .logoWall__row{ grid-template-columns: 1fr; }
}


/* ===== Logo wall (references) - 3x scale + full width fill ===== */
.refs .refs__inner{
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.logoWall{
  width: 100%;
}

.logoWall__row{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch;
  width: 100%;
}

.logoTile{
  min-height: 240px;
  padding: 22px 20px 18px;
  border-radius: 22px;
}

.logoTile img{
  max-height: 120px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto;
}

.logoTile figcaption{
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.25;
}

.logoTile--text .logoTile__text{
  font-size: 20px;
}
.logoTile--text .logoTile__sub{
  font-size: 14px;
}

.logoWall__row--photos{
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  margin-top: 18px;
}

.logoWall__row--photos .logoTile--photo{
  min-height: 360px;
}

.logoWall__row--photos .logoTile--photo img{
  height: 360px !important;
}

.logoWall__row--photos .logoTile--photo figcaption{
  font-size: 14px;
}

/* Make sure it doesn’t look “cut off” on large screens */
.refs{
  padding-bottom: 72px;
}

@media (max-width: 820px){
  .logoWall__row{ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .logoTile{ min-height: 220px; }
  .logoTile img{ max-height: 110px !important; }
  .logoWall__row--photos{ grid-template-columns: 1fr; }
  .logoWall__row--photos .logoTile--photo img{ height: 300px !important; }
}
@media (max-width: 520px){
  .logoWall__row{ grid-template-columns: 1fr; }
  .logoTile{ min-height: 210px; }
}


/* ===== Logo wall - v37 sizes + multi-column layout ===== */
.logoWall__row{
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
@media (min-width: 1280px){
  .logoWall__row{ grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 820px){
  .logoWall__row{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px){
  .logoWall__row{ grid-template-columns: 1fr !important; }
}

/* Logos colored (no grayscale) */
.logoTile img{
  filter: none !important;
  opacity: 1 !important;
}


/* ===== FINAL FIX: Reference logos layout (wide tiles, fill row) ===== */
.logoWall__row{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(220px, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

@media (max-width: 1200px){
  .logoWall__row{ grid-template-columns: repeat(3, minmax(220px, 1fr)) !important; }
}
@media (max-width: 900px){
  .logoWall__row{ grid-template-columns: repeat(2, minmax(220px, 1fr)) !important; }
}
@media (max-width: 520px){
  .logoWall__row{ grid-template-columns: 1fr !important; }
}

.logoTile{
  border-radius: 20px !important;
  min-height: 160px !important;
  padding: 18px 18px 16px !important;
  justify-content: flex-start !important;
}

.logoTile img{
  max-height: 72px !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 6px auto 0 !important;
}

.logoTile figcaption{
  margin-top: 12px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}

/* keep text-only tile consistent */
.logoTile--text{
  min-height: 160px !important;
}

/* photos row should be separate and wide */
.logoWall__row--photos{
  grid-template-columns: repeat(2, minmax(420px, 1fr)) !important;
  margin-top: 18px !important;
}
@media (max-width: 900px){
  .logoWall__row--photos{ grid-template-columns: 1fr !important; }
}
.logoWall__row--photos .logoTile--photo{
  min-height: 260px !important;
}
.logoWall__row--photos .logoTile--photo img{
  height: 260px !important;
}


/* ===== Reference photos align with logo grid (same tile size) ===== */
.logoTile--photo{
  padding: 18px 18px 16px !important;
  overflow: hidden !important;
  min-height: 160px !important;
  justify-content: flex-start !important;
}
.logoTile--photo img{
  width: 100% !important;
  height: 72px !important;
  max-height: 72px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  margin: 6px auto 0 !important;
}
.logoTile--photo figcaption{
  background: transparent !important;
  border-top: 0 !important;
  padding: 0 !important;
  margin-top: 12px !important;
}


/* Hide header square icon (removed mark in header) */
header .brand__mark,
header .logo-mark,
header .site-logo,
header .logo,
header .mark{
  display:none !important;
}


header{ position:relative; }


/* ===== Mobile menu overlay ===== */
.menuOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 999; /* below nav (1000) and hamburger (1001) */
}

.menuOverlay.active{
  opacity: 1;
  pointer-events: auto;
}


/* ===== Hamburger to X animation ===== */
.hamburger span{
  transform-origin: center;
}
.hamburger.is-active span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2){
  opacity: 0;
  transform: scaleX(0.2);
}
.hamburger.is-active span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}


/* ===== Center content inside reference tiles ===== */
.logoTile{
  text-align: center !important;
  align-items: center !important;
}

.logoTile figcaption{
  text-align: center !important;
}

.logoTile--text{
  align-items: center !important;
  text-align: center !important;
}

.logoTile--text .logoTile__text,
.logoTile--text .logoTile__sub{
  text-align: center !important;
  width: 100%;
}


/* ===== Align Mercedes + Vasmű captions to same baseline ===== */
/* Nudge these two tiles down a bit so their text lines up with others */
.tile--mercedes img,
.tile--vasmu img{
  margin-top: 14px !important; /* was ~6px */
}

.tile--mercedes figcaption,
.tile--vasmu .logoTile__sub{
  margin-top: 14px !important;
}

/* For text-only tile, add top padding to match logo tiles */
.tile--vasmu{
  padding-top: 28px !important;
}


/* ===== Fine tune: Mercedes to match Audi; Vasmű subtext to match Szabadság híd ===== */
.tile--mercedes img{
  margin-top: 10px !important; /* closer to Audi's visual center */
}
.tile--mercedes figcaption{
  margin-top: 18px !important;
}

.tile--vasmu{
  padding-top: 22px !important; /* bring headline slightly down */
}
.tile--vasmu .logoTile__sub{
  margin-top: 18px !important; /* align to photo captions baseline */
}


/* keep page content above */
  position: relative;
  z-index: 1;
}

  position: absolute;
  top: -30vh;
  height: 160vh;
  width: min(520px, 70vw);
  opacity: 0.18;
  mix-blend-mode: screen;
  animation: wormFloat 14s ease-in-out infinite;
}

  left: -120px;
  transform: rotate(-6deg);
  animation-duration: 16s;
}

  right: -140px;
  transform: rotate(7deg);
  animation-duration: 18s;
  animation-delay: -6s;
}

  0%{ transform: translateY(0) translateX(0) rotate(var(--rot, 0deg)); }
  50%{ transform: translateY(22vh) translateX(18px) rotate(var(--rot, 0deg)); }
  100%{ transform: translateY(0) translateX(0) rotate(var(--rot, 0deg)); }
}

/* Set rotation via CSS variable so keyframes don't wipe it */

/* Subtle “energy” pulse along the stroke */
  stroke-dasharray: 36 26;
  animation: dashMove 6.5s linear infinite;
  opacity: .9;
}

  from{ stroke-dashoffset: 0; }
  to{ stroke-dashoffset: -180; }
}

/* Reduce on mobile to avoid visual noise */
@media (max-width: 640px){
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
}


/* Make worms slightly wider/taller so they span the whole page smoothly */
  top: -60vh !important;
  height: 220vh !important;
  width: min(760px, 78vw) !important;
  opacity: 0.20 !important;
}



/* Worms: gentle background layer (keep sections intact) */
body{
  background-color: rgba(250,250,250,0.92);
}


/* Subtle horizontal weave to emphasize crossings */

  0%{ transform: translateY(0) translateX(0) rotate(var(--rot, 0deg)); }
  33%{ transform: translateY(18vh) translateX(46px) rotate(var(--rot, 0deg)); }
  66%{ transform: translateY(36vh) translateX(-40px) rotate(var(--rot, 0deg)); }
  100%{ transform: translateY(0) translateX(0) rotate(var(--rot, 0deg)); }
}


/* Some sections/cards can be too opaque; let the glow subtly show through */
section, .section{
  background: transparent;
}

/* Cards stay readable but not fully opaque */
.card, .panel, .box, .faq__item, .logoTile, .form, .drill-offer, .adviceCard{
  background: rgba(255,255,255,.94) !important;
}

/* The tanácsadás block wrapper often covers everything; reduce opacity slightly */
#tanacsadas, #tanacsadas .container, #tanacsadas .wrap, #tanacsadas .card{
  background: transparent !important;
}
/* If the tanácsadás main card has a specific class, soften it */
.adviceCard, .advice, .adviceWrap, .tanacsadasCard{
  background: rgba(255,255,255,.90) !important;
}

/* Bring blue worm back in from the right and make it a touch stronger */
  right: -30px !important;
  opacity: 0.18 !important;
}
  left: -20px !important;
  opacity: 0.16 !important;
}

/* If any section sets overflow hidden, don't clip the fixed glow */
section, .section, main, .container{
  overflow: visible;
}

/* ===== Workshop reference images: show by default + better crop ===== */
.workshop-left{
  object-position: 50% 18% !important; /* show more from the top (brazing/flame area) */
}

/* Keep the gallery open on desktop; summary still visible but images already shown */
@media (min-width: 900px){
  details[open] summary{ opacity: 1; }
}


/* Hide workshop toggle on desktop, keep on mobile */
@media (min-width: 900px){
  details.workshopDetails > summary{
    display: none !important;
  }
  details.workshopDetails[open]{
    padding-top: 0;
  }
}


/* ===== Mobile form overflow fixes ===== */
*, *::before, *::after{ box-sizing: border-box; }

/* Prevent any horizontal scroll on small screens */
html, body{ max-width: 100%; overflow-x: hidden; }

/* Make form containers never exceed viewport */
.form, .formCard, .drill-offer, .offerCard, .card{
  max-width: 100%;
}

/* Inputs/selects/textareas full width */
input, select, textarea, button{
  max-width: 100%;
}

/* If there is a two-column grid, collapse to 1 column on mobile */
@media (max-width: 640px){
  .formGrid, .grid2, .grid-2, .row2, .twoCol, .cols2{
    grid-template-columns: 1fr !important;
  }
  .formRow, .row, .line{
    flex-wrap: wrap !important;
  }
}

/* Toggle buttons (Vizes/Száraz) should never overflow */
.toggle, .segmented, .pillGroup, .modeToggle{
  display: flex !important;
  gap: 10px;
  flex-wrap: wrap !important;
}
.toggle button, .segmented button, .pillGroup button, .modeToggle button,
.toggle a, .segmented a, .pillGroup a, .modeToggle a{
  flex: 1 1 140px !important;
  min-width: 0;
}

/* Diameter chips should wrap nicely */
.chips, .chipRow, .diameters, .diameterRow{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px;
}
.chips > *, .chipRow > *, .diameters > *, .diameterRow > *{
  flex: 0 0 auto;
}

/* Make selects not create overflow due to padding */
select{
  width: 100%;
}

/* If any card has large padding, reduce a bit on mobile */
@media (max-width: 640px){
  .card, .form, .drill-offer, .offerCard{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}


/* ===== Hero primary CTA standout ===== */
.ctaPrimary{
  background: rgba(255,255,255,0.92) !important;
  color: #0b0b0b !important;
  border: 1px solid rgba(255,255,255,0.55) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,0.35) !important;
  backdrop-filter: blur(10px);
  font-weight: 800 !important;
  letter-spacing: -0.2px;
}

.ctaPrimary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.42) !important;
}

.ctaPrimary:active{
  transform: translateY(0px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.32) !important;
}


/* ===== Hero CTA: centered + 3x larger ===== */
.heroCtaRow{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  margin-top: 18px;
  margin-bottom: 8px;
}

/* Make the primary CTA clearly stand out and larger */
.heroCtaRow .ctaPrimary{
  font-size: clamp(22px, 3.2vw, 44px) !important;
  padding: 18px 34px !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 44px rgba(0,0,0,0.38) !important;
}

/* Keep it sensible on very small phones */
@media (max-width: 420px){
  .heroCtaRow .ctaPrimary{
    font-size: 20px !important;
    padding: 16px 22px !important;
    border-radius: 16px !important;
  }
}


/* ===== Center the submit button ===== */
.submitCenterRow{
  display: flex !important;
  justify-content: center !important;
}
.submitCenterBtn{
  margin-left: auto !important;
  margin-right: auto !important;
}

/* More vertical spacing between the two new questions (mobile + desktop) */
.formRow--replacement{
  /* ensure clear vertical spacing when the two questions wrap on mobile */
  display: flex;
  flex-wrap: wrap;
  gap: 34px 24px; /* row-gap, column-gap */
  align-items: flex-start;
  margin-top: 10px;
  margin-bottom: 6px;
}
.formRow--replacement .label{
  margin-bottom: 10px;
}
@media (max-width: 720px){
  .formRow--replacement{ gap: 34px; }
}

.formRow--replacement .field{
  flex: 1 1 360px;
  min-width: 260px;
}
