:root {
  --primary: #c1121f;
  --primary-dark: #9a0e18;
  --text: #0b0b0b;
  --text-secondary: #444444;
  --border: #e5e5e5;
  --bg-light: #f7f7f7;
  --bg-white: #ffffff;
}

* { box-sizing: border-box; }

body { 
  margin: 0; 
  font-family: 'Work Sans', sans-serif; 
  background: var(--bg-white); 
  color: var(--text); 
  -webkit-font-smoothing: antialiased; 
  line-height: 1.6;
}

/* Header */
header { 
  background: rgba(255,255,255,0.98); 
  padding: 20px 80px; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 16px 80px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

header img { height: 52px; }

nav a { 
  color: var(--text); 
  text-decoration: none; 
  margin-left: 32px; 
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero { 
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 80px 80px;
  background: linear-gradient(135deg, #0b0b0b 0%, #2a2a2a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80') center/cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.hero h1 { 
  font-family: 'Crimson Pro', serif;
  font-size: 64px; 
  font-weight: 700; 
  line-height: 1.1; 
  color: #ffffff;
  margin: 0 0 24px 0;
  opacity: 0; 
  transform: translateY(20px); 
  animation: fadeUp 1s ease 0.2s forwards; 
}

.hero p { 
  font-size: 20px; 
  max-width: 720px; 
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.4s forwards;
}

.cta { 
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.6s forwards;
}

.cta a { 
  display: inline-block;
  background: var(--primary); 
  color: #ffffff; 
  padding: 16px 40px; 
  border-radius: 6px; 
  text-decoration: none; 
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(193, 18, 31, 0.3);
}

.cta a:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 18, 31, 0.4);
}

/* Sections */
section { 
  padding: 100px 80px; 
}

section.dark {
  background: #0b0b0b;
  color: #ffffff;
}

section.image-bg {
  position: relative;
  background: url('https://images.unsplash.com/photo-1565626424178-c699f6601afd?w=1600&q=80') center/cover fixed;
  color: #ffffff;
}

section.image-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 11, 11, 0.88);
  z-index: 0;
}

section.image-bg > * {
  position: relative;
  z-index: 1;
}

.section-title { 
  font-family: 'Crimson Pro', serif;
  font-size: 44px; 
  font-weight: 700; 
  margin-bottom: 16px; 
  position: relative;
  display: inline-block;
}

.section-title::after { 
  content: ""; 
  display: block; 
  width: 64px; 
  height: 3px; 
  background: var(--primary); 
  margin-top: 16px; 
}

section.dark .section-title::after,
section.image-bg .section-title::after {
  background: #ffffff;
}

.section-intro {
  max-width: 820px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 24px;
}

section.dark .section-intro,
section.image-bg .section-intro {
  color: rgba(255,255,255,0.85);
}

/* Grid */
.grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 40px;
  margin-top: 60px;
}

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

/* Cards */
.card { 
  background: var(--bg-white); 
  padding: 40px; 
  border-radius: 12px; 
  border: 1px solid var(--border); 
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

section.dark .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height 0.4s ease;
}

.card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.card:hover::before {
  height: 100%;
}

.card h3 { 
  font-family: 'Crimson Pro', serif;
  margin: 0 0 16px 0;
  font-size: 24px;
  font-weight: 700;
}

.card p {
  margin: 0 0 12px 0;
  line-height: 1.7;
}

.card ul {
  margin: 16px 0 0 0;
  padding-left: 20px;
}

.card li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Feature Cards with Images */
.feature-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border-color: var(--primary);
}

.feature-card-image-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.feature-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-card:hover .feature-card-image {
  transform: scale(1.08);
}

.feature-card-content {
  padding: 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-label {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  width: fit-content;
}

.feature-card h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
  color: var(--text);
}

.feature-card-description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--text-secondary);
  flex-grow: 1;
}

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 2px solid #f0f0f0;
  padding-top: 20px;
}

.feature-card li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.feature-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
}

/* Process Timeline */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--border);
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-family: 'Crimson Pro', serif;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

/* Contact Form */
.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

form { 
  background: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

form label { 
  display: block; 
  font-size: 14px; 
  font-weight: 600; 
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

form input, form select, form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  background: var(--bg-white);
  transition: all 0.3s ease;
}

form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.1);
}

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

form .checkbox { 
  display: flex; 
  align-items: flex-start; 
  gap: 12px; 
  font-size: 14px; 
  margin-top: 20px;
}

form .checkbox input {
  width: auto;
  margin-top: 4px;
}

form button {
  margin-top: 28px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 16px 48px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

form button:hover { 
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 18, 31, 0.3);
}

.contact-info {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.contact-info h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px 0;
}

.contact-info p {
  margin: 0 0 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-info p strong {
  display: block;
  margin-bottom: 8px;
  margin-top: 24px;
}

/* Success Page */
.success-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  background: linear-gradient(
    135deg,
    #0b0b0b 0%,
    #1f1f1f 100%
  );
  position: relative;
  overflow: hidden;
}

.success-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1565372910294-37d1c8b9c5c2?w=1600&q=80')
    center / cover no-repeat;
  opacity: 0.08;
}

.success-card {
  position: relative;
  z-index: 1;
  background: var(--bg-white);
  border-radius: 16px;
  padding: 60px 56px;
  max-width: 620px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  animation: fadeUp 0.8s ease forwards;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(193, 18, 31, 0.35);
}

.success-title {
  font-family: 'Crimson Pro', serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.success-message {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.success-meta {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 40px;
  text-align: left;
}

.success-meta p {
  margin: 0 0 12px 0;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.success-meta p:last-child {
  margin-bottom: 0;
}

.success-meta p::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

.success-button {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  padding: 16px 44px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(193, 18, 31, 0.3);
}

.success-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(193, 18, 31, 0.45);
}

.success-footer {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.success-footer p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.success-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.success-footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .success-section {
    padding: 60px 20px;
  }

  .success-card {
    padding: 44px 28px;
  }

  .success-icon {
    width: 70px;
    height: 70px;
    font-size: 38px;
  }

  .success-title {
    font-size: 32px;
  }

  .success-message {
    font-size: 16px;
  }

  .success-meta {
    padding: 20px 20px;
  }

  .success-meta p {
    font-size: 14px;
  }
}


/* Footer */
footer { 
  background: #0b0b0b; 
  padding: 60px 80px 40px; 
  color: #ffffff;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-about h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 24px;
  margin-bottom: 16px;
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

/* Animations */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  header { padding: 20px 40px; }
  section { padding: 80px 40px; }
  .hero { padding: 80px 40px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  header { 
    flex-direction: column; 
    align-items: flex-start;
    padding: 16px 24px;
  }
  nav { 
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  nav a { margin-left: 0; }
  .hero { 
    padding: 60px 24px;
    min-height: 60vh;
  }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 18px; }
  section { padding: 60px 24px; }
  .grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 32px; }
  footer { padding: 40px 24px 24px; }
  .footer-bottom { 
    flex-direction: column; 
    text-align: center;
    gap: 12px;
  }
}
