/* =========================================================
   TNT Solar Kft. — design tokens
   ========================================================= */
:root{
  --navy:        #04234A;
  --blue-dark:   #03366C;
  --blue-light:  #0B73C2;
  --gold:        #F2B446;
  --gold-dark:   #D99A2B;
  --green:       #5FA024;
  --green-dark:  #4C8016;

  --bg:          #FFFFFF;
  --bg-soft:     #F4F7FB;
  --bg-navy:     var(--navy);

  --text:        #16233B;
  --text-muted:  #56698A;
  --text-invert: #EAF1FB;

  --border:      #E3E9F2;

  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;

  --shadow-sm:   0 4px 14px rgba(4, 35, 74, 0.06);
  --shadow-md:   0 16px 40px rgba(4, 35, 74, 0.12);

  --gradient-hero: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-light) 55%, var(--navy) 100%);
  --gradient-gold: linear-gradient(135deg, #F7C56A 0%, var(--gold) 100%);

  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 140px; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4{ font-family: var(--font-head); color: var(--navy); margin: 0 0 .5em; line-height: 1.2; }
p{ margin: 0 0 1em; color: var(--text-muted); }
button{ font-family: inherit; cursor: pointer; }
input, select, textarea{ font-family: inherit; font-size: 1rem; }
svg{ flex-shrink: 0; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus{ left: 0; }

.eyebrow{
  display: inline-block;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: .6em;
}

.section-head{
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head h2{ font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.section-lead{ font-size: 1.05rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--gradient-gold);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-ghost:hover{ background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline{
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}
.btn-outline:hover{ border-color: var(--blue-dark); color: var(--blue-dark); }
.btn-large{ padding: 16px 30px; font-size: 1rem; }
.btn-small{ padding: 9px 18px; font-size: .85rem; }
.btn-full{ width: 100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(234,241,251,.88) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.site-header.scrolled{ box-shadow: var(--shadow-sm); }
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 130px;
  transition: height .3s ease;
}
.brand-logo{ height: 105px; width: auto; transition: height .3s ease; }
.site-header.scrolled .header-inner{ height: 84px; }
.site-header.scrolled .brand-logo{ height: 66px; }

.main-nav ul{ display: flex; gap: 32px; }
.main-nav a{
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after{ transform: scaleX(1); }

.header-actions{ display: flex; align-items: center; gap: 18px; }
.header-phone{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--blue-dark);
}
.header-phone svg{ color: var(--gold-dark); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position: relative;
  padding: 76px 0 90px;
  overflow: hidden;
  color: #fff;
}
.hero-bg{
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: var(--gradient-hero);
  z-index: -2;
}
.hero-bg::before{
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(242,180,70,.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(95,160,36,.25), transparent 40%);
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero-wave{
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 60px;
  z-index: 1;
  pointer-events: none;
}
.hero-wave path{ fill: var(--bg-soft); }
.hero-copy h1{
  color: #fff;
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  font-weight: 700;
  margin-bottom: .45em;
}
.hero-copy h1 span{ color: var(--gold); }
.hero-lead{
  color: var(--text-invert);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 1.8em;
}
.hero .eyebrow{ color: var(--gold); }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 2.2em; }

.hero-trust{ display: flex; flex-wrap: wrap; gap: 20px 28px; }
.hero-trust li{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: .92rem;
  color: var(--text-invert);
}
.hero-trust svg{ width: 18px; height: 18px; color: var(--gold); }

.hero-visual{ position: relative; display: flex; justify-content: flex-start; }
.hero-card{
  width: 141%;
  max-width: 660px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.hero-card-logo{ filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); }

.hero-stat{
  position: absolute;
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.hero-stat strong{ font-family: var(--font-head); font-size: 1.5rem; color: var(--green-dark); }
.hero-stat span{ font-size: .78rem; color: var(--text-muted); font-weight: 500; }
.hero-stat-1{ top: -6px; left: -18px; }
.hero-stat-2{ bottom: -6px; right: -18px; }

/* =========================================================
   Trust bar
   ========================================================= */
.trustbar{ background: var(--bg-soft); padding: 40px 0 24px; }
.trustbar-inner{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trustbar-item strong{
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--blue-dark);
}
.trustbar-item span{ font-size: .88rem; color: var(--text-muted); font-weight: 500; }
.trustbar-item strong .count{ font-size: inherit; color: inherit; font-weight: inherit; }
.trustbar-item strong .count-suffix{
  font-size: .55em;
  color: inherit;
  font-weight: 600;
  margin-left: 1px;
}
.trustbar-note{
  text-align: center;
  font-size: .75rem;
  color: var(--text-muted);
  opacity: .7;
  margin: 16px 0 0;
}

/* =========================================================
   Services
   ========================================================= */
.services{
  padding: 96px 0;
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6FAFD 45%, #EAF1FB 100%);
}
.services::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(4,35,74,.07) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
}
.services > .container{ position: relative; }
.service-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(242,180,70,.35), 0 0 24px rgba(242,180,70,.25);
  border-color: transparent;
}
.service-icon{
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform .25s ease;
}
.service-card:hover .service-icon{ transform: rotate(-6deg) scale(1.08); }
.service-icon svg{ width: 30px; height: 30px; }
.service-card h3{ font-size: 1.15rem; margin-bottom: .5em; }
.service-card p{ font-size: .94rem; margin-bottom: 1.3em; }
.service-links{ display: flex; flex-direction: column; gap: 8px; }
.service-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue-dark);
}
.service-link svg{ width: 16px; height: 16px; transition: transform .15s ease; }
.service-link:hover svg{ transform: translateX(4px); }
.service-link-secondary{ color: var(--text-muted); font-weight: 500; }
.service-link-secondary:hover{ color: var(--blue-dark); }

.service-card-cta{
  background: var(--gradient-hero);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card-cta h3{ color: #fff; }
.service-card-cta p{ color: var(--text-invert); }
.service-card-cta .btn{ align-self: flex-start; }

/* =========================================================
   Benefits
   ========================================================= */
.benefits{ padding: 96px 0; background: var(--bg-soft); }
.benefits-inner{
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 56px;
  align-items: center;
}
.benefits-copy h2{ font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.benefit-list{ display: grid; gap: 24px; margin-top: 36px; }
.benefit-item{ display: flex; gap: 18px; align-items: flex-start; }
.benefit-icon{
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.benefit-icon svg{ width: 22px; height: 22px; }
.benefit-item h3{ font-size: 1.05rem; margin-bottom: .3em; }
.benefit-item p{ font-size: .92rem; margin: 0; }

.benefits-visual{ display: flex; justify-content: center; }
.benefits-badge{
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--gradient-hero);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-head);
  box-shadow: var(--shadow-md);
  padding: 20px;
}
.benefits-badge svg{ width: 52px; height: 52px; color: var(--gold); }

/* =========================================================
   Process
   ========================================================= */
.process{
  padding: 96px 0;
  position: relative;
  background: linear-gradient(180deg, #EAF1FB 0%, #F6FAFD 55%, #FFFFFF 100%);
}
.process::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(4,35,74,.07) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
}
.process > .container{ position: relative; }
.process .section-head{ margin-left: auto; margin-right: auto; text-align: center; }
.process-steps{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.process-steps li{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.process-steps li:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(242,180,70,.35), 0 0 24px rgba(242,180,70,.25);
  border-color: transparent;
}
.process-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-hero);
  color: var(--text-invert);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
  transition: transform .25s ease;
}
.process-steps li:hover .process-num{ transform: rotate(-8deg) scale(1.1); }
.process-steps h3{ font-size: 1.05rem; }
.process-steps p{ font-size: .9rem; margin: 0; }

/* =========================================================
   GYIK
   ========================================================= */
.faq{
  padding: 96px 0;
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6FAFD 60%, #EAF1FB 100%);
}
.faq-inner{ max-width: 820px; }
.faq .section-head{ margin-left: auto; margin-right: auto; text-align: center; }
.faq-list{ display: grid; gap: 12px; }
.faq-item{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open]{ border-color: var(--blue-light); box-shadow: var(--shadow-sm); }
.faq-item summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 2.2px solid var(--blue-light);
  border-bottom: 2.2px solid var(--blue-light);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq-item[open] summary::after{ transform: rotate(-135deg) translate(-2px, -2px); }
.faq-item summary:hover{ color: var(--blue-dark); }
.faq-answer{ padding: 0 22px 20px; }
.faq-answer p{ margin: 0; font-size: .95rem; line-height: 1.75; }
.faq-answer a{ color: var(--blue-dark); font-weight: 600; text-decoration: underline; }

@media (prefers-reduced-motion: reduce){
  .faq-item summary::after{ transition: none; }
}

/* =========================================================
   Contact / Quote form
   ========================================================= */
.contact{ padding: 96px 0; background: var(--bg-soft); }
.contact-inner{
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-details{ display: grid; gap: 18px; margin-top: 32px; }
.contact-details li{
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--text);
}
.contact-details svg{
  width: 20px; height: 20px;
  color: var(--blue-dark);
  flex-shrink: 0;
}

.quote-form{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.form-field{ margin-bottom: 20px; }
.form-field label{
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 7px;
  color: var(--navy);
}
.form-field label span{ color: var(--gold-dark); }
.form-field input,
.form-field select,
.form-field textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--blue-light);
  background: #fff;
}
.form-field textarea{ resize: vertical; min-height: 100px; }

.form-checkbox{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  cursor: pointer;
}
.form-checkbox input{ margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.form-checkbox a{ color: var(--blue-dark); text-decoration: underline; }
.form-checkbox span span{ color: var(--gold-dark); }

.form-note{
  margin: 14px 0 0;
  font-size: .9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-note.success{ color: var(--green-dark); }
.form-note.error{ color: #C0392B; }

.form-field.field-invalid input,
.form-field.field-invalid select,
.form-field.field-invalid textarea{
  border-color: #C0392B;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background: var(--navy); color: var(--text-invert); padding: 0; position: relative; }
.footer-wave{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
}
.footer-wave path{ fill: var(--bg-soft); }
.footer-inner{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-logo{ height: 52px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p{ color: rgba(234,241,251,.7); font-size: .9rem; }
.footer-col h4{ color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer-col ul{ display: grid; gap: 12px; }
.footer-col a{ color: rgba(234,241,251,.75); font-size: .92rem; }
.footer-col a:hover{ color: var(--gold); }

.footer-bottom{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  font-size: .8rem;
  color: rgba(234,241,251,.55);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px){
  .main-nav{
    position: fixed;
    top: 130px;
    right: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 130px);
    background: #fff;
    transform: translateX(100%);
    transition: transform .25s ease;
    padding: 32px 24px;
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 99;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav ul{ flex-direction: column; gap: 4px; }
  .main-nav a{ display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .header-phone span{ display: none; }
  .nav-toggle{ display: flex; }
  .header-actions{ gap: 12px; }
  .header-actions .btn-small{ padding: 9px 14px; font-size: .8rem; }
}

@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; margin-bottom: 16px; justify-content: center; }
  .hero-card{ width: 100%; max-width: 480px; }
  .benefits-inner{ grid-template-columns: 1fr; }
  .benefits-visual{ order: -1; }
  .contact-inner{ grid-template-columns: 1fr; }
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-steps{ grid-template-columns: repeat(3, 1fr); }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px){
  .header-actions .btn-small{ display: none; }

  .hero{ padding: 48px 0 64px; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ width: 100%; }
  .hero-stat{ position: static; margin-top: 12px; width: fit-content; }
  .hero-stat-1, .hero-stat-2{ position: static; }

  .trustbar-inner{ grid-template-columns: repeat(2, 1fr); }
  .service-grid{ grid-template-columns: 1fr; }
  .process-steps{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
  .quote-form{ padding: 26px; }
  .services, .benefits, .process, .contact, .faq{ padding: 64px 0; }
}

/* =========================================================
   Cookie banner
   ========================================================= */
.cookie-banner{
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}
.cookie-banner[hidden]{ display: none; }
.cookie-banner-inner{
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
}
.cookie-banner-inner p{
  margin: 0;
  font-size: .88rem;
  color: var(--text-muted);
  flex: 1;
}
.cookie-banner-inner a{ color: var(--blue-dark); text-decoration: underline; }
.cookie-banner-actions{ display: flex; gap: 10px; flex-shrink: 0; }

@media (max-width: 640px){
  .cookie-banner{ left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner-inner{ flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner-actions{ justify-content: stretch; }
  .cookie-banner-actions .btn{ flex: 1; }
}

/* =========================================================
   Vissza a tetejére gomb
   ========================================================= */
.back-to-top{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-hero);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, box-shadow .2s ease;
  z-index: 90;
}
.back-to-top.visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(242,180,70,.35), 0 0 20px rgba(242,180,70,.3);
}
.back-to-top svg{ width: 22px; height: 22px; }

@media (max-width: 640px){
  .back-to-top{ right: 16px; bottom: 88px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce){
  .back-to-top{ transition: opacity .15s ease, visibility .15s; }
}

/* =========================================================
   Scroll-reveal animáció
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

.service-grid .reveal:nth-child(2){ transition-delay: .06s; }
.service-grid .reveal:nth-child(3){ transition-delay: .12s; }
.service-grid .reveal:nth-child(4){ transition-delay: .18s; }
.service-grid .reveal:nth-child(5){ transition-delay: .24s; }
.service-grid .reveal:nth-child(6){ transition-delay: .3s; }

.benefit-list .reveal:nth-child(2){ transition-delay: .08s; }
.benefit-list .reveal:nth-child(3){ transition-delay: .16s; }
.benefit-list .reveal:nth-child(4){ transition-delay: .24s; }

.process-steps .reveal:nth-child(2){ transition-delay: .06s; }
.process-steps .reveal:nth-child(3){ transition-delay: .12s; }
.process-steps .reveal:nth-child(4){ transition-delay: .18s; }
.process-steps .reveal:nth-child(5){ transition-delay: .24s; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}
