/* ============================================================
   World-ICT — corporate stylesheet
   ============================================================ */
:root {
  --primary: #9c6b10;
  --primary-dark: #2a2014;
  --navy: #1a1410;
  --accent: #e8a33d;
  --accent-soft: #faeed3;
  --surface: #ffffff;
  --surface-alt: #faf7f1;
  --text: #2b2318;
  --text-muted: #6f6555;
  --border: #eae3d6;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(26, 20, 12, .06);
  --shadow-md: 0 10px 30px rgba(26, 20, 12, .12);
  --shadow-lg: 0 24px 60px rgba(26, 20, 12, .2);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .partners-track, .chat-fab-pulse, .visual-ring, .visual-card, .about-visual::before { animation: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: linear-gradient(135deg, #f2b04a, #c9821a); color: #241b12; box-shadow: 0 8px 20px rgba(232, 163, 61, .35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(232, 163, 61, .5); }

.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-light { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); }

.btn-helpdesk { background: var(--accent); color: #241b12; padding: .55rem 1.2rem; font-size: .88rem; }
.btn-helpdesk:hover { background: #f0b455; }

.btn-portal { border-color: rgba(255,255,255,.5); color: #fff; padding: .55rem 1.2rem; font-size: .88rem; }
.btn-portal:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.site-header.scrolled .btn-portal { border-color: var(--primary); color: var(--primary); }
.site-header.scrolled .btn-portal:hover { background: var(--accent-soft); }

.linklike { background: none; border: none; color: inherit; padding: 0; text-align: left; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1.1rem 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  padding: .55rem 0;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner { display: flex; align-items: center; gap: 2rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; transition: color .3s ease; }
.site-header.scrolled .logo { color: var(--primary); }
.logo-mark { width: 34px; height: 34px; color: var(--accent); }

/* Logo-lockup naar echte huisstijl: globe als "o" + tagline */
.logo-lockup { display: grid; gap: .28rem; line-height: 1; }
.logo-text { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; color: var(--accent); display: inline-flex; align-items: center; }
.logo-globe { width: .98em; height: .98em; margin: 0 .05em; color: currentColor; flex: none; }
.logo-accent { color: inherit; }
.logo-tagline { font-size: .53rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.55); transition: color .3s ease; }
.site-header.scrolled .logo-tagline { color: var(--text-muted); }

.main-nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.main-nav > a:not(.btn) {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  transition: color .3s ease;
}
.site-header.scrolled .main-nav > a:not(.btn) { color: var(--text); }
.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.main-nav > a:not(.btn):hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: flex;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .3s ease;
}
.site-header.scrolled .lang-switch { border-color: var(--border); }
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.8);
  padding: .35rem .75rem;
  font-size: .8rem;
  font-weight: 700;
  transition: background .25s ease, color .25s ease;
}
.site-header.scrolled .lang-btn { color: var(--text-muted); }
.lang-btn.active { background: var(--accent); color: #241b12 !important; }

.nav-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: currentColor; color: #fff; transition: transform .3s ease, opacity .3s ease; }
.site-header.scrolled .nav-toggle span { color: var(--primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(140deg, #120d08 0%, #251b10 55%, #43301a 100%);
  overflow: hidden;
  color: #fff;
}

.hero-bg { position: absolute; inset: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  animation: float 14s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; background: #e8a33d; top: -10%; right: -5%; opacity: .32; }
.orb-2 { width: 320px; height: 320px; background: #8a5c12; bottom: -15%; left: -8%; animation-delay: -5s; opacity: .35; }
.orb-3 { width: 220px; height: 220px; background: #f5c95e; top: 40%; left: 55%; animation-delay: -9s; opacity: .18; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 30px) scale(1.06); }
  66% { transform: translate(25px, -20px) scale(.96); }
}

.hero-globe {
  position: absolute;
  top: 50%;
  right: -6%;
  width: min(54vw, 720px);
  height: min(54vw, 720px);
  transform: translateY(-47%);
}
@media (max-width: 900px) {
  .hero-globe {
    right: 50%;
    transform: translate(50%, -50%);
    width: min(120vw, 560px);
    height: min(120vw, 560px);
    opacity: .3;
  }
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
}

.hero-inner { position: relative; max-width: 780px; padding-top: 5rem; }

.hero-kicker {
  display: inline-block;
  padding: .4rem 1rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f3d99c;
  margin-bottom: 1.4rem;
}

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 28px rgba(18, 13, 8, .5);
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #f5c14e, #ffe8b3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: 2.4rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-wave { position: absolute; inset: auto 0 -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: clamp(40px, 8vw, 110px); }

/* ---------- Stats ---------- */
.stats { padding: 1rem 0 4rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
}
.stat {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
}
.stat-label { color: var(--text-muted); font-size: .92rem; font-weight: 500; }

/* ---------- Sections ---------- */
.section-kicker {
  color: var(--primary);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .7rem;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--navy);
  margin-bottom: 1rem;
  max-width: 640px;
}
.section-sub { color: var(--text-muted); max-width: 620px; margin-bottom: 3rem; }

/* ---------- Services ---------- */
.services { background: var(--surface-alt); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

/* 3D tilt glare (position driven by --mx/--my from main.js) */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 163, 61, .16), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

.card-icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--primary);
  margin-bottom: 1.3rem;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--primary); color: #fff; transform: scale(1.08) rotate(-4deg); }

.card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: .55rem; }
.card p { color: var(--text-muted); font-size: .95rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-text p { color: var(--text-muted); margin-bottom: 1.1rem; }

.check-list { list-style: none; margin-top: 1.6rem; display: grid; gap: .8rem; }
.check-list li {
  padding-left: 2.1rem;
  position: relative;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .18rem;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c6b10' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") center/12px no-repeat;
}

.about-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  perspective: 900px;
}
.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.visual-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .9rem 1.2rem;
  box-shadow: var(--shadow-md);
  font-size: .9rem;
  color: var(--navy);
  animation: bob 6s ease-in-out infinite;
}
.visual-card svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.vc-1 { top: 8%; left: 6%; }
.vc-2 { top: 42%; right: 0; animation-delay: -2s; }
.vc-3 { bottom: 6%; left: 14%; animation-delay: -4s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Partners ---------- */
.partners { padding: 3.2rem 0; background: var(--surface-alt); border-block: 1px solid var(--border); overflow: hidden; }
.partners-label { text-align: center; color: var(--text-muted); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.8rem; }
.partners-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.partners-track img {
  height: 30px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .3s ease, opacity .3s ease;
}
.partners-track img:hover { filter: none; opacity: 1; }
/* ronde/vierkante beeldmerken iets groter zodat ze optisch gelijk ogen */
.partners-track img[src*="dell"], .partners-track img[src*="apple"] { height: 40px; }
.partner-word {
  font-size: 1.3rem;
  font-weight: 800;
  color: #b5a88f;
  white-space: nowrap;
  transition: color .3s ease;
}
.partner-word em { font-style: normal; font-weight: 400; }
.partner-kpn { text-transform: lowercase; letter-spacing: -.02em; }
.partner-kpn:hover { color: #009900; }
.partner-extreme:hover { color: #5c2d91; }
.partners:hover .partners-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Infra band (foto met overlay) ---------- */
.infra-band {
  position: relative;
  color: #fff;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  overflow: hidden;
}
.infra-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/serverroom.jpg") center/cover no-repeat;
}
.infra-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(23,18,16,.95) 0%, rgba(23,18,16,.8) 45%, rgba(23,18,16,.45) 100%);
}
.infra-inner { position: relative; z-index: 1; }
.infra-band .section-title { color: #fff; max-width: 560px; }
.infra-text { color: rgba(255,255,255,.82); max-width: 540px; margin: .9rem 0 1.6rem; }
.infra-points { list-style: none; display: grid; gap: .75rem; }
.infra-points li {
  position: relative;
  padding-left: 2.1rem;
  color: rgba(255,255,255,.92);
  font-weight: 500;
}
.infra-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .1em;
  width: 1.35rem; height: 1.35rem;
  border-radius: 50%;
  background: rgba(232,163,61,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8a33d' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") center/12px no-repeat;
  border: 1px solid rgba(232,163,61,.5);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #171210, #2a2014 55%, #6b4a10);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,61,.3), transparent 70%);
  top: -200px; right: -120px;
}
.cta-inner { position: relative; text-align: center; max-width: 720px; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .8rem; }
.cta-inner p { color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2.5rem;
}
.contact-info { display: grid; gap: 1.8rem; align-content: start; }
.info-item { display: flex; gap: 1rem; }
.info-item svg { width: 26px; height: 26px; color: var(--accent); flex: none; margin-top: .2rem; }
.info-item strong { display: block; color: var(--navy); margin-bottom: .15rem; }
.info-item p { color: var(--text-muted); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: .75rem .95rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface-alt);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232, 163, 61, .18);
}
.contact-form .btn { justify-self: start; }
.form-success { color: #0c7a43; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6d6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 4rem 0 2.5rem;
}
.logo-footer { color: #fff; margin-bottom: 1rem; }
.footer-credits { font-size: .72rem; color: rgba(185,198,214,.45); margin-top: .35rem; }
.footer-brand p { font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-col a, .footer-col button { display: block; color: #b9c6d6; font-size: .92rem; margin-bottom: .55rem; transition: color .25s ease; }
.footer-col a:hover, .footer-col button:hover { color: var(--accent); }
.footer-col p { font-size: .92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.4rem 0;
  font-size: .85rem;
  color: #7f92a8;
}

/* ============================================================
   Chatbot widget
   ============================================================ */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 200; }

.chat-fab {
  position: relative;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #f2b04a, #c9821a);
  color: #241b12;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(26, 20, 12, .45);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.chat-fab:hover { transform: scale(1.08); }
.chat-fab svg { width: 27px; height: 27px; grid-area: 1/1; transition: opacity .25s ease, transform .25s ease; }
.chat-fab .icon-close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.chat-widget.open .icon-chat { opacity: 0; transform: rotate(90deg) scale(.5); }
.chat-widget.open .icon-close { opacity: 1; transform: none; }

.chat-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-out infinite;
  z-index: -1;
}
.chat-widget.open .chat-fab-pulse { display: none; }
@keyframes pulse {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

.chat-panel[hidden] { display: none; }

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(380px, calc(100vw - 44px));
  height: min(560px, calc(100vh - 130px));
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: panelIn .35s cubic-bezier(.22,.61,.36,1);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(18px) scale(.95); }
  to { opacity: 1; transform: none; }
}

.chat-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #171210, #3a2c16);
  color: #fff;
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.chat-avatar svg { width: 24px; height: 24px; }
.chat-header-text { display: grid; line-height: 1.3; }
.chat-header-text strong { font-size: .98rem; }
.chat-status { font-size: .78rem; color: #a8e6c3; display: inline-flex; align-items: center; gap: .35rem; }
.chat-status i { width: 8px; height: 8px; border-radius: 50%; background: #34d17b; display: inline-block; }
.chat-min { margin-left: auto; background: none; border: none; color: rgba(255,255,255,.8); }
.chat-min svg { width: 22px; height: 22px; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  background: var(--surface-alt);
}

.msg {
  max-width: 84%;
  padding: .7rem .95rem;
  border-radius: 16px;
  font-size: .92rem;
  line-height: 1.5;
  animation: msgIn .3s ease;
  white-space: pre-line;
  overflow-wrap: break-word;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.msg.bot { background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.msg.user { background: linear-gradient(135deg, #f0b04e, #d18d1f); color: #241b12; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { font-weight: 600; }
.msg.bot a { color: var(--primary); text-decoration: underline; }
.msg.user a { color: #241b12; text-decoration: underline; }

.msg.typing { display: flex; gap: 5px; padding: .9rem 1rem; }
.msg.typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #c4b89f;
  animation: blink 1.2s infinite;
}
.msg.typing i:nth-child(2) { animation-delay: .2s; }
.msg.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; transform: translateY(-3px); } }

.ticket-summary {
  border-left: 3px solid var(--accent);
  padding-left: .7rem;
  margin-top: .4rem;
  display: block;
  font-size: .88rem;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: 0 1.1rem .6rem;
  background: var(--surface-alt);
}
.chat-quick:empty { display: none; }
.quick-btn {
  border: 1.5px solid var(--accent);
  color: var(--primary);
  background: #fff;
  border-radius: 999px;
  padding: .4rem .85rem;
  font-size: .82rem;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, transform .2s ease;
  animation: msgIn .3s ease;
}
.quick-btn:hover { background: var(--accent); color: #241b12; transform: translateY(-1px); }

.chat-input {
  display: flex;
  gap: .6rem;
  padding: .8rem 1rem;
  border-top: 1px solid var(--border);
  background: #fff;
}
.chat-input input {
  flex: 1;
  font: inherit;
  font-size: .92rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: .6rem 1rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.chat-input input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,163,61,.2); }
.chat-input button {
  width: 42px; height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #241b12;
  display: grid;
  place-items: center;
  transition: background .25s ease, transform .2s ease;
}
.chat-input button:hover { background: #f0b455; transform: scale(1.06); }
.chat-input button svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed;
    inset: 0 0 auto;
    top: 62px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem 1.2rem 1.2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
  }
  .main-nav.open { transform: none; }
  .main-nav > a:not(.btn) { color: var(--text) !important; padding: .85rem 0; border-bottom: 1px solid var(--border); }
  .main-nav .btn-helpdesk { margin-top: 1rem; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; padding: 3rem 0 2rem; }
}
