:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050608;
  color: #f8f8f8;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #1d1f24 0%, #050608 60%);
}

body, input, textarea, button {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #dc143c;
  color: white;
  padding: 8px 16px;
  z-index: 100;
  border-radius: 4px;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: rgba(10, 12, 18, 0.94);
  border-bottom: 1px solid rgba(220, 20, 60, 0.14);
}

.logo {
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #ffb347;
}

.logo-link {
  display: flex;
  align-items: center;
  height: auto;
}

.logo-image {
  height: clamp(40px, 8vw, 70px);
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  color: #e2e8f0;
}

.main-nav a:hover {
  background: rgba(220, 20, 60, 0.16);
  color: #fff;
}

main {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 40px 0;
}

.hero-content {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #dc143c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}

.services-highlight {
  margin: 16px 0 0;
  color: #dc143c;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-text {
  margin: 24px 0 0;
  max-width: 600px;
  line-height: 1.75;
  color: #d1d5db;
  font-size: 1.05rem;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #dc143c, #a00a2e);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #e72a3a, #b01a3e);
}

.button-secondary {
  background: rgba(255,255,255,0.08);
  color: #f8f8f8;
  border: 1px solid rgba(255,255,255,0.12);
}

.button-secondary:hover {
  background: rgba(255,255,255,0.14);
}

.button-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.button-disabled:hover {
  background: rgba(255,255,255,0.08);
  transform: none;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: radial-gradient(circle at center, rgba(220, 20, 60, 0.16), transparent 45%), linear-gradient(135deg, #1c1f24 0%, #0d1118 100%);
  border-radius: 32px;
  border: 1px solid rgba(220, 20, 60, 0.15);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc143c, #a00a2e);
  color: white;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.features,
.about-section,
.contact-section {
  margin-top: 120px;
  padding: 60px 0;
  background: rgba(10, 12, 18, 0.96);
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(220, 20, 60, 0.12);
}

.about-section p {
  max-width: 800px;
  color: #cbd5e1;
  line-height: 1.75;
  margin: 0 0 16px;
}

.features h2,
.about-section h2,
.contact-section h2 {
  margin: 0 0 24px;
  font-size: 2rem;
  color: #fff;
}

.about-section h3 {
  margin: 32px 0 24px;
  font-size: 1.5rem;
  color: #fff;
}

.feature-list {
  display: grid;
  gap: 24px;
}

.feature-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-card h3,
.feature-card h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  color: #cbd5e1;
}

.contact-section {
  margin-top: 80px;
}

.section-header p {
  margin: 0;
  max-width: 680px;
  color: #cbd5e1;
  line-height: 1.75;
}

.contact-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 30px 0 0;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(220, 20, 60, 0.12);
}

.contact-info p {
  margin: 8px 0;
  color: #f1f5f9;
}

.contact-info a {
  color: #ffb347;
}

.contact-info a.button {
  color: white;
}

.contact-form {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}

.form-message {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  animation: slideIn 0.3s ease;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
  background: rgba(220, 20, 60, 0.12);
  color: #ff7a7a;
  border: 1px solid rgba(220, 20, 60, 0.3);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 10px;
  font-weight: 600;
  color: #f8fafc;
}

input,
textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(15, 18, 25, 0.9);
  color: #f8fafc;
  outline: none;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
textarea:focus {
  border-color: #dc143c;
  box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.18);
}

textarea {
  min-height: 170px;
}

.page-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.page-section {
  background: rgba(10, 12, 18, 0.96);
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(220, 20, 60, 0.12);
}

.page-section h1 {
  margin-top: 0;
  font-size: 2.35rem;
  color: #fff;
}

.page-section p {
  color: #cbd5e1;
  line-height: 1.75;
}

.site-footer {
  margin: 0 auto;
  width: min(1140px, calc(100% - 40px));
  padding: 32px 0 48px;
  text-align: center;
  color: #94a3b8;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.footer-logo-image {
  height: clamp(35px, 6vw, 60px);
  width: auto;
  display: block;
}

.social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-links a {
  color: #dc143c;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.social-links a:hover {
  color: #fff;
  transform: scale(1.1);
}

.social-links img.social-icon {
  width: 1.5rem;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  main {
    width: calc(100% - 32px);
  }

  .hero {
    min-height: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

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

  .contact-info {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .hero-brand {
    min-height: 240px;
  }

  .brand-mark {
    width: 180px;
    height: 180px;
    font-size: 2.4rem;
  }

  .features,
  .contact-section {
    border-radius: 24px;
    padding: 40px 20px;
  }
}
