/*
Theme Name:   Cotton Planet Child
Theme URI:    https://cottonplanet.sg
Description:  Cotton Planet custom child theme based on Kadence. Rebuilt 2025.
Author:       Elegance Uniforms Pte Ltd
Author URI:   https://cottonplanet.sg
Template:     kadence
Version:      2.0.0
License:      Private
Text Domain:  cottonplanet-child
*/

/* ──────────────────────────────────────────────────────────
   IMPORTS & FONTS
   ────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ──────────────────────────────────────────────────────────
   DESIGN TOKENS
   ────────────────────────────────────────────────────────── */
:root {
  --cp-navy:       #1C2B3A;
  --cp-navy-mid:   #2C3E50;
  --cp-gold:       #B8933F;
  --cp-gold-light: #D4AF6A;
  --cp-gold-pale:  #F5EDD8;
  --cp-white:      #FAFAF8;
  --cp-off-white:  #F3F1EB;
  --cp-text:       #2A2A28;
  --cp-muted:      #6B6B65;
  --cp-border:     #E0DDD6;
  --cp-red:        #C0392B;

  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', sans-serif;

  --radius:        6px;
  --radius-lg:     12px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --transition:    0.22s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--cp-text);
  background: var(--cp-white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--cp-navy);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--cp-gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--cp-navy);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 500; }

p { margin-bottom: 1rem; color: var(--cp-muted); }

/* ──────────────────────────────────────────────────────────
   HEADER
   ────────────────────────────────────────────────────────── */
.site-header,
#masthead,
.kadence-header {
  background: var(--cp-white) !important;
  border-bottom: 1px solid var(--cp-border);
  box-shadow: none !important;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Top info bar */
.cp-topbar {
  background: var(--cp-navy);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 7px 0;
  text-align: center;
  letter-spacing: 0.3px;
}
.cp-topbar a { color: var(--cp-gold-light); }
.cp-topbar a:hover { color: #fff; }
.cp-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cp-topbar-item { display: flex; align-items: center; gap: 6px; }

/* Logo */
.site-logo img,
.kadence-logo img,
.custom-logo { max-height: 60px; width: auto; }

/* Nav links */
.main-navigation a,
.kadence-navigation a,
.primary-menu a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--cp-navy) !important;
  padding: 8px 14px !important;
  letter-spacing: 0.2px;
  transition: color var(--transition);
}
.main-navigation a:hover,
.primary-menu a:hover { color: var(--cp-gold) !important; }

/* CTA button in nav */
.nav-cta-btn,
.header-cta-btn {
  background: var(--cp-gold) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.3px;
  transition: background var(--transition) !important;
}
.nav-cta-btn:hover { background: var(--cp-navy) !important; }

/* ──────────────────────────────────────────────────────────
   HERO SECTION
   ────────────────────────────────────────────────────────── */
.cp-hero {
  background: var(--cp-navy);
  color: #fff;
  min-height: 580px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/cottonplanet-images/IMG_2941-scaled.jpg') center/cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}

.cp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  max-width: 680px;
}

.cp-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cp-gold-light);
  margin-bottom: 16px;
  font-weight: 500;
  font-family: var(--font-body);
}

.cp-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}

.cp-hero h1 em {
  font-style: italic;
  color: var(--cp-gold-light);
}

.cp-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 520px;
}

.cp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.cp-btn-primary {
  background: var(--cp-gold);
  color: #fff;
}
.cp-btn-primary:hover {
  background: #9E7A30;
  color: #fff;
  transform: translateY(-1px);
}

.cp-btn-outline {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
  margin-left: 12px;
}
.cp-btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.cp-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}

.cp-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cp-gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.cp-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
  font-family: var(--font-body);
}

/* ──────────────────────────────────────────────────────────
   SECTION LAYOUT
   ────────────────────────────────────────────────────────── */
.cp-section {
  padding: 72px 0;
}
.cp-section-alt {
  background: var(--cp-off-white);
}
.cp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.cp-section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}
.cp-section-tag {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cp-gold);
  font-weight: 500;
  font-family: var(--font-body);
  margin-bottom: 10px;
  display: block;
}
.cp-section-header h2 { margin-bottom: 12px; }
.cp-section-header p { font-size: 15px; color: var(--cp-muted); }

/* ──────────────────────────────────────────────────────────
   PRODUCT CATEGORIES GRID
   ────────────────────────────────────────────────────────── */
.cp-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.cp-category-card {
  background: #F5F3EE;
  border: 1px solid var(--cp-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.cp-category-card:hover {
  border-color: var(--cp-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.cp-category-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #F5F3EE;
  padding: 16px;
  display: block;
}

.cp-category-card-body {
  padding: 16px 18px;
  background: #fff;
  border-top: 1px solid var(--cp-border);
}
.cp-category-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--cp-navy);
  font-family: var(--font-heading);
}
.cp-category-card p {
  font-size: 13px;
  color: var(--cp-muted);
  margin: 0;
}
.cp-category-card-arrow {
  font-size: 18px;
  color: var(--cp-gold);
  float: right;
  margin-top: -20px;
  transition: transform var(--transition);
}
.cp-category-card:hover .cp-category-card-arrow {
  transform: translateX(4px);
}

/* ──────────────────────────────────────────────────────────
   INDUSTRIES SECTION
   ────────────────────────────────────────────────────────── */
.cp-industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .cp-industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cp-industries-grid { grid-template-columns: 1fr; }
}

.cp-industry-card {
  background: var(--cp-navy);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: #fff;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  min-height: 160px;
}
.cp-industry-card::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 50% 0 0 0;
  background: rgba(184,147,63,0.2);
  transition: all var(--transition);
}
.cp-industry-card:hover::before {
  width: 120px; height: 120px;
  background: rgba(184,147,63,0.3);
}
.cp-industry-card:hover {
  background: var(--cp-navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.cp-industry-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.cp-industry-card h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 6px;
}
.cp-industry-card p {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────
   PRODUCT LISTING PAGE
   ────────────────────────────────────────────────────────── */
.cp-page-hero {
  background: var(--cp-off-white);
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--cp-border);
}
.cp-page-hero h1 { margin-bottom: 8px; }
.cp-page-hero p { margin: 0; font-size: 16px; }
.cp-breadcrumb {
  font-size: 12px;
  color: var(--cp-muted);
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.cp-breadcrumb a { color: var(--cp-muted); }
.cp-breadcrumb a:hover { color: var(--cp-gold); }
.cp-breadcrumb span { margin: 0 6px; }

.cp-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  padding: 48px 0;
}

.cp-product-card {
  background: #F5F3EE;
  border: 1px solid var(--cp-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.cp-product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--cp-gold);
}
.cp-product-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #F5F3EE;
  padding: 20px;
  display: block;
}
.cp-product-card-body { padding: 20px; background: #fff; border-top: 1px solid var(--cp-border); }
.cp-product-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--cp-navy);
  margin-bottom: 10px;
}
.cp-product-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.cp-product-specs li {
  font-size: 13px;
  color: var(--cp-muted);
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.cp-product-specs li::before {
  content: '—';
  color: var(--cp-gold);
  flex-shrink: 0;
  font-size: 11px;
  margin-top: 2px;
}
.cp-product-card .cp-btn {
  width: 100%;
  justify-content: center;
  padding: 10px 20px;
  font-size: 13px;
  background: var(--cp-off-white);
  color: var(--cp-navy);
  border: 1px solid var(--cp-border);
}
.cp-product-card .cp-btn:hover {
  background: var(--cp-gold);
  color: #fff;
  border-color: var(--cp-gold);
  transform: none;
}

/* ──────────────────────────────────────────────────────────
   SERVICES SECTION
   ────────────────────────────────────────────────────────── */
.cp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.cp-service-card {
  background: #fff;
  border: 1px solid var(--cp-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.cp-service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--cp-gold);
}
.cp-service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.cp-service-card-body { padding: 24px; }
.cp-service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.cp-service-card p {
  font-size: 14px;
  color: var(--cp-muted);
  margin: 0;
  line-height: 1.65;
}

/* ──────────────────────────────────────────────────────────
   WHY COTTON PLANET — FEATURE STRIP
   ────────────────────────────────────────────────────────── */
.cp-features-strip {
  background: var(--cp-navy);
  color: #fff;
  padding: 56px 0;
}

.cp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.cp-feature-item { }
.cp-feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}
.cp-feature-item h4 {
  color: var(--cp-gold-light);
  font-size: 15px;
  font-family: var(--font-heading);
  margin-bottom: 6px;
}
.cp-feature-item p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin: 0;
  line-height: 1.55;
}

/* ──────────────────────────────────────────────────────────
   ABOUT SECTION
   ────────────────────────────────────────────────────────── */
.cp-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) {
  .cp-about-split { grid-template-columns: 1fr; gap: 36px; }
}

.cp-about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #F5F3EE;
}
.cp-about-img img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  padding: 32px;
  background: #F5F3EE;
  display: block;
}

.cp-about-content .cp-section-tag { text-align: left; }
.cp-about-content h2 { margin-bottom: 16px; }
.cp-about-content p { margin-bottom: 16px; line-height: 1.8; }

.cp-about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.cp-highlight-item {
  background: var(--cp-off-white);
  border-radius: var(--radius);
  padding: 16px;
  border-left: 3px solid var(--cp-gold);
}
.cp-highlight-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--cp-navy);
  margin-bottom: 2px;
}
.cp-highlight-item span {
  font-size: 12px;
  color: var(--cp-muted);
  line-height: 1.4;
}

/* ──────────────────────────────────────────────────────────
   CONTACT / QUOTE FORM
   ────────────────────────────────────────────────────────── */
.cp-contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 800px) {
  .cp-contact-split { grid-template-columns: 1fr; }
}

.cp-contact-info h3 { margin-bottom: 6px; }
.cp-contact-info p { margin-bottom: 24px; }

.cp-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.cp-contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--cp-gold-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.cp-contact-detail-text strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--cp-navy);
  margin-bottom: 2px;
}
.cp-contact-detail-text span {
  font-size: 14px;
  color: var(--cp-muted);
}

.cp-wa-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  transition: background var(--transition);
}
.cp-wa-button:hover { background: #1ebe5a; color: #fff; }

/* CF7 form styling */
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--cp-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--cp-text);
  background: #fff;
  transition: border-color var(--transition);
  margin-bottom: 4px;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--cp-gold);
}
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--cp-navy);
  margin-bottom: 5px;
  margin-top: 14px;
}
.wpcf7-form .wpcf7-submit {
  background: var(--cp-gold) !important;
  color: #fff !important;
  border: none !important;
  padding: 13px 32px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: var(--radius) !important;
  cursor: pointer;
  width: 100%;
  margin-top: 16px;
  font-family: var(--font-body) !important;
  transition: background var(--transition) !important;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--cp-navy) !important; }

/* ──────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────── */
.site-footer,
#colophon,
.kadence-footer {
  background: var(--cp-navy) !important;
  color: rgba(255,255,255,0.65) !important;
}

.cp-footer {
  background: var(--cp-navy);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 0;
}
.cp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) {
  .cp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cp-footer-grid { grid-template-columns: 1fr; }
}

.cp-footer-brand img { max-height: 48px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.cp-footer-brand p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }

.cp-footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cp-gold-light);
  margin-bottom: 16px;
}
.cp-footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
}
.cp-footer-col ul li { margin-bottom: 9px; }
.cp-footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.cp-footer-col ul li a:hover { color: var(--cp-gold-light); }

.cp-footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.cp-footer-bottom a { color: rgba(255,255,255,0.5); }
.cp-footer-bottom a:hover { color: var(--cp-gold-light); }

/* ──────────────────────────────────────────────────────────
   PAGE-LEVEL HERO (inner pages)
   ────────────────────────────────────────────────────────── */
.cp-inner-hero {
  background: linear-gradient(135deg, var(--cp-navy) 0%, var(--cp-navy-mid) 100%);
  padding: 52px 0 44px;
  color: #fff;
}
.cp-inner-hero .cp-breadcrumb { color: rgba(255,255,255,0.55); }
.cp-inner-hero .cp-breadcrumb a { color: rgba(255,255,255,0.55); }
.cp-inner-hero h1 { color: #fff; margin-bottom: 8px; }
.cp-inner-hero p { color: rgba(255,255,255,0.7); font-size: 16px; margin: 0; }

/* ──────────────────────────────────────────────────────────
   TESTIMONIAL STRIP
   ────────────────────────────────────────────────────────── */
.cp-testimonials { background: var(--cp-gold-pale); }
.cp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .cp-testimonials-grid { grid-template-columns: 1fr; }
}

.cp-testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(184,147,63,0.2);
}
.cp-testimonial-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--cp-text);
  font-style: italic;
  margin-bottom: 16px;
}
.cp-testimonial-author {
  font-size: 13px;
  font-weight: 500;
  color: var(--cp-navy);
}
.cp-testimonial-company {
  font-size: 12px;
  color: var(--cp-muted);
}

/* ──────────────────────────────────────────────────────────
   UTILITY CLASSES
   ────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--cp-gold); }
.bg-navy { background: var(--cp-navy); color: #fff; }
.bg-offwhite { background: var(--cp-off-white); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ──────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .cp-hero-inner { padding: 0 24px; }
  .cp-container { padding: 0 20px; }
  .cp-hero { min-height: 480px; padding: 60px 0; }
  .cp-section { padding: 48px 0; }
  .cp-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-features-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .cp-about-highlights { grid-template-columns: 1fr; }
  .cp-products-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-hero-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .cp-categories-grid { grid-template-columns: 1fr; }
  .cp-products-grid { grid-template-columns: 1fr; }
  .cp-hero h1 { font-size: 2rem; }
}

/* ── SERVICE CARD IMAGE ─────────────────────────────────── */
.cp-service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #F5F3EE;
}
/* ── CONTACT FORM 7 CUSTOM STYLES ──────────────────────── */
.cp-cf7-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cp-muted);
  padding: 16px 0 12px;
  border-top: 1px solid var(--cp-border);
  margin-top: 8px;
}
.cp-cf7-section-label:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.cp-cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cp-cf7-col { width: 100%; }

.wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--cp-navy);
  margin-bottom: 5px;
  margin-top: 14px;
}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--cp-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--cp-text);
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--cp-gold);
}
.wpcf7-form textarea { min-height: 110px; resize: vertical; }
.wpcf7-form select { background: #fff; }

/* Radio buttons - preferred contact method */
.wpcf7-radio .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0 10px 0 0;
}
.wpcf7-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--cp-muted);
  cursor: pointer;
  padding: 9px 16px;
  border: 1.5px solid var(--cp-border);
  border-radius: var(--radius);
  background: #fff;
  margin: 4px 0;
  font-weight: 400;
  transition: border-color 0.2s, background 0.2s;
}
.wpcf7-radio .wpcf7-list-item input[type=radio] {
  width: auto;
  padding: 0;
  border: none;
  accent-color: var(--cp-gold);
}
.wpcf7-radio .wpcf7-list-item input[type=radio]:checked + span {
  color: var(--cp-navy);
}

/* File upload */
.wpcf7-file {
  display: block;
  width: 100%;
  padding: 20px;
  border: 2px dashed var(--cp-border);
  border-radius: var(--radius);
  background: var(--cp-off-white);
  font-size: 13px;
  color: var(--cp-muted);
  cursor: pointer;
  box-sizing: border-box;
}

/* Submit button */
.wpcf7-form input[type=submit],
.wpcf7-form .wpcf7-submit {
  width: 100%;
  background: var(--cp-gold) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 24px !important;
  border-radius: var(--radius) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: var(--font-body) !important;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s !important;
}
.wpcf7-form input[type=submit]:hover,
.wpcf7-form .wpcf7-submit:hover {
  background: var(--cp-navy) !important;
}

/* Response messages */
.wpcf7-response-output {
  margin-top: 16px !important;
  padding: 12px 16px !important;
  border-radius: var(--radius) !important;
  font-size: 13px !important;
}

@media (max-width: 600px) {
  .cp-cf7-row { grid-template-columns: 1fr; }
}
/* ── STICKY CTA BAR ─────────────────────────────────────── */
.cp-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cp-navy);
  color: #fff;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cp-sticky-cta.visible { transform: translateY(0); }
.cp-sticky-label {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  flex: 1;
}
.cp-sticky-label strong { color: #fff; }
.cp-sticky-btns {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.cp-sticky-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.cp-sticky-wa:hover { background: #1ebe5d; }

@media (max-width: 640px) {
  .cp-sticky-cta { flex-direction: column; align-items: flex-start; padding: 14px 20px; }
  .cp-sticky-btns { width: 100%; }
  .cp-sticky-btns .cp-btn, .cp-sticky-wa { flex: 1; justify-content: center; }
}

/* ── CF7 SUCCESS / ERROR MESSAGES ───────────────────────── */
.wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: var(--radius) !important;
  font-size: 14px !important;
  border: none !important;
}
.wpcf7-mail-sent-ok {
  background: #ECFDF5 !important;
  color: #065F46 !important;
  border-left: 4px solid #10B981 !important;
}
.wpcf7-mail-sent-ok::before { content: "✓  "; font-weight: 700; }
.wpcf7-validation-errors,
.wpcf7-spam-blocked,
.wpcf7-mail-sent-ng {
  background: #FEF2F2 !important;
  color: #991B1B !important;
  border-left: 4px solid #EF4444 !important;
}
.wpcf7-not-valid-tip {
  font-size: 12px !important;
  color: #EF4444 !important;
  margin-top: 4px !important;
}
.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid {
  border-color: #EF4444 !important;
}

/* ── FAQ PAGE ────────────────────────────────────────────── */
.cp-faq-item {
  border-bottom: 1px solid var(--cp-border);
}
.cp-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--cp-navy);
  gap: 16px;
}
.cp-faq-question:hover { color: var(--cp-gold); }
.cp-faq-icon {
  font-size: 20px;
  color: var(--cp-gold);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.cp-faq-item.open .cp-faq-icon { transform: rotate(45deg); }
.cp-faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--cp-muted);
  line-height: 1.7;
}
.cp-faq-item.open .cp-faq-answer { display: block; }

