/* Parketora — shared stylesheet */

:root {
  --serif: Georgia, 'Times New Roman', 'Liberation Serif', serif;
  --sans: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --ink: #3a2a20;
  --ink-2: #4a3a2e;
  --ink-3: #5a4a3d;
  --brown-900: #3a2418;
  --brown-700: #5c4230;
  --brown-600: #7a4f32;
  --brown-500: #96593a;
  --brown-400: #a56a45;
  --cream-50: #faf6ee;
  --cream-100: #f6efe2;
  --cream-200: #efe4d2;
  --cream-300: #e6d7bd;
  --cream-400: #d8c6a3;
  --line: #ddccae;
  --white: #fffdf9;
  --danger: #a5432c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--cream-50);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brown-500); text-decoration: none; }
a:hover { color: var(--brown-700); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--brown-900); margin: 0; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-text { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--cream-200); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  background: var(--cream-300);
  color: var(--brown-700);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.lead {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
}
.lead.center { margin: 0 auto 48px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  text-align: center;
}
.btn-primary { background: var(--brown-500); color: var(--white); }
.btn-primary:hover { background: var(--brown-700); color: var(--white); }
.btn-outline { background: transparent; border: 1.5px solid var(--cream-400); color: var(--brown-700); }
.btn-outline:hover { background: var(--cream-200); color: var(--brown-700); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: 7px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 239, 226, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.logo { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--brown-900); }
.main-nav { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.main-nav a { color: var(--ink-2); font-weight: 500; font-size: 14.5px; }
.main-nav a.active { color: var(--brown-700); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.cart-link { display: flex; align-items: center; gap: 7px; color: var(--brown-900); font-weight: 600; font-size: 14px; }
.cart-badge {
  background: var(--brown-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.cart-badge.show { display: inline-flex; }
.phone-btn { background: var(--brown-500); color: var(--white); padding: 10px 18px; border-radius: 6px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.phone-btn:hover { background: var(--brown-700); color: var(--white); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 72px 24px 40px; }
.hero h1 { font-size: 48px; line-height: 1.15; margin: 0 0 20px; }
.hero-media, .media-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3.2; }
.hero-media img, .media-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stat grid */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 32px 0 80px; }
.stat-card { text-align: center; padding: 24px; background: var(--cream-200); border-radius: 12px; }
.stat-num { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--brown-600); }
.stat-label { font-size: 14px; color: var(--ink-3); margin-top: 6px; }

/* Card grid */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.card {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.card h3 { font-size: 19px; margin: 0 0 10px; }
.card p { font-size: 14px; line-height: 1.6; color: var(--ink-3); margin: 0 0 14px; }
.card-link { font-size: 14px; font-weight: 600; }

.feature { }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--cream-300); margin-bottom: 16px; }
.feature h3 { font-size: 17px; margin: 0 0 8px; color: var(--brown-700); }
.feature p { font-size: 14px; line-height: 1.6; color: var(--ink-3); margin: 0; }

.step-card { background: var(--white); padding: 24px; border-radius: 12px; }
.step-num { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--brown-400); margin-bottom: 10px; }
.step-card h3 { font-size: 16px; margin: 0 0 6px; color: var(--brown-700); }
.step-card p { font-size: 13.5px; line-height: 1.6; color: var(--ink-3); margin: 0; }

.photo-card { border-radius: 12px; overflow: hidden; background: var(--cream-200); }
.photo-card img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.photo-card .body { padding: 18px; }
.photo-card .eyebrow-sm { font-size: 12.5px; color: var(--brown-500); font-weight: 700; margin-bottom: 4px; letter-spacing: 0.03em; }
.photo-card h3 { font-size: 15px; margin: 0; color: var(--brown-700); }

.testimonial { background: var(--white); padding: 26px; border-radius: 12px; }
.testimonial p { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); margin: 0 0 16px; }
.testimonial .who { font-weight: 700; font-size: 14px; color: var(--brown-700); }

.blog-card { background: var(--cream-200); border-radius: 12px; padding: 22px; display: block; }
.blog-card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.blog-card .meta { font-size: 12.5px; color: var(--ink-3); margin-bottom: 6px; }
.blog-card h3 { font-family: var(--serif); font-size: 17px; color: var(--brown-700); margin: 0; }

.cta-banner { background: var(--brown-900); padding: 72px 24px; text-align: center; }
.cta-banner h2 { color: var(--white); font-size: 30px; margin: 0 0 14px; }
.cta-banner p { color: var(--cream-300); font-size: 16px; margin: 0 0 28px; }

/* Footer */
.site-footer { background: var(--brown-900); color: var(--cream-300); padding: 64px 24px 28px; }
.footer-grid { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid .brand { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-grid p { font-size: 14px; line-height: 1.7; color: var(--cream-400); max-width: 320px; margin: 0; }
.footer-col h4 { font-weight: 700; color: var(--white); margin-bottom: 14px; font-size: 15px; font-family: var(--sans); }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--cream-300); font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-contact { font-size: 14px; line-height: 1.8; color: var(--cream-300); }
.footer-bottom {
  max-width: 1220px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--brown-700);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--cream-400);
}
.social-row { display: flex; gap: 10px; margin-top: 8px; }
.social-badge {
  width: 34px; height: 34px; border-radius: 8px; background: var(--brown-700);
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--cream-300);
}
.follow-label { margin-top: 18px; font-size: 13px; color: var(--cream-400); }

/* Page header banner */
.page-hero { background: var(--cream-200); padding: 64px 24px 48px; text-align: center; }
.page-hero h1 { font-size: 40px; margin: 0 0 14px; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--ink-3); font-size: 16px; line-height: 1.6; }

/* Service detail rows */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.service-row.reverse .media-photo { order: 2; }
.service-row.reverse .service-copy { order: 1; }
.service-tag { font-size: 13px; font-weight: 700; color: var(--brown-600); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.service-copy h2 { font-size: 26px; margin: 0 0 12px; }
.service-copy p { font-size: 15px; line-height: 1.7; color: var(--ink-3); margin: 0 0 16px; }
.service-copy ul { margin: 0 0 16px; padding-left: 18px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.price-note { font-size: 13.5px; color: var(--ink-3); }
.price-note strong { color: var(--brown-700); }
.service-stack { display: flex; flex-direction: column; gap: 64px; }

/* Table */
.data-table-wrap { overflow-x: auto; margin-bottom: 40px; }
table.data-table { border-collapse: collapse; width: 100%; background: var(--cream-200); border-radius: 12px; overflow: hidden; font-size: 14px; }
table.data-table th { text-align: left; padding: 14px 16px; color: var(--brown-700); background: var(--cream-300); }
table.data-table td { padding: 14px 16px; border-top: 1px solid var(--line); }

/* FAQ */
.faq-item { background: var(--cream-200); border-radius: 10px; padding: 16px 20px; }
.faq-item summary { font-weight: 700; cursor: pointer; color: var(--brown-700); }
.faq-item p { font-size: 14px; line-height: 1.6; color: var(--ink-3); margin: 10px 0 0; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }

.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-box { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.info-box h3 { font-size: 15.5px; margin: 0 0 8px; color: var(--brown-700); }
.info-box p { font-size: 14px; line-height: 1.6; color: var(--ink-3); margin: 0; }

.mistake-box { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.mistake-box h3 { font-size: 15px; margin: 0 0 6px; color: var(--danger); }
.mistake-box p { font-size: 13.5px; line-height: 1.6; color: var(--ink-3); margin: 0; }

/* Timeline */
.timeline-row { display: grid; grid-template-columns: 60px 1fr; gap: 20px; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; }
.timeline-dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--brown-500); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--serif); flex-shrink: 0;
}
.timeline-line { width: 2px; flex: 1; background: var(--cream-400); margin: 4px 0; }
.timeline-content { padding-bottom: 36px; }
.timeline-content h3 { font-size: 19px; margin: 0 0 8px; }
.timeline-content p { font-size: 14.5px; line-height: 1.7; color: var(--ink-3); margin: 0; }

/* Team */
.team-member { text-align: center; }
.team-photo { aspect-ratio: 1; border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 700; font-size: 15px; color: var(--brown-700); }
.team-role { font-size: 13px; color: var(--ink-3); }

.badge-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cert-badge { background: var(--white); padding: 20px 28px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--brown-700); }

/* Forms */
.form-group { margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--cream-400);
  font-size: 14px; background: var(--white); font-family: var(--sans);
}
textarea.form-control { resize: vertical; }
.checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.checkbox-row input { margin-top: 2px; }
form { display: flex; flex-direction: column; gap: 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card { background: var(--cream-200); border-radius: 12px; padding: 28px; margin-bottom: 20px; }
.contact-card h3 { font-size: 18px; margin: 0 0 16px; }
.contact-card .details { font-size: 14.5px; line-height: 2; color: var(--ink-2); }
.map-card {
  aspect-ratio: 16/11; background: var(--cream-300); border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 24px; text-align: center; gap: 10px;
}
.map-card .pin { font-size: 34px; }
.map-card address { font-style: normal; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

.success-box { background: var(--cream-200); border-radius: 12px; padding: 32px; text-align: center; }
.success-box h3 { font-size: 22px; margin: 0 0 12px; }
.success-box p { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); margin: 0; }

/* Shop */
.product-card { background: var(--cream-200); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; }
.product-photo { aspect-ratio: 1; border-radius: 8px; margin-bottom: 14px; overflow: hidden; background: var(--cream-300); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-cat { font-size: 11.5px; color: var(--brown-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.product-card h3 { font-size: 15px; font-weight: 700; color: var(--brown-700); margin: 0 0 6px; font-family: var(--sans); }
.product-card p { font-size: 13px; line-height: 1.55; color: var(--ink-3); margin: 0 0 12px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.price { font-size: 16px; font-weight: 700; color: var(--brown-700); }

.cart-section { background: var(--cream-200); padding: 56px 24px 72px; }
.cart-box { max-width: 820px; margin: 0 auto; }
.cart-empty { background: var(--white); border-radius: 12px; padding: 36px; text-align: center; color: var(--ink-3); font-size: 14.5px; }
.cart-items { background: var(--white); border-radius: 12px; padding: 8px 24px; }
.cart-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--cream-300); gap: 16px; flex-wrap: wrap; }
.cart-item:last-child { border-bottom: none; }
.cart-item .name { font-weight: 700; font-size: 14.5px; color: var(--brown-700); }
.cart-item .unit-price { font-size: 13px; color: var(--ink-3); }
.qty-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--cream-400); background: var(--white); cursor: pointer; font-size: 15px; }
.line-total { width: 80px; text-align: right; font-weight: 700; font-size: 14.5px; color: var(--brown-700); }
.remove-btn { background: none; border: none; color: var(--brown-500); font-size: 13px; cursor: pointer; text-decoration: underline; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.cart-total-row .label { font-size: 15px; color: var(--ink-2); }
.cart-total-row .amount { font-size: 20px; font-weight: 700; color: var(--brown-700); }
.checkout-form { background: var(--white); border-radius: 12px; padding: 24px; margin-top: 20px; }
.checkout-form h3 { font-size: 17px; margin: 0 0 4px; }
.order-success { background: var(--cream-300); border-radius: 12px; padding: 28px; text-align: center; margin-top: 20px; }
.order-success h3 { font-size: 19px; margin: 0 0 8px; }
.order-success p { font-size: 14px; color: var(--ink-2); margin: 0; }
.small-note { font-size: 12.5px; color: var(--ink-3); margin-top: 20px; }
.hidden { display: none !important; }

/* Legal pages */
.legal-content { display: flex; flex-direction: column; gap: 28px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.legal-content h2 { font-size: 19px; margin: 0 0 8px; color: var(--brown-700); font-family: var(--serif); }
.legal-content p { margin: 0; }
.legal-content ul { margin: 0; padding-left: 18px; }
.page-title { font-size: 34px; margin: 0 0 8px; }
.page-date { font-size: 13.5px; color: var(--ink-3); margin: 0 0 40px; }

/* Placeholder image style (fallback texture, used only if an <img> fails to load) */
.ph-fallback { background: repeating-linear-gradient(120deg, var(--cream-300) 0px, var(--cream-300) 16px, var(--cream-400) 16px, var(--cream-400) 32px); }

/* Cookie consent bar */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--brown-900); color: var(--cream-100);
  padding: 16px 24px; display: none; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  font-size: 13.5px;
}
.cookie-bar.show { display: flex; }
.cookie-bar a { color: var(--cream-200); text-decoration: underline; }
.cookie-bar .actions { display: flex; gap: 10px; }
.cookie-btn { padding: 9px 16px; border-radius: 6px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; }
.cookie-accept { background: var(--brown-500); color: var(--white); }
.cookie-decline { background: transparent; border: 1px solid var(--cream-400); color: var(--cream-200); }

.form-msg { padding: 14px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 6px; }
.form-msg.error { background: #f6dfd8; color: var(--danger); }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row, .service-row.reverse { grid-template-columns: 1fr; }
  .service-row.reverse .media-photo, .service-row.reverse .service-copy { order: initial; }
  .contact-grid, .two-col, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .main-nav { width: 100%; order: 3; justify-content: flex-start; gap: 10px 14px; font-size: 13px; }
  .site-header .inner { justify-content: space-between; }
}
