/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: #334155;
  background: #fff;
}

img { max-width: 100%; height: auto; }
a { color: #1d4ed8; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Header ─── */
.site-header {
  background: #1e293b;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 0.3rem 0.8rem;
  line-height: 1.2;
}

.logo:hover {
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

/* ─── Navigation ─── */
.nav-list {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  color: #cbd5e1;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
}

.nav-cta {
  background: #2563eb;
  color: #fff;
}

.nav-cta:hover {
  background: #1d4ed8;
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
  color: #fff;
  text-align: center;
  padding: 6rem 1.5rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-logo {
  display: inline-block;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  border: 4px solid #fff;
  border-radius: 16px;
  padding: 0.6rem 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  border: none;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

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

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

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* ─── Sections ─── */
.section {
  padding: 4rem 0;
}

.section-dark {
  background: #1e293b;
  color: #e2e8f0;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark a:not(.btn) {
  color: #93c5fd;
}

.section-light {
  background: #f8fafc;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 2rem;
}

.text-muted {
  color: #94a3b8;
}

/* ─── Card Grid ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
  color: inherit;
  text-decoration: none;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  text-decoration: none;
}

.section-dark .card {
  background: #334155;
  border-color: #475569;
}

.section-dark .card:hover {
  background: #3b4f6b;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2563eb;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: inherit;
}

.card p {
  font-size: 0.9rem;
  color: #64748b;
  flex: 1;
}

.card-link {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #2563eb;
}

/* ─── Page Content ─── */
.page-content {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.page-content p,
.page-content ul,
.page-content ol,
.page-content dl {
  margin-bottom: 1.2rem;
}

.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.4rem;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #334155;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #475569;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content dt {
  font-weight: 600;
  color: #1e293b;
  margin-top: 1rem;
}

.page-content dd {
  padding-left: 1rem;
  color: #475569;
  margin-bottom: 0.5rem;
}

/* ─── Back link ─── */
.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #64748b;
}

.back-link:hover { color: #1d4ed8; }

/* ─── Updates List ─── */
.updates-list {
  margin-top: 2rem;
}

.update-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.update-item:last-child {
  border-bottom: none;
}

.update-date {
  display: inline-block;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.update-item h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.update-item h2 a {
  color: #1e293b;
}

.update-item h2 a:hover {
  color: #1d4ed8;
}

/* ─── Contact Form ─── */
.contact-form {
  margin-top: 2rem;
  max-width: 600px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #334155;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

/* ─── Contact CTA ─── */
.contact-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ─── About Summary ─── */
.about-summary {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-summary p {
  margin-bottom: 1.5rem;
}

/* ─── Footer ─── */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #f1f5f9;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul a {
  color: #94a3b8;
}

.footer-col ul a:hover {
  color: #e2e8f0;
}

.footer-col address {
  font-style: normal;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-bottom p {
  margin-bottom: 0.3rem;
}

/* ─── Testimonials ─── */
.testimonials-placeholder {
  text-align: center;
  padding: 3rem;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero { padding: 4rem 1.5rem; min-height: auto; }
  .hero-logo { font-size: 2.5rem; }
  .hero-tagline { font-size: 1rem; }
  .section { padding: 3rem 0; }
  .page-title { font-size: 1.7rem; }
  .nav-list {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background: #1e293b;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  }
  .nav-list.open { display: flex; }
  .nav-toggle { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
