/* ITProAct Technology Solutions — Custom Website Stylesheet */
/* Brand: #C41E2A red, #1A1A1A charcoal, #F5F5F5 light, #6B7280 gray */

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

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #C41E2A;
  --red-dark: #a01822;
  --dark: #1A1A1A;
  --dark-2: #2d2d2d;
  --light: #F5F5F5;
  --gray: #6B7280;
  --gray-light: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 8px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 98px;
}

.logo img { height: 72px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--red); background: var(--light); }

/* Dropdown */
.nav-item { position: relative; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 260px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition), background var(--transition);
}
.dropdown a:hover { color: var(--red); background: var(--light); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--red);
  color: var(--white) !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

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

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  padding: 16px 0;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-light);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--red); background: var(--light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,30,42,0.3); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn-white:hover { background: var(--light); transform: translateY(-2px); }

/* ===== HERO ===== */
.hero {
  background: var(--dark);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196,30,42,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-label {
  display: inline-block;
  background: rgba(196,30,42,0.2);
  color: #ff6b75;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(196,30,42,0.3);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 800px;
  color: var(--white);
}
.hero h1 span[data-city] { color: var(--red); }
.hero h1 .hero-typing { color: var(--red); }
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-fit {
  color: rgba(255,255,255,0.9);
  font-size: 0.98rem;
  margin-bottom: 34px;
}
.hero-fit strong { color: var(--white); }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0;
}
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.8); }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ===== SECTIONS ===== */
section { padding: 80px 0; }

.section-label {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ===== SERVICES GRID ===== */
.services-section { background: var(--light); }

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

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--gray-light);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  width: 56px;
  height: 56px;
  background: rgba(196,30,42,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.service-card .learn-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.service-card:hover .learn-more { gap: 10px; }

/* ===== WHY ITPROACT ===== */
.why-section { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.why-item { text-align: center; }
.why-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.15;
}
.why-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.why-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.why-item p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--red);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--gray-light);
  position: relative;
}
.quote-mark {
  font-size: 4rem;
  color: var(--red);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--dark-2);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}
.testimonial-author span {
  font-size: 0.82rem;
  color: var(--gray);
}
.stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 12px; }

/* ===== SERVICE PAGE CONTENT ===== */
.service-content { background: var(--white); }
.service-content .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}
.service-body h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.service-body p {
  font-size: 1rem;
  color: var(--dark-2);
  line-height: 1.8;
  margin-bottom: 20px;
}
.benefit-list { margin: 32px 0; }
.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
}
.benefit-item:last-child { border-bottom: none; }
.check {
  width: 24px;
  height: 24px;
  background: rgba(196,30,42,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.benefit-item p { font-size: 0.95rem; color: var(--dark-2); line-height: 1.6; margin: 0; }

.service-sidebar {
  position: sticky;
  top: 90px;
}
.sidebar-card {
  background: var(--dark);
  color: var(--white);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}
.sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.sidebar-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}
.sidebar-services h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 12px;
}
.sidebar-services a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-2);
  border-radius: 6px;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-services a:hover,
.sidebar-services a.active {
  color: var(--red);
  background: rgba(196,30,42,0.05);
  border-left-color: var(--red);
}

/* ===== ABOUT PAGE ===== */
.about-story { background: var(--white); }
.about-story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 1rem;
  color: var(--dark-2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-visual {
  background: var(--light);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}
.about-stat {
  margin-bottom: 32px;
}
.about-stat .number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.about-stat p { font-size: 0.9rem; color: var(--gray); margin-top: 6px; }

.principles { background: var(--light); }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.principle-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  border: 1px solid var(--gray-light);
  transition: box-shadow var(--transition), transform var(--transition);
}
.principle-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.principle-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}
.principle-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.principle-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 40px;
  align-items: start;
}
.blog-card h3 a {
  color: var(--dark);
  text-decoration: none;
}
.blog-card h3 a:hover { color: var(--red); }
.full-width-card { grid-column: 1 / -1; }
.insights-section .services-grid { grid-template-columns: repeat(3, 1fr); }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.article-card h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 14px;
}
.article-card h3 a {
  color: var(--dark);
  text-decoration: none;
}
.article-card h3 a:hover { color: var(--red); }
.article-card p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 18px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(196, 30, 42, 0.08);
  color: var(--red);
  font-weight: 700;
}
.article-body {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  padding: 42px;
  box-shadow: var(--shadow);
}
.article-body p,
.article-body li {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--dark-2);
}
.article-body h2 {
  margin: 28px 0 14px;
  font-size: 1.45rem;
}
.article-body ul {
  padding-left: 20px;
  margin: 12px 0 20px;
}
.article-meta-page { margin-bottom: 20px; }
.proof-section { background: var(--white); }
.positioning-section {
  background: linear-gradient(180deg, rgba(196,30,42,0.04), rgba(196,30,42,0));
}
.narrow-copy {
  max-width: 900px;
}
.positioning-copy {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--dark-2);
  margin: 0 auto 18px;
  max-width: 820px;
  text-align: center;
}
.flagship-grid {
  grid-template-columns: repeat(4, 1fr);
}
.section-actions {
  margin-top: 28px;
}
.package-section {
  background: var(--light);
}
.package-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.package-copy h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.package-bullets {
  padding-left: 20px;
  margin-bottom: 24px;
}
.package-bullets li {
  margin-bottom: 12px;
  line-height: 1.75;
  color: var(--dark-2);
}
.package-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.secondary-cta-section {
  background: var(--white);
}
.lite-form {
  max-width: 820px;
  margin: 0 auto;
}

/* ===== CONTACT PAGE ===== */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}
.contact-info h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.contact-info > p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
}
.assessment-list { margin-bottom: 40px; }
.assessment-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.assessment-item .num {
  width: 32px;
  height: 32px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.assessment-item div h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.assessment-item div p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

.contact-form {
  background: var(--light);
  border-radius: 16px;
  padding: 40px;
}
.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,42,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo img { height: 64px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-contact p { font-size: 0.85rem; margin-bottom: 6px; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--white); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-content .container { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .about-story .container { grid-template-columns: 1fr; gap: 40px; }
  .blog-hero-grid { grid-template-columns: 1fr; }
  .flagship-grid { grid-template-columns: repeat(2, 1fr); }
  .package-outcomes { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .flagship-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .article-body { padding: 28px; }
  .package-card { padding: 28px; }
  .insights-section .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero { padding: 60px 0 50px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
  .principles-grid { grid-template-columns: 1fr; }
}

/* ===== SCROLL ANIMATIONS ===== */
.anim-ready {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim-ready.animated {
  opacity: 1;
  transform: translateY(0);
}
.anim-slide-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.anim-slide-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Hero typing cursor */
.hero-typing {
  border-right: 3px solid var(--red);
  animation: blink 0.75s step-end infinite;
}
@keyframes blink { 50% { border-color: transparent; } }

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  font-family: 'Inter', system-ui, sans-serif;
}

#chat-toggle {
  width: 60px;
  height: 60px;
  background: var(--red);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(196,30,42,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
#chat-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(196,30,42,0.5); }
#chat-toggle svg { width: 28px; height: 28px; fill: white; transition: opacity 0.2s; }
#chat-toggle .icon-close { display: none; }
#chat-toggle.active .icon-chat { display: none; }
#chat-toggle.active .icon-close { display: block; }

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #16a34a;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
}

#chat-window {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 360px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-height: 520px;
}
#chat-window.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.chat-header {
  background: var(--dark);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.chat-header-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}
.chat-header-info span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.chat-online {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 5px;
}
#chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}
#chat-close:hover { color: white; }

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
  max-height: 320px;
  background: #f9fafb;
}

.chat-msg { display: flex; }
.chat-msg--bot { justify-content: flex-start; }
.chat-msg--user { justify-content: flex-end; }

.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.55;
}
.chat-msg--bot .chat-bubble {
  background: white;
  color: var(--dark);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.chat-msg--user .chat-bubble {
  background: var(--red);
  color: white;
  border-bottom-right-radius: 4px;
}

/* Typing dots */
.dots { display: flex; gap: 4px; align-items: center; padding: 4px 0; }
.dots span {
  width: 7px; height: 7px;
  background: var(--gray);
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; } 40% { transform: scale(1); opacity: 1; } }

/* Quick reply buttons */
.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 4px 2px;
}
.quick-reply-btn {
  padding: 7px 14px;
  background: white;
  border: 1.5px solid var(--red);
  color: var(--red);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.quick-reply-btn:hover { background: var(--red); color: white; }

.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  gap: 10px;
  align-items: center;
  background: white;
  flex-shrink: 0;
}
#chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: 100px;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
#chat-input:focus { border-color: var(--red); }
#chat-send {
  width: 38px;
  height: 38px;
  background: var(--red);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
#chat-send:hover { background: var(--red-dark); }
#chat-send svg { width: 16px; height: 16px; fill: white; }

.chat-footer-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray);
  padding: 6px 16px 10px;
  background: white;
}

@media (max-width: 480px) {
  .chat-widget { bottom: 16px; right: 16px; }
  #chat-window { width: calc(100vw - 32px); right: 0; }
}
