@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --cream: #faf8f4;
  --charcoal: #1a1a1a;
  --warm-bg: #f3efe7;
  --warm-bg-alt: #eae5db;
  --muted: #8a8a8a;
  --body-text: #4a4a4a;
  --accent: #c4502a;
  --accent-light: #e8734e;
  --border: rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: white;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: #d4d0c8;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b0aca4;
}

.serif {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.hero-section {
  position: relative;
  background: linear-gradient(180deg, #f0ebe2 0%, var(--cream) 100%);
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: #e8c4a0;
  top: -150px;
  right: -100px;
}

.hero-blob-2 {
  width: 350px;
  height: 350px;
  background: #d4a07a;
  bottom: -100px;
  left: -50px;
  opacity: 0.15;
}

.nav-scrolled {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.dark-section {
  background: var(--charcoal);
  color: var(--cream);
}

.dark-section a {
  color: var(--cream);
}

.warm-section {
  background: linear-gradient(180deg, #f0ebe2 0%, #ebe6dc 100%);
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--cream), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--cream), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track:hover {
  animation-play-state: paused;
}

.card-warm {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.card-warm::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-warm:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
  border-color: rgba(196, 80, 42, 0.2);
}

.card-warm:hover::before {
  opacity: 1;
}

.project-img-wrap {
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8e4dc 0%, #d8d2c6 100%);
  position: relative;
}

.project-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 26, 0.08) 100%);
  pointer-events: none;
}

.project-img-wrap img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-img-wrap:hover img {
  transform: scale(1.04);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 32px;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  border-radius: 9999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  line-height: 1;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 32px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  line-height: 1;
  border: none;
  cursor: pointer;
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 80, 42, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 9999px;
  border: 1.5px solid rgba(26, 26, 26, 0.18);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
  color: var(--charcoal);
  line-height: 1;
  background: transparent;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: rgba(26, 26, 26, 0.5);
  background: rgba(26, 26, 26, 0.03);
  transform: translateY(-2px);
}

.accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(196, 80, 42, 0.08);
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.stat-block {
  text-align: center;
  padding: 32px 16px;
}

.stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 0;
}

.divider-ornament::before,
.divider-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.dark-footer {
  background: var(--charcoal);
  color: var(--cream);
}

.dark-footer a {
  color: #999;
  transition: color 0.2s ease;
}

.dark-footer a:hover {
  color: var(--cream);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  transition: background 0.3s ease;
}

.service-row:hover {
  background: rgba(196, 80, 42, 0.02);
}

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: 4fr 5fr 3fr;
    gap: 32px;
    padding: 48px 0;
  }
}

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

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(196, 80, 42, 0.08);
}

.logo-dark {
  filter: brightness(0) opacity(0.85);
}

.logo-light {
  filter: brightness(0) invert(1);
}

.modal-overlay {
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(10px);
}
