/* ====== GLOBAL ====== */
body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #273142;
  margin: 0;
  padding: 0;
}

/* ====== HEADER ====== */
.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid #e7e7e7;
}
.brand img {
  height: 44px;
  margin-right: 10px;
  vertical-align: middle;
}
.header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.header nav ul li a {
  text-decoration: none;
  color: #273142;
  font-weight: bold;
  font-size: 1rem;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border 0.2s;
}
.header nav ul li a.active,
.header nav ul li a:hover {
  border-bottom: 2px solid #007B8A;
  color: #007B8A;
}

/* ====== HERO SECTION ====== */
.hero {
  padding: 2.3rem 0 1.5rem 0;
  text-align: center;
}
.hero .logo-large {
  width: 160px;
  height: auto;
  margin-bottom: 10px;
}
.hero h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin: 0;
  color: #273142;
}
.hero .subtitle,
.hero .hero__tagline {
  color: #3a4956;
  font-size: 1.2rem;
}

/* ====== SERVICES ====== */
.services-section {
  text-align: center;
  padding: 2rem 0;
}
.services-section h2 {
  margin-bottom: 1.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}
.service-card {
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(44, 78, 120, 0.03);
  padding: 1.3rem 1.1rem 1.5rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 140px;
}
.service-card h3 {
  margin-top: 0;
  color: #007B8A;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.service-card .btn-secondary,
.service-card .btn-primary {
  margin-top: 10px;
}

/* ====== BUTTONS ====== */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.5em 1.3em;
  font-size: 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-primary {
  background: #007B8A;
  color: #fff;
  border: 1px solid #007B8A;
}
.btn-primary:hover {
  background: #00373d;
  color: #fff;
}
.btn-secondary {
  background: #f2f3f8;
  color: #273142;
  border: 1px solid #d0dade;
}
.btn-secondary:hover {
  background: #e5eef0;
}

/* ====== CONTACT ====== */
.contact-section {
  max-width: 500px;
  margin: 2rem auto 3rem auto;
  background: #fff;
  border: 1px solid #e5e5eb;
  border-radius: 12px;
  padding: 2rem 2rem 1rem 2rem;
  box-shadow: 0 1px 8px #dbe0e3cc;
}
.contact-section h1, .contact-section h2 {
  text-align: center;
}
.contact-section form label {
  display: block;
  margin-bottom: 1em;
}
.contact-section input, .contact-section textarea {
  font-size: 1rem;
  padding: 0.65em;
  width: 100%;
  border: 1px solid #c3ccd7;
  border-radius: 5px;
  margin-top: 2px;
  background: #fafbfd;
  transition: border 0.15s;
}
.contact-section input:focus, .contact-section textarea:focus {
  border-color: #007B8A;
}

/* ====== DOMAIN & POLICY STRUCTURE ====== */
.domain-section,
.policy-section {
  max-width: 820px;
  margin: 2rem auto 2.5rem auto;
  background: #fff;
  border-radius: 7px;
  padding: 2.3rem 2.3rem 1.3rem 2.3rem;
  box-shadow: 0 2px 16px #e3ebf3bb;
}
.domain-section table {
  border-collapse: collapse;
  margin: 1em 0;
  width: 100%;
}
.domain-section th, .domain-section td {
  border: 1px solid #ddeaf2;
  padding: 0.6em 0.9em;
  text-align: left;
}
.domain-section th {
  background: #e9f6fb;
  color: #273142;
  font-weight: bold;
}

/* ====== FOOTER ====== */
footer {
  background: #153040;
  color: #fff;
  padding: 2rem 0 0.5rem 0;
  margin-top: 2rem;
  font-size: 1rem;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 1.2rem auto;
}
.footer-logo {
  height: 32px;
  margin-bottom: 0.3em;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer ul li {
  color: #dff6ff;
  margin-bottom: 2px;
}
footer a, footer a:visited {
  color: #a0efff;
  text-decoration: underline;
}
footer a:hover {
  color: #fff;
}
.footer-bottom {
  text-align: center;
  color: #a4b7c8;
  padding: 1em 0 0.2em 0;
  border-top: 1px solid #1c4455;
  font-size: 0.96em;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 840px) {
  .footer-main { flex-direction: column; align-items: center; text-align: center; }
  .header { flex-direction: column; gap: 8px; }
  .domain-section, .policy-section { padding: 1.2rem 0.6rem 1.2rem 0.6rem; }
  .services-grid { grid-template-columns: 1fr; }
}
