@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&family=Source+Sans+3:wght@400;600;700&display=swap');
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-dark: #0c1222;
  --bg-cream: #faf8f5;
  --green: #00b254;
  --green-dim: #089445;
  --green-border: rgba(0, 178, 84, 0.25);
  --accent: #22d3ee;
  --accent-dim: #0e7490;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-dark: #1e293b;
  --text-dark-secondary: #475569;
  --border: rgba(148, 163, 184, 0.12);
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text-dark); background: var(--bg-cream); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-dim); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(12, 18, 34, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem 0 0.75rem; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { color: var(--green); font-family: var(--font-heading); font-weight: 700; font-size: 1.64rem; letter-spacing: 1px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; position: relative; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 1px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-secondary); margin: 5px 0; transition: 0.2s; }

/* HERO (index) */
.hero {
  background: var(--bg-dark) url("hero-bg.png") no-repeat center bottom / cover;
  padding: 9rem 2rem 12rem;
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-dim), transparent);
}
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4.5vw, 3.15rem); font-weight: 700; color: var(--text-primary); line-height: 1.2; margin-bottom: 1.5rem; max-width: 540px; }
.hero p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.8; max-width: 500px; margin-bottom: 2rem; }
.hero-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--green); color: #fff; font-weight: 700; font-size: 0.9rem; padding: 0.8rem 1.8rem; border-radius: 4px; transition: background 0.2s, transform 0.2s; }
.hero-cta:hover { background: #00c95e; color: #fff; transform: translateY(-1px); }

/* PAGE HERO (subpages) */
.page-hero {
  background: var(--bg-dark);
  padding: 8rem 2rem 3.5rem;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-dim), transparent);
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
.page-hero p { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; }

/* SECTIONS */
.section { padding: 5rem 2rem; }
.section--light { background: var(--bg-cream); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { display: inline-block; color: var(--accent-dim); font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.3; }
.section-desc { color: var(--text-dark-secondary); font-size: 1rem; max-width: 640px; margin-bottom: 3rem; line-height: 1.8; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 2rem; transition: border-color 0.2s, box-shadow 0.2s; }
.card:hover { border-color: var(--accent); box-shadow: 0 4px 24px rgba(34, 211, 238, 0.08); }
.card-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(34, 211, 238, 0.1); border-radius: 8px; margin-bottom: 1.25rem; color: var(--accent); font-size: 1.2rem; }
.card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.card p { color: var(--text-dark-secondary); font-size: 0.92rem; line-height: 1.7; }

/* SERVICE BLOCKS */
.service-block { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid #e2e8f0; }
.service-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-block h2 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-dark); display: flex; align-items: center; gap: 0.75rem; }
.service-block h2 .icon { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; }
.service-block h3 { font-family: var(--font-heading); font-size: 1.1rem; margin: 1.5rem 0 0.75rem; color: var(--accent-dim); }
.service-block ul { list-style: none; columns: 1; }
.service-block li { padding: 0.4rem 0; padding-left: 1.25rem; position: relative; font-size: 0.92rem; color: var(--text-dark-secondary); break-inside: avoid; }
.service-block li::before { content: '›'; position: absolute; left: 0; color: var(--accent-dim); font-weight: 700; }
.service-block p { font-size: 0.95rem; color: var(--text-dark-secondary); line-height: 1.8; max-width: 720px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-block h2 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-item { margin-bottom: 1.25rem; }
.contact-item .label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark-secondary); margin-bottom: 0.25rem; }
.contact-item .value { font-size: 0.95rem; color: var(--text-dark); }
.contact-item .value a { color: var(--accent-dim); font-weight: 600; }
.contact-highlight { background: var(--bg-dark); color: var(--text-primary); border-radius: 8px; padding: 2.5rem; }
.contact-highlight h2 { color: var(--accent); }
.contact-highlight .contact-item .label { color: var(--text-secondary); }
.contact-highlight .contact-item .value { color: var(--text-primary); }
.contact-highlight .contact-item .value a { color: var(--accent); }

/* CTA BAR */
.cta-bar { background: var(--bg-dark); padding: 4rem 2rem; text-align: center; position: relative; }
.cta-bar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--green-dim), transparent); }
.cta-bar h2 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-primary); margin-bottom: 0.75rem; }
.cta-bar p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 0.95rem; }
.cta-bar .hero-cta { display: inline-flex; }

/* FOOTER */
.footer { background: var(--bg-dark); border-top: 1px solid var(--border); padding: 2.5rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { color: var(--text-secondary); font-size: 0.82rem; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { color: var(--text-secondary); font-size: 0.82rem; }
.footer-links a:hover { color: var(--accent); }

/* ABOUT */
.about-text { font-size: 1.05rem; line-height: 1.9; color: var(--text-dark-secondary); max-width: 720px; }
.about-text p { margin-bottom: 1.5rem; }
.about-text p:last-child { margin-bottom: 0; }

/* RESPONSIVE */
@media (min-width: 640px) {
  .service-block ul { columns: 2; column-gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(12, 18, 34, 0.97); padding: 1.5rem 2rem; gap: 1rem; border-bottom: 1px solid var(--border); }
  .hero { padding: 8rem 1.5rem 8rem; min-height: auto; }
  .hero h1 { max-width: 100%; }
  .hero p { max-width: 100%; }
  .page-hero { padding: 7rem 1.5rem 2.5rem; }
  .section { padding: 3.5rem 1.5rem; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
