/*
Theme Name: Klimatgyorsan
Theme URI: https://klimatgyorsan.hu
Author: Klímát gyorsan
Description: Egyedi WordPress téma a Klímát gyorsan klímaszerelő vállalkozás számára. Elementor és felesleges pluginfüggőség nélkül, gyors betöltésre optimalizálva.
Version: 1.0.0
Text Domain: klimatgyorsan
*/

/* ============================
   DESIGN TOKENS
   ============================ */
:root {
  /* Colors */
  --ink: #0D2B3E;          /* mély petróleumkék - sötét szekciók, törzsszöveg */
  --ink-soft: #3A5567;     /* halványabb szöveg sötét alapon */
  --paper: #EEF3F2;        /* hűvös ködfehér háttér */
  --paper-raised: #FFFFFF; /* kártyák, panelek */
  --line: #C7D3D2;         /* halvány elválasztó */
  --cool: #2E9CAB;         /* hűtés akcent - türkiz */
  --cool-deep: #1F7482;
  --warm: #E8632C;         /* fűtés / gyorsaság akcent - narancs */
  --warm-deep: #C24A18;
  --warm-text-onlight: #B23D14; /* narancs szöveg világos háttéren, WCAG AA 4.5:1 */
  --warm-text-ondark: #FF9A5C;  /* narancs szöveg sötét háttéren, WCAG AA 4.5:1 */
  --success: #3E8E5B;

  /* Type */
  --font-display: 'Archivo Expanded', 'Archivo', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Scale */
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-3: clamp(2.25rem, 1.8rem + 2vw, 3.75rem);

  --radius: 6px;
  --container: 1180px;
}

/* ============================
   RESET / BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.mono { font-family: var(--font-mono); }
:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-warm { background: var(--warm-deep); color: #fff; }
.btn-warm:hover { background: #9E3510; }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }

/* ============================
   HEADER
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.site-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.35em;
}
.site-header .site-logo .accent { color: var(--warm-text-onlight); }
.site-footer .site-logo .accent { color: var(--warm-text-ondark); }
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.primary-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { border-color: var(--warm); }
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
}
.header-phone a {
  text-decoration: none;
  color: var(--cool-deep);
}
.nav-toggle { display: none; }
@media (max-width: 880px) {
  .primary-nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-family: var(--font-display);
    font-weight: 700;
    cursor: pointer;
  }
  .primary-nav.is-open {
    display: block;
    position: absolute;
    left: 0; right: 0; top: 76px;
    background: var(--paper-raised);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
  }
  .primary-nav.is-open ul { flex-direction: column; gap: 14px; }
}

/* ============================
   HERO + GAUGE SIGNATURE
   ============================ */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
}
.hero-eyebrow {
  font-family: var(--font-mono);
  color: var(--cool);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.hero h1 { margin-bottom: 0.4em; }
.hero h1 .warm { color: var(--warm); }
.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-actions .btn-outline { color: #fff; }

/* Gauge: hőmérő-sebességmérő sáv, kánikulától a komfortig */
.gauge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 28px 28px 22px;
}
.gauge-track {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--warm) 0%, var(--warm) 30%, var(--ink-soft) 50%, var(--cool) 70%, var(--cool) 100%);
  position: relative;
  margin: 18px 0 10px;
}
.gauge-marker {
  position: absolute;
  top: 50%;
  left: 78%;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--cool-deep), 0 4px 12px rgba(0,0,0,0.4);
  transition: left 0.8s ease;
}
.gauge-marker::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid var(--cool-deep);
  animation: gauge-pulse-ring 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes gauge-pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}
.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}
.gauge-readout {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 16px;
}
.gauge-readout .num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cool);
}
.gauge-readout .cap {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  max-width: 22ch;
  text-align: right;
}

/* ============================
   TRUST STRIP
   ============================ */
.trust-strip {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-block: 22px;
  justify-content: space-between;
}
.trust-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.trust-item .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--warm-deep);
}
.trust-item .label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ============================
   SERVICES
   ============================ */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head .eyebrow {
  font-family: var(--font-mono);
  color: var(--warm-text-onlight);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.service-card .index {
  font-family: var(--font-mono);
  color: var(--cool-deep);
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 0.5em; }
.service-card p { color: var(--ink-soft); margin-bottom: 1.2em; }
.service-card a { font-weight: 700; text-decoration: none; color: var(--warm-deep); }

.promo-card {
  border-top: 3px solid var(--warm);
  display: flex;
  flex-direction: column;
}
.promo-card h2, .promo-card h3 {
  font-size: 1.15rem;
  color: var(--ink);
}
.promo-card p { color: var(--ink-soft); }
.promo-card strong { color: var(--warm-deep); }
.promo-card a {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  padding: 0.7em 1.3em;
  background: var(--warm);
  color: #fff !important;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.promo-card a:hover { background: var(--warm-deep); }
.promo-card img { display: none; }

/* Lapozás (blog) */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-numbers.dots { border: none; }
a.page-numbers:hover { border-color: var(--warm); color: var(--warm-deep); }

/* ============================
   PRODUCT CARDS (Klímák oldal)
   ============================ */
.product-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card-icon {
  background: var(--paper);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
.product-card-icon svg { width: 84px; height: 84px; color: var(--cool-deep); }
.product-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.product-card .badge {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--warm-deep);
  margin-bottom: 8px;
}
.product-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.product-card .spec-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
  flex: 1;
}
.product-card .spec-list li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
}
.product-card .spec-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--cool);
  font-family: var(--font-mono);
}
.product-card .cta-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8em 1.4em;
  background: var(--warm);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.product-card .cta-pill:hover { background: var(--warm-deep); }

/* ============================
   HŰTÉS / FŰTÉS VÁLTÓKAPCSOLÓ
   ============================ */
.mode-toggle-wrap {
  text-align: center;
  margin-bottom: 28px;
  display: inline-block;
  background: linear-gradient(180deg, #F5F2FA 0%, #ECE4F7 100%);
  border: none;
  border-radius: 18px;
  padding: 20px 28px;
}
.mode-toggle-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 14px;
}
.mode-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 12px 30px -18px rgba(75,59,119,0.35);
}
.mode-toggle a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mode-toggle a .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.mode-toggle a.is-active.mode-cool {
  background: var(--cool-deep);
  color: #fff;
}
.mode-toggle a.is-active.mode-warm {
  background: #F0B52C;
  color: #4A3A0A;
}
.mode-toggle a.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid currentColor;
  animation: mode-pulse-ring 2.2s ease-out infinite;
  pointer-events: none;
}
.mode-toggle a.is-active .dot { opacity: 1; }
.mode-toggle a:not(.is-active):hover { color: var(--ink); }
@keyframes mode-pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.12); opacity: 0; }
}

/* ============================
   PROCESS TIMELINE (valódi sorrend -> jogos számozás)
   ============================ */
.process { background: var(--ink); color: #fff; }
.process .section-head .eyebrow { color: var(--cool); }
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .process-track { grid-template-columns: 1fr; } }
.process-step {
  border-top: 3px solid var(--warm);
  padding-top: 18px;
}
.process-step .n {
  font-family: var(--font-mono);
  color: var(--warm-text-ondark);
  font-size: 0.85rem;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 8px 0 8px;
}
.process-step p { color: rgba(255,255,255,0.68); font-size: 0.92rem; margin: 0; }

/* ============================
   COVERAGE AREA
   ============================ */
.coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .coverage { grid-template-columns: 1fr; } }
.coverage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.coverage-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
}
.coverage-list li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cool);
  flex-shrink: 0;
}

/* ============================
   REVIEWS
   ============================ */
.reviews { background: var(--paper-raised); }

/* ============================
   FAQ
   ============================ */
.faq-list { max-width: 78ch; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--warm);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; }

/* ============================
   CTA BAND
   ============================ */
.cta-band {
  background: linear-gradient(120deg, var(--cool-deep), var(--cool));
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { max-width: 24ch; margin-inline: auto; }
.cta-band .btn-warm { margin-top: 8px; }

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--cool); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
