/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
  --primary: #0d5c53;
  --primary-light: #073b3f;
  --primary-dark: #1a7f85;
  --accent: #f4g861;
  --accent-dark: #e76f51;
  --bg: #fafbfc;
  --surface: #ffffff;
  --surface-alt: #f0f4f5;
  --text: #1a202c;
  --text-muted: #4a5568;
  --border: #e2e8f0;
  --border-strong: #cbd5e0;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0.05, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.25s;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
a:hover, a:focus { color: var(--accent-dark); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.pill {
  display: inline-block;
  background: rgba(13, 92, 99, 0.1);
  color: var(--primary);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--duration) var(--ease);
  text-align: center;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(244, 162, 97, 0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 162, 97, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-full { width: 100%; }
.btn-arrow {
  transition: transform var(--duration) var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--duration) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
}
.brand:hover { color: var(--text); }

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 1rem; color: var(--text); font-weight: 700; }
.brand-sub { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

.main-nav {
  display: flex;
  gap: 1.8rem;
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--primary); }

.header-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
}
.header-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
  border-radius: 2px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  background:
    linear-gradient(135deg, rgba(13, 92, 99, 0.04) 0%, rgba(244, 162, 97, 0.06) 100%),
    var(--surface);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 600px 400px at 85% 20%, rgba(13, 92, 99, 0.08), transparent),
    radial-gradient(ellipse 500px 300px at 10% 80%, rgba(244, 162, 97, 0.08), transparent);
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0.5rem 0 1.25rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.stat-num {
  font-size: 1.1rem;
  min-width: 1.5rem;
}
.stat a { color: var(--primary); font-weight: 600; }
.stat a:hover { color: var(--accent-dark); }

/* ============================================
   Article
   ============================================ */
.article {
  max-width: 780px;
  padding: 4.5rem 1.25rem 3.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.meta-tag {
  background: rgba(13, 92, 99, 0.1);
  color: var(--primary);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.meta-sep { color: var(--border-strong); }

.article h2 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--surface-alt);
  position: relative;
}
.article h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 60px; height: 2px;
  background: var(--accent);
}

.article h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  color: var(--primary-dark);
  font-weight: 700;
}

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

.article ul {
  margin: 1rem 0 1.5rem 1.25rem;
}
.article ul li {
  margin-bottom: 0.55rem;
  color: var(--text);
  padding-left: 0.25rem;
  position: relative;
  list-style: none;
}
.article ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.75rem;
  margin-left: -1rem;
  vertical-align: middle;
}

.article strong { color: var(--primary-dark); }

.article a {
  color: var(--primary);
  font-weight: 600;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size var(--duration) var(--ease), color var(--duration) var(--ease);
}
.article a:hover {
  color: var(--accent-dark);
  background-size: 100% 1px;
}

.article-cta {
  margin-top: 3.5rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.article-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.article-cta h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.article-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}
.article-cta .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.article-cta .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============================================
   Contact
   ============================================ */
.contact {
  padding: 5rem 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.02rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
}
.contact-list li:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(13, 92, 99, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-text strong {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.contact-text a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.contact-text a:hover { color: var(--accent-dark); }

.contact-form {
  background: var(--surface);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}
.form-lead {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.form-row {
  margin-bottom: 1.1rem;
}
.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--surface);
  transition: all var(--duration) var(--ease);
  color: var(--text);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 92, 99, 0.12);
}
.form-row textarea { resize: vertical; min-height: 100px; }

.contact-form .btn-full {
  margin-top: 0.5rem;
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 1.2em;
  text-align: center;
}
.form-status.success { color: #16a34a; }
.form-status.error { color: #dc2626; }

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 5rem 0;
  background: var(--bg);
}

.faq-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.faq-intro {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
  overflow: hidden;
}
.faq-item:hover {
  border-color: var(--border-strong);
}
.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-size: 1rem;
  transition: color var(--duration) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
  line-height: 1;
}
.faq-item[open] summary { color: var(--primary-dark); }
.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #0f2d33;
  color: #c8d6da;
  padding: 3.5rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-brand .brand-name { color: #fff; font-size: 1.05rem; font-weight: 700; }
.footer-brand .brand-sub { color: #8fa3a8; }

.footer-desc {
  font-size: 0.93rem;
  line-height: 1.65;
  color: #a3b6bb;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-footer ul {
  list-style: none;
}
.site-footer ul li {
  margin-bottom: 0.55rem;
}
.site-footer a {
  color: #a3b6bb;
  font-size: 0.92rem;
  transition: color var(--duration) var(--ease);
}
.site-footer a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: #7a8d92;
}

/* ============================================
   Scroll to top
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--duration) var(--ease);
  z-index: 500;
  text-decoration: none;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-4px);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav, .header-cta { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
    gap: 0;
  }
  .main-nav.open a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .main-nav.open a:last-child { border-bottom: none; }

  .hero { padding: 3rem 0 2.5rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-stats { flex-direction: column; gap: 0.75rem; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form { padding: 1.5rem; }
  .article { padding: 3rem 1.25rem 2.5rem; }
  .article-cta { padding: 2rem 1.5rem; }
  .faq { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .btn { padding: 0.8rem 1.3rem; font-size: 0.93rem; }
  .hero-title { font-size: clamp(1.75rem, 7vw, 2.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; }
}