:root {
  --bg: #faf9f5;
  --bg-soft: #f2f0e8;
  --card: #ffffff;
  --blue: #7fb3d5;
  --blue-deep: #5b93b8;
  --mint: #a8e6cf;
  --peach: #ffd3b6;
  --coral: #ff9a8b;
  --text: #34495e;
  --text-light: #6b7a8f;
  --border: #ebe8de;
  --radius: 18px;
  --shadow: 0 4px 20px rgba(52, 73, 94, 0.06);
  --shadow-hover: 0 8px 28px rgba(52, 73, 94, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 0; }
h3 { font-size: 1.2rem; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header / nav ---- */
header.site {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}
.brand .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  display: inline-block;
}
nav.main-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: var(--text);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--bg-soft);
  color: var(--blue-deep);
}
#navToggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text);
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #eaf4fb 0%, #eefaf3 50%, #fff3ea 100%);
  padding: 72px 0 64px;
  text-align: center;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 16px auto 32px;
}
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: white;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}
.btn-secondary {
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--blue); text-decoration: none; }

/* ---- Page content ---- */
main { padding: 56px 0 80px; }
.page-title {
  text-align: center;
  margin-bottom: 40px;
}
.page-title p { color: var(--text-light); font-size: 1.05rem; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.grid .card { margin-bottom: 0; }
.grid .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.icon.blue { background: #e3f1fa; color: var(--blue-deep); }
.icon.mint { background: #e2f8ee; color: #4caf82; }
.icon.peach { background: #fff0e6; color: #e5895c; }

ul.service-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
ul.service-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
ul.service-list li:last-child { border-bottom: none; }
ul.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-deep);
  font-weight: 800;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}
.badge {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-deep);
}

table.contact-table { width: 100%; border-collapse: collapse; }
table.contact-table td { padding: 10px 0; vertical-align: top; }
table.contact-table td:first-child {
  font-weight: 700;
  color: var(--text-light);
  width: 160px;
}

.about-logo {
  display: block;
  max-width: 260px;
  height: auto;
  margin: 0 auto 32px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 28px 0 8px;
}
.cert-grid a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cert-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.cert-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  margin-top: 24px;
}

/* ---- Footer ---- */
footer.site {
  background: var(--bg-soft);
  padding: 40px 0;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
footer.site a { color: var(--blue-deep); }

@media (max-width: 720px) {
  #navToggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    flex-direction: column;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
  }
  nav.main-nav.open { display: flex; }
  .nav-wrap { position: relative; }
}
