/* =============================================
   TIMEA ABLAK KFT — MAIN STYLESHEET
   Local Trust-First Service Design
   ============================================= */

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f9f8f6;
  color: #1e2a38;
  line-height: 1.65;
}

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

/* --- VARIABLES --- */
:root {
  --navy: #1a2d4a;
  --navy-dark: #0f1e32;
  --blue-cta: #1a4f8a;
  --blue-cta-hover: #153e6e;
  --accent: #b87333;
  --warm-white: #f9f8f6;
  --off-white: #f0ede8;
  --graphite: #3a3f47;
  --mid-grey: #6b7280;
  --light-grey: #e5e2dd;
  --text: #1e2a38;
  --max-w: 1180px;
  --radius: 4px;
  --section-pad: 72px 0;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.1rem;
  color: var(--graphite);
  max-width: 680px;
}

/* --- LAYOUT HELPERS --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad); }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-header { margin-bottom: 40px; }
.section-header .lead { margin-top: 12px; }

.text-center { text-align: center; }
.text-center .lead { margin-left: auto; margin-right: auto; }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background: var(--blue-cta);
  color: #fff;
  border-color: var(--blue-cta);
}
.btn-primary:hover {
  background: var(--blue-cta-hover);
  border-color: var(--blue-cta-hover);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--blue-cta);
  border-color: var(--blue-cta);
}
.btn-outline:hover {
  background: var(--blue-cta);
  color: #fff;
  text-decoration: none;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  text-decoration: none;
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

/* --- HEADER --- */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 64px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo .logo-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}
.site-logo .logo-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}
.header-phone:hover { color: #fff; text-decoration: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--navy-dark);
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: #fff; text-decoration: none; }
.mobile-nav .btn { margin-top: 14px; width: 100%; display: block; text-align: center; }

/* --- HERO --- */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-copy h1 { color: #fff; margin-bottom: 18px; }
.hero-copy .subheadline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 0;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.hero-trust::before {
  content: "📍";
  font-size: 0.9rem;
}

.hero-visual {
  background: #2a3f5a;
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.hero-visual .placeholder-label {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  text-align: center;
  font-style: italic;
  line-height: 1.5;
}

/* --- TRUST BAR --- */
.trust-bar {
  background: var(--navy-dark);
  color: #fff;
  padding: 0;
  border-bottom: 3px solid var(--accent);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}
.trust-item {
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-item:last-child { border-right: none; }
.trust-item .trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}
.trust-item .trust-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* --- PRODUCT CARDS --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 3px solid var(--navy);
}
.product-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.product-card p { font-size: 0.92rem; color: var(--graphite); }

/* --- WHY ONE PROVIDER --- */
.why-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--graphite);
}
.why-list li::before {
  content: "—";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* --- PROCESS STEPS --- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-top: 8px;
}
.process-step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 32px;
}
.process-step:last-child { padding-bottom: 0; }

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}
.process-step:not(:last-child) .step-number::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 32px - 40px);
  background: var(--light-grey);
  z-index: 0;
}

.step-content { padding-top: 8px; }
.step-content h4 { font-size: 1rem; margin-bottom: 6px; }
.step-content p { font-size: 0.9rem; color: var(--graphite); }

.process-note {
  margin-top: 28px;
  padding: 14px 18px;
  background: #fff3cd;
  border-left: 4px solid #e6a817;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: #5a4200;
}

/* --- WARRANTY CARDS --- */
.warranty-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.warranty-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}
.warranty-card h4 { color: #fff; font-size: 0.95rem; }

/* --- OFFERS --- */
.offers-note {
  background: #fff3cd;
  border-left: 4px solid #e6a817;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #5a4200;
  margin-top: 20px;
}

/* --- FAQ ACCORDION --- */
.faq-list { margin-top: 8px; }
.faq-item {
  border-bottom: 1px solid var(--light-grey);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--blue-cta); }
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  transition: transform 0.2s, border-color 0.15s;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--blue-cta); }
.faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: 0.95rem;
  color: var(--graphite);
  line-height: 1.65;
}
.faq-item.open .faq-answer { display: block; }

/* --- FINAL CTA PANEL --- */
.final-cta {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.final-cta h2 { color: #fff; margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 28px; }
.final-cta .cta-group { justify-content: center; }

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 44px;
  border-bottom: 3px solid var(--accent);
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; font-size: 1.05rem; }

/* --- TERMEKEK PAGE --- */
.product-section { margin-bottom: 48px; }
.product-section:last-of-type { margin-bottom: 0; }
.product-section h2 { margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--light-grey); }
.product-section h3 { margin: 24px 0 10px; color: var(--navy); }

.product-bullets {
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--graphite);
}
.product-bullets li::before {
  content: "✓";
  color: var(--blue-cta);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-placeholder {
  background: var(--off-white);
  border: 2px dashed var(--light-grey);
  border-radius: var(--radius);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin: 16px 0;
}
.product-placeholder span {
  color: var(--mid-grey);
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
}

.shading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.shading-card {
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 18px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  border-top: 3px solid var(--accent);
}

/* --- BEEPITES PAGE --- */
.beepites-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}
.beepites-block {
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 3px solid var(--navy);
}
.beepites-block h3 { margin-bottom: 10px; font-size: 1.05rem; }
.beepites-block p { font-size: 0.92rem; color: var(--graphite); }

.info-box {
  background: #e8f0fa;
  border-left: 4px solid var(--blue-cta);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 32px;
}
.info-box h4 { margin-bottom: 8px; color: var(--navy); }
.info-box p { font-size: 0.92rem; color: var(--graphite); }

/* --- AKCIOK PAGE --- */
.akciok-warning {
  background: #fff3cd;
  border: 1px solid #e6a817;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: #5a4200;
}
.akciok-warning strong { display: block; margin-bottom: 4px; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 16px;
}
.price-table th {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.price-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--light-grey);
  color: var(--graphite);
}
.price-table tr:nth-child(even) td { background: var(--off-white); }

.akcio-card {
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--blue-cta);
  margin-bottom: 16px;
}
.akcio-card h3 { margin-bottom: 8px; font-size: 1rem; }
.akcio-card p { font-size: 0.9rem; color: var(--graphite); }

/* --- KAPCSOLAT PAGE --- */
.kapcsolat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-details { margin-bottom: 28px; }
.contact-details h3 { margin-bottom: 16px; }
.contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.contact-row .contact-label {
  font-weight: 600;
  color: var(--navy);
  min-width: 80px;
  flex-shrink: 0;
}
.contact-row a { color: var(--blue-cta); }
.contact-row a:hover { text-decoration: underline; }

.map-placeholder {
  background: var(--off-white);
  border: 2px dashed var(--light-grey);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin-top: 20px;
}
.map-placeholder span {
  color: var(--mid-grey);
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
}

/* --- CONTACT FORM --- */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-cta);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; cursor: pointer; }

.form-note {
  font-size: 0.8rem;
  color: var(--mid-grey);
  margin-top: -4px;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col p, .footer-col li {
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }

.footer-cta-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  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(--navy-dark);
  border-top: 2px solid var(--accent);
  padding: 10px 16px;
  gap: 10px;
}
.mobile-sticky-cta a {
  flex: 1;
  text-align: center;
  padding: 12px 10px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
}
.mobile-sticky-cta .sticky-call {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}
.mobile-sticky-cta .sticky-quote {
  background: var(--blue-cta);
  color: #fff;
  border: 2px solid var(--blue-cta);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { min-height: 220px; }

  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }

  .product-grid { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 28px; }
  .warranty-cards { grid-template-columns: repeat(2, 1fr); }

  .beepites-grid { grid-template-columns: 1fr; }
  .shading-grid { grid-template-columns: repeat(2, 1fr); }
  .kapcsolat-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 70px; }
}

@media (max-width: 600px) {
  :root { --section-pad: 48px 0; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }

  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .trust-item:last-child { border-bottom: none; }

  .warranty-cards { grid-template-columns: 1fr 1fr; }
  .shading-grid { grid-template-columns: 1fr 1fr; }

  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn { text-align: center; }

  .price-table { font-size: 0.82rem; }
  .price-table th, .price-table td { padding: 9px 10px; }
}
