:root {
  --primary-100: #fdece3;
  --primary-200: #fbd3bf;
  --primary-300: #f7b28c;
  --primary-400: #f28a56;
  --primary-500: #e8622a;
  --primary-600: #d1501c;
  --primary-700: #ad3f17;
  --primary-800: #883114;
  --primary-900: #5c2210;

  --secondary-100: #f2f2f2;
  --secondary-200: #e2e2e2;
  --secondary-300: #cbcbcb;
  --secondary-400: #a6a6a6;
  --secondary-500: #808080;
  --secondary-600: #606060;
  --secondary-700: #474747;
  --secondary-800: #303030;
  --secondary-900: #1f1f1f;

  --accent-100: #fbe4d3;
  --accent-200: #f5c6a3;
  --accent-300: #eaa068;
  --accent-400: #db7e3b;
  --accent-500: #c76a1e;
  --accent-600: #a5551a;
  --accent-700: #814213;
  --accent-800: #5e300f;
  --accent-900: #3d1f0a;

  --success-500: #c76a1e;
  --warning-500: #d4a038;
  --error-500: #c84838;

  --neutral-50: #fafafa;
  --neutral-100: #f4f4f4;
  --neutral-200: #e8e8e8;
  --neutral-300: #d4d4d4;
  --neutral-400: #a8a8a8;
  --neutral-500: #787878;
  --neutral-600: #525252;
  --neutral-700: #3a3a3a;
  --neutral-800: #262626;
  --neutral-900: #161616;

  --white: #ffffff;
  --dark-bg: #1c1c1c;
  --dark-surface: #2a2a2a;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--neutral-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--primary-500);
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #262626;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  transition: box-shadow var(--transition);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--white);
}

.nav__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-500);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.nav__brand-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 0.5rem 1.25rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--primary-500);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn--accent {
  background: var(--accent-500);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hero */
.hero,
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('https://images.pexels.com/photos/11861957/pexels-photo-11861957.jpeg?auto=compress&cs=tinysrgb&w=1600');
}

.page-hero .hero__bg {
  background-image: url('https://images.pexels.com/photos/33410957/pexels-photo-33410957.jpeg?auto=compress&cs=tinysrgb&w=1600');
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.6));
}

.hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232, 98, 42, 0.18), transparent 60%);
  animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  from { opacity: 0.5; transform: scale(1); }
  to { opacity: 1; transform: scale(1.1); }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-600);
  margin-bottom: 1rem;
}

.eyebrow--light {
  color: var(--primary-200);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero__lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--neutral-200);
  margin-bottom: 2rem;
  max-width: 600px;
}

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

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section--alt {
  background: var(--neutral-50);
}

.section--dark {
  background: var(--dark-bg);
  color: var(--neutral-200);
}

.section--dark .eyebrow {
  color: var(--primary-300);
}

.section--dark h2 {
  color: var(--white);
}

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

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-head p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--neutral-500);
}

.section-head__light {
  color: var(--neutral-300) !important;
}

/* Stats */
.stats-section {
  padding: 3.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--neutral-200);
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  width: 1px;
  background: var(--neutral-200);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--primary-500);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--primary-500);
  line-height: 1;
  margin-top: -3rem;
  display: inline;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--neutral-500);
  margin-top: 0.25rem;
}

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-image__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.story-image__year {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-500);
  line-height: 1;
}

.story-image__text {
  font-size: 0.85rem;
  color: var(--neutral-500);
}

.story-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--neutral-900);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.story-content p {
  color: var(--neutral-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.story-values {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.story-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--neutral-700);
}

.story-value svg {
  color: var(--primary-500);
  flex-shrink: 0;
}

/* Cards (services preview) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.section--alt .card {
  background: var(--white);
}

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

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card {
  position: relative;
  overflow: hidden;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary-100);
  color: var(--primary-600);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--neutral-500);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-500);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap var(--transition);
}

.card__link::after {
  content: '→';
}

.card__link:hover {
  color: var(--primary-600);
  gap: 0.625rem;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

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

.process-step__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-300);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--neutral-500);
  line-height: 1.6;
}

/* CTA */
.cta-section {
  padding: 5rem 0;
  background: var(--dark-bg);
}

.cta-section--light {
  background: var(--neutral-50);
}

.cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cta p {
  font-size: 1.1rem;
  color: var(--neutral-300);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta--light h2 {
  color: var(--neutral-900);
}

.cta--light p {
  color: var(--neutral-500);
}

/* Services (page2) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary-100);
  color: var(--primary-600);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--neutral-500);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--neutral-600);
  border-top: 1px solid var(--neutral-200);
}

.service-list li::before {
  content: '→ ';
  color: var(--primary-500);
  font-weight: 600;
}

/* References */
.references-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.reference-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.reference-card__image {
  height: 260px;
  overflow: hidden;
}

.reference-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.reference-card:hover .reference-card__image img {
  transform: scale(1.06);
}

.reference-card__body {
  padding: 1.75rem;
}

.reference-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-500);
  margin-bottom: 0.5rem;
}

.reference-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.reference-card p {
  color: var(--neutral-500);
  line-height: 1.7;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}

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

.contact-card__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(232, 98, 42, 0.15);
  color: var(--primary-300);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0;
}

.contact-card p {
  color: var(--neutral-300);
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.contact-card__person {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
}

.contact-card__person strong {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
}

.contact-card__person span {
  font-size: 0.8rem;
  color: var(--primary-300);
  font-weight: 500;
}

.contact-card__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-card__links a {
  font-size: 0.875rem;
  color: var(--primary-300);
  transition: color var(--transition);
}

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

/* Email signature */
.email-sig {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.email-sig__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.email-sig__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-500);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.email-sig__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.email-sig__brand strong {
  font-size: 1.05rem;
  color: var(--neutral-900);
  font-weight: 700;
}

.email-sig__brand span {
  font-size: 0.8rem;
  color: var(--neutral-500);
}

.email-sig__divider {
  height: 2px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  border-radius: 1px;
  margin-bottom: 1rem;
}

.email-sig__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.email-sig__field {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.email-sig__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-600);
}

.email-sig__field span:last-child {
  font-size: 0.85rem;
  color: var(--neutral-700);
}

.email-sig__tagline {
  font-size: 0.8rem;
  color: var(--neutral-500);
  font-style: italic;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--neutral-200);
}

/* Form */
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-message.success {
  display: block;
  background: var(--primary-100);
  color: var(--primary-700);
  border: 1px solid var(--primary-300);
}

.form-message.error {
  display: block;
  background: #f8e8e8;
  color: #a83838;
  border: 1px solid #d8a8a8;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  background: var(--neutral-50);
  color: var(--neutral-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(232, 98, 42, 0.15);
}

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

#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-400);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand-col p {
  line-height: 1.7;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  padding: 0.35rem 0;
}

.footer-col a {
  font-size: 0.95rem;
  color: var(--neutral-400);
}

.footer-col a:hover {
  color: var(--primary-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--neutral-800);
  font-size: 0.875rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  z-index: 200;
  width: 0;
  transition: width 0.1s linear;
}

/* AI Chat Widget */
.chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-500);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 98, 42, 0.4);
  z-index: 300;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(232, 98, 42, 0.55);
}

.chat-fab.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.chat-fab__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 380px;
  max-width: calc(100vw - 2rem);
  max-height: 600px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  z-index: 301;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.chat-widget.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-widget__header {
  background: var(--primary-500);
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-widget__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-widget__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.chat-widget__title strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.chat-widget__status {
  font-size: 0.75rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.chat-widget__status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-300);
  display: inline-block;
}

.chat-widget__close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-widget__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.chat-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 200px;
  max-height: 380px;
}

.chat-widget__messages::-webkit-scrollbar {
  width: 6px;
}

.chat-widget__messages::-webkit-scrollbar-thumb {
  background: var(--neutral-300);
  border-radius: 3px;
}

.chat-msg {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  animation: msg-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.chat-msg--bot {
  align-self: flex-start;
  background: var(--neutral-100);
  color: var(--neutral-800);
  border-bottom-left-radius: 4px;
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--primary-500);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-msg--typing {
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neutral-400);
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

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

.chat-widget__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.25rem 0.75rem;
}

.chat-quick-btn {
  padding: 0.4rem 0.75rem;
  background: var(--primary-100);
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
}

.chat-quick-btn:hover {
  background: var(--primary-200);
  transform: translateY(-1px);
}

.chat-widget__input {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--neutral-200);
}

.chat-widget__input input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  background: var(--neutral-50);
  color: var(--neutral-900);
  transition: border-color var(--transition);
}

.chat-widget__input input:focus {
  outline: none;
  border-color: var(--primary-500);
}

.chat-widget__input button {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-500);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.chat-widget__input button:hover {
  background: var(--primary-600);
}

/* Responsive */
@media (max-width: 968px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-image__badge {
    left: 1rem;
  }

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

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

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

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

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

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform var(--transition);
  }

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

  .nav__list {
    flex-direction: column;
    gap: 1rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__brand-text {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .stat-item::after {
    display: none !important;
  }

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

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

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

  .section {
    padding: 4rem 0;
  }

  .story-image__badge {
    bottom: -1rem;
    left: 0.5rem;
    padding: 1rem 1.25rem;
  }

  .story-image__year {
    font-size: 1.5rem;
  }

  .chat-widget {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-height: 70vh;
  }

  .chat-fab {
    bottom: 1rem;
    right: 1rem;
  }
}
