﻿:root {
  --white: #ffffff;
  --bg-light: #f8f9fc;
  --bg-soft: #f0f2f8;
  --primary: #e8651a;
  --primary-light: #fff3ec;
  --primary-dark: #c4520f;
  --accent: #ff6b35;
  --accent-light: #fff4ef;
  --dark: #111827;
  --text: #374151;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageFadeIn 0.6s ease-out;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  text-decoration: none;
  color: inherit;
}


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

/* TOP BAR */
.topbar {
  background: var(--primary);
  color: white;
  padding: 0.5rem 0;
  font-size: 0.82rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  color: white;
  font-weight: 500;
  transition: opacity 0.2s;
}

.topbar a:hover {
  opacity: 0.85;
}

.topbar-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background-image: url('../images/logo.png');
  background-size: 170%;
  background-position: center center;
  background-repeat: no-repeat;
}

.logo-mark img {
  display: none;
}

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

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: all 0.2s;
}

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

.nav-links .btn-nav {
  background: var(--primary);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 0.5rem;
  transition: all 0.3s;
}

.nav-links .btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(232, 101, 26, 0.3);
}

.nav-links .btn-nav-grader {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.3s;
}

.nav-links .btn-nav-grader:hover {
  background: var(--primary);
  color: white !important;
  transform: translateY(-1px);
}

.nav-links .btn-nav-grader:hover .grader-badge {
  background: white;
  color: #16a34a;
}

.grader-badge {
  display: inline-block;
  background: #16a34a;
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  vertical-align: middle;
  margin-left: 0.2rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* HERO */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  background: var(--primary-light);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-badge .badge-dot {
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: white;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

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

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(232, 101, 26, 0.12);
  border-radius: 4px;
  z-index: -1;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232, 101, 26, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  transition: all 0.3s;
}

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

.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.hero-phone .phone-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.hero-phone .phone-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-phone .phone-number {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
  font-size: 1.05rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-mockup {
  width: 100%;
}

.mockup-browser-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) {
  background: #ff6058;
}

.mockup-dot:nth-child(2) {
  background: #ffbd2e;
}

.mockup-dot:nth-child(3) {
  background: #27ca40;
}

.mockup-url {
  margin-left: 10px;
  background: var(--bg-light);
  border-radius: 4px;
  padding: 3px 12px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mockup-content {
  padding: 3.5rem 2rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.mockup-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.mockup-content p {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.mockup-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.8rem;
  padding: 0 1rem;
  width: 100%;
}

.mockup-block {
  height: 60px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.mockup-block:first-child {
  border-top: 3px solid var(--primary);
}

.mockup-block:nth-child(2) {
  border-top: 3px solid var(--accent);
}

.mockup-block:nth-child(3) {
  border-top: 3px solid #10b981;
}

.hero-floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.2rem;
  animation: floatSoft 4s ease-in-out infinite;
}

.float-card-1 {
  bottom: -20px;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.float-card-1 .fc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.float-card-1 .fc-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.float-card-1 .fc-value {
  font-family: var(--font-display);
  font-weight: 700;
  color: #059669;
  font-size: 1rem;
}

.float-card-2 {
  top: 30px;
  right: -25px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation-delay: -2s;
}

.float-card-2 .stars {
  color: #f59e0b;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.float-card-2 .fc-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
}

@keyframes floatSoft {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

/* SECTION COMMON */
.section-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-header .section-label {
  justify-content: center;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* WHO WE ARE */
.who-section {
  padding: 6.5rem 0;
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.who-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.who-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.who-feature:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.who-feature .wf-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.who-feature h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

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

.who-image-box {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.who-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.who-stat {
  text-align: center;
  padding: 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.who-stat h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.who-stat p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.who-quote {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  width: 100%;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.who-quote .quote-mark {
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  font-family: Georgia, serif;
}

.who-quote p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
}

.who-quote .quote-author {
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.85rem;
}

/* SERVICES */
.services-section {
  padding: 6.5rem 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.service-card img {
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

.sc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.3rem;
}

.sc-icon.blue {
  background: var(--primary-light);
}

.sc-icon.orange {
  background: var(--accent-light);
}

.sc-icon.green {
  background: #ecfdf5;
}

.sc-icon.purple {
  background: #f3e8ff;
}

.sc-icon.rose {
  background: #fff1f2;
}

.sc-icon.cyan {
  background: #ecfeff;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

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

.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s;
}

.service-card:hover .sc-link {
  gap: 0.6rem;
}

/* PORTFOLIO */
.portfolio-section {
  padding: 6.5rem 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
  background: var(--white);
}

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

.portfolio-thumb {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  position: relative;
  overflow: hidden;
}

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

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

.portfolio-thumb.t1 {
  background: linear-gradient(135deg, #1a56db, #3b82f6);
}

.portfolio-thumb.t2 {
  background: linear-gradient(135deg, #059669, #34d399);
}

.portfolio-thumb.t3 {
  background: linear-gradient(135deg, #dc2626, #f87171);
}

.portfolio-thumb.t4 {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.portfolio-thumb.t5 {
  background: linear-gradient(135deg, #d97706, #fbbf24);
}

.portfolio-thumb.t6 {
  background: linear-gradient(135deg, #0891b2, #67e8f9);
}

.portfolio-thumb span {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding: 0 1rem;
  line-height: 1.4;
}

.portfolio-info {
  padding: 1.2rem 1.5rem;
}

.portfolio-info h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.portfolio-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Featured Project */
.portfolio-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: all 0.4s;
}

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

.featured-image {
  position: relative;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid rgba(232, 101, 26, 0.2);
}

.featured-info {
  padding: 2.5rem 2.5rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.featured-tags .overlay-tag {
  background: var(--primary-light);
  color: var(--primary);
}

.featured-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.featured-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.featured-results {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.result-item {
  text-align: center;
  padding: 1rem 1.2rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  flex: 1;
}

.result-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.result-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Per-card result metric */
.portfolio-result {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.result-highlight {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Portfolio CTA */
.portfolio-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.portfolio-cta p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

/* Filter animation */
.portfolio-card.hidden-filter {
  display: none;
}

.portfolio-featured.hidden-filter {
  display: none;
}

/* INDUSTRIES */
.industries-section {
  padding: 6.5rem 0;
  background: var(--bg-light);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.industry-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.industry-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.industry-item .ii-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  display: block;
}

.industry-item h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.industry-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* TESTIMONIALS */
.testimonials-section {
  padding: 6.5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}

.tc-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.tc-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
}

.tc-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.tc-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* CTA */
.cta-section {
  padding: 5rem 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #111827 0%, #1e293b 30%, #e8651a 100%);
  background-size: 200% 200%;
  animation: ctaGradientShift 8s ease infinite;
}

@keyframes ctaGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(232, 101, 26, 0.15);
  top: -100px;
  right: -50px;
  filter: blur(60px);
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -80px;
  left: -30px;
  filter: blur(50px);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--primary);
  padding: 0.95rem 2.2rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  background: white;
}

.cta-phone {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: 800;
  opacity: 0.95;
}

/* SEO TOOL BANNER */
.seo-tool-banner {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  padding: 2.5rem 0;
  border-bottom: 3px solid var(--primary);
}

.seo-tool-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.seo-tool-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.seo-tool-text p {
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.6;
}

.seo-tool-tag {
  display: inline-block;
  background: rgba(232, 101, 26, 0.2);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(232, 101, 26, 0.4);
}

.seo-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(232, 101, 26, 0.4);
}

.seo-tool-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 101, 26, 0.5);
}

/* TRUST BAR */
.trust-bar {
  padding: 2rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.4rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.trust-icon {
  font-size: 1.5rem;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Client Logos Marquee */
.client-logos-marquee {
  overflow: hidden;
  position: relative;
  padding: 0.8rem 0;
}

.client-logos-marquee::before,
.client-logos-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}

.client-logos-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.client-logos-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}

.client-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.5;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* PROCESS SECTION */
.process-section {
  padding: 6.5rem 0;
}

.process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 1rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  flex: 1;
  max-width: 260px;
  transition: all 0.3s;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.step-number {
  position: absolute;
  top: -12px;
  right: -8px;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

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

.process-connector {
  width: 40px;
  height: 2px;
  background: repeating-linear-gradient(to right,
      var(--primary) 0px,
      var(--primary) 6px,
      transparent 6px,
      transparent 12px);
  align-self: center;
  margin-top: -1rem;
  flex-shrink: 0;
}


/* FREE AUDIT CTA */
.audit-cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #111827 0%, #1e293b 30%, var(--primary) 100%);
  background-size: 200% 200%;
  animation: ctaGradientShift 8s ease infinite;
  color: white;
  position: relative;
  overflow: hidden;
}

.audit-cta-section::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(232, 101, 26, 0.15);
  top: -120px;
  right: -80px;
  filter: blur(60px);
}

.audit-cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.audit-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.audit-cta-content h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.audit-cta-content p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.audit-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.audit-checklist li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.audit-cta-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.audit-cta-form h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.audit-form-group {
  margin-bottom: 1rem;
}

.audit-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
  box-sizing: border-box;
}

.audit-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.audit-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
}

.audit-submit {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.audit-submit:hover {
  background: #d45a17;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 101, 26, 0.4);
}

.audit-note {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 0.8rem;
  text-align: center;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s;
  animation: whatsappPulse 2s infinite;
}

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

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--dark);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }

  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* CONTACT */
.contact-section {
  padding: 6.5rem 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.contact-info .section-desc {
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.contact-item p {
  font-size: 0.88rem;
  color: var(--text-light);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.8rem;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}

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

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.3rem;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(232, 101, 26, 0.3);
}

/* FOOTER */
footer {
  background: linear-gradient(180deg, #111827 0%, #0a0f1a 100%);
  color: #d1d5db;
  padding: 4rem 0 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand .logo-mark {
  background: transparent;
}

.footer-brand p {
  font-size: 0.88rem;
  color: #9ca3af;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: #9ca3af;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #6b7280;
}


/* SCROLL ANIMATIONS */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
  transition-delay: 0.5s;
}

/* PORTFOLIO HOVER OVERLAY */
.portfolio-card {
  position: relative;
}

.portfolio-thumb {
  position: relative;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  gap: 0.8rem;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay .overlay-btn {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.portfolio-overlay .overlay-btn:hover {
  transform: scale(1.05);
}

.portfolio-overlay .overlay-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-overlay .overlay-tag {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* BLOG SECTION */
.blog-section {
  padding: 6.5rem 0;
  background: var(--bg-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

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

.blog-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

/* Rich illustrated blog backgrounds */
.blog-thumb.b1 {
  background: linear-gradient(135deg, #e8651a 0%, #ff9a56 60%, #ffb347 100%);
}

.blog-thumb.b2 {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 60%, #5eead4 100%);
}

.blog-thumb.b3 {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 60%, #c4b5fd 100%);
}

/* Decorative circle accents inside thumbnails */
.blog-thumb::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -30px;
  right: -30px;
}

.blog-thumb::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  bottom: -20px;
  left: 20px;
}

.blog-thumb-icon {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.blog-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
}

.blog-body {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.3s;
}

.blog-card:hover .blog-read-more {
  gap: 0.6rem;
}

/* COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #d1d5db;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 10000;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-banner p {
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.cookie-btn-accept {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-btn-accept:hover {
  background: var(--primary-dark);
}

.cookie-btn-decline {
  background: transparent;
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-btn-decline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Counter animation */
.counter-value {
  display: inline-block;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .hero-phone {
    margin: 1.5rem auto 0;
  }

  .hero-visual {
    max-width: 500px;
    margin: 3rem auto 0;
  }

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

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

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

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

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin: 0 auto;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-featured {
    grid-template-columns: 1fr;
  }

  .featured-info {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    gap: 0;
  }

  nav.open .nav-links a {
    padding: 0.8rem 1rem;
    width: 100%;
  }

  nav.open .nav-links .btn-nav {
    margin: 0.5rem 0 0;
    text-align: center;
    display: block;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

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

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

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

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

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

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

  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .float-card-1,
  .float-card-2 {
    display: none;
  }

  .featured-results {
    flex-direction: column;
    gap: 0.8rem;
  }

  .portfolio-filters {
    gap: 0.4rem;
  }

  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  .trust-items {
    gap: 0.8rem;
  }

  .trust-item {
    padding: 0.6rem 1rem;
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
  }

  .process-grid {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .process-connector {
    width: 2px;
    height: 30px;
    background: repeating-linear-gradient(to bottom,
        var(--primary) 0px,
        var(--primary) 6px,
        transparent 6px,
        transparent 12px);
    margin: 0;
  }

  .process-step {
    max-width: 100%;
  }


  .audit-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .audit-cta-content h2 {
    font-size: 1.8rem;
  }

  .audit-cta-content p {
    max-width: 100%;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
}

/* ============================================
   CASE STUDIES
   ============================================ */

/* Case Study Hub Page */
.cs-hub-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  text-align: center;
}

.cs-hub-hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cs-hub-hero h1 span {
  color: var(--primary);
}

.cs-hub-hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.cs-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem 0 5rem;
}

.cs-hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.cs-hub-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cs-hub-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.cs-hub-card-body {
  padding: 1.8rem 2rem 2rem;
}

.cs-hub-card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.cs-hub-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

.cs-hub-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.cs-hub-card-body p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.cs-hub-stats {
  display: flex;
  gap: 1.5rem;
}

.cs-hub-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
}

.cs-hub-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cs-hub-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 1rem;
}

/* Individual Case Study Page */
.cs-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.cs-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cs-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cs-breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}

.cs-hero-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cs-hero h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cs-hero-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.cs-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.cs-hero-img img {
  width: 100%;
  display: block;
}

/* Stats Bar */
.cs-stats-bar {
  background: var(--dark);
  padding: 2.5rem 0;
}

.cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.cs-stat h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.cs-stat p {
  font-size: 0.85rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Case Study Body */
.cs-body {
  padding: 5rem 0;
}

.cs-body-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cs-section {
  margin-bottom: 3.5rem;
}

.cs-section-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cs-section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.cs-section h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.cs-section p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.cs-section ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.cs-section ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

.cs-section ul li::before {
  content: 'âœ“';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Solution Steps */
.cs-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.cs-step {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.cs-step:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.cs-step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
}

.cs-step h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.cs-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Results Grid */
.cs-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.cs-result-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.cs-result-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cs-result-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.cs-result-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Testimonial */
.cs-testimonial {
  background: linear-gradient(135deg, var(--dark), #1f2937);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin: 2rem 0;
  color: white;
}

.cs-testimonial-quote {
  font-size: 1.15rem;
  line-height: 1.8;
  font-style: italic;
  color: #e5e7eb;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--primary);
}

.cs-testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cs-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: white;
}

.cs-testimonial-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.cs-testimonial-role {
  font-size: 0.85rem;
  color: #9ca3af;
}

.cs-testimonial-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* CTA */
.cs-cta {
  text-align: center;
  padding: 4rem 0 5rem;
  background: var(--bg-light);
}

.cs-cta h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.cs-cta p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Next/Prev navigation */
.cs-nav-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.cs-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  padding: 0.8rem 1.5rem;
  background: var(--primary-light);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.cs-nav-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Case Study responsive */
@media (max-width: 768px) {
  .cs-hub-hero h1 {
    font-size: 2rem;
  }

  .cs-hub-grid {
    grid-template-columns: 1fr;
  }

  .cs-hero-inner {
    grid-template-columns: 1fr;
  }

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

  .cs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .cs-results-grid {
    grid-template-columns: 1fr;
  }

  .cs-testimonial {
    padding: 2rem 1.5rem;
  }

  .cs-nav-row {
    flex-direction: column;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 2.5rem auto 0;
}

.faq-item {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
  border-color: #ff7a00;
}

.faq-item.open {
  border-color: #ff7a00;
  box-shadow: 0 4px 20px rgba(255, 122, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  text-align: left;
  line-height: 1.4;
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: #ff7a00;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 1.25rem 1.1rem;
}

.faq-answer p {
  font-size: 0.87rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

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

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}

.pricing-section .section-label {
  color: #ff7a00;
}

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

.pricing-section .section-desc {
  color: #94a3b8;
}

/* Tabs */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.5rem 0;
}

.pricing-tab {
  padding: 0.7rem 1.5rem;
  border-radius: 99px;
  border: 1.5px solid #334155;
  background: transparent;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pricing-tab:hover {
  border-color: #ff7a00;
  color: #fff;
}

.pricing-tab.active {
  background: linear-gradient(135deg, #ff7a00, #e85d04);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.35);
}

/* Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid.hidden {
  display: none;
}

/* Cards */
.price-card {
  background: #1e293b;
  border: 1.5px solid #334155;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Popular card */
.price-card.popular {
  border-color: #ff7a00;
  background: linear-gradient(180deg, #1e293b 0%, #261a0f 100%);
  box-shadow: 0 0 30px rgba(255, 122, 0, 0.15);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff7a00, #e85d04);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.35);
}

.price-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.25rem;
}

.price-tagline {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

/* Price amounts */
.price-amount {
  margin: 1.2rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.price-was {
  font-size: 1rem;
  color: #64748b;
  text-decoration: line-through;
}

.price-now {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ff7a00;
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

/* Features */
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.price-features li {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* CTA */
.price-cta {
  display: block;
  text-align: center;
  padding: 0.85rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
  background: transparent;
  border: 2px solid #334155;
  color: #fff;
}

.price-cta:hover {
  border-color: #ff7a00;
  background: rgba(255, 122, 0, 0.1);
  color: #ff7a00;
}

.price-card.popular .price-cta {
  background: linear-gradient(135deg, #ff7a00, #e85d04);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.35);
}

.price-card.popular .price-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-tabs {
    flex-wrap: wrap;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ============================================
   FOXY — PREMIUM CHAT WIDGET
   ============================================ */

#fw-root {
  position: fixed;
  bottom: 24px;
  right: 96px;
  z-index: 99999;
  font-family: var(--font-body, 'Inter', sans-serif);
}

/* ---- Bubble ---- */
#fw-bubble {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff7a00, #e85d04);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#fw-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.18);
}

.fw-bubble-inner {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fw-bubble-fox,
.fw-bubble-x {
  position: absolute;
  font-size: 1.6rem;
  color: #fff;
  transition: opacity 0.25s ease, transform 0.3s ease;
  line-height: 1;
}

.fw-bubble-x {
  font-size: 1.3rem;
  opacity: 0;
  transform: rotate(90deg);
}

#fw-bubble.fw-active .fw-bubble-fox {
  opacity: 0;
  transform: rotate(-90deg);
}

#fw-bubble.fw-active .fw-bubble-x {
  opacity: 1;
  transform: rotate(0deg);
}

/* Notification badge */
.fw-bubble-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.2s;
}

#fw-bubble.fw-active .fw-bubble-badge {
  opacity: 0;
  transform: scale(0);
}

/* Pulse ring */
.fw-bubble-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 122, 0, 0.6);
  animation: fwPulse 2.5s ease-out infinite;
  pointer-events: none;
}

#fw-bubble.fw-active .fw-bubble-ring {
  animation: none;
  opacity: 0;
}

@keyframes fwPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

/* ---- Panel ---- */
#fw-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 400px;
  height: 520px;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.22),
    0 4px 16px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#fw-panel.fw-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* ---- Hero Header ---- */
.fw-header {
  position: relative;
  flex-shrink: 0;
  min-height: 170px;
  overflow: hidden;
}

.fw-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #ff7a00 0%, #e85d04 55%, #c2410c 100%);
}

/* Decorative circles */
.fw-header-bg::before,
.fw-header-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  background: #fff;
}

.fw-header-bg::before {
  width: 240px;
  height: 240px;
  top: -80px;
  right: -60px;
}

.fw-header-bg::after {
  width: 140px;
  height: 140px;
  bottom: -50px;
  left: 20px;
}

.fw-header-content {
  position: relative;
  z-index: 1;
  padding: 1rem 1.2rem 1.4rem;
}

.fw-header-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.6rem;
}

.fw-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.fw-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.fw-header-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fw-avatar-wrap {
  position: relative;
  width: fit-content;
}

.fw-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 2.5px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  backdrop-filter: blur(4px);
}

.fw-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
}

.fw-greeting {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.fw-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.5;
}

/* ---- Messages ---- */
.fw-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #f8fafc;
  scroll-behavior: smooth;
}

.fw-messages::-webkit-scrollbar {
  width: 3px;
}

.fw-messages::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

/* Message rows */
.fw-msg {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  max-width: 88%;
  animation: fwMsgIn 0.28s ease-out;
}

@keyframes fwMsgIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Avatar */
.fw-msg-av {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #e85d04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Bubbles */
.fw-msg-bubble {
  padding: 0.65rem 0.95rem;
  border-radius: 18px;
  font-size: 0.875rem;
  line-height: 1.55;
  word-break: break-word;
}

.fw-msg-bot .fw-msg-bubble {
  background: #fff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.fw-msg-user .fw-msg-bubble {
  background: linear-gradient(135deg, #ff7a00, #e85d04);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 10px rgba(255, 122, 0, 0.28);
}

/* Typing dots */
.fw-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.7rem 1rem !important;
}

.fw-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
  animation: fwDot 1.4s ease-in-out infinite;
}

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

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

@keyframes fwDot {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Suggestion chips row */
.fw-chips {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.fw-chip {
  text-align: left;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
  width: 100%;
}

.fw-chip:hover {
  border-color: #ff7a00;
  background: #fff7ed;
  color: #c2410c;
  transform: translateX(3px);
}

/* ---- Input Bar ---- */
.fw-input-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  flex-shrink: 0;
}

#fw-input {
  flex: 1;
  border: 1.5px solid #e5e7eb;
  border-radius: 22px;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  background: #f8fafc;
  color: #111827;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#fw-input::placeholder {
  color: #9ca3af;
}

#fw-input:focus {
  border-color: #ff7a00;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.12);
}

#fw-send {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #e85d04);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 122, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

#fw-send:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.5);
}

/* ---- Mobile ---- */
@media (max-width: 480px) {
  #fw-root {
    bottom: 18px;
    right: 16px;
  }

  #fw-panel {
    width: calc(100vw - 32px);
    height: 75vh;
    right: -4px;
    border-radius: 20px;
  }

  #fw-bubble {
    width: 58px;
    height: 58px;
  }
}

/* ============================================
   REDUCED MOTION ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }

  .hero-floating-card {
    animation: none;
  }
}