/* ==========================================================================
   TEHNOTERM 2000 — Fire Protection Company
   Comprehensive Modern Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES + RESET + BASE
   -------------------------------------------------------------------------- */

:root {
  /* Colors — Primary */
  --primary: #c0392b;
  --primary-dark: #96281b;
  --primary-light: #e74c3c;

  /* Colors — Secondary */
  --secondary: #1a1a2e;
  --secondary-light: #16213e;

  /* Colors — Accent */
  --accent: #f39c12;

  /* Colors — Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;

  /* Colors — Text */
  --text-dark: #1a1a2e;
  --text-body: #4a4a5a;
  --text-light: #7f8c8d;

  /* Colors — Utility */
  --border-color: #e0e0e0;
  --success: #27ae60;
  --whatsapp-green: #25d366;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --header-height: 80px;
  --container-max: 1200px;
  --container-padding: 1.5rem;

  /* Z-index layers */
  --z-dropdown: 100;
  --z-header: 1000;
  --z-mobile-menu: 1100;
  --z-back-to-top: 5000;
  --z-whatsapp: 9000;
  --z-chat: 9999;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: inherit;
}

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


/* --------------------------------------------------------------------------
   2. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Sizes */
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* Variants */
.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.25);
}

.btn-hero-outline {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}

.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-white {
  background-color: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background-color: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--border-color);
}

.btn-outline-dark:hover {
  background-color: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
}

.btn i,
.btn svg {
  font-size: 1em;
  transition: transform var(--transition-fast);
}

.btn:hover i,
.btn:hover svg {
  transform: translateX(3px);
}


/* --------------------------------------------------------------------------
   3. SECTION STYLES
   -------------------------------------------------------------------------- */

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-3xl);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(192, 57, 43, 0.08);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   4. HEADER / NAVBAR
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  background: transparent;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: calc(var(--z-mobile-menu) + 1);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background var(--transition-fast);
}

.header.scrolled .logo-icon {
  background: var(--primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-main {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color var(--transition-base);
}

.header.scrolled .logo-main {
  color: var(--text-dark);
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.header.scrolled .logo-sub {
  color: var(--text-light);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: #fff;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header.scrolled .nav-link {
  color: var(--text-body);
}

.header.scrolled .nav-link:hover {
  color: var(--primary);
  background: rgba(192, 57, 43, 0.06);
}

.header.scrolled .nav-link.active {
  color: var(--primary);
}

.header.scrolled .nav-link.active::after {
  background: var(--primary);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
  color: var(--primary);
  background: rgba(192, 57, 43, 0.06);
}

.dropdown-menu a i,
.dropdown-menu a svg {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* Colored dropdown icons */
.dropdown-menu li:nth-child(1) i { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.dropdown-menu li:nth-child(2) i { background: linear-gradient(135deg, #f39c12, #e67e22); }
.dropdown-menu li:nth-child(3) i { background: linear-gradient(135deg, #27ae60, #1e8449); }
.dropdown-menu li:nth-child(4) i { background: linear-gradient(135deg, #3498db, #2471a3); }
.dropdown-menu li:nth-child(5) i { background: linear-gradient(135deg, #8e44ad, #6c3483); }
.dropdown-menu li:nth-child(6) i { background: linear-gradient(135deg, #e67e22, #d35400); }
.dropdown-menu li:nth-child(7) i { background: linear-gradient(135deg, #1abc9c, #16a085); }
.dropdown-menu li:nth-child(8) i { background: linear-gradient(135deg, #2c3e50, #1a252f); }
.dropdown-menu li:nth-child(9) i { background: linear-gradient(135deg, #d63384, #a71d6e); }
.dropdown-menu li:nth-child(10) i { background: linear-gradient(135deg, #6f42c1, #5a32a3); }
.dropdown-menu li:nth-child(11) i { background: linear-gradient(135deg, #0dcaf0, #0aa2c0); }
.dropdown-menu li:nth-child(12) i { background: linear-gradient(135deg, #fd7e14, #e8590c); }
.dropdown-menu li:nth-child(13) i { background: linear-gradient(135deg, #20c997, #12b886); }

.dropdown-menu a:hover i,
.dropdown-menu a:hover svg {
  transform: scale(1.1);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  transition: color var(--transition-base);
}

.nav-phone i,
.nav-phone svg {
  color: var(--accent);
}

.header.scrolled .nav-phone {
  color: var(--text-dark);
}

/* Nav Action Icons (search, dark mode, santier, portal) */
.nav-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.nav-action-icon:hover {
  background: rgba(192, 57, 43, 0.8);
  border-color: rgba(192, 57, 43, 0.9);
  color: #fff;
  transform: scale(1.1);
}

.header.scrolled .nav-action-icon {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-body);
}

.header.scrolled .nav-action-icon:hover {
  background: rgba(192, 57, 43, 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

/* Enhanced AI Chat Toggle */
.chat-toggle-enhanced {
  width: 60px !important;
  height: 60px !important;
  font-size: 1.5rem !important;
  background: linear-gradient(135deg, #c0392b, #e74c3c) !important;
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.5) !important;
  animation: chatPulse 3s ease-in-out infinite;
}

.chat-toggle-enhanced:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 28px rgba(192, 57, 43, 0.6) !important;
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(192, 57, 43, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(192, 57, 43, 0.8), 0 0 0 8px rgba(192, 57, 43, 0.1); }
}

.chat-label {
  position: fixed;
  bottom: 24px;
  right: 80px;
  z-index: 9998;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  animation: chatLabelSlide 0.5s ease 2s both;
  white-space: nowrap;
}

.chat-label::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a2e;
  border-right: none;
}

@keyframes chatLabelSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: calc(var(--z-mobile-menu) + 1);
  padding: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger span:nth-child(1) {
  margin-bottom: 6px;
}

.hamburger span:nth-child(2) {
  margin-bottom: 6px;
}

.header.scrolled .hamburger span {
  background: var(--text-dark);
}

/* Hamburger X animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}


/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0a1628;
  overflow: hidden;
  padding: calc(var(--header-height) + 2rem) 0 var(--space-3xl);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5, 12, 25, 0.50) 0%, rgba(10, 22, 40, 0.25) 50%, rgba(10, 22, 40, 0.10) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(192, 57, 43, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(243, 156, 18, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-with-article {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: center;
  min-height: inherit;
  position: relative;
  z-index: 3;
}

.hero-with-article > .hero-content {
  justify-self: start;
}

.hero-with-article > .hero-article-card {
  justify-self: end;
}

.hero-grid-photo {
  grid-template-columns: 1fr;
  max-width: 680px;
}

.hero-brands-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero-brands-inline span {
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
}

.hero-brands-inline .hero-brands-label {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  padding-left: 0.25rem;
}

.hero-content {
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(4px);
}

.hero-badge i,
.hero-badge svg {
  color: var(--accent);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-highlight {
  color: var(--accent);
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #fff;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.stat {
  text-align: center;
}

.stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Hero Visual (right column) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  color: #fff;
  width: 100%;
  max-width: 420px;
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(192, 57, 43, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-light);
  margin-bottom: var(--space-lg);
}

.hero-card h3 {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.hero-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.hero-card-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-lg);
}

.hero-card-brands span {
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}


/* --------------------------------------------------------------------------
   6. SERVICES SECTION
   -------------------------------------------------------------------------- */

.services {
  padding: var(--space-4xl) 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.service-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  height: 100%;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* Colored icons per service card on homepage */
.service-card-link:nth-child(1) .service-card-icon { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.service-card-link:nth-child(2) .service-card-icon { background: linear-gradient(135deg, #f39c12, #e67e22); }
.service-card-link:nth-child(3) .service-card-icon { background: linear-gradient(135deg, #27ae60, #1e8449); }
.service-card-link:nth-child(4) .service-card-icon { background: linear-gradient(135deg, #3498db, #2471a3); }
.service-card-link:nth-child(5) .service-card-icon { background: linear-gradient(135deg, #8e44ad, #6c3483); }
.service-card-link:nth-child(6) .service-card-icon { background: linear-gradient(135deg, #e67e22, #d35400); }
.service-card-link:nth-child(7) .service-card-icon { background: linear-gradient(135deg, #1abc9c, #16a085); }
.service-card-link:nth-child(8) .service-card-icon { background: linear-gradient(135deg, #2c3e50, #1a252f); }
.service-card-link:nth-child(9) .service-card-icon { background: linear-gradient(135deg, #d63384, #a71d6e); }
.service-card-link:nth-child(10) .service-card-icon { background: linear-gradient(135deg, #6f42c1, #5a32a3); }
.service-card-link:nth-child(11) .service-card-icon { background: linear-gradient(135deg, #0dcaf0, #0aa2c0); }
.service-card-link:nth-child(12) .service-card-icon { background: linear-gradient(135deg, #fd7e14, #e8590c); }
.service-card-link:nth-child(13) .service-card-icon { background: linear-gradient(135deg, #20c997, #12b886); }

.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-lg);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-base);
}

.service-card:hover .service-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-card-arrow i,
.service-card-arrow svg {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-arrow i,
.service-card:hover .service-card-arrow svg {
  transform: translateX(4px);
}


/* --------------------------------------------------------------------------
   7. ABOUT PREVIEW
   -------------------------------------------------------------------------- */

.about-preview {
  padding: var(--space-4xl) 0;
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-preview-content .section-tag,
.about-preview-content .section-title {
  text-align: left;
}

.about-preview-content p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.about-preview-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.mini-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.85rem 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mini-feature:hover {
  background: rgba(192, 57, 43, 0.05);
}

.mini-feature i,
.mini-feature svg {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 57, 43, 0.1);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.mini-feature span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* About image card grid */
.about-img-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.about-img-card > div {
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-lg);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 180px;
  transition: transform var(--transition-base);
}

.about-img-card > div:hover {
  transform: scale(1.03);
}

.about-img-card > div:nth-child(1) {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.about-img-card > div:nth-child(2) {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.about-img-card > div:nth-child(3) {
  background: linear-gradient(135deg, var(--accent) 0%, #e67e22 100%);
}

.about-img-card > div:nth-child(4) {
  background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
}

.about-img-card > div i,
.about-img-card > div svg {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.about-img-card > div strong {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about-img-card > div span {
  font-size: 0.82rem;
  opacity: 0.85;
}


/* --------------------------------------------------------------------------
   8. LEGISLATION CTA
   -------------------------------------------------------------------------- */

.legislation-cta {
  padding: var(--space-2xl) 0;
}

.legislation-cta .container > div {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-2xl);
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.legislation-cta i,
.legislation-cta svg {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 57, 43, 0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.legislation-cta .content {
  flex: 1;
}

.legislation-cta .content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.legislation-cta .content p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   9. CTA SECTION
   -------------------------------------------------------------------------- */

.cta {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cta .section-title {
  color: #fff;
}

.cta .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}


/* --------------------------------------------------------------------------
   10. PAGE HERO (SUBPAGES)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(192, 57, 43, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-md);
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
}

.page-hero-sm {
  padding: calc(var(--header-height) + 2.5rem) 0 2.5rem;
}

.page-hero-sm h1 {
  font-size: 2rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Chevron separators */
.breadcrumb span.separator::after {
  content: '\203A';
  font-size: 1.1em;
}


/* --------------------------------------------------------------------------
   11. SERVICE DETAIL PAGE
   -------------------------------------------------------------------------- */

/* Service Hero */
.service-hero {
  position: relative;
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(192, 57, 43, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.service-hero .container {
  position: relative;
  z-index: 1;
}

.service-hero .service-icon {
  width: 72px;
  height: 72px;
  background: rgba(192, 57, 43, 0.2);
  color: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto var(--space-lg);
}

.service-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-md);
}

.service-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Service Detail Grid */
.service-detail {
  padding: var(--space-4xl) 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* Main Content */
.service-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.service-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border-color);
}

.service-section h2 {
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--bg-light);
}

/* Service Description */
.service-description p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: var(--space-md);
}

.service-description p:last-child {
  margin-bottom: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.feature-item:hover {
  background: rgba(192, 57, 43, 0.04);
}

.feature-item i,
.feature-item svg {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 2px;
}

.feature-item span {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.45;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item {
  position: relative;
  cursor: pointer;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  color: #fff;
  font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-note {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-note i {
  color: var(--primary);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  z-index: 10001;
}

.lightbox-close:hover {
  opacity: 1;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 2rem;
  gap: 8px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
}

/* Legislation List */
.legislation-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legislation-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-body);
  transition: background var(--transition-fast);
}

.legislation-item:hover {
  background: rgba(192, 57, 43, 0.05);
}

.legislation-item i,
.legislation-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Clickable legislation links */
a.legislation-item-link {
  text-decoration: none;
  color: var(--text-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
}

a.legislation-item-link:hover {
  background: rgba(192, 57, 43, 0.08);
  border-color: rgba(192, 57, 43, 0.2);
  transform: translateX(4px);
}

a.legislation-item-link:hover span {
  color: var(--primary);
}

.legislation-download-icon {
  margin-left: auto;
  font-size: 0.85rem;
  color: #999 !important;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

a.legislation-item-link:hover .legislation-download-icon {
  color: var(--primary) !important;
  transform: translateY(2px);
}

/* Sidebar */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.sidebar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-color);
}

.sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--bg-light);
}

/* Specs List */
.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-light);
  font-size: 0.9rem;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-light);
  font-weight: 500;
}

.spec-value {
  color: var(--text-dark);
  font-weight: 600;
}

/* Brands List */
.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-tag {
  padding: 0.35rem 0.85rem;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.brand-tag:hover {
  background: rgba(192, 57, 43, 0.08);
  color: var(--primary);
}

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  border: none !important;
  color: #fff;
  text-align: center;
}

.sidebar-cta h3 {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  margin-bottom: var(--space-lg);
}

.sidebar-cta .btn {
  width: 100%;
}

/* Sidebar AI */
.sidebar-ai {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%) !important;
  border: none !important;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.sidebar-ai:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.sidebar-ai h3 {
  color: #fff !important;
  border-bottom: none !important;
}

.sidebar-ai p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.sidebar-ai i,
.sidebar-ai svg {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

/* Other Services */
.other-services {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #eef1f5 100%);
}

.other-services h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.other-service-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.other-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: transparent;
}

/* Colored icons per service position */
.other-service-card:nth-child(1) .other-service-icon { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.other-service-card:nth-child(2) .other-service-icon { background: linear-gradient(135deg, #f39c12, #e67e22); }
.other-service-card:nth-child(3) .other-service-icon { background: linear-gradient(135deg, #27ae60, #1e8449); }
.other-service-card:nth-child(4) .other-service-icon { background: linear-gradient(135deg, #3498db, #2471a3); }
.other-service-card:nth-child(5) .other-service-icon { background: linear-gradient(135deg, #8e44ad, #6c3483); }
.other-service-card:nth-child(6) .other-service-icon { background: linear-gradient(135deg, #e67e22, #d35400); }
.other-service-card:nth-child(7) .other-service-icon { background: linear-gradient(135deg, #1abc9c, #16a085); }
.other-service-card:nth-child(8) .other-service-icon { background: linear-gradient(135deg, #2c3e50, #1a252f); }
.other-service-card:nth-child(9) .other-service-icon { background: linear-gradient(135deg, #d63384, #a71d6e); }
.other-service-card:nth-child(10) .other-service-icon { background: linear-gradient(135deg, #6f42c1, #5a32a3); }
.other-service-card:nth-child(11) .other-service-icon { background: linear-gradient(135deg, #0dcaf0, #0aa2c0); }
.other-service-card:nth-child(12) .other-service-icon { background: linear-gradient(135deg, #fd7e14, #e8590c); }

.other-service-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.25s ease;
}

.other-service-card:hover .other-service-icon {
  transform: scale(1.1) rotate(-3deg);
}

.other-service-card h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0;
  flex: 1;
}

.other-service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-light);
  font-size: 12px;
  transition: all var(--transition-base);
}

.other-service-card:hover .other-service-arrow {
  background: var(--primary);
  color: #fff;
  transform: translateX(3px);
}

.other-services-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 700px;
  margin: 0 auto;
}

.other-services-list a {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.other-services-list a:hover {
  border-color: var(--primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.other-services-list a i:first-child,
.other-services-list a svg:first-child {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 57, 43, 0.08);
  color: var(--primary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.other-services-list a span {
  flex: 1;
  font-weight: 600;
  color: var(--text-dark);
}

.other-services-list a i:last-child,
.other-services-list a svg:last-child {
  color: var(--text-light);
  transition: transform var(--transition-fast);
}

.other-services-list a:hover i:last-child,
.other-services-list a:hover svg:last-child {
  transform: translateX(3px);
  color: var(--primary);
}


/* --------------------------------------------------------------------------
   12. LEGISLATION PAGE
   -------------------------------------------------------------------------- */

.legislation-page {
  padding: var(--space-3xl) 0;
}

.legislation-intro {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-2xl);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3xl);
  border: 1px solid var(--border-color);
}

.legislation-intro i,
.legislation-intro svg {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 57, 43, 0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.legislation-intro p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Legislation Category */
.legislation-category {
  margin-bottom: var(--space-3xl);
}

.legislation-category:last-child {
  margin-bottom: 0;
}

.legislation-category-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.legislation-category-header i,
.legislation-category-header svg {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 57, 43, 0.08);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.legislation-category-header h2 {
  font-size: 1.35rem;
  margin-bottom: 0;
}

/* Legislation Items Grid */
.legislation-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.legislation-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.legislation-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.legislation-code {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(192, 57, 43, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.legislation-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--success);
  margin-bottom: 0.75rem;
  margin-left: 0.5rem;
}

.legislation-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}

.legislation-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.legislation-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Clickable legislation cards */
a.legislation-card-clickable {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

a.legislation-card-clickable:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(192, 57, 43, 0.15);
  transform: translateY(-4px);
}

a.legislation-card-clickable:hover h3 {
  color: var(--primary);
}

.legislation-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.legislation-open-hint {
  font-size: 0.78rem;
  color: #999;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.legislation-open-hint i {
  margin-right: 4px;
}

a.legislation-card-clickable:hover .legislation-open-hint {
  color: var(--primary);
}

/* Legislation Note */
.legislation-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: var(--radius-md);
  margin-top: var(--space-2xl);
}

.legislation-note i,
.legislation-note svg {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.legislation-note p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   13. ABOUT PAGE
   -------------------------------------------------------------------------- */

.about-page {
  padding: var(--space-3xl) 0;
}

.about-story {
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.about-story p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-body);
}

/* Values Grid */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.about-value-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.about-value-card i,
.about-value-card svg {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 57, 43, 0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 1.3rem;
  margin: 0 auto var(--space-lg);
}

.about-value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.about-value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* About Services Summary */
.about-services-summary {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.about-services-summary h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.about-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
}

.about-svc {
  transition: all var(--transition-fast);
}

.about-svc a {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.85rem 1.15rem;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  border: 1px solid #e5e7eb;
}

.about-svc a:hover,
.about-svc:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border-color: transparent;
}

.about-svc a:hover h4 {
  color: var(--primary);
}

.about-svc i,
.about-svc svg {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 10px;
  flex-shrink: 0;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* Colored icons for Despre Noi service list */
.about-svc:nth-child(1) i { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.about-svc:nth-child(2) i { background: linear-gradient(135deg, #f39c12, #e67e22); }
.about-svc:nth-child(3) i { background: linear-gradient(135deg, #27ae60, #1e8449); }
.about-svc:nth-child(4) i { background: linear-gradient(135deg, #3498db, #2471a3); }
.about-svc:nth-child(5) i { background: linear-gradient(135deg, #8e44ad, #6c3483); }
.about-svc:nth-child(6) i { background: linear-gradient(135deg, #e67e22, #d35400); }
.about-svc:nth-child(7) i { background: linear-gradient(135deg, #1abc9c, #16a085); }
.about-svc:nth-child(8) i { background: linear-gradient(135deg, #2c3e50, #1a252f); }
.about-svc:nth-child(9) i { background: linear-gradient(135deg, #d63384, #a71d6e); }
.about-svc:nth-child(10) i { background: linear-gradient(135deg, #6f42c1, #5a32a3); }
.about-svc:nth-child(11) i { background: linear-gradient(135deg, #0dcaf0, #0aa2c0); }
.about-svc:nth-child(12) i { background: linear-gradient(135deg, #fd7e14, #e8590c); }
.about-svc:nth-child(13) i { background: linear-gradient(135deg, #20c997, #12b886); }

.about-svc span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* About Process (Cum Lucrăm) */
.about-process {
  margin-top: var(--space-2xl);
  text-align: center;
}

.about-process h2 {
  margin-bottom: 0.5rem;
}

.about-process h2 i {
  color: var(--primary);
  margin-right: 8px;
}

.about-process-subtitle {
  color: var(--text-light);
  margin-bottom: var(--space-xl);
}

.about-process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  transition: all var(--transition-fast);
}

.process-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.process-step-number {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
}

.process-step-content h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.process-step-content h4 i {
  color: var(--primary);
  margin-right: 6px;
  width: 18px;
}

.process-step-content p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* About Gallery */
.about-gallery {
  margin-top: var(--space-2xl);
  text-align: center;
}

.about-gallery h2 {
  margin-bottom: var(--space-lg);
}

.about-gallery h2 i {
  color: var(--primary);
  margin-right: 8px;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.about-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  aspect-ratio: 16/10;
}

.about-gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* About CTA */
.about-cta {
  text-align: center;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
}

.about-cta h2 {
  color: #fff;
  margin-bottom: var(--space-md);
}

.about-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
}


/* --------------------------------------------------------------------------
   14. CONTACT PAGE
   -------------------------------------------------------------------------- */

.contact-page {
  padding: var(--space-3xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card i,
.contact-card svg {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 57, 43, 0.1);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.92rem;
  color: var(--text-body);
}

.contact-card a:hover {
  color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.contact-form-wrapper h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group label .required {
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fff;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a4a5a' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}


/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */

.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

/* Footer About */
.footer-about {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: var(--space-lg);
}

.footer-logo .logo-icon {
  width: 38px;
  height: 38px;
  font-size: 1rem;
}

.footer-logo .logo-main {
  color: #fff;
  font-size: 1.05rem;
}

.footer-logo .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer Links */
.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* Footer Contact */
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact li i,
.footer-contact li svg {
  color: var(--primary-light);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
  color: #fff;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: #fff;
}


/* --------------------------------------------------------------------------
   16. CHAT WIDGET
   -------------------------------------------------------------------------- */

.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-chat);
}

/* Toggle Button */
.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.4);
  transition: all var(--transition-base);
  position: relative;
}

.chat-toggle:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
}

/* Pulse animation */
.chat-toggle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: chatPulse 2s infinite;
}

@keyframes chatPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* Badge */
.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Chat Window */
.chat-window {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 380px;
  height: 500px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-base);
  z-index: var(--z-chat);
}

.chat-widget.open .chat-window {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.chat-header-info {
  flex: 1;
}

.chat-header-info h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 0;
}

.chat-header-info span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.chat-close {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background var(--transition-fast);
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Chat Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.chat-msg {
  display: flex;
  gap: 0.5rem;
  max-width: 85%;
  animation: msgFadeIn 0.3s ease;
}

@keyframes msgFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.chat-msg.bot .chat-msg-avatar {
  background: rgba(192, 57, 43, 0.1);
  color: var(--primary);
}

.chat-msg.user .chat-msg-avatar {
  background: var(--bg-light);
  color: var(--text-light);
}

.chat-msg-content {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.55;
}

.chat-msg.bot .chat-msg-content {
  background: var(--bg-light);
  color: var(--text-body);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-msg-content {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.65rem 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
  width: fit-content;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* Chat Input Area */
.chat-input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem var(--space-lg);
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
  background: #fff;
}

.chat-input-area input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  outline: none;
  color: var(--text-dark);
  transition: border-color var(--transition-fast);
}

.chat-input-area input:focus {
  border-color: var(--primary);
}

.chat-input-area input::placeholder {
  color: var(--text-light);
}

.chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.chat-send:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}


/* --------------------------------------------------------------------------
   17. WHATSAPP BUTTON
   -------------------------------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: var(--z-whatsapp);
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* Adjust position when chat widget is present */
.chat-widget ~ .whatsapp-float,
.whatsapp-float.above-chat {
  bottom: 6rem;
}


/* --------------------------------------------------------------------------
   18. BACK TO TOP
   -------------------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: var(--z-back-to-top);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}


/* --------------------------------------------------------------------------
   19. ANIMATIONS
   -------------------------------------------------------------------------- */

[data-animate] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger children delay utility */
[data-animate-delay="100"] { transition-delay: 0.1s; }
[data-animate-delay="200"] { transition-delay: 0.2s; }
[data-animate-delay="300"] { transition-delay: 0.3s; }
[data-animate-delay="400"] { transition-delay: 0.4s; }
[data-animate-delay="500"] { transition-delay: 0.5s; }
[data-animate-delay="600"] { transition-delay: 0.6s; }


/* --------------------------------------------------------------------------
   20. RESPONSIVE
   -------------------------------------------------------------------------- */

/* ---- Tablet / Medium Screens (≤1024px) ---- */
@media (max-width: 1024px) {
  :root {
    --container-padding: 1.25rem;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legislation-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer-about {
    max-width: 100%;
    grid-column: 1 / -1;
  }
}


/* ---- Mobile Screens (≤768px) ---- */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --container-padding: 1rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.25rem; }

  .section-title {
    font-size: 1.75rem;
  }

  /* Mobile Nav */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-height) + 1.5rem) 1.5rem 1.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-base);
    z-index: var(--z-mobile-menu);
    overflow-y: auto;
    gap: 0.15rem;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    color: var(--text-body);
    width: 100%;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .nav-link:hover {
    background: var(--bg-light);
    color: var(--primary);
  }

  .nav-link.active {
    color: var(--primary);
    background: rgba(192, 57, 43, 0.06);
  }

  .nav-link.active::after {
    display: none;
  }

  /* Mobile dropdown */
  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    background: transparent;
    display: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 0.5rem 0.75rem;
  }

  .nav-actions {
    display: none;
  }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: calc(var(--z-mobile-menu) - 1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 3rem) 0 3rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-divider {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Grids to single column */
  .services-grid,
  .features-grid,
  .gallery-grid,
  .legislation-items {
    grid-template-columns: 1fr;
  }

  .about-preview-grid,
  .contact-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    gap: var(--space-xl);
  }

  .service-sidebar {
    position: static;
  }

  .about-values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Page Hero */
  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero-sm h1 {
    font-size: 1.6rem;
  }

  .service-hero h1 {
    font-size: 2rem;
  }

  /* Chat */
  .chat-window {
    width: calc(100vw - 2rem);
    right: 1rem;
    bottom: 5rem;
    height: 60vh;
    max-height: 500px;
  }

  /* Legislation CTA */
  .legislation-cta .container > div {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl);
  }

  .legislation-intro {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl);
  }

  /* CTA */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}


/* ---- Small Mobile (≤480px) ---- */
@media (max-width: 480px) {
  :root {
    --container-padding: 0.85rem;
  }

  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }

  .section-title {
    font-size: 1.45rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-stats {
    gap: var(--space-md);
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-img-card {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.65rem 1.35rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
  }

  .service-card {
    padding: var(--space-xl);
  }

  .service-section {
    padding: var(--space-xl);
  }

  .sidebar-card {
    padding: var(--space-lg);
  }

  .contact-form-wrapper {
    padding: var(--space-lg);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .chat-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .whatsapp-float {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .page-hero {
    padding: calc(var(--header-height) + 2rem) 0 2rem;
  }
}


/* --------------------------------------------------------------------------
   UTILITY CLASSES
   -------------------------------------------------------------------------- */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

.d-none    { display: none; }
.d-block   { display: block; }
.d-flex    { display: flex; }
.d-grid    { display: grid; }

.gap-1 { gap: var(--space-md); }
.gap-2 { gap: var(--space-xl); }
.gap-3 { gap: var(--space-2xl); }

.w-100 { width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* --------------------------------------------------------------------------
   21. SEARCH OVERLAY
   -------------------------------------------------------------------------- */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 11000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: 100%;
  max-width: 700px;
  padding: 0 var(--container-padding);
  position: relative;
}

.search-close {
  position: absolute;
  top: -60px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.search-close:hover {
  opacity: 1;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease;
  margin-bottom: 6px;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.search-result-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(192, 57, 43, 0.3);
  color: #e74c3c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-result-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.search-result-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 2px;
}

.search-result-excerpt {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}


/* --------------------------------------------------------------------------
   22. COOKIE CONSENT BANNER
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10500;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px var(--container-padding);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}


/* --------------------------------------------------------------------------
   23. DARK MODE
   -------------------------------------------------------------------------- */

html.dark {
  --bg-white: #111827;
  --bg-light: #1f2937;
  --bg-dark: #0a0f1a;
  --text-dark: #f3f4f6;
  --text-body: #d1d5db;
  --text-light: #9ca3af;
  --border-color: #374151;
  --secondary: #0f172a;
  --secondary-light: #1e293b;
}

html.dark body {
  background-color: #111827;
  color: #d1d5db;
}

html.dark .header.scrolled {
  background: rgba(17, 24, 39, 0.98);
}

html.dark .header.scrolled .logo-main {
  color: #f3f4f6;
}

html.dark .header.scrolled .nav-link {
  color: #d1d5db;
}

html.dark .header.scrolled .nav-link:hover {
  color: var(--primary-light);
  background: rgba(192, 57, 43, 0.12);
}

html.dark .header.scrolled .nav-link.active {
  color: var(--primary-light);
}

html.dark .header.scrolled .nav-action-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #d1d5db;
}

html.dark .header.scrolled .nav-action-icon:hover {
  background: rgba(192, 57, 43, 0.2);
  border-color: var(--primary-light);
  color: var(--primary-light);
}

html.dark .header.scrolled .nav-phone {
  color: #f3f4f6;
}

html.dark .header.scrolled .hamburger span {
  background: #f3f4f6;
}

html.dark .service-card,
html.dark .sidebar-card,
html.dark .contact-form-wrapper,
html.dark .contact-card,
html.dark .legislation-card,
html.dark .about-value-card {
  background: #1f2937;
  border-color: #374151;
}

html.dark .service-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

html.dark .dropdown-menu {
  background: #1f2937;
  border-color: #374151;
}

html.dark .dropdown-menu a {
  color: #d1d5db;
}

html.dark .dropdown-menu a:hover {
  background: rgba(192, 57, 43, 0.12);
  color: var(--primary-light);
}

html.dark .mini-feature {
  background: #1f2937;
}

html.dark .contact-card:hover {
  background: #374151;
}

html.dark .chat-window {
  background: #1f2937;
}

html.dark .chat-msg.bot .chat-msg-content {
  background: #374151;
  color: #d1d5db;
}

html.dark .chat-input-area {
  background: #1f2937;
  border-top-color: #374151;
}

html.dark .chat-input-area input {
  background: #374151;
  border-color: #4b5563;
  color: #f3f4f6;
}

html.dark .form-group input,
html.dark .form-group select,
html.dark .form-group textarea {
  background: #374151;
  border-color: #4b5563;
  color: #f3f4f6;
}

html.dark .cookie-banner {
  background: #1f2937;
  border-top-color: #374151;
}

html.dark .cookie-banner p {
  color: #d1d5db;
}

html.dark .nav-menu {
  background: #1f2937;
}

@media (max-width: 768px) {
  html.dark .nav-link {
    color: #d1d5db;
  }
  html.dark .nav-link:hover {
    background: #374151;
  }
}

/* Hero Article Card */
.hero-article-card {
  background: rgba(8, 8, 20, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 20px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 360px;
}

.hero-article-card:hover {
  background: rgba(8, 8, 20, 0.9);
  border-color: rgba(192, 57, 43, 0.35);
  transform: translateY(-2px);
}

/* Mobile action icons (shown next to hamburger on mobile) */
.mobile-actions {
  display: none;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  .mobile-actions {
    display: flex;
  }
  .mobile-actions .nav-action-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
}

/* ========================================================================
   24. COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ======================================================================== */

/* Hero with article - tablet */
@media (max-width: 1024px) {
  .hero-with-article {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-with-article > .hero-content {
    justify-self: center;
  }
  .hero-with-article > .hero-article-card {
    justify-self: center;
    max-width: 420px;
  }
  .hero-with-article .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-with-article .hero-stats {
    justify-content: center;
  }
  .hero-with-article .hero-buttons {
    justify-content: center;
  }
  .hero-with-article .hero-brands-inline {
    justify-content: center;
  }
}

/* Hero with article - mobile */
@media (max-width: 768px) {
  .hero-with-article {
    gap: 20px;
  }
  .hero-article-card {
    max-width: 100%;
    padding: 18px 16px;
  }
}

/* WhatsApp + Chat button stacking fix */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 5.5rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
  .chat-widget {
    bottom: 1rem;
    right: 1rem;
  }
  .chat-toggle-enhanced {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.3rem !important;
  }
  .chat-label {
    bottom: 18px;
    right: 68px;
    font-size: 0.72rem;
    padding: 6px 10px;
  }
}

/* Portofoliu project cards mobile */
@media (max-width: 768px) {
  .project-card > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .project-card > div > div[style*="padding:28px 32px"] {
    padding: 20px 16px !important;
  }
}

/* Blog/Testimonial grids - prevent overflow on small screens */
@media (max-width: 400px) {
  div[style*="minmax(320px"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="minmax(340px"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="minmax(280px"] {
    grid-template-columns: 1fr !important;
  }
}

/* Privacy/Terms mobile padding fix */
@media (max-width: 480px) {
  div[style*="padding:36px 40px"] {
    padding: 20px 16px !important;
  }
  div[style*="padding:32px"] {
    padding: 20px 16px !important;
  }
}

/* Footer contact - fix alignment for <p> tags */
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.85rem;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-contact p i {
  color: var(--primary-light);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact p a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-contact p a:hover {
  color: #fff;
}

/* About preview visual grid fix */
.about-preview-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.about-preview-visual > div {
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-lg);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 160px;
  transition: transform var(--transition-base);
}

.about-preview-visual > div:hover {
  transform: scale(1.03);
}

.about-preview-visual > div i {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.about-preview-visual > div span {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

.about-img-1 { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.about-img-2 { background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%); }
.about-img-3 { background: linear-gradient(135deg, var(--accent) 0%, #e67e22 100%); }
.about-img-4 { background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%); }

@media (max-width: 480px) {
  .about-preview-visual {
    grid-template-columns: 1fr;
  }
  .about-preview-visual > div {
    min-height: 120px;
    padding: var(--space-xl) var(--space-lg);
  }
}

/* Legislation CTA content fix */
.legislation-cta-content {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-2xl);
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.legislation-cta-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 57, 43, 0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
}

.legislation-cta-content h2 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.legislation-cta-content p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legislation-cta-content {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl);
  }
}

/* Dark mode fixes for inline-styled elements */
html.dark div[style*="background:#fff"],
html.dark div[style*="background: #fff"],
html.dark a[style*="background:#fff"],
html.dark a[style*="background: #fff"] {
  background: #1f2937 !important;
  border-color: #374151 !important;
}

html.dark div[style*="color:#1f2937"],
html.dark div[style*="color: #1f2937"],
html.dark div[style*="color:#374151"],
html.dark div[style*="color: #374151"] {
  color: #f3f4f6 !important;
}

html.dark .faq-toggle {
  background: #1f2937 !important;
  color: #f3f4f6 !important;
}

html.dark .faq-answer {
  background: #111827 !important;
}

html.dark .faq-answer > div {
  color: #d1d5db !important;
}

html.dark .faq-open .faq-toggle {
  background: rgba(192, 57, 43, 0.15) !important;
}

/* Mobile menu - add CTA buttons at bottom */
@media (max-width: 768px) {
  .nav-menu::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
  }
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
  .service-card-link {
    -webkit-tap-highlight-color: transparent;
  }
  .btn {
    min-height: 44px;
  }
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .faq-toggle {
    min-height: 48px;
  }
}

/* Search overlay mobile fix */
@media (max-width: 480px) {
  .search-overlay {
    padding-top: 8vh;
  }
  .search-close {
    top: -40px;
    right: 10px;
  }
}

/* Service cards 2-col on tablet, 1-col on mobile */
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Other services grid mobile */
@media (max-width: 480px) {
  .other-services-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Blog article content mobile */
@media (max-width: 480px) {
  .blog-content {
    font-size: 0.92rem !important;
    line-height: 1.75 !important;
  }
}

/* Fix CTA section z-index */
.cta-content {
  position: relative;
  z-index: 1;
}

/* Improve scrollbar for mobile */
@media (max-width: 768px) {
  .chat-messages::-webkit-scrollbar {
    width: 3px;
  }
}

/* Print styles */
@media print {
  .header, .footer, .chat-widget, .whatsapp-float, .back-to-top,
  .cookie-banner, .search-overlay, .chat-label {
    display: none !important;
  }
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  body {
    color: #000;
    background: #fff;
  }
}
