/* Vanesca Public Site */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: #f8fafc;
  color: #1f2937;
  -webkit-font-smoothing: antialiased;
}

.site-main { flex: 1 0 auto; padding-top: 5rem; }

/* Logo */
.site-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.25rem 0.625rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.site-logo-wrap--header { padding: 0.2rem 0.5rem; }

.site-logo-wrap--footer {
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
}

.site-logo {
  display: block;
  height: auto;
  max-height: 2.75rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

.site-logo--header { max-height: 2.5rem; max-width: 10rem; }

.site-logo--hero {
  max-height: none;
  max-width: 100%;
  background: #fff;
}

.site-logo--install { max-height: 3rem; }

/* Footer */
.site-footer {
  flex-shrink: 0;
  background: #111827;
  color: #9ca3af;
  border-top: 1px solid #1f2937;
}

.site-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.site-footer__logo { height: auto; max-height: 2.75rem; width: auto; max-width: 11rem; margin-bottom: 0; object-fit: contain; }
.site-footer__about { font-size: 0.875rem; line-height: 1.6; color: #9ca3af; margin: 0; }
.site-footer__tagline { font-size: 0.75rem; color: #6b7280; margin-top: 0.75rem; }
.site-footer h4 { color: #fff; font-size: 0.875rem; font-weight: 600; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; font-size: 0.875rem; }
.site-footer a { color: #9ca3af; text-decoration: none; transition: color 0.15s; }
.site-footer a:hover { color: #60a5fa; }
.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #1f2937;
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
}
.site-footer__bottom p { margin: 0.25rem 0; }

/* Page banner */
.page-banner { position: relative; height: 280px; overflow: hidden; margin-top: -1rem; }
.page-banner__img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(17,24,39,0.85), rgba(37,99,235,0.55));
  display: flex; align-items: center; justify-content: center;
}
.page-banner__content { text-align: center; padding: 1.5rem; max-width: 48rem; }
.page-banner__title { color: #fff; font-size: 2.25rem; font-weight: 700; margin: 0 0 0.5rem; }
.page-banner__intro { color: #e5e7eb; font-size: 1.125rem; margin: 0; }

/* Content blocks */
.content-blocks { max-width: 48rem; margin: 0 auto; padding: 2rem 1.5rem; }
.block-text.prose { line-height: 1.75; color: #4b5563; }
.block-text.prose h2 { font-size: 1.5rem; font-weight: 700; color: #1f2937; margin: 2rem 0 0.75rem; }
.block-text.prose h3 { font-size: 1.125rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.block-text.prose p { margin: 0 0 1rem; }
.block-text.prose ul { margin: 0 0 1rem; padding-left: 1.5rem; }
.block-image { margin: 2rem 0; }
.block-image img { width: 100%; border-radius: 0.75rem; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.block-image figcaption { text-align: center; font-size: 0.875rem; color: #6b7280; margin-top: 0.5rem; }
.block-image-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 2rem 0; }
.block-image-row img { width: 100%; border-radius: 0.5rem; }
.block-video { margin: 2rem 0; }
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 0.75rem; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.block-cta { text-align: center; margin: 2.5rem 0; }
.btn-primary {
  display: inline-block; background: #2563eb; color: #fff;
  padding: 0.875rem 2rem; border-radius: 9999px;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
}
.btn-primary:hover { background: #1d4ed8; }

/* SEO sections */
.seo-section { padding: 3rem 1.5rem; }
.seo-section--alt { background: #fff; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.seo-section__inner { max-width: 48rem; margin: 0 auto; }
.seo-section h2 { font-size: 1.75rem; font-weight: 700; margin: 0 0 1rem; color: #1f2937; }
.seo-section p { line-height: 1.75; color: #4b5563; margin: 0 0 1rem; }
.seo-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin-top: 1rem; }
.seo-table th, .seo-table td { border: 1px solid #e5e7eb; padding: 0.75rem 1rem; text-align: left; }
.seo-table th { background: #f3f4f6; font-weight: 600; }
.faq-list { margin-top: 1rem; }
.faq-item { border-bottom: 1px solid #e5e7eb; padding: 1rem 0; }
.faq-item h3 { font-size: 1rem; font-weight: 600; margin: 0 0 0.5rem; }
.faq-item p { font-size: 0.9375rem; color: #6b7280; margin: 0; }

/* Products page */
.products-hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59, 130, 246, 0.12), transparent),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 45%, #f8fafc 100%);
}

.product-search:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22), 0 8px 32px -8px rgba(59, 130, 246, 0.25);
}

.category-filter-btn.is-active {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(255, 255, 255, 0.95);
  color: #1d4ed8;
}

/* Demo form — telefon satiri */
.demo-phone-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  width: 100%;
}

.demo-phone-country {
  flex: 0 0 5.25rem;
  width: 5.25rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 0.5rem;
  font-size: 0.875rem;
  background: #fff;
  color: #1f2937;
}

.demo-phone-input {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  background: #fff;
  color: #1f2937;
}

.demo-phone-country:focus,
.demo-phone-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}
