/* =========================================================
   CLIENT SITE TEMPLATE — shared stylesheet
   Placeholder-driven. Swap values in :root and text content
   marked with {{PLACEHOLDER}} in the HTML for each new client.
   ========================================================= */

:root {
  /* ---- BRAND COLORS (per-client, swap these 3) ---- */
  --accent-pink: #B5750C;
  --accent-orange: #F5A623;
  --footer-dark: #2B1620;

  /* ---- FIXED SYSTEM COLORS (keep as-is) ---- */
  --text-dark: #2B1620;
  --text-body: #6b6470;
  --bg-light: #F7F5F6;
  --bg-white: #ffffff;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(43, 22, 32, 0.08);

  /* ---- TYPE ---- */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Dancing Script', cursive;
  --font-logo-serif: 'Playfair Display', serif;
  --font-logo-script: 'Alex Brush', cursive;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.6;
  background: var(--bg-white);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 700;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- HEADER ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 28px 0;
}
.site-header.solid {
  position: relative;
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-logo-serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 6px;
  color: var(--white);
  line-height: 1.15;
}
.site-header.solid .logo { color: var(--text-dark); }
.logo.logo-img { flex-direction: row; }
.logo.logo-img img { height: 46px; width: auto; display: block; }
.logo .logo-script {
  display: block;
  font-family: var(--font-logo-script);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 26px;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.site-header.solid .nav-links a { color: var(--text-dark); }
.nav-links a:hover { opacity: 0.7; }
.nav-links a.active { color: var(--accent-orange); }

/* ---------- HERO (Home — tall, dark overlay) ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(28, 40, 51, 0.55), rgba(28, 40, 51, 0.55)),
              var(--hero-image, linear-gradient(135deg, #1b2230, #2b3446));
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  color: var(--white);
}
.hero .container { padding-top: 90px; width: 100%; }
.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: #f0eeec;
}
.hero h1 {
  color: #f5f3f1;
  font-size: 44px;
  line-height: 1.2;
  max-width: 460px;
  margin-bottom: 20px;
}
.hero p {
  color: rgba(240, 238, 236, 0.82);
  max-width: 420px;
  margin-bottom: 32px;
}

/* ---------- HERO (inner pages — shorter, title banner) ---------- */
.page-banner {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(28, 40, 51, 0.6), rgba(28, 40, 51, 0.6)),
              var(--hero-image, linear-gradient(135deg, #4a4a50, #6b6b72)) center/cover no-repeat;
  color: var(--white);
}
.page-banner .container { padding-top: 90px; }
.page-banner h1 { color: #f5f3f1; font-size: 36px; margin-bottom: 10px; }
.page-banner p { color: rgba(240, 238, 236, 0.88); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--accent-orange);
  color: var(--text-dark);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,166,35,0.35); }
.btn-outline {
  background: var(--accent-pink);
  color: var(--white);
  padding: 10px 22px;
  font-size: 13px;
}

/* ---------- SECTIONS ---------- */
.section { padding: 90px 0; }
.section-light { background: var(--bg-light); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header h2 { font-size: 30px; margin-bottom: 16px; }
.section-header p { font-size: 15px; }

/* ---------- SERVICE CARDS ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-white);
  padding: 36px 28px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.service-card .icon {
  width: 40px; height: 40px;
  color: var(--accent-pink);
  margin-bottom: 18px;
}
.service-card h4 { font-size: 17px; margin-bottom: 10px; }
.service-card p { font-size: 14px; }

/* ---------- PRODUCT / ORDER CARDS ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-white);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(43, 22, 32, 0.14);
}
.product-card img { width: 100%; display: block; }

/* ---------- PRODUCT DETAIL PAGE ---------- */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.product-hero .product-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-hero .product-image .zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  color: var(--text-dark);
}
.product-info .eyebrow {
  display: block;
  color: var(--accent-orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
.product-info h1 { font-size: 30px; margin-bottom: 16px; }
.product-info .excerpt { font-size: 15px; margin-bottom: 26px; }
.product-info .btn-primary { margin-bottom: 22px; }
.product-info .category {
  padding-top: 20px;
  border-top: 1px solid #ece7e9;
  font-size: 13px;
}
.product-info .category a { color: var(--accent-pink); font-weight: 600; }

.product-description { padding-top: 64px; }
.product-description .tab-label {
  display: inline-block;
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid var(--accent-orange);
  padding-bottom: 12px;
  margin-bottom: 26px;
}
.product-description p {
  font-size: 14.5px;
  max-width: 820px;
  margin-bottom: 18px;
}

.related-products { padding-top: 64px; }
.related-products h2 { font-size: 26px; margin-bottom: 30px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.related-card img {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  transition: transform 0.2s;
}
.related-card:hover img { transform: translateY(-3px); }
.related-card .cat { font-size: 12px; color: var(--text-body); display: block; margin-bottom: 4px; }
.related-card h4 { font-size: 15px; margin-bottom: 14px; }

/* ---------- PORTFOLIO ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.portfolio-grid.full { grid-template-columns: 1fr; gap: 32px; }
.portfolio-grid.full .portfolio-item { aspect-ratio: auto; }
.portfolio-grid.full .portfolio-item img { width: 100%; height: auto; object-fit: contain; }
.portfolio-item {
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-light);
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-illustration svg { width: 100%; height: 100%; display: block; }
.portfolio-cta { text-align: center; margin-top: 40px; }

/* ---------- CUSTOMERS STRIP ---------- */
.customers-strip {
  background: #8a5a1f;
  padding: 50px 6%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 40px;
}
.customers-strip img { max-height: 90px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.customers-strip a { display: inline-flex; align-items: center; }

/* ---------- TESTIMONIAL ---------- */
.testimonial {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding-top: 70px;
}
.testimonial h3 { font-size: 24px; margin-bottom: 18px; }
.testimonial p { font-size: 15px; margin-bottom: 24px; font-style: italic; }
.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--bg-light);
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial .name { color: var(--text-dark); font-weight: 600; font-size: 14px; }
.testimonial .role { font-size: 13px; }

/* ---------- CTA STRIP CARD ---------- */
.cta-section { padding: 70px 0; background: var(--bg-white); }
.cta-card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 6px;
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-card h4 { color: var(--accent-pink); font-size: 19px; margin-bottom: 8px; }
.cta-card p { font-size: 14px; max-width: 420px; color: var(--text-body); }
.cta-card .btn-primary { white-space: nowrap; }

/* ---------- ABOUT PAGE SPECIFIC ---------- */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -110px;
  position: relative;
  z-index: 5;
}
.about-card {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  border-radius: 6px;
}
.about-card .bar { width: 32px; height: 3px; background: var(--accent-pink); margin-bottom: 16px; }
.about-card h3 { font-size: 18px; margin-bottom: 14px; }
.about-card p, .about-card li { font-size: 14px; }
.about-card ul li { padding: 3px 0; }
.about-card ul li::before { content: "▸ "; color: var(--accent-pink); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-top: 20px;
}
.process-step .num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: #e5e1e3;
  margin-bottom: 4px;
}
.process-step h4 { font-size: 17px; margin-bottom: 10px; }
.process-step p { font-size: 14px; }

.why-choose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.why-image { border-radius: 6px; overflow: hidden; background: var(--bg-light); min-height: 320px; }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-illustration svg { width: 100%; height: 100%; display: block; }
.why-list h2 { margin-bottom: 24px; }
.why-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #ece7e9;
}
.why-item.active { color: var(--accent-pink); font-weight: 600; }
.why-item .sign { color: var(--accent-pink); font-size: 18px; }

.numbers-strip {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  padding: 50px 0;
  text-align: left;
}
.numbers-strip .num-block strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--accent-pink);
}
.numbers-strip .num-block span { font-size: 13px; }

/* ---------- LEGAL / POLICY PAGES ---------- */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 22px; margin-top: 40px; margin-bottom: 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 14.5px; margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 0; }
.legal-content ul li { font-size: 14.5px; padding: 4px 0 4px 20px; position: relative; }
.legal-content ul li::before { content: "•"; color: var(--accent-pink); position: absolute; left: 0; }
.legal-content .updated { font-size: 13px; color: #9c95a0; margin-bottom: 30px; }
.legal-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.legal-content table th, .legal-content table td { text-align: left; padding: 10px 12px; font-size: 14px; border-bottom: 1px solid #ece7e9; }
.legal-content table th { color: var(--text-dark); font-family: var(--font-display); }

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-grid h3 { font-size: 20px; margin-bottom: 24px; }
.reach-list { margin-top: 16px; }
.reach-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}
.reach-list .ico { color: var(--accent-pink); }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--text-dark); }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ece7e9;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--footer-dark);
  color: rgba(255,255,255,0.75);
  padding: 44px 0 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
}
.footer-top .addr { font-size: 13.5px; line-height: 1.8; }
.footer-top .addr a { display: block; margin-top: 10px; color: var(--accent-orange); }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.2; }
.footer-links a { display: block; }
.footer-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  text-align: center;
  font-size: 12.5px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .card-grid, .product-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .about-cards, .process-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .why-choose, .contact-grid { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 32px; }
  .product-hero { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .customers-strip { justify-content: center; gap: 28px; padding: 36px 8%; }
  .customers-strip img { max-height: 52px; }
}
