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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f6f7fb;
}

/* Layout helpers */
.container {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 3rem 0;
}

.section-alt {
  padding: 3rem 0;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.section-intro {
  text-align: center;
  max-width: 650px;
  margin: 0.5rem auto 2.5rem;
}

.two-column {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 799px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

/* Header */
.site-header {
  background-color: #111827;
  color: #f9fafb;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #e5e7eb;
  border-radius: 8px;
}

.logo-text h1 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.logo-text p {
  font-size: 0.8rem;
  opacity: 0.8;
}

.main-nav a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.9rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: #3b82f6;
}

/* Hero */
.hero {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.35));
}

.hero-content {
  position: relative;
  color: #f9fafb;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-content p {
  max-width: 560px;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary {
  background-color: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  background-color: #ffffff;
  color: #111827;
}

.btn-secondary:hover {
  background-color: #e5e7eb;
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.card h4,
.card h3 {
  margin-bottom: 0.75rem;
}

/* Brand logo placeholders */
.brand-logos {
  margin-top: 1.5rem;
}

.brand-logos {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.brand-logo {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  opacity: 0.9;
}


/* CTA Section */
.cta-section {
  background-color: #111827;
  color: #f9fafb;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 700px) {
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Page header */
.page-header {
  padding: 2.5rem 0 1rem;
}

.page-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.page-header p {
  color: #4b5563;
}

.page-banner {
  width: 100%;
  height: 150px;
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.5rem;
}

/* Forms */
.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.45rem;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

/* Legal pages */
.legal h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal p,
.legal li {
  font-size: 0.95rem;
  color: #374151;
}

.legal ul {
  margin-left: 1.2rem;
  margin-top: 0.25rem;
}

.note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  background-color: #020617;
  color: #e5e7eb;
  padding-top: 1.8rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

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

.footer-bottom {
  border-top: 1px solid #1f2937;
  text-align: center;
  padding: 0.8rem 0;
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    margin-top: 0.5rem;
  }
}
