/* ============================================================
   Király Kosaras Favágó Kft. – styles.css
   Mobile-first, conversion-focused, non-generic service page
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --charcoal:    #1e2022;
  --charcoal-2:  #2c3033;
  --charcoal-3:  #3a4044;
  --off-white:   #f4f1ec;
  --white:       #ffffff;
  --orange:      #e85d04;
  --orange-dark: #c44d00;
  --orange-light:#ffeee4;
  --green-muted: #3d5a47;
  --green-light: #e8f0eb;
  --text-main:   #1e2022;
  --text-muted:  #5a6068;
  --border:      #d6d0c8;
  --font:        'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.75rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.35rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 700; }

p { margin-bottom: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.1rem;
}

.section {
  padding: 3rem 0;
}

.section--dark {
  background: var(--charcoal);
  color: var(--white);
}

.section--charcoal2 {
  background: var(--charcoal-2);
  color: var(--white);
}

.section--green {
  background: var(--green-light);
}

.section--orange-tint {
  background: var(--orange-light);
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.section-intro {
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-size: 1rem;
  max-width: 560px;
}

.section--dark .section-intro,
.section--charcoal2 .section-intro {
  color: #a0abb5;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  padding: 0.85rem 1.5rem;
  transition: background 0.18s, color 0.18s, transform 0.1s;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover { background: var(--orange-dark); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn--outline-dark:hover { background: var(--charcoal); color: var(--white); }

.btn--lg {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.btn--full { width: 100%; }

/* ---------- STICKY MOBILE CALL BAR ---------- */
#sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--charcoal);
  border-top: 3px solid var(--orange);
  padding: 0.65rem 1rem;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
}

#sticky-bar a {
  flex: 1;
  max-width: 280px;
}

@media (max-width: 767px) {
  #sticky-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* ---------- HEADER / NAV ---------- */
#site-header {
  background: var(--charcoal);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 900;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.1rem;
  max-width: 1080px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  flex-direction: column;
}

.site-logo__name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.site-logo__sub {
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-phone {
  display: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

@media (min-width: 480px) {
  .header-phone { display: block; }
}

/* ---------- HERO ---------- */
#hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 2.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
  }
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 0.8rem;
}

.hero-content h1 span {
  color: var(--orange);
}

.hero-sub {
  font-size: 1.05rem;
  color: #c0c8d0;
  margin-bottom: 1.6rem;
  max-width: 540px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-microcopy {
  font-size: 0.82rem;
  color: #8a9aaa;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-microcopy::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
}

/* Call panel */
.call-panel {
  background: var(--charcoal-2);
  border: 1.5px solid var(--charcoal-3);
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  padding: 1.25rem 1.3rem;
}

.call-panel__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}

.call-panel__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.call-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: #c8d0d8;
  line-height: 1.4;
}

.call-panel__list li::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.hero-img-placeholder {
  margin-top: 1.5rem;
  background: var(--charcoal-3);
  border: 1.5px dashed #4a5560;
  border-radius: 6px;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6a7a88;
  font-style: italic;
  line-height: 1.5;
}

/* ---------- TRUST BAR ---------- */
#trust-bar {
  background: var(--charcoal-2);
  border-bottom: 3px solid var(--charcoal-3);
  padding: 1.1rem 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.trust-item__icon {
  width: 28px;
  height: 28px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--white);
}

/* ---------- PROBLEM CHECKLIST ---------- */
#problem-checklist {
  background: var(--off-white);
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

@media (min-width: 540px) {
  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .checklist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Vary widths slightly for non-generic feel */
  .checklist-item:nth-child(1) { grid-column: span 2; }
  .checklist-item:nth-child(5) { grid-column: span 2; }
}

.checklist-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: 5px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

.checklist-item__check {
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.checklist-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

@media (min-width: 480px) {
  .checklist-cta { flex-direction: row; align-items: center; }
}

/* ---------- SERVICES ---------- */
#services {
  background: var(--charcoal);
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 1.8rem;
  background: var(--charcoal-3);
  border: 1px solid var(--charcoal-3);
  border-radius: 6px;
  overflow: hidden;
}

@media (min-width: 540px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--charcoal-2);
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: background 0.15s;
}

.service-card:hover { background: var(--charcoal-3); }

.service-card__num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
}

.service-card h3 {
  color: var(--white);
  font-size: 1rem;
}

.service-card p {
  font-size: 0.88rem;
  color: #9aabb8;
  line-height: 1.5;
}

/* ---------- PROCESS ---------- */
#process {
  background: var(--off-white);
}

.process-steps {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 1.8rem;
}

.process-step:last-child { padding-bottom: 0; }

.process-step__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.process-step__num {
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-step__connector {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 4px;
  min-height: 30px;
}

.process-step:last-child .process-step__connector { display: none; }

.process-step__body {
  padding-top: 0.5rem;
}

.process-step__body h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.process-step__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- EMELŐKOSÁR ---------- */
#emelo-kosar {
  background: var(--charcoal);
  color: var(--white);
}

.kosar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .kosar-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.kosar-body {
  font-size: 1rem;
  color: #c0c8d0;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.kosar-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.kosar-spec {
  background: var(--charcoal-2);
  border: 1.5px solid var(--charcoal-3);
  border-top: 3px solid var(--orange);
  border-radius: 4px;
  padding: 0.85rem 0.9rem;
}

.kosar-spec__value {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
}

.kosar-spec__label {
  font-size: 0.78rem;
  color: #8a9aaa;
  margin-top: 0.2rem;
  line-height: 1.3;
}

.kosar-img-placeholder {
  background: var(--charcoal-2);
  border: 1.5px dashed #4a5560;
  border-radius: 6px;
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6a7a88;
  font-style: italic;
  line-height: 1.5;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- FAQ ---------- */
#faq {
  background: var(--off-white);
}

.faq-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1.5px solid var(--border);
  background: var(--white);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 1rem 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  line-height: 1.4;
  transition: background 0.15s;
}

.faq-question:hover { background: var(--off-white); }

.faq-question[aria-expanded="true"] {
  color: var(--orange);
  background: var(--orange-light);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--orange);
  color: var(--orange);
}

.faq-answer {
  display: none;
  padding: 0 1.1rem 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border);
}

.faq-answer.is-open { display: block; }

/* ---------- GALLERY ---------- */
#gallery {
  background: var(--charcoal-2);
  color: var(--white);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .gallery-strip { grid-template-columns: repeat(4, 1fr); }
}

.gallery-placeholder {
  background: var(--charcoal-3);
  border: 1.5px dashed #4a5560;
  border-radius: 5px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6a7a88;
  font-style: italic;
  line-height: 1.45;
}

/* ---------- FINAL CTA ---------- */
#final-cta {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0;
}

#final-cta h2 {
  color: var(--white);
  margin-bottom: 0.8rem;
}

#final-cta h2 span { color: var(--orange); }

.final-cta-body {
  font-size: 1.05rem;
  color: #a0abb5;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 480px) {
  .final-cta-buttons { flex-direction: row; justify-content: center; }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.9rem;
  color: #7a8a98;
}

.contact-details a {
  color: #a0abb5;
  font-weight: 600;
}
.contact-details a:hover { color: var(--orange); }

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-row__label {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- FOOTER ---------- */
#site-footer {
  background: #14171a;
  color: #5a6470;
  text-align: center;
  padding: 1.2rem 1rem;
  font-size: 0.8rem;
  border-top: 2px solid var(--charcoal-3);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 479px) {
  .btn--lg { font-size: 1rem; padding: 0.9rem 1.2rem; }
  .kosar-specs { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .section { padding: 4rem 0; }
  .hero-img-placeholder { display: none; }
}

/* ---------- Utility ---------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
