/* Family Device Management LLC */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}


/* ---- Header ---- */

.site-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 0 28px;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.header-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}

.wordmark {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.header-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-nav a {
  font-size: 0.84rem;
  color: #4b5563;
  text-decoration: none;
}

.header-nav a:hover {
  color: #1a1a1a;
}

.header-nav a.active {
  color: #1a1a1a;
  font-weight: 500;
}

.nav-btn {
  background: #2563eb;
  color: #ffffff !important;
  padding: 7px 18px;
  border-radius: 5px;
  font-weight: 500;
}

.nav-btn:hover {
  background: #1e55d0;
  color: #ffffff !important;
}

.nav-btn.active {
  background: #1e55d0;
  color: #ffffff !important;
}


/* ---- Hero (Home) ---- */

.hero {
  padding: 88px 28px 72px;
  border-bottom: 1px solid #e5e7eb;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  line-height: 1.25;
  max-width: 560px;
}

.hero-sub {
  font-size: 1.02rem;
  color: #4b5563;
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 11px 28px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
}

.btn:hover {
  background: #1e55d0;
}


/* ---- Page Header (Inner Pages) ---- */

.page-header {
  padding: 64px 28px 48px;
  border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-intro {
  font-size: 1rem;
  color: #4b5563;
  max-width: 520px;
  line-height: 1.65;
}


/* ---- Services (Home) ---- */

.services {
  padding: 80px 28px 88px;
}

.services h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-intro {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 44px;
  max-width: 560px;
  line-height: 1.65;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px 26px 32px;
  transition: border-color 0.15s;
}

a.card:hover {
  border-color: #c7cdd5;
}

.card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.895rem;
  color: #374151;
  line-height: 1.7;
}


/* ---- Service Detail (Services Page) ---- */

.service-detail {
  padding: 64px 28px 56px;
}

.service-detail.alt {
  background: #f8f9fb;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}

.service-detail h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-detail p {
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 14px;
}

.service-detail p:last-child {
  margin-bottom: 0;
}

.service-detail ul {
  list-style: none;
  margin: 16px 0 20px;
  max-width: 640px;
}

.service-detail ul li {
  font-size: 0.91rem;
  color: #374151;
  padding: 5px 0 5px 20px;
  position: relative;
  line-height: 1.6;
}

.service-detail ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: #2563eb;
  border-radius: 50%;
}


/* ---- Process (Home) ---- */

.process {
  padding: 72px 28px 80px;
  background: #f8f9fb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.process h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563eb;
  background: #eef2ff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-top: 2px;
}

.step h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.step p {
  font-size: 0.895rem;
  color: #374151;
  line-height: 1.65;
  max-width: 520px;
}


/* ---- About Content (About Page) ---- */

.about-content {
  padding: 64px 28px 56px;
}

.about-content.alt {
  background: #f8f9fb;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}

.about-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.about-content p {
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 14px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 500px;
  margin-top: 8px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-value {
  font-size: 0.93rem;
  color: #1a1a1a;
}


/* ---- Contact Content (Contact Page) ---- */

.contact-content {
  padding: 64px 28px 56px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
}

.contact-main h2,
.contact-side h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.contact-email-lg a {
  color: #2563eb;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-email-lg a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 420px;
}

.contact-info-block {
  margin-bottom: 18px;
}

.contact-info-block .info-label {
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.contact-info-block p {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5;
}


/* ---- Contact FAQ ---- */

.contact-faq {
  padding: 56px 28px 72px;
  background: #f8f9fb;
  border-top: 1px solid #eef0f3;
}

.contact-faq h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 640px;
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.7;
}


/* ---- CTA Section ---- */

.cta-section {
  padding: 64px 28px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.cta-section p {
  font-size: 0.93rem;
  color: #4b5563;
  margin-bottom: 28px;
}


/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 36px 28px 28px;
}

.footer-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f0f1f3;
}

.footer-name {
  font-size: 0.87rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.footer-location {
  font-size: 0.82rem;
  color: #6b7280;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  font-size: 0.82rem;
  color: #6b7280;
  text-decoration: none;
}

.footer-right a:hover {
  color: #1a1a1a;
}

.footer-bottom {
  max-width: 880px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.76rem;
  color: #9ca3af;
}

.footer-bottom a {
  color: #9ca3af;
  text-decoration: none;
  margin-left: 12px;
}

.footer-bottom a:hover {
  color: #6b7280;
}


/* ---- Responsive ---- */

@media (max-width: 768px) {
  .hero {
    padding: 56px 28px 48px;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .hero h1 br {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .header-nav {
    gap: 16px;
  }

  .header-nav a {
    font-size: 0.8rem;
  }

  .nav-btn {
    padding: 6px 14px;
  }

  .wordmark {
    font-size: 0.82rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .page-header {
    padding: 48px 28px 36px;
  }
}

@media (max-width: 480px) {
  .header-nav {
    gap: 12px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
}
