/* =====================================================================
   IVAN'S BRAND BUILDER — Main Stylesheet
   Brand: Red (#C41E3A), Silver (#C0C0C0), Dark (#1A1A1A)
   ===================================================================== */

:root {
  --red: #C41E3A;
  --red-light: #D62847;
  --red-dark: #9B1830;
  --silver: #C0C0C0;
  --silver-light: #E8E8E8;
  --dark: #1A1A1A;
  --dark-light: #2A2A2A;
  --dark-lighter: #3A3A3A;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --text: #F8F9FA;
  --text-dark: #1A1A1A;
  --muted: #8a94a6;
  --line: rgba(255,255,255,.08);
  --shadow: 0 20px 60px rgba(0,0,0,.4);
  --shadow-card: 0 8px 32px rgba(0,0,0,.3);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--dark);
  line-height: 1.6;
}

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

.accent { color: var(--red); }
.emphasis { color: var(--red); font-weight: 600; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all .3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,30,58,.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--silver);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.05);
}

.btn-large {
  padding: 16px 32px;
  font-size: 17px;
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26,26,26,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.nav-brand img {
  height: 40px;
  width: auto;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .3s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--red-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(135deg, var(--dark) 0%, #0d0d0d 50%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,30,58,.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(196,30,58,.15);
  color: var(--red-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(196,30,58,.2);
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-sub {
  font-size: 18px;
  color: var(--silver);
  margin-bottom: 12px;
  line-height: 1.7;
}

.hero-tagline {
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  text-align: center;
}

.hero-visual img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(196,30,58,.2));
}

/* ── Value Props ── */
.value-section {
  padding: 80px 0;
  background: var(--dark-light);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(196,30,58,.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--red);
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--white);
}

.value-card p {
  color: var(--silver);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Section Headers ── */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(196,30,58,.15);
  color: var(--red-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 38px;
  color: var(--white);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--silver);
  font-size: 17px;
}

/* ── Services ── */
#services {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--dark-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(196,30,58,.3);
}

.service-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(196,30,58,.2);
  position: absolute;
  top: 24px;
  right: 28px;
}

.service-card h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--silver);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--silver);
  font-size: 14px;
  padding: 6px 0;
}

.service-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--red);
  flex-shrink: 0;
}

/* ── Advantage ── */
.advantage {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
}

.advantage-box {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.advantage-box h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 20px;
}

.advantage-box > p {
  color: var(--silver);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

/* ── Portfolio ── */
.portfolio-section {
  padding: 100px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.portfolio-card {
  background: var(--dark-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.portfolio-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-lighter);
}

.ph-icon {
  width: 64px;
  height: 64px;
  stroke: var(--muted);
}

.portfolio-body {
  padding: 28px;
}

.portfolio-cat {
  display: inline-block;
  background: rgba(196,30,58,.15);
  color: var(--red-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.portfolio-body h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

.portfolio-body p {
  color: var(--silver);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color .3s;
}

.portfolio-link:hover { color: var(--red); }

.portfolio-link svg {
  width: 16px;
  height: 16px;
}

/* ── Advocacy ── */
#advocacy {
  padding: 100px 0;
  background: var(--dark-light);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.story-content h2 {
  font-size: 34px;
  color: var(--white);
  margin-bottom: 20px;
}

.story-content p {
  color: var(--silver);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.story-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.win-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.win-amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
}

.win-desc h4 {
  font-size: 17px;
  color: var(--white);
  margin-bottom: 6px;
}

.win-desc p {
  color: var(--silver);
  font-size: 14px;
  line-height: 1.6;
}

.disclaimer-box {
  background: rgba(196,30,58,.08);
  border: 1px solid rgba(196,30,58,.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ── About ── */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.about-photo {
  text-align: center;
}

.about-photo img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.about-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.about-role {
  color: var(--red-light);
  font-size: 15px;
  font-weight: 600;
}

.about-content h2 {
  font-size: 34px;
  color: var(--white);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--silver);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── Shop / Cart ── */
.shop-section {
  padding: 100px 0;
  background: var(--dark-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.product-card {
  background: var(--dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(196,30,58,.3);
}

.product-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

.product-card .product-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 12px;
}

.product-card .product-desc {
  color: var(--silver);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-card .btn {
  width: 100%;
  justify-content: center;
}

/* Cart drawer */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 2000;
}

.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--dark-light);
  border-left: 1px solid var(--line);
  z-index: 2001;
  transition: right .3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { right: 0; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.cart-header h3 {
  color: var(--white);
  font-size: 20px;
}

.cart-close {
  background: none;
  border: none;
  color: var(--silver);
  font-size: 28px;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-info h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 4px;
}

.cart-item-info .cart-item-price {
  color: var(--red-light);
  font-weight: 600;
  font-size: 14px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: var(--dark);
  color: var(--white);
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-qty span {
  color: var(--white);
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cart-note {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  margin-top: 12px;
}

.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

/* Cart button in nav */
.cart-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--silver);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-btn:hover { color: var(--white); }

.cart-count {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── QR Section ── */
.qr-section {
  padding: 80px 0;
  text-align: center;
}

.qr-display-wrap {
  margin: 32px auto;
  display: inline-block;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
}

.qr-display-img {
  display: block;
  width: 240px;
  height: 240px;
}

.qr-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.qr-fineprint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 20px;
}

/* ── Contact ── */
.contact-section {
  padding: 100px 0;
  text-align: center;
}

.contact-section h2 {
  font-size: 38px;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-section > .container > p {
  color: var(--silver);
  font-size: 17px;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  padding: 28px 24px;
  background: var(--dark-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 200px;
  transition: transform .3s, box-shadow .3s;
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.cm-icon {
  width: 48px;
  height: 48px;
  background: rgba(196,30,58,.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--red);
}

.cm-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cm-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

/* ── Footer ── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 600;
}

.footer-brand img {
  height: 32px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 14px;
  transition: color .3s;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 200px; }
  .value-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 24px; }
  .contact-methods { flex-direction: column; align-items: center; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .hero-cta-group { justify-content: center; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .cart-drawer { width: 100vw; right: -100vw; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .section-head h2 { font-size: 28px; }
  .contact-section h2 { font-size: 28px; }
  .advantage-box h2 { font-size: 26px; }
  .qr-actions { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════════════════════════
   AI CHAT WIDGET — "Ask Ivan" Brand Assistant
   Red / Dark / Silver theme
   ═══════════════════════════════════════════════════════════════════ */

.ai-chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99998;
  min-width: 62px;
  height: 56px;
  padding: 0 22px 0 20px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  border: 3px solid var(--red);
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 0 0 rgba(196,30,58,.4);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, background .3s ease;
  animation: aiPulse 3s ease-in-out infinite;
  letter-spacing: .3px;
}
.ai-launcher-text {
  line-height: 1;
  white-space: nowrap;
}
.ai-chat-launcher:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
  background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
}
.ai-chat-launcher.active {
  transform: rotate(0deg) scale(1.05);
  background: linear-gradient(135deg, #0d0d0d 0%, var(--dark) 100%);
}
@keyframes aiPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 0 0 rgba(196,30,58,.4); }
  50% { box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 0 12px rgba(196,30,58,0); }
}
.ai-launcher-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

/* Chat panel container */
.ai-chat-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 99999;
  width: 380px;
  max-width: calc(100vw - 48px);
  max-height: 600px;
  height: min(600px, calc(100vh - 140px));
  background: var(--dark-light);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(.96);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.3,1);
}
.ai-chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Chat header */
.ai-chat-header {
  background: linear-gradient(135deg, var(--dark) 0%, #0d0d0d 100%);
  color: var(--white);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
}
.ai-chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.2);
}
.ai-chat-header-info { flex: 1; min-width: 0; }
.ai-chat-header-info h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.01em;
}
.ai-chat-header-info .ai-status {
  font-size: 12px;
  color: var(--silver);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-family: "Inter", sans-serif;
}
.ai-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,.6);
}
.ai-chat-close {
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
  flex-shrink: 0;
}
.ai-chat-close:hover { background: rgba(255,255,255,.25); }

/* Messages area */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--dark);
  scroll-behavior: smooth;
}
.ai-chat-messages::-webkit-scrollbar { width: 5px; }
.ai-chat-messages::-webkit-scrollbar-track { background: transparent; }
.ai-chat-messages::-webkit-scrollbar-thumb { background: var(--dark-lighter); border-radius: 4px; }

/* Message bubbles */
.ai-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  animation: aiMsgIn .35s ease both;
  word-wrap: break-word;
}
@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.ai-msg.bot {
  background: var(--dark-light);
  color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
  align-self: flex-start;
}
.ai-msg.user {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.ai-msg.bot strong { color: var(--white); }
.ai-msg.bot a { color: var(--red-light); text-decoration: underline; }
.ai-msg.bot .ai-data-tag {
  display: inline-block;
  background: rgba(196,30,58,.15);
  color: var(--red-light);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
  margin-top: 8px;
  font-family: "Inter", sans-serif;
}

/* Typing indicator */
.ai-typing {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  align-self: flex-start;
  background: var(--dark-light);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
}
.ai-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  animation: aiTypingBounce 1.4s ease-in-out infinite;
}
.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aiTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-8px); opacity: 1; }
}

/* Quick reply chips */
.ai-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  background: var(--dark);
  flex-shrink: 0;
}
.ai-quick-reply {
  background: var(--dark-light);
  border: 1.5px solid var(--red);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.ai-quick-reply:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

/* Input area */
.ai-chat-input-area {
  padding: 14px 16px;
  background: var(--dark-light);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
}
.ai-chat-input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 11px 16px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--dark);
  outline: none;
  transition: border-color .2s ease;
  resize: none;
  max-height: 80px;
  line-height: 1.4;
}
.ai-chat-input:focus { border-color: var(--red); }
.ai-chat-input::placeholder { color: var(--muted); }
.ai-chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  border: none;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(196,30,58,.35);
}
.ai-chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(196,30,58,.45);
}
.ai-chat-send:active { transform: scale(.95); }

/* Contact CTA inside chat */
.ai-contact-cta {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  margin-top: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
  width: fit-content;
  align-self: flex-start;
}
.ai-contact-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,30,58,.4);
}

/* Chat widget — mobile responsive */
@media (max-width: 480px) {
  .ai-chat-launcher {
    bottom: 16px;
    right: 16px;
    height: 50px;
    padding: 0 18px 0 16px;
    font-size: 15px;
  }
  .ai-launcher-badge {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .ai-chat-panel {
    bottom: 80px;
    right: 8px;
    width: calc(100vw - 16px);
    max-height: calc(100vh - 100px);
    border-radius: 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ PAGE STYLES
   ═══════════════════════════════════════════════════════════════════ */

.faq-page-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--dark) 0%, #0d0d0d 50%, var(--dark) 100%);
  text-align: center;
}
.faq-page-header h1 {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 12px;
}
.faq-page-header p {
  color: var(--silver);
  font-size: 17px;
}

.faq-section {
  padding: 60px 0 80px;
  background: var(--dark);
}

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

.faq-category {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}
.faq-category:first-child { margin-top: 0; }

.faq-item {
  background: var(--dark-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color .3s;
}
.faq-item:hover { border-color: rgba(196,30,58,.3); }
.faq-item.open { border-color: var(--red); }

.faq-question {
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
}
.faq-toggle {
  font-size: 24px;
  color: var(--red);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-answer { max-height: 800px; }

.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--silver);
  font-size: 15px;
  line-height: 1.7;
}
.faq-answer-inner p { margin-bottom: 12px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner strong { color: var(--white); }
.faq-answer-inner a { color: var(--red-light); text-decoration: underline; }

.faq-cta-section {
  padding: 80px 0;
  background: var(--dark-light);
  text-align: center;
}
.faq-cta-section h2 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 12px;
}
.faq-cta-section p {
  color: var(--silver);
  font-size: 17px;
  margin-bottom: 32px;
}

.breadcrumbs {
  padding: 80px 0 0;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--silver);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--white); }

@media (max-width: 768px) {
  .faq-page-header h1 { font-size: 32px; }
  .faq-question { font-size: 15px; padding: 16px; }
  .faq-answer-inner { padding: 0 16px 16px; font-size: 14px; }
}

/* ── Video Portfolio Card & Modal ── */
.portfolio-video-card {
    grid-column: span 2;
}
.portfolio-video-thumb {
    position: relative;
    cursor: pointer;
    height: 320px;
}
.portfolio-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, rgba(26,26,26,.1) 0%, rgba(26,26,26,.6) 100%);
    transition: background .3s ease;
}
.portfolio-video-thumb:hover .video-play-overlay {
    background: linear-gradient(180deg, rgba(196,30,58,.1) 0%, rgba(26,26,26,.7) 100%);
}
.video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(196,30,58,.5);
    transition: transform .3s ease, box-shadow .3s ease;
    padding-left: 4px;
}
.portfolio-video-thumb:hover .video-play-btn {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(196,30,58,.7);
}
.video-play-label {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.portfolio-cat-video {
    position: absolute;
    top: 16px;
    left: 16px;
    margin-bottom: 0;
    background: var(--red);
    color: var(--white);
    z-index: 2;
}

/* Video modal */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 5000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.video-modal.open {
    display: flex;
}
.video-modal-inner {
    position: relative;
    width: 100%;
    max-width: 900px;
}
.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    opacity: .8;
    transition: opacity .2s ease;
}
.video-modal-close:hover { opacity: 1; }
.video-modal-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.video-modal-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .portfolio-video-card { grid-column: span 1; }
    .portfolio-video-thumb { height: 220px; }
    .video-play-btn { width: 56px; height: 56px; font-size: 22px; }
}
