:root {
  --primary-color: #C8493C;
  --primary-dark: #B23D31;
  --secondary-color: #f97316;
}

html {
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  color: #111827;
  background: #ffffff;
}

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

.tb-main {
  display: block;
  padding: calc(4rem + 2rem) 1rem 4rem;
}

@media (min-width: 640px) {
  .tb-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid #e5e7eb;
  transition: box-shadow 0.2s;
}

.navigation.is-scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navigation .nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navigation .nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.navigation .logo a {
  display: block;
  line-height: 0;
}

.navigation .logo img {
  height: 2rem;
  width: auto;
}

.navigation .nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navigation .nav-links a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

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

.navigation .nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.navigation .btn {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.navigation .btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navigation .btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.navigation .mobile-menu-button {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #374151;
  line-height: 0;
}

.navigation .mobile-menu {
  display: none;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
}

.navigation .mobile-menu.active {
  display: block;
}

.navigation .mobile-menu a {
  display: block;
  width: 100%;
  padding: 0.75rem;
  text-align: left;
  color: #374151;
  text-decoration: none;
  font-size: 1rem;
}

.navigation .mobile-menu a:hover {
  color: var(--primary-color);
}

@media (min-width: 768px) {
  .navigation .nav-links,
  .navigation .nav-actions {
    display: flex;
  }

  .navigation .mobile-menu-button,
  .navigation .mobile-menu,
  .navigation .mobile-menu.active {
    display: none;
  }
}

.footer {
  background: #111827;
  color: #9ca3af;
  padding: 4rem 1rem 2rem;
}

.footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .footer .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer .container {
    padding: 0 2rem;
  }
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
  }
}

.footer-logo img {
  height: 2rem;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  max-width: 24rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  background: #1f2937;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

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

.footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
  color: #9ca3af;
}

.footer-social a:hover svg {
  color: #ffffff;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary-color);
}

.footer-contact-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.footer-contact a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.tb-sprite {
  display: none;
}
