/*
Theme Name: Cambay Industries
Theme URI: https://cambayindustries.co.in
Author: Cambay Industries
Description: Premium custom theme for Cambay Industries – a diversified conglomerate in textiles and food processing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: cambay-industries
*/

/* ─── Google Fonts ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────────── */
:root {
  --bg:            hsl(40 20% 97%);
  --fg:            hsl(220 20% 12%);
  --card:          hsl(40 15% 95%);
  --primary:       hsl(220 18% 14%);
  --primary-fg:    hsl(40 30% 95%);
  --secondary:     hsl(40 15% 92%);
  --muted:         hsl(220 10% 45%);
  --accent:        hsl(38 75% 55%);
  --accent-fg:     hsl(220 20% 10%);
  --border:        hsl(40 15% 88%);
  --gold:          hsl(38 75% 55%);
  --gold-light:    hsl(40 70% 70%);
  --gold-dark:     hsl(36 80% 40%);
  --charcoal:      hsl(220 18% 14%);
  --charcoal-light:hsl(220 12% 22%);
  --shadow-soft:   0 4px 30px hsl(220 18% 14% / 0.06);
  --shadow-elev:   0 12px 40px hsl(220 18% 14% / 0.1);
  --shadow-gold:   0 8px 30px hsl(38 75% 55% / 0.25);
  --font-display:  'Playfair Display', serif;
  --font-body:     'DM Sans', sans-serif;
}

/* ─── Reset / Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.2; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ─── Utility classes ───────────────────────────────────────────── */
.text-gradient-gold {
  background: linear-gradient(135deg, hsl(38 75% 55%), hsl(40 70% 70%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-gradient-gold { background: linear-gradient(135deg, hsl(38 75% 55%), hsl(36 80% 40%)); }
.bg-gradient-hero { background: linear-gradient(135deg, hsl(220 18% 10% / 0.85), hsl(220 18% 14% / 0.7)); }

.section-padding { padding: 5rem 1rem; }
@media (min-width: 768px)  { .section-padding { padding: 7rem 2rem; } }
@media (min-width: 1024px) { .section-padding { padding: 8rem 2rem; } }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.btn-gold {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: linear-gradient(135deg, hsl(38 75% 55%), hsl(36 80% 40%));
  color: var(--primary-fg); font-family: var(--font-body);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1rem 2rem; border-radius: 2px; border: none; cursor: pointer;
  transition: box-shadow 0.3s;
}
.btn-gold:hover { box-shadow: var(--shadow-gold); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.75rem;
  border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1rem 2rem; border-radius: 2px; background: transparent;
  cursor: pointer; transition: background 0.3s;
}
.btn-outline:hover { background: hsl(38 75% 55% / 0.05); }

/* ─── Keyframes ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lineGrow {
  from { width: 0; }
  to   { width: 80px; }
}

.animate-fade-up { animation: fadeUp 0.8s ease-out forwards; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Navbar ─────────────────────────────────────────────────────── */
#ci-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s, box-shadow 0.5s;
}
#ci-header.scrolled {
  background: hsl(220 18% 14% / 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px hsl(220 18% 14% / 0.3);
}
.ci-topbar {
  display: none; align-items: center; justify-content: space-between;
  padding: 0.5rem 2rem; background: var(--primary); color: var(--primary-fg);
  font-family: var(--font-body); font-size: 0.875rem;
}
@media (min-width: 768px) { .ci-topbar { display: flex; } }
.ci-topbar a { color: var(--primary-fg); transition: color 0.3s; }
.ci-topbar a:hover { color: var(--accent); }
.ci-topbar-enquire {
  background: var(--accent); color: var(--accent-fg);
  padding: 0.25rem 1rem; border-radius: 2px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.3s;
}
.ci-topbar-enquire:hover { background: var(--gold-dark) !important; color: var(--primary-fg) !important; }

.ci-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
}
@media (min-width: 768px) { .ci-nav { padding: 1rem 3rem; } }

.ci-nav-logo img { height: 3rem; width: auto; }
@media (min-width: 768px) { .ci-nav-logo img { height: 3.5rem; } }

/* Desktop menu */
.ci-nav-menu { display: none; }
@media (min-width: 768px) {
  .ci-nav-menu { display: flex; align-items: center; gap: 2rem; }
}
.ci-nav-menu > li { position: relative; }
.ci-nav-menu > li > a,
.ci-nav-menu > li > button {
  font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary-fg);
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0; position: relative; transition: color 0.3s;
}
.ci-nav-menu > li > a::after,
.ci-nav-menu > li > button::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--accent); transition: width 0.3s;
}
.ci-nav-menu > li:hover > a::after,
.ci-nav-menu > li:hover > button::after { width: 100%; }
.ci-nav-menu > li > a:hover,
.ci-nav-menu > li > button:hover { color: var(--accent); }

/* Dropdown */
.ci-dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 0.5rem;
  min-width: 14rem; background: var(--primary);
  border: 1px solid hsl(40 30% 95% / 0.1);
  border-radius: 0.5rem; box-shadow: var(--shadow-elev);
  overflow: visible; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all 0.2s;
}
.ci-nav-menu > li:hover .ci-dropdown,
.ci-dropdown:hover { opacity: 1; visibility: visible; transform: translateY(0); }

.ci-dropdown a, .ci-dropdown > .has-sub > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem; font-family: var(--font-body); font-size: 0.875rem;
  color: hsl(40 30% 95% / 0.7); transition: color 0.2s, background 0.2s;
}
.ci-dropdown a:hover { color: var(--accent); background: hsl(40 30% 95% / 0.05); }

.has-sub { position: relative; }
.ci-subdropdown {
  position: absolute; left: 100%; top: 0;
  min-width: 14rem; background: var(--primary);
  border: 1px solid hsl(40 30% 95% / 0.1);
  border-radius: 0.5rem; box-shadow: var(--shadow-elev);
  opacity: 0; visibility: hidden; transition: all 0.2s;
}
.has-sub:hover .ci-subdropdown { opacity: 1; visibility: visible; }
.ci-subdropdown a { display: block; }

/* Hamburger */
.ci-hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem;
}
@media (min-width: 768px) { .ci-hamburger { display: none; } }
.ci-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--primary-fg); transition: all 0.3s;
}
.ci-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ci-hamburger.open span:nth-child(2) { opacity: 0; }
.ci-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.ci-mobile-menu {
  display: none; flex-direction: column; align-items: center;
  gap: 1.5rem; padding: 2rem 1rem; background: var(--primary);
}
.ci-mobile-menu.open { display: flex; }
.ci-mobile-menu a {
  font-family: var(--font-body); font-size: 1.125rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary-fg); transition: color 0.3s;
}
.ci-mobile-menu a:hover { color: var(--accent); }
.ci-mobile-sub { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.ci-mobile-sub a { font-size: 0.875rem; color: hsl(40 30% 95% / 0.6); }
.ci-mobile-sub a::before { content: '— '; }

/* ─── Hero ───────────────────────────────────────────────────────── */
.ci-hero {
  position: relative; min-height: 80vh; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.ci-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ci-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, hsl(220 18% 10% / 0.85), hsl(220 18% 14% / 0.7));
}
.ci-hero-content { position: relative; z-index: 2; text-align: center; padding: 0 1rem; max-width: 56rem; margin: 0 auto; }
.ci-hero-label {
  font-family: var(--font-body); font-size: 0.875rem;
  color: var(--accent); letter-spacing: 0.4em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.ci-hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700;
  color: var(--primary-fg); margin-bottom: 1.5rem;
}
.ci-hero-subtitle {
  font-family: var(--font-body); color: hsl(40 30% 95% / 0.75);
  font-size: 1.125rem; max-width: 36rem; margin: 0 auto 2rem; line-height: 1.8;
}
.ci-breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.875rem; color: hsl(40 30% 95% / 0.7);
}
.ci-breadcrumb a { transition: color 0.3s; }
.ci-breadcrumb a:hover { color: var(--accent); }
.ci-breadcrumb .current { color: var(--accent); }
.ci-breadcrumb-sep { opacity: 0.5; }

/* ─── Stats bar ──────────────────────────────────────────────────── */
.ci-stats { background: var(--primary); padding: 3rem 1rem; }
.ci-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 80rem; margin: 0 auto; text-align: center; }
@media (min-width: 768px) { .ci-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.ci-stat-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; }
.ci-stat-label { font-family: var(--font-body); font-size: 0.875rem; color: hsl(40 30% 95% / 0.6); margin-top: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ─── Card grid ──────────────────────────────────────────────────── */
.ci-card-grid { display: grid; gap: 2rem; }
.ci-card-grid.cols-2 { grid-template-columns: repeat(1, 1fr); }
.ci-card-grid.cols-3 { grid-template-columns: repeat(1, 1fr); }
.ci-card-grid.cols-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
  .ci-card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .ci-card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .ci-card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ci-card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .ci-card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.ci-product-card {
  background: var(--card); border-radius: 0.75rem;
  overflow: hidden; box-shadow: var(--shadow-soft);
  transition: box-shadow 0.5s, transform 0.5s;
}
.ci-product-card:hover { box-shadow: var(--shadow-elev); transform: translateY(-4px); }
.ci-card-img { position: relative; height: 15rem; overflow: hidden; }
.ci-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.ci-product-card:hover .ci-card-img img { transform: scale(1.1); }
.ci-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, hsl(220 18% 14% / 0.7), transparent); }
.ci-card-img-title {
  position: absolute; bottom: 1rem; left: 1.25rem;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--primary-fg);
}
.ci-card-body { padding: 1.25rem; }
.ci-card-desc { font-family: var(--font-body); font-size: 0.875rem; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.ci-card-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  transition: gap 0.3s;
}
.ci-card-link:hover { gap: 0.75rem; }
.ci-card-link .arrow { font-size: 1rem; }

/* ─── Spec grid ──────────────────────────────────────────────────── */
.ci-spec-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .ci-spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ci-spec-grid { grid-template-columns: repeat(3, 1fr); } }

.ci-spec-card {
  position: relative; padding: 2rem;
  background: hsl(220 12% 22% / 0.5); backdrop-filter: blur(4px);
  border: 1px solid hsl(40 30% 95% / 0.1); border-radius: 0.75rem;
  transition: border-color 0.5s;
}
.ci-spec-card:hover { border-color: hsl(38 75% 55% / 0.3); }
.ci-spec-num {
  position: absolute; top: 1.5rem; right: 2rem;
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 700;
  color: hsl(40 30% 95% / 0.05);
}
.ci-spec-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 0.5rem;
  background: hsl(38 75% 55% / 0.1); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem;
  transition: background 0.3s;
}
.ci-spec-card:hover .ci-spec-icon { background: hsl(38 75% 55% / 0.2); }
.ci-spec-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--primary-fg); margin-bottom: 0.75rem; }
.ci-spec-desc { font-family: var(--font-body); font-size: 0.875rem; color: hsl(40 30% 95% / 0.6); line-height: 1.75; }

/* ─── Two-column intro ───────────────────────────────────────────── */
.ci-two-col { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 768px) { .ci-two-col { grid-template-columns: 1fr 1fr; } }
.ci-intro-label { font-family: var(--font-body); font-size: 0.875rem; color: var(--accent); letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 1rem; }
.ci-intro-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 1.5rem; }
.ci-intro-body { font-family: var(--font-body); color: var(--muted); font-size: 1rem; line-height: 1.9; }
.ci-intro-body + .ci-intro-body { margin-top: 1.25rem; }
.ci-intro-img { width: 100%; height: 24rem; object-fit: cover; border-radius: 0.75rem; box-shadow: var(--shadow-elev); }
.ci-intro-img-wrap { position: relative; }
.ci-intro-badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--accent); color: var(--accent-fg);
  padding: 1.5rem; border-radius: 0.75rem; box-shadow: var(--shadow-gold);
}
.ci-intro-badge-val { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.ci-intro-badge-lbl { font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ─── Section headers ────────────────────────────────────────────── */
.ci-section-header { text-align: center; margin-bottom: 4rem; }
.ci-section-label { font-family: var(--font-body); font-size: 0.875rem; color: var(--accent); letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 1rem; }
.ci-section-title { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }

/* ─── CTA section ────────────────────────────────────────────────── */
.ci-cta { text-align: center; max-width: 48rem; margin: 0 auto; }
.ci-cta-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 1.5rem; }
.ci-cta-subtitle { font-family: var(--font-body); color: var(--muted); font-size: 1.125rem; margin-bottom: 2rem; }
.ci-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ─── Footer ─────────────────────────────────────────────────────── */
#ci-footer {
  background: var(--primary); border-top: 1px solid hsl(38 75% 55% / 0.1);
}
.ci-footer-grid { display: grid; gap: 3rem; padding: 4rem 0; }
@media (min-width: 768px) { .ci-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.ci-footer-brand-logo { height: 3rem; width: auto; margin-bottom: 1rem; }
.ci-footer-brand-text { font-family: var(--font-body); font-size: 0.875rem; color: hsl(40 30% 95% / 0.5); line-height: 1.75; }
.ci-footer-col-title { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: var(--primary-fg); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.ci-footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.ci-footer-links a { font-family: var(--font-body); font-size: 0.875rem; color: hsl(40 30% 95% / 0.5); transition: color 0.3s; }
.ci-footer-links a:hover { color: var(--accent); }
.ci-cert-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.ci-cert-badge { width: 2.5rem; height: 2.5rem; border-radius: 0.25rem; background: hsl(38 75% 55% / 0.1); display: flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 700; font-size: 0.75rem; }
.ci-cert-name { font-family: var(--font-body); font-size: 0.875rem; color: hsl(40 30% 95% / 0.5); }
.ci-footer-bottom { border-top: 1px solid hsl(40 30% 95% / 0.1); padding: 1.5rem 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .ci-footer-bottom { flex-direction: row; justify-content: space-between; } }
.ci-footer-copy { font-family: var(--font-body); font-size: 0.875rem; color: hsl(40 30% 95% / 0.4); }
.ci-social-links { display: flex; gap: 1.5rem; }
.ci-social-links a { font-family: var(--font-body); font-size: 0.75rem; color: hsl(40 30% 95% / 0.4); letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; }
.ci-social-links a:hover { color: var(--accent); }

/* ─── Floating Enquiry ───────────────────────────────────────────── */
#ci-float-tab {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 200; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  background: linear-gradient(135deg, hsl(38 75% 55%), hsl(36 80% 40%));
  color: var(--primary-fg); font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 1rem 0.75rem; border-radius: 0.75rem 0 0 0.75rem;
  cursor: pointer; border: none; box-shadow: var(--shadow-gold);
  display: flex; align-items: center; gap: 0.5rem;
  transition: box-shadow 0.3s;
}
#ci-float-tab:hover { box-shadow: var(--shadow-elev); }

#ci-overlay {
  position: fixed; inset: 0; background: hsl(220 18% 14% / 0.6);
  backdrop-filter: blur(4px); z-index: 210;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
#ci-overlay.open { opacity: 1; visibility: visible; }

#ci-enquiry-panel {
  position: fixed; right: 0; top: 0; height: 100%;
  width: 100%; max-width: 28rem; background: var(--bg);
  z-index: 220; box-shadow: -8px 0 40px hsl(220 18% 14% / 0.2);
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  overflow-y: auto;
}
#ci-enquiry-panel.open { transform: translateX(0); }

.ci-panel-header {
  background: var(--primary); padding: 1.5rem;
  position: relative;
}
.ci-panel-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; cursor: pointer;
  color: hsl(40 30% 95% / 0.6); font-size: 1.5rem; line-height: 1;
  transition: color 0.3s;
}
.ci-panel-close:hover { color: var(--accent); }
.ci-panel-icon-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.ci-panel-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: hsl(38 75% 55% / 0.2); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.ci-panel-sub { font-family: var(--font-body); font-size: 0.75rem; color: var(--accent); letter-spacing: 0.3em; text-transform: uppercase; }
.ci-panel-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--primary-fg); }
.ci-panel-desc { font-family: var(--font-body); font-size: 0.875rem; color: hsl(40 30% 95% / 0.6); margin-top: 0.75rem; line-height: 1.7; }
.ci-panel-contacts { display: flex; gap: 1.5rem; margin-top: 1rem; }
.ci-panel-contacts a { font-family: var(--font-body); font-size: 0.75rem; color: var(--accent); transition: color 0.3s; }
.ci-panel-contacts a:hover { color: var(--gold-light); }

.ci-panel-form { padding: 1.5rem; }
.ci-form-group { margin-bottom: 1rem; }
.ci-form-label {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg); margin-bottom: 0.5rem;
}
.ci-form-label .lbl-icon { font-size: 0.875rem; color: var(--accent); }
.ci-form-control {
  width: 100%; background: var(--secondary); border: 1px solid var(--border);
  border-radius: 0.5rem; padding: 0.75rem 1rem;
  font-family: var(--font-body); font-size: 0.875rem; color: var(--fg);
  transition: border-color 0.3s; outline: none;
}
.ci-form-control:focus { border-color: var(--accent); }
.ci-form-control::placeholder { color: var(--muted); }
select.ci-form-control { appearance: none; cursor: pointer; }
.ci-form-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  background: linear-gradient(135deg, hsl(38 75% 55%), hsl(36 80% 40%));
  color: var(--primary-fg); font-family: var(--font-body); font-size: 0.875rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1rem; border-radius: 0.5rem; border: none; cursor: pointer;
  transition: box-shadow 0.3s; margin-top: 0.5rem;
}
.ci-form-submit:hover { box-shadow: var(--shadow-gold); }
.ci-form-privacy { font-family: var(--font-body); font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }

.ci-success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  padding: 4rem 2rem; text-align: center;
}
.ci-success.show { display: flex; }
.ci-success-icon { width: 4rem; height: 4rem; border-radius: 50%; background: hsl(38 75% 55% / 0.2); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1rem; }
.ci-success-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.ci-success-msg { font-family: var(--font-body); color: var(--muted); font-size: 0.875rem; }

/* ─── Feature icon grid ──────────────────────────────────────────── */
.ci-feature-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .ci-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ci-feature-grid { grid-template-columns: repeat(3, 1fr); } }
.ci-feature-card { display: flex; gap: 1rem; align-items: flex-start; }
.ci-feature-icon-box { width: 3rem; height: 3rem; border-radius: 0.5rem; background: hsl(38 75% 55% / 0.1); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.ci-feature-title { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 0.5rem; }
.ci-feature-desc { font-family: var(--font-body); font-size: 0.875rem; color: var(--muted); line-height: 1.75; }

/* ─── 2-col text layout ──────────────────────────────────────────── */
.ci-text-2col { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .ci-text-2col { grid-template-columns: repeat(2, 1fr); } }

/* ─── Theme page marker ──────────────────────────────────────────── */
.page-content-wrap { padding-top: 0; }

/* ─── 404 ────────────────────────────────────────────────────────── */
.ci-404 { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.ci-404-code { font-family: var(--font-display); font-size: 8rem; font-weight: 800; }
.ci-404-title { font-size: 2rem; margin-bottom: 1rem; }
.ci-404-msg { font-family: var(--font-body); color: var(--muted); margin-bottom: 2rem; }
