/*
Theme Name: LadyBug Blinds
Theme URI: https://ladybugblinds.com
Author: LadyBug Blinds LLC
Author URI: https://ladybugblinds.com
Description: Custom WordPress theme for LadyBug Blinds — Custom Window Treatments with parallax sections.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ladybug-blinds
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   CSS RESET & ROOT VARIABLES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #E8231F;
  --red-dark:   #B51B18;
  --red-light:  #F44340;
  --cream:      #fdf9f5;
  --warm-white: #fff9f4;
  --charcoal:   #1a1a1a;
  --gray:       #4a4a4a;
  --gray-light: #888;
  --border:     #e8e0d8;
  --gold:       #c9a84c;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Lato', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.3s ease;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.18);
  --radius:     4px;
  --max-width:  1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--charcoal);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo-img {
  height: 60px;
  width: auto;
  display: block;
  max-width: 200px;
  object-fit: contain;
}
.logo-fallback {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  max-width: 200px;
  object-fit: contain;
  /* White header logo on dark footer — add a white background pill */
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: 14px;
}
.mobile-nav-logo {
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.mobile-nav-logo img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-title span { color: var(--red); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 620px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--red);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-dark:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--charcoal);
  color: #ccc;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #ccc; }
.top-bar a:hover { color: #fff; }
.top-bar-phone { font-weight: 600; }
.top-bar-phone::before { content: "📞 "; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.logo-text { line-height: 1.15; }
.logo-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--charcoal);
}
.logo-text span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.site-nav a:hover,
.site-nav a.current { color: var(--red); background: rgba(192,57,43,0.06); }
.site-nav .btn-primary { color: #fff; margin-left: 12px; padding: 10px 22px; }
.site-nav .btn-primary:hover { color: #fff; background: var(--red-dark); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.mobile-nav a {
  display: block;
  color: var(--charcoal);
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn-primary { margin-top: 16px; display: block; text-align: center; }

/* ============================================================
   HERO — PARALLAX
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-parallax-bg {
  position: absolute;
  inset: -20%;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.45);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(150,41,31,0.55) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hero-content { max-width: 680px; }
.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--red);
  color: #fff;
  padding: 20px 0;
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.trust-item {
  padding: 8px 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.trust-item:last-child { border-right: none; }
.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 4px;
}
.trust-item span { font-size: 12px; opacity: 0.85; letter-spacing: 0.05em; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { padding: 100px 0; background: var(--warm-white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}
.why-image-wrap { position: relative; }
.why-image-wrap img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 560px;
}
.why-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--red);
  color: #fff;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-head);
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}
.why-badge strong { font-size: 2rem; line-height: 1; }
.why-badge span { font-size: 11px; letter-spacing: 0.08em; opacity: 0.9; }
.why-reasons { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.why-reason {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.why-reason-icon {
  width: 52px;
  height: 52px;
  background: rgba(192,57,43,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--red);
}
.why-reason-text h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.why-reason-text p { color: var(--gray); font-size: 0.95rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { padding: 100px 0; background: var(--cream); }
.services-header { margin-bottom: 60px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card-image {
  height: 240px;
  overflow: hidden;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-image img { transform: scale(1.06); }
.service-card-body { padding: 28px; }
.service-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.service-card-body h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card-body p { color: var(--gray); font-size: 0.95rem; line-height: 1.75; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-section { padding: 100px 0; background: var(--charcoal); color: #fff; }
.products-section .section-title { color: #fff; }
.products-section .section-subtitle { color: rgba(255,255,255,0.7); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.product-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.product-item:hover {
  background: rgba(192,57,43,0.2);
  border-color: var(--red);
  transform: translateY(-4px);
}
.product-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-icon svg {
  width: 44px;
  height: 44px;
  color: var(--gold);
}
.product-item h4 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.product-item p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ============================================================
   PARALLAX BANNER 1 — BOOK CONSULTATION
   ============================================================ */
.parallax-banner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.parallax-banner-bg {
  position: absolute;
  inset: -30%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}
.parallax-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(150,41,31,0.75);
  z-index: 1;
}
.parallax-banner .container { position: relative; z-index: 2; }
.parallax-banner h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 16px; }
.parallax-banner p { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 auto 36px; }

/* ============================================================
   FINANCING
   ============================================================ */
.financing-section { padding: 100px 0; background: var(--warm-white); }
.financing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 0;
}
.financing-content { }
.financing-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  height: 460px;
  object-fit: cover;
}
.financing-features { display: flex; flex-direction: column; gap: 16px; margin: 32px 0; }
.financing-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}
.financing-feature::before {
  content: '✓';
  width: 28px;
  height: 28px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

/* ============================================================
   PROJECTS GALLERY
   ============================================================ */
.projects-section { padding: 100px 0; background: var(--cream); }
.projects-header { margin-bottom: 48px; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.project-item {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}
.project-item:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  min-height: 220px;
}
.project-item:first-child img { min-height: 460px; }
.project-item:hover img { transform: scale(1.05); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(192,57,43,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
}
.project-item:hover .project-overlay { opacity: 1; }

/* ============================================================
   PARALLAX BANNER 2 — SAFETY
   ============================================================ */
#parallax-safety .parallax-banner-bg {
  background-image: url('assets/images/parallax-2.jpg');
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 100px 0; background: #fff; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--cream);
  border-radius: 8px;
  padding: 36px 28px;
  position: relative;
  border-top: 4px solid var(--red);
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--red);
  opacity: 0.15;
  position: absolute;
  top: 8px;
  left: 24px;
  line-height: 1;
}
.testimonial-text { font-size: 0.98rem; color: var(--gray); line-height: 1.8; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name strong { display: block; font-size: 0.95rem; }
.testimonial-name span { font-size: 12px; color: var(--gray-light); }
.testimonial-stars { color: var(--gold); font-size: 14px; margin-bottom: 8px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 100px 0; background: var(--cream); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 0;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-question.open { color: var(--red); }
.faq-icon {
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
}
.faq-answer.open { max-height: 300px; padding-bottom: 20px; }
.faq-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  height: 500px;
  object-fit: cover;
}

/* ============================================================
   CONTACT CTA
   ============================================================ */
.contact-section { padding: 100px 0; background: var(--warm-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-form { background: #fff; padding: 48px; border-radius: 8px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-form p { color: var(--gray); margin-bottom: 28px; font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--red); background: #fff; }
.form-group textarea { min-height: 110px; resize: vertical; }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 16px; }
.contact-info p { color: var(--gray); margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(192,57,43,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.contact-detail-text span { color: var(--gray); font-size: 0.9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.7); }
.footer-top {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .site-logo { margin-bottom: 20px; }
.footer-brand .logo-text strong,
.footer-brand .logo-text span { color: rgba(255,255,255,0.9); }
.footer-brand p { font-size: 0.92rem; line-height: 1.8; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.92rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-phone { color: #fff; font-size: 1.2rem; font-family: var(--font-head); margin-bottom: 8px; display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (INNER PAGES)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  color: #fff;
}
.page-hero-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.4);
  z-index: 0;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(150,41,31,0.6) 0%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; }
.breadcrumb { font-size: 12px; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb span { color: var(--gold); margin: 0 8px; }

/* ============================================================
   ABOUT PAGE — MISSION
   ============================================================ */
.mission-section { padding: 100px 0; background: var(--warm-white); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mission-image img { width: 100%; height: 520px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow-lg); }
.mission-content .section-label { margin-top: 0; }
.values-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-num {
  width: 36px;
  height: 36px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  flex-shrink: 0;
}
.value-text h4 { margin-bottom: 4px; font-size: 1rem; }
.value-text p { font-size: 0.9rem; color: var(--gray); }

/* ============================================================
   SERVICES DETAIL PAGE
   ============================================================ */
.services-detail-section { padding: 100px 0; background: var(--cream); }
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
}
.service-detail-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-detail-card.reverse { }
.service-detail-card.reverse .service-detail-image { order: 2; }
.service-detail-card.reverse .service-detail-content { order: 1; }
.service-detail-image img { width: 100%; height: 400px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow-lg); }
.service-detail-content h2 { font-size: 2rem; margin-bottom: 16px; }
.service-detail-content p { color: var(--gray); margin-bottom: 20px; line-height: 1.8; }
.service-detail-content ul { list-style: none; margin-bottom: 28px; }
.service-detail-content ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-detail-content ul li::before { content: '→'; color: var(--red); font-weight: 700; }

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-page-section { padding: 100px 0; background: var(--cream); }
.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-page-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-page-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-page-card img { width: 100%; height: 280px; object-fit: cover; }
.project-page-card-body { padding: 20px 24px; }
.project-page-card-body h4 { margin-bottom: 6px; font-size: 1.1rem; }
.project-page-card-body p { color: var(--gray); font-size: 0.9rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page-section { padding: 100px 0; background: var(--warm-white); }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

/* ============================================================
   PARTNER PAGE
   ============================================================ */
.partner-section { padding: 100px 0; background: var(--cream); }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.partner-benefits { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.partner-benefit { display: flex; gap: 20px; align-items: flex-start; background: #fff; padding: 24px; border-radius: 8px; box-shadow: var(--shadow); }
.partner-benefit-icon { font-size: 2rem; flex-shrink: 0; }
.partner-benefit h4 { margin-bottom: 6px; }
.partner-benefit p { color: var(--gray); font-size: 0.9rem; }
.partner-form-wrap { background: #fff; padding: 48px; border-radius: 8px; box-shadow: var(--shadow-lg); }
.partner-form-wrap h3 { font-size: 1.6rem; margin-bottom: 8px; }
.partner-form-wrap p { color: var(--gray); margin-bottom: 28px; font-size: 0.95rem; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .why-grid,
  .financing-grid,
  .faq-grid,
  .contact-grid,
  .mission-grid,
  .partner-grid,
  .contact-page-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-detail-card { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-card.reverse .service-detail-image,
  .service-detail-card.reverse .service-detail-content { order: unset; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 16px; }
  .trust-item:nth-child(2n) { }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .services-grid,
  .testimonials-grid,
  .projects-grid,
  .projects-page-grid { grid-template-columns: 1fr; }
  .projects-grid .project-item:first-child { grid-column: 1; grid-row: 1; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .why-badge { width: 100px; height: 100px; bottom: -16px; right: -16px; }
  .why-badge strong { font-size: 1.6rem; }
  .contact-form { padding: 28px; }
  .partner-form-wrap { padding: 28px; }
}

@media (max-width: 480px) {
  .trust-bar .container { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }
}

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */

/* Brand Jump Nav */
.brand-jump-nav {
  display: flex;
  gap: 0;
  padding: 0;
  white-space: nowrap;
}
.brand-jump-nav a {
  display: inline-block;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all .2s;
}
.brand-jump-nav a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Brand Sections */
.brand-section {
  padding: 80px 0;
  background: var(--cream);
}
.brand-section.brand-alt {
  background: var(--warm-white);
}

/* Brand Header */
.brand-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.brand-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.brand-since {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.brand-name {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--charcoal);
  margin-bottom: 6px;
}
.brand-tagline {
  font-size: 1rem;
  color: var(--gray-light);
  font-style: italic;
}
.brand-website-btn {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 8px;
  text-decoration: none;
}
.brand-website-btn:hover {
  color: #fff !important;
  background: currentColor;
}

/* Brand Intro */
.brand-intro {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 40px;
  background: #fff;
  border-radius: 8px;
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.brand-intro-bar {
  width: 4px;
  min-height: 60px;
  border-radius: 2px;
  flex-shrink: 0;
  align-self: stretch;
}
.brand-intro p {
  color: var(--gray);
  line-height: 1.85;
  font-size: 1rem;
  margin: 0;
}

/* Products Grid */
.brand-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

/* Product Card */
.brand-product-card {
  background: #fff;
  border-radius: 8px;
  padding: 22px 22px 22px 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.brand-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.bpc-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.brand-product-card h4 {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.3;
}
.brand-product-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .brand-header { flex-direction: column; }
  .brand-products-grid { grid-template-columns: 1fr; }
  .brand-section { padding: 56px 0; }
  .brand-jump-nav { gap: 0; }
  .brand-jump-nav a { padding: 12px 14px; font-size: 10px; }
}

/* ============================================================
   BRANDS STRIP — homepage products section
   ============================================================ */
.brands-strip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.brand-pill {
  display: inline-block;
  padding: 9px 20px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
}
.brand-pill:hover {
  background: rgba(192,57,43,0.3);
  border-color: var(--red-light);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .site-logo-img { height: 44px; }
  .footer-logo-img { height: 40px; }
  .brands-strip-grid { gap: 7px; }
  .brand-pill { font-size: 10px; padding: 7px 14px; }
}

/* ============================================================
   PRODUCTS PAGE — BRAND HERO ROW & PRODUCT CARDS v2
   ============================================================ */

/* Brand hero row */
.brand-hero-row {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 8px;
}
.brand-hero-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10;
}
.brand-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.brand-intro-col {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.brand-intro-bar {
  width: 4px;
  min-height: 80px;
  border-radius: 2px;
  flex-shrink: 0;
  align-self: stretch;
}

/* Product cards with images */
.brand-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.brand-product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.brand-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Image area */
.bpc-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
  margin: 10px 10px 0 10px;
  border-radius: 7px;
}
.bpc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.brand-product-card:hover .bpc-img {
  transform: scale(1.06);
}

/* Price tag */
.bpc-price-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* Card body */
.bpc-body {
  padding: 18px 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
}
.bpc-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 0 0 10px;
}
.bpc-body h4 {
  font-size: .97rem;
  color: var(--charcoal);
  line-height: 1.3;
  font-weight: 700;
}
.bpc-body p {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.bpc-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 2px solid;
  padding-bottom: 1px;
  text-transform: uppercase;
  transition: opacity .2s;
}
.bpc-cta:hover { opacity: .7; }

/* Responsive */
@media (max-width: 900px) {
  .brand-hero-row { grid-template-columns: 1fr; }
  .brand-hero-img-wrap { aspect-ratio: 16/8; }
}
@media (max-width: 600px) {
  .brand-products-grid { grid-template-columns: 1fr; }
  .bpc-img-wrap { height: 200px; margin: 8px 8px 0 8px; }
}

/* ============================================================
   TEAM CARDS — About Us page
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.team-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
}
.team-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  transform: translateY(-6px);
}
.team-card-photo-wrap {
  position: relative;
  height: 320px;
  background: #f3f4f6;
}
.team-card-photo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease;
}
.team-card:hover .team-card-photo {
  transform: scale(1.04);
}
.team-card-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(232,35,31,0.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}
.team-card:hover .team-card-photo-overlay { opacity: 1; }
.team-card-social { display: none; }
.team-card-body {
  padding: 22px 24px 28px;
}
.team-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--charcoal);
}
.team-card-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.team-card-body p {
  color: var(--gray);
  font-size: .9rem;
  line-height: 1.75;
}

@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
}


/* ── LOCATION BLOCKS (Contact page multiple locations) ── */
.location-block {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 16px;
  background: #fff;
}
.location-block-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--charcoal);
}
.location-block-icon { font-size: 1.1rem; }
.location-block .contact-detail { padding: 8px 0; }
