/* =========================================
   DGS Technology — Shared Stylesheet
   Light mode · Navy typography · Amber CTAs
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:        #0A1628;
  --navy-light:  #152440;
  --navy-mid:    #1E3A5F;
  --accent:      #F5A623;
  --accent-dark: #D4851A;
  --accent-light: rgba(245,166,35,0.10);
  --accent-subtle: rgba(245,166,35,0.06);
  --white:       #FFFFFF;
  --off-white:   #F8F9FC;
  --grey-light:  #F1F4F8;
  --text:        #1A202C;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;
  --border:      #E2E8F0;
  --border-dark: #CBD5E1;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --nav-height:  88px;
  --container:   1240px;
}

/* --- Reset & Base --- */
*, *::before, *::after { 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(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* --- Typography helpers --- */
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px; display: block;
}
.section-heading {
  font-size: clamp(30px, 4vw, 52px); font-weight: 800;
  color: var(--navy); line-height: 1.15; margin-bottom: 20px;
}
.section-heading em { font-style: italic; color: var(--accent); }
.section-subheading {
  font-size: 17px; color: var(--text-muted); max-width: 600px; line-height: 1.75;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all 0.25s ease; border: 2px solid transparent;
  white-space: nowrap; font-family: inherit;
}
.btn-primary {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.btn-primary:hover {
  background: transparent; color: var(--navy);
  transform: translateY(-2px); box-shadow: 0 4px 16px rgba(10,22,40,0.15);
}
/* Dark outline — used on light backgrounds */
.btn-outline-dark {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy); color: var(--white); transform: translateY(-2px);
}
/* White outline — used on navy/dark backgrounds only */
.btn-outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* =========================================
   NAVIGATION — elegant light mode
   ========================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(10,22,40,0.08);
  border-bottom-color: transparent;
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.nav-logo { display: flex; align-items: center; }
.nav-logo img { display: block; transition: opacity 0.2s ease; }
.nav-logo:hover img { opacity: 0.85; }

/* Desktop links */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 18px; color: var(--text-muted); font-size: 14px;
  font-weight: 500; border-radius: var(--radius-sm); transition: all 0.2s ease;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 18px; right: 18px;
  height: 2px; background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transition: transform 0.2s ease;
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--navy); font-weight: 600; }
.nav-link.active::after { transform: scaleX(1); }

/* CTA button — navy bg, white text for maximum pop on white nav */
.nav-cta {
  margin-left: 16px; padding: 11px 24px;
  background: var(--navy); color: var(--white);
  font-size: 14px; font-weight: 600; letter-spacing: 0.2px;
  border-radius: var(--radius-sm); transition: all 0.25s ease;
  border: 2px solid var(--navy);
}
.nav-cta:hover {
  background: transparent; color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10,22,40,0.15);
}

/* =========================================
   LANGUAGE DROPDOWN
   ========================================= */
.lang-dropdown { position: relative; margin-left: 8px; }

.lang-dropdown-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 13px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: var(--white);
  cursor: pointer; font-family: inherit; font-size: 13px;
  font-weight: 600; color: var(--text-muted);
  transition: all 0.2s ease; white-space: nowrap;
}
.lang-dropdown-btn:hover {
  border-color: var(--navy); color: var(--navy);
  box-shadow: 0 2px 8px rgba(10,22,40,0.08);
}
.lang-dropdown-btn.open { border-color: var(--navy); color: var(--navy); }

.lang-dropdown-btn .fi { font-size: 18px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.1); }
.lang-option .fi { font-size: 20px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.lang-mobile-option .fi { font-size: 18px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.lang-code  { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }
.lang-chevron {
  width: 13px; height: 13px; flex-shrink: 0;
  transition: transform 0.2s ease;
}
.lang-dropdown-btn.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 6px;
  min-width: 170px; box-shadow: 0 8px 32px rgba(10,22,40,0.12);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}
.lang-dropdown-menu.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.lang-option {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 13px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: all 0.15s ease; text-decoration: none;
}
.lang-option:hover  { background: var(--off-white); color: var(--navy); }
.lang-option.active {
  background: var(--accent-light); color: var(--navy); font-weight: 700;
}
.lang-option-label { flex: 1; }
.lang-option-check { color: var(--accent); font-size: 13px; font-weight: 700; }

/* Mobile language row */
.lang-mobile-row {
  display: flex; gap: 8px; padding: 10px 0 6px; border-top: 1px solid var(--border); margin-top: 6px;
}
.lang-mobile-option {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
  color: var(--text-muted); transition: all 0.2s ease; flex: 1; justify-content: center;
}
.lang-mobile-option:hover  { border-color: var(--navy); color: var(--navy); }
.lang-mobile-option.active {
  border-color: var(--navy); background: var(--navy); color: var(--white);
}

/* Mobile toggle */
.nav-mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-mobile-toggle span {
  width: 24px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: all 0.3s ease; display: block;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile-menu {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 20px 24px 28px; flex-direction: column; gap: 4px;
  box-shadow: 0 16px 40px rgba(10,22,40,0.12);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu .nav-link { padding: 13px 16px; font-size: 16px; color: var(--text-muted); }
.nav-mobile-menu .nav-link::after { display: none; }
.nav-mobile-menu .nav-link.active { color: var(--navy); }
.nav-mobile-menu .nav-cta {
  margin: 8px 0 0; text-align: center; padding: 14px; font-size: 16px;
  border-radius: var(--radius-sm); display: block;
}

/* =========================================
   HERO — light mode
   ========================================= */
.hero {
  background: var(--white);
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: var(--nav-height);
}
/* Subtle amber glow — top right */
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 65%);
  pointer-events: none;
}
/* Subtle off-white wash — bottom left */
.hero::after {
  content: ''; position: absolute; bottom: -10%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--off-white) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; padding: 80px 0; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-light); border: 1px solid rgba(245,166,35,0.3);
  color: var(--accent-dark); padding: 8px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600; margin-bottom: 36px; width: fit-content;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px; background: var(--accent);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
  font-size: clamp(40px, 5.5vw, 72px); font-weight: 800;
  color: var(--navy); line-height: 1.1; letter-spacing: -2px; margin-bottom: 28px;
}
.hero-headline em { font-style: italic; color: var(--accent); }

.hero-subheadline {
  font-size: clamp(16px, 2vw, 19px); color: var(--text-muted);
  line-height: 1.75; max-width: 580px; margin-bottom: 44px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 72px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  border-top: 1px solid var(--border); padding-top: 40px;
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-number {
  font-size: 44px; font-weight: 800; color: var(--navy);
  letter-spacing: -1.5px; line-height: 1;
}
.stat-number .accent { color: var(--accent); }
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* =========================================
   TICKER — light mode
   ========================================= */
.ticker {
  background: var(--off-white); padding: 20px 0; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: flex; align-items: center; padding: 0 36px;
  white-space: nowrap; font-size: 14px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.5px;
}
.ticker-item::after { content: '·'; color: var(--accent); font-size: 22px; margin-left: 36px; }

/* =========================================
   SECTIONS
   ========================================= */
.section { padding: 96px 0; }
.section-light { background: var(--off-white); }

/* Process section — light grey instead of dark navy */
.section-process { background: var(--grey-light); }

/* =========================================
   SERVICES GRID
   ========================================= */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 36px 30px;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px; background: var(--accent-light);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; margin-bottom: 22px; font-size: 24px;
}
.service-card h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; }
.service-link {
  font-size: 14px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s ease;
}
.service-link:hover { gap: 10px; }

/* =========================================
   PROCESS — light mode
   ========================================= */
.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; position: relative;
}
.process-grid::before {
  content: ''; position: absolute; top: 32px;
  left: calc(12.5% + 26px); right: calc(12.5% + 26px); height: 2px;
  background: linear-gradient(to right, var(--accent), rgba(245,166,35,0.15));
  z-index: 0;
}
.process-step { display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 1; }
.step-number {
  width: 64px; height: 64px; background: var(--white);
  border: 2px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--accent);
  margin-bottom: 24px; flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--grey-light);
}
.process-step h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.process-step p  { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* =========================================
   WHY DGS
   ========================================= */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.why-card {
  display: flex; gap: 22px; padding: 30px 28px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); transition: all 0.3s ease;
}
.why-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.why-icon {
  width: 48px; height: 48px; background: var(--accent-light);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; font-size: 22px; flex-shrink: 0;
}
.why-content h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.why-content p  { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 36px 30px; transition: all 0.3s ease;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-stars { color: var(--accent); font-size: 16px; margin-bottom: 20px; letter-spacing: 3px; }
.testimonial-quote { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 28px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grey-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; color: var(--navy); flex-shrink: 0;
}
.testimonial-info strong { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.testimonial-info span  { font-size: 13px; color: var(--text-muted); }

/* =========================================
   CTA SECTION — light mode
   ========================================= */
.cta-section {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(30px, 4vw, 52px); font-weight: 800;
  color: var(--navy); margin-bottom: 20px; letter-spacing: -0.5px; position: relative;
}
.cta-section h2 em { color: var(--accent); font-style: italic; }
.cta-section p {
  font-size: 18px; color: var(--text-muted); margin-bottom: 44px;
  max-width: 540px; margin-left: auto; margin-right: auto;
  line-height: 1.75; position: relative;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* =========================================
   FOOTER — light mode
   ========================================= */
.footer { background: var(--off-white); border-top: 1px solid var(--border); padding: 72px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 300px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo-mark {
  width: 36px; height: 36px; background: var(--accent); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: var(--navy);
}
.footer-logo-text { font-size: 18px; font-weight: 700; color: var(--navy); }
.footer-logo-text span { color: var(--accent); }
.footer-tagline { font-size: 14px; line-height: 1.75; color: var(--text-muted); margin-bottom: 28px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 700;
  color: var(--text-muted); transition: all 0.2s ease;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.footer-col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--navy); margin-bottom: 22px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact-item .icon { color: var(--accent); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item p,
.footer-contact-item a { font-size: 14px; color: var(--text-muted); line-height: 1.65; transition: color 0.2s ease; }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom {
  padding: 24px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: var(--text-light); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: var(--text-light); transition: color 0.2s ease; }
.footer-bottom-links a:hover { color: var(--accent); }

/* =========================================
   PAGE HERO — light mode (inner pages)
   ========================================= */
.page-hero {
  background: var(--off-white);
  padding: calc(var(--nav-height) + 72px) 0 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: block;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 800; color: var(--navy);
  line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px;
}
.page-hero h1 em { color: var(--accent); font-style: italic; }
.page-hero p { font-size: 18px; color: var(--text-muted); max-width: 560px; line-height: 1.75; }

/* =========================================
   STATS BAR — amber, stays as is
   ========================================= */
.stats-bar { background: var(--accent); padding: 52px 0; }
.stats-bar-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center;
}
.stats-bar-number {
  font-size: 46px; font-weight: 900; color: var(--navy);
  letter-spacing: -1.5px; line-height: 1; margin-bottom: 8px;
}
.stats-bar-label { font-size: 15px; font-weight: 600; color: rgba(10,22,40,0.62); }

/* =========================================
   SERVICES PAGE
   ========================================= */
.service-detail { padding: 80px 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }
.service-detail-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }
.service-detail h2 { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.service-detail h2 em { font-style: italic; color: var(--accent); }
.service-detail p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 28px; }
.included-list { margin-bottom: 28px; }
.included-list h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 16px;
}
.included-list ul { display: flex; flex-direction: column; gap: 10px; }
.included-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text); }
.included-list li::before {
  content: '✓'; color: var(--accent); font-weight: 700;
  font-size: 13px; flex-shrink: 0; margin-top: 2px;
}
.meta-box {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
}
.meta-box + .meta-box { margin-top: 16px; }
.meta-box h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 14px;
}
.meta-box p { font-size: 14px; color: var(--text); line-height: 1.7; }
.service-visual {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--grey-light) 100%);
  border-radius: var(--radius-lg); height: 340px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; border: 1px solid var(--border);
}

/* =========================================
   PORTFOLIO / WORK PAGE
   ========================================= */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn {
  padding: 10px 22px; border: 1px solid var(--border); border-radius: 100px;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  background: var(--white); cursor: pointer; transition: all 0.2s ease; font-family: inherit;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.project-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; transition: all 0.3s ease;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.project-thumbnail {
  height: 220px; background: var(--grey-light);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; font-size: 56px; user-select: none;
}
/* Lighter gradient thumbnails for light mode */
.project-thumbnail.t1 { background: linear-gradient(135deg, #EDF2F7 0%, #E2E8F0 100%); }
.project-thumbnail.t2 { background: linear-gradient(135deg, #FFF8E7 0%, #FEF3C7 100%); }
.project-thumbnail.t3 { background: linear-gradient(135deg, #EDF2F7 0%, #CBD5E1 100%); }
.project-thumbnail--img { font-size: 0; }
.project-thumbnail--img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.project-overlay {
  position: absolute; inset: 0; background: rgba(10,22,40,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay span,
.project-overlay-btn {
  color: var(--navy); font-size: 14px; font-weight: 600;
  background: var(--accent); padding: 10px 22px; border-radius: 100px;
  text-decoration: none; display: inline-block;
}
.project-overlay-btn:hover { background: var(--accent-dark); color: var(--navy); }
.project-body { padding: 28px; }
.project-desc {
  font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px;
}
.project-tag {
  display: inline-block; padding: 4px 12px; background: var(--accent-light);
  color: var(--accent-dark); font-size: 11px; font-weight: 700; border-radius: 100px;
  margin-bottom: 14px; letter-spacing: 0.8px; text-transform: uppercase;
}
.project-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.project-stat { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.project-link {
  font-size: 14px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s ease;
}
.project-link:hover { gap: 10px; }

/* =========================================
   ABOUT PAGE
   ========================================= */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-content h2 { font-size: 40px; font-weight: 800; color: var(--navy); margin-bottom: 20px; line-height: 1.15; }
.story-content h2 em { color: var(--accent); font-style: italic; }
.story-content p { font-size: 16px; color: var(--text-muted); line-height: 1.85; margin-bottom: 20px; }

/* Story visual — light card version */
.story-visual {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px;
  display: flex; flex-direction: column; gap: 28px;
}
.story-stat-item { border-left: 3px solid var(--accent); padding-left: 20px; }
.story-stat-item .num { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -1px; line-height: 1; }
.story-stat-item .lbl { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

.offices-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.office-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 30px 22px; transition: all 0.3s ease;
}
.office-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.office-flag { font-size: 36px; margin-bottom: 14px; }
.office-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.office-badge {
  display: inline-block; padding: 2px 10px; background: var(--accent-light);
  color: var(--accent-dark); font-size: 11px; font-weight: 700; border-radius: 100px;
  letter-spacing: 0.5px; margin-bottom: 14px;
}
.office-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.value-card {
  background: var(--white); border: 1px solid var(--border);
  text-align: center; padding: 44px 28px; border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.value-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); transform: translateY(-4px); }
.value-icon-large { font-size: 48px; margin-bottom: 22px; display: block; }
.value-card h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.value-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: start; }
.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px;
}
.contact-form h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.contact-form > p { font-size: 15px; color: var(--text-muted); margin-bottom: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
  color: var(--text); background: var(--white); transition: border-color 0.2s ease;
  outline: none; -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 44px;
}
.contact-sidebar h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.contact-sidebar > p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.contact-detail-item { display: flex; gap: 16px; }
.contact-detail-icon {
  width: 44px; height: 44px; background: var(--accent-light);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; font-size: 18px; flex-shrink: 0;
}
.contact-detail-text strong {
  display: block; font-size: 12px; font-weight: 700; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px;
}
.contact-detail-text a,
.contact-detail-text p { font-size: 15px; color: var(--text-muted); line-height: 1.6; transition: color 0.2s ease; }
.contact-detail-text a:hover { color: var(--accent); }
.map-placeholder {
  height: 200px; background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius-md); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--text-muted); font-size: 14px;
}
.map-placeholder .map-icon { font-size: 32px; }

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0; transform: translateX(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0; transform: translateX(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* =========================================
   LEGAL PAGES (Privacy & Terms)
   ========================================= */
.legal-article {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  box-shadow: var(--shadow-md);
}
.legal-article .legal-intro {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-article h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-light);
}
.legal-article h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 10px;
}
.legal-article p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 15px;
}
.legal-article a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-list li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
  font-size: 15px;
}
.legal-list li strong { color: var(--text); }
.legal-contact-box {
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px 28px;
  margin-top: 8px;
}
.legal-contact-box p { margin-bottom: 0; }

/* =========================================
   BLOG LISTING PAGE
   ========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.blog-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 4px 10px;
  border-radius: 4px;
}
.blog-date {
  font-size: 13px;
  color: var(--text-light);
}
.blog-read-time {
  font-size: 13px;
  color: var(--text-light);
}
.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 12px;
}
.blog-card-title a {
  color: inherit;
  transition: color 0.2s ease;
}
.blog-card-title a:hover { color: var(--accent-dark); }
.blog-card-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.blog-read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s ease;
}
.blog-read-more:hover { color: var(--accent-dark); }

/* =========================================
   BLOG POST PAGES
   ========================================= */
.page-hero-blog { padding-bottom: 72px; }
.blog-post-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.blog-post-summary {
  font-size: 19px;
  color: rgba(255,255,255,0.8);
  max-width: 740px;
  line-height: 1.7;
  margin-top: 20px;
}
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.blog-post-body { background: var(--white); border-radius: var(--radius-lg); padding: 56px 60px; box-shadow: var(--shadow-md); }
.blog-post-lead {
  font-size: 18px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.blog-post-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 16px;
}
.blog-post-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}
.blog-post-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}
.blog-post-body ul li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}
.blog-post-body ul li strong { color: var(--text); }
.blog-post-body a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.blog-post-body code {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  background: var(--grey-light);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--navy);
}
.blog-post-cta-inline {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 40px;
}
.blog-post-cta-inline p { margin-bottom: 0; color: var(--text); }

/* Sidebar */
.blog-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.sidebar-widget-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.sidebar-post-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-post-list li a {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.sidebar-post-list li a:hover { color: var(--accent-dark); }
.sidebar-cta { background: var(--navy); border-color: var(--navy); }
.sidebar-cta h4 { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.6; }

/* =========================================
   SITEMAP PAGE
   ========================================= */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.sitemap-col { background: var(--white); border-radius: var(--radius-md); padding: 36px 32px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.sitemap-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-light);
}
.sitemap-group { margin-bottom: 28px; }
.sitemap-group:last-child { margin-bottom: 0; }
.sitemap-group h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.sitemap-links { display: flex; flex-direction: column; gap: 6px; }
.sitemap-links li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.sitemap-links li a:hover { color: var(--navy); }

/* =========================================
   RESPONSIVE — TABLET
   ========================================= */
@media (max-width: 1024px) {
  .services-grid     { grid-template-columns: repeat(2,1fr); }
  .process-grid      { grid-template-columns: repeat(2,1fr); }
  .process-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid       { grid-template-columns: 1fr 1fr; gap: 40px; }
  .projects-grid     { grid-template-columns: repeat(2,1fr); }
  .service-detail-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-inner.reverse { direction: ltr; }
  .offices-grid      { grid-template-columns: repeat(2,1fr); }
  .values-grid       { grid-template-columns: repeat(2,1fr); }
  .contact-layout    { grid-template-columns: 1fr; gap: 48px; }
  .stats-bar-grid    { grid-template-columns: repeat(2,1fr); gap: 28px; }
  .story-grid        { grid-template-columns: 1fr; gap: 48px; }

  .blog-grid         { grid-template-columns: repeat(2,1fr); }
  .blog-post-layout  { grid-template-columns: 1fr; }
  .blog-sidebar      { position: static; }
  .sitemap-grid      { grid-template-columns: 1fr 1fr; }
  .legal-article     { padding: 40px 40px; }
}

/* =========================================
   RESPONSIVE — MOBILE
   ========================================= */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 72px 0; }

  .nav-links, .nav-cta, .lang-dropdown { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero-stats    { grid-template-columns: 1fr; gap: 24px; }
  .hero-ctas     { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }

  .services-grid     { grid-template-columns: 1fr; }
  .process-grid      { grid-template-columns: 1fr; }
  .why-grid          { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .projects-grid     { grid-template-columns: 1fr; }
  .offices-grid      { grid-template-columns: 1fr; }
  .values-grid       { grid-template-columns: 1fr; }
  .stats-bar-grid    { grid-template-columns: repeat(2,1fr); }

  .footer-grid       { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom     { flex-direction: column; text-align: center; }

  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .cta-actions { flex-direction: column; }
  .cta-actions .btn { justify-content: center; }

  .blog-grid         { grid-template-columns: 1fr; }
  .blog-post-layout  { grid-template-columns: 1fr; }
  .blog-sidebar      { position: static; }
  .blog-post-body    { padding: 32px 24px; }
  .sitemap-grid      { grid-template-columns: 1fr; }
  .legal-article     { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .stats-bar-grid { grid-template-columns: 1fr 1fr; }
  .hero-headline  { letter-spacing: -1px; }
}

/* ==============================
   COOKIE BANNER
   ============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--navy);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.15);
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { margin: 0; font-size: 0.875rem; opacity: 0.9; }
.cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-decline {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-cookie-decline:hover { background: rgba(255,255,255,0.1); }
.btn-cookie-accept {
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-cookie-accept:hover { opacity: 0.88; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 16px 20px; }
}

/* ==============================
   WHATSAPP FAB
   ============================== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  color: #fff;
}
@media (max-width: 768px) {
  .whatsapp-fab { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}
.cookie-active .whatsapp-fab { bottom: 80px; }
@media (max-width: 600px) {
  .cookie-active .whatsapp-fab { bottom: 140px; }
}

/* ==============================
   AI CHAT WIDGET
   ============================== */
.chat-fab {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(10,22,40,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(10,22,40,0.5); }
.chat-fab-dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
}
.chat-panel {
  position: fixed;
  bottom: 96px;
  left: 28px;
  z-index: 1000;
  width: 360px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(10,22,40,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.chat-panel-header {
  background: var(--navy);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-panel-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.chat-panel-title { font-weight: 700; font-size: 15px; line-height: 1.2; }
.chat-panel-subtitle { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.chat-panel-close {
  margin-left: auto;
  background: none; border: none; color: rgba(255,255,255,0.7);
  cursor: pointer; font-size: 20px; line-height: 1; padding: 4px;
  transition: color 0.15s;
}
.chat-panel-close:hover { color: #fff; }
.chat-messages {
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  max-height: 340px;
}
.chat-msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}
.chat-msg.bot { background: var(--grey-light); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg.typing { opacity: 0.55; font-style: italic; }
.chat-powered { text-align: center; font-size: 11px; color: var(--text-light); padding: 6px 0 8px; }
.chat-input-row {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  background: var(--white);
}
.chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 9px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.chat-input:focus { border-color: var(--navy); }
.chat-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.chat-send:hover { background: var(--accent-dark); }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }
.cookie-active .chat-fab { bottom: 80px; }
@media (max-width: 600px) { .cookie-active .chat-fab { bottom: 140px; } }
@media (max-width: 768px) {
  .chat-fab { bottom: 20px; left: 20px; width: 52px; height: 52px; }
  .chat-panel { left: 12px; right: 12px; width: auto; bottom: 84px; }
}
