/* ============================================================
   G+P Faipar – Főstíluslap
   Szín rendszer:
     --bg:        #F7F4EF  (meleg krém háttér)
     --bg-alt:    #EDE8DF  (enyhén sötétebb háttér sávokhoz)
     --text:      #1E1E1E  (grafitszürke szöveg)
     --text-muted:#5A5550  (másodlagos szöveg)
     --wood:      #5C3A1E  (mély fa barna)
     --wood-light:#8B5E3C  (közepes fa barna)
     --cta:       #2D5016  (sötétzöld CTA)
     --cta-hover: #1E3A0F
     --border:    #D4C9B8
     --white:     #FFFFFF
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #F7F4EF;
  --bg-alt:     #EDE8DF;
  --text:       #1E1E1E;
  --text-muted: #5A5550;
  --wood:       #5C3A1E;
  --wood-light: #8B5E3C;
  --cta:        #2D5016;
  --cta-hover:  #1E3A0F;
  --border:     #D4C9B8;
  --white:      #FFFFFF;
  --radius:     6px;
  --shadow:     0 2px 12px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

/* ── Utility ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood-light);
  margin-bottom: 10px;
}
.section-heading {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--wood);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--cta);
  color: var(--white);
  border-color: var(--cta);
}
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.btn-outline {
  background: transparent;
  color: var(--wood);
  border-color: var(--wood);
}
.btn-outline:hover { background: var(--wood); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--cta);
  border-color: transparent;
  padding-left: 0;
}
.btn-ghost:hover { color: var(--cta-hover); }
.btn-phone {
  background: var(--white);
  color: var(--wood);
  border-color: var(--border);
}
.btn-phone:hover { background: var(--bg-alt); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.site-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--wood);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.site-logo span { color: var(--cta); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.site-nav a:hover, .site-nav a.active { background: var(--bg-alt); color: var(--wood); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.header-phone:hover { background: var(--bg-alt); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
}
.menu-toggle svg { display: block; }
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 11px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: 10px; justify-content: center; }

/* ── Hero ── */
.hero {
  background: var(--bg);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood-light);
  background: #EDE0D0;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero-headline {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--wood);
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.hero-trust {
  font-size: 0.9rem;
  color: var(--wood-light);
  font-weight: 600;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--wood-light);
  flex-shrink: 0;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quick Quote Panel */
.quote-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.quote-panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wood);
  margin-bottom: 18px;
}
.quote-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}
.quote-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}
.quote-option input[type="checkbox"] { display: none; }
.quote-option.selected {
  border-color: var(--cta);
  background: #EAF2E3;
  color: var(--cta);
  font-weight: 600;
}
.quote-option-dot {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border);
  border-radius: 3px;
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition);
}
.quote-option.selected .quote-option-dot {
  border-color: var(--cta);
  background: var(--cta);
}
.quote-panel .btn { width: 100%; justify-content: center; }

/* ── Trust Strip ── */
.trust-strip {
  background: var(--wood);
  padding: 28px 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  color: rgba(255,255,255,0.92);
  font-size: 0.9rem;
  font-weight: 500;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.9); fill: none; }

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--wood-light);
}
.service-card-icon {
  width: 40px;
  height: 40px;
  background: #EDE0D0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.service-card-icon svg { width: 20px; height: 20px; stroke: var(--wood); fill: none; }
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--wood);
  margin-bottom: 6px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.services-cta { text-align: center; }

/* ── Works / Gallery ── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--white);
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--wood-light); color: var(--wood); }
.filter-btn.active {
  background: var(--wood);
  border-color: var(--wood);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
.gallery-item.hidden { display: none; }
.gallery-placeholder {
  aspect-ratio: 4/3;
  background: #E8DDD0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  gap: 8px;
}
.gallery-placeholder svg { width: 32px; height: 32px; stroke: var(--wood-light); fill: none; opacity: 0.6; }
.gallery-placeholder-text {
  font-size: 0.78rem;
  color: var(--wood-light);
  line-height: 1.5;
  font-style: italic;
}
.gallery-item-label {
  padding: 10px 14px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--wood);
  border-top: 1px solid var(--border);
}
.gallery-cta { text-align: center; }

/* ── How to Quote ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.step-card {
  position: relative;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #E8DDD0;
  line-height: 1;
  margin-bottom: 12px;
}
.step-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--wood);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.steps-cta { text-align: center; }

/* ── Guarantee / 3D ── */
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.guarantee-text h2 { margin-bottom: 16px; }
.guarantee-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.guarantee-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guarantee-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.guarantee-card-icon {
  width: 44px;
  height: 44px;
  background: #EDE0D0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guarantee-card-icon svg { width: 22px; height: 22px; stroke: var(--wood); fill: none; }
.guarantee-card-text h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--wood);
  margin-bottom: 2px;
}
.guarantee-card-text p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── FAQ ── */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--wood); }
.faq-icon {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}
.faq-icon svg { width: 12px; height: 12px; stroke: var(--text-muted); fill: none; transition: transform var(--transition); }
.faq-item.open .faq-icon { background: var(--cta); border-color: var(--cta); }
.faq-item.open .faq-icon svg { stroke: var(--white); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── Quote Form ── */
.quote-form-wrap {
  max-width: 680px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--cta); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.form-success {
  display: none;
  background: #EAF2E3;
  border: 1px solid #A8D08D;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  margin-top: 20px;
}
.form-success h3 { color: var(--cta); margin-bottom: 8px; }
.form-success p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: #EDE0D0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--wood); fill: none; }
.contact-detail-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-detail-text p, .contact-detail-text a {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}
.contact-detail-text a:hover { color: var(--cta); }
.contact-cta-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-cta-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wood);
  margin-bottom: 12px;
}
.contact-cta-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.65;
}
.contact-cta-box .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--wood);
  padding: 52px 0 44px;
  color: var(--white);
}
.page-hero .section-label { color: rgba(255,255,255,0.6); }
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  line-height: 1.65;
}

/* ── Footer ── */
.site-footer {
  background: var(--wood);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .site-logo { color: var(--white); font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand .site-logo span { color: #A8D08D; }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.footer-contact-item svg { width: 15px; height: 15px; stroke: rgba(255,255,255,0.5); fill: none; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Mobile Sticky CTA ── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  gap: 10px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
}
.mobile-sticky-cta .btn { flex: 1; justify-content: center; font-size: 0.9rem; padding: 12px 16px; }

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.83rem;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--wood); }
.breadcrumb span { color: var(--border); }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .quote-panel { max-width: 500px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .site-nav, .header-actions .btn, .header-phone { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 40px 0 36px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 70px; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); width: 100%; }
  .trust-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .quote-options { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
