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

:root {
  --primary: #0a5c7c;
  --primary-dark: #073f54;
  --accent: #f5a623;
  --text: #2b2b2b;
  --muted: #6a6a6a;
  --bg: #f7f9fb;
  --white: #ffffff;
  --border: #e4e8ec;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(10, 92, 124, 0.08);
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-list a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover { color: var(--primary); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
}

.btn-primary:hover {
  background: #e0910e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
  color: #1a1a1a;
}

/* ---------- Article ---------- */
.article-section {
  padding: 4rem 0;
}

.article {
  max-width: 820px;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article h2 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
  letter-spacing: -0.3px;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.article h2:first-child { margin-top: 0; }

.article p {
  margin-bottom: 1.2rem;
  color: var(--text);
  font-size: 1.05rem;
}

.article a {
  color: var(--primary);
  border-bottom: 1px dashed var(--primary);
  padding-bottom: 1px;
}

.article a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-intro {
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  transition: transform var(--transition), background var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.contact-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card a, .contact-card p {
  color: var(--white);
  font-weight: 500;
  word-break: break-word;
}

.contact-card a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: #061f2a;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.site-footer p { margin: 0.25rem 0; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  }

  .nav-list.active { display: flex; }

  .nav-list li { border-bottom: 1px solid var(--border); }
  .nav-list li:last-child { border-bottom: none; }
  .nav-list a {
    display: block;
    padding: 0.85rem 1.5rem;
  }

  .hero { padding: 3.5rem 0 3rem; }
  .article { padding: 2rem 1.5rem; }
  .article h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .article h2 { font-size: 1.35rem; }
  .hero h1 { font-size: 1.6rem; }
  .btn { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
}

/* ---------- Focus States for Accessibility ---------- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}