/* Theme Variables */
:root {
  --color-primary: #0C2340; /* Deep Navy Blue */
  --color-accent: #00BFA5;  /* Teal */
  --color-bg: #FAFAFA;      /* Light Gray / White */
  --color-text: #222222;    /* Text */
  --color-white: #ffffff;
  --radius-pill: 30px;
  --radius-card: 16px;
  --shadow-sm: 0 4px 12px rgba(12, 35, 64, 0.08);
  --shadow-md: 0 12px 30px rgba(12, 35, 64, 0.12);
  --container: 1200px;
}

/* Base Reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
a:hover { color: var(--color-accent); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 8px;
  z-index: 10000;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(12, 35, 64, 0.08);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--color-primary); font-weight: 700; letter-spacing: 0.2px; }
.brand-text { font-size: 18px; }

.site-nav .nav-links { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.nav-link { font-weight: 600; color: var(--color-text); padding: 8px 10px; border-radius: 8px; }
.nav-link[aria-current="page"], .nav-link.active { color: var(--color-primary); background: rgba(12, 35, 40, 0.06); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(12, 35, 64, 0.12); background: var(--color-white); border-radius: 10px; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.burger .burger-bar { width: 20px; height: 2px; background: var(--color-primary); display: block; transition: transform 0.3s ease, opacity 0.3s ease; }

/* Hero */
.hero { padding: 96px 0 72px; background: radial-gradient(1200px 600px at 80% -10%, rgba(0, 191, 165, 0.18), transparent 50%), linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%); }
.hero-inner { text-align: center; }
.hero-title { font-size: clamp(32px, 4vw, 56px); line-height: 1.1; margin: 0 0 16px; color: var(--color-primary); font-weight: 700; letter-spacing: -0.5px; text-transform: uppercase; }
.hero-subtitle { max-width: 800px; margin: 0 auto 28px; font-size: clamp(16px, 1.6vw, 20px); color: #3d4b5c; }

.cta-group { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-pill); font-weight: 600; border: 2px solid transparent; transition: all 0.25s ease; }
.btn.primary { background: var(--color-accent); color: #00332d; }
.btn.primary:hover { filter: brightness(0.95); transform: translateY(-1px); }
.btn.secondary { background: var(--color-primary); color: var(--color-white); }
.btn.secondary:hover { opacity: 0.95; transform: translateY(-1px); }
.btn.outline { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn.outline:hover { background: rgba(12, 35, 64, 0.06); }
.btn.link { padding: 10px 16px; background: rgba(12, 35, 64, 0.04); color: var(--color-primary); }
.btn.link:hover { background: rgba(12, 35, 64, 0.08); }

/* Sections */
.section { padding: 72px 0; }
.section-title { font-size: clamp(24px, 2.6vw, 36px); margin: 0 0 16px; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.4px; }
.section-lead { max-width: 760px; margin: 0 auto 24px; color: #3d4b5c; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.illustration { height: 280px; border-radius: 20px; background: linear-gradient(135deg, rgba(0, 191, 165, 0.25), rgba(12, 35, 64, 0.15)), radial-gradient(400px 200px at 20% 20%, rgba(0, 191, 165, 0.25), transparent 60%), var(--color-white); box-shadow: var(--shadow-md); }

.grid { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--color-white); border-radius: var(--radius-card); padding: 22px; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 0; color: var(--color-primary); }

/* Footer */
.site-footer { background: var(--color-primary); color: var(--color-white); padding: 28px 0; margin-top: 24px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr auto auto; gap: 20px; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; opacity: 0.95; }
.footer-nav { display: inline-flex; gap: 16px; }
.footer-nav a { color: var(--color-white); opacity: 0.9; }
.footer-nav a:hover { opacity: 1; }
.socials { display: inline-flex; gap: 14px; }
.social-link { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 10px; color: var(--color-white); transition: transform 0.2s ease, background 0.2s ease; }
.social-link:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

.noscript { margin: 12px; padding: 12px 14px; background: #fff3cd; color: #664d03; border: 1px solid #ffe69c; border-radius: 8px; }

/* Forms */
form { width: 100%; max-width: 720px; margin: 0 auto; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; margin: 0 0 6px; color: var(--color-primary); }
input[type="text"], input[type="email"], textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(12, 35, 64, 0.18); background: var(--color-white);
  font: inherit; color: var(--color-text); outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(0, 191, 165, 0.15); }
.error-text { display: none; color: #b00020; font-size: 13px; margin-top: 6px; }
.field.invalid .error-text { display: block; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; text-align: center; }
}

@media (max-width: 880px) {
  .burger { display: inline-flex; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; background: var(--color-white); border-bottom: 1px solid rgba(12,35,64,0.08); transform: translateY(-110%); transition: transform 0.3s ease; box-shadow: var(--shadow-sm); }
  body.nav-open .site-nav { transform: translateY(0); }
  .site-nav .nav-links { padding: 14px 24px; flex-direction: column; gap: 8px; }
  .nav-link { padding: 12px 10px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

