/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
}
a { color: #e74c3c; text-decoration: none; transition: color .2s; }
a:hover { color: #c0392b; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-weight: 700; color: #222; }

/* === Container === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* === Header === */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.site-logo img { height: 50px; width: auto; }

/* === Navigation === */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > a,
.nav-dropdown > .nav-trigger {
  display: block;
  padding: 12px 18px;
  color: #333;
  font-weight: 600;
  font-size: 15px;
  transition: color .2s, background .2s;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.main-nav > a:hover,
.nav-dropdown:hover > .nav-trigger { color: #e74c3c; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  border-radius: 4px;
  min-width: 200px;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}
.nav-dropdown-menu a:hover { background: #f5f5f5; color: #e74c3c; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #333;
  margin: 4px 0;
  border-radius: 2px;
  transition: .3s;
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.hero h1 { font-size: 2.8rem; margin-bottom: 12px; }
.hero .subtitle { font-size: 1.3rem; opacity: .9; margin-bottom: 8px; }
.hero .tagline { font-size: 1.1rem; opacity: .7; }

/* === Sections === */
.section { padding: 60px 0; }
.section-gray { background: #f8f9fa; }
.section h2, .section h3 { text-align: center; margin-bottom: 40px; }
.section-intro { text-align: center; max-width: 800px; margin: 0 auto 40px; font-size: 1.05rem; color: #555; }

/* === Service Cards === */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: #fff;
  border-radius: 8px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  fill: #e74c3c;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #222; }
.card p { font-size: .95rem; color: #666; line-height: 1.6; }
.card a { text-decoration: none; color: inherit; display: block; }

/* === Partners === */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.partner-item {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: box-shadow .2s;
}
.partner-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.partner-item img { max-height: 60px; margin: 0 auto; object-fit: contain; }

/* === Page Section (Subpages) === */
.page-section { padding: 60px 0; }
.page-section h1 { font-size: 2rem; margin-bottom: 24px; }
.page-section h2 { font-size: 1.6rem; margin-bottom: 20px; }

/* === Service Detail === */
.service-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 28px 24px;
  border-left: 4px solid #e74c3c;
}
.service-item h3 { font-size: 1.1rem; margin-bottom: 8px; color: #e74c3c; }
.service-item p { color: #555; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pricing-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border-top: 4px solid #e74c3c;
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pricing-card .price { font-size: 2rem; font-weight: 700; color: #e74c3c; margin-bottom: 4px; }
.pricing-card .period { font-size: .9rem; color: #999; margin-bottom: 20px; }
.pricing-card ul { list-style: none; margin-bottom: 24px; }
.pricing-card li { padding: 6px 0; color: #555; font-size: .95rem; border-bottom: 1px solid #f0f0f0; }
.pricing-card li:last-child { border-bottom: none; }
.btn-cta {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  padding: 10px 28px;
  border-radius: 4px;
  font-weight: 600;
  transition: background .2s;
}
.btn-cta:hover { background: #c0392b; color: #fff; }

/* === Legal === */
.legal-content { max-width: 800px; }
.legal-content h2 { text-align: left; font-size: 1.3rem; margin: 28px 0 12px; }
.legal-content h3 { text-align: left; font-size: 1.1rem; margin: 20px 0 10px; }
.legal-content p { margin-bottom: 12px; color: #555; }
.legal-content ul { margin: 8px 0 16px 24px; color: #555; }
.legal-content li { margin-bottom: 4px; }
.legal-date { margin-top: 24px; font-size: .9rem; color: #999; }

/* === Footer === */
.site-footer {
  background: #2c3e50;
  color: #ccc;
  padding: 30px 0;
  text-align: center;
  font-size: .9rem;
}
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.footer-nav { margin-bottom: 12px; }
.footer-nav a {
  color: #ccc;
  margin: 0 12px;
  transition: color .2s;
}
.footer-nav a:hover { color: #fff; }
.footer-social { margin-bottom: 12px; }
.footer-social a {
  display: inline-block;
  margin: 0 8px;
  color: #ccc;
  transition: color .2s;
}
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 24px; height: 24px; fill: currentColor; vertical-align: middle; }
.footer-copy { color: #888; font-size: .85rem; }

/* === Responsive === */
@media (max-width: 1024px) {
  .cards, .partners, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hamburger { display: block; }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
  }
  .main-nav.open { display: flex; }
  .main-nav > a,
  .nav-dropdown > .nav-trigger { padding: 14px 20px; width: 100%; text-align: left; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
    background: #f8f9fa;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding-left: 36px; }
  .hero { padding: 60px 20px; }
  .hero h1 { font-size: 2rem; }
  .cards, .partners, .pricing-grid { grid-template-columns: 1fr; }
  .service-items { grid-template-columns: 1fr; }
}
