/* J2 U Co — Clean, modern, light, polished */
:root {
  --bg: #f8fafc;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --accent: #f97316;
  --accent-soft: #ffedd5;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo:hover { color: var(--text); }

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
}

.nav a:hover,
.nav a.active {
  color: var(--primary-dark);
  background: var(--primary-light);
}

.nav-cta {
  margin-left: 0.5rem !important;
  background: var(--primary) !important;
  color: #fff !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: var(--primary-light);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}

.btn-accent:hover {
  background: #ea580c;
  color: #fff;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(204, 251, 241, 0.7), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 237, 213, 0.5), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 1.1rem;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-meta strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  object-fit: cover;
  aspect-ratio: 16/10;
}

.hero-float {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  max-width: 200px;
}

.hero-float strong {
  display: block;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f0fdfa;
}

.service-card-body {
  padding: 1.5rem 1.6rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card .btn {
  align-self: flex-start;
}

/* Value / who we serve */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.audience-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.audience-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  opacity: 0.92;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  padding: 0 1.25rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  border-top: 1px solid transparent;
}

/* About page */
.page-hero {
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(204, 251, 241, 0.55), transparent),
    var(--bg);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.05rem;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.about-copy h2 {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-copy p:last-child { margin-bottom: 0; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.pillar-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-info h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

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

.contact-row {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.contact-row:first-of-type { border-top: none; padding-top: 0; }

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-row strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.contact-row span,
.contact-row a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.contact-form-wrap .form-intro {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
  background: #fff;
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #99f6e4;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.form-success.show { display: block; }

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

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

.footer-brand .logo { margin-bottom: 0.85rem; }

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col span {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 0.3rem 0;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* Accessibility + form states */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { left: 0.5rem; color: #fff; }

.logo img { height: 40px; width: auto; }

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.form-alert a { color: #991b1b; text-decoration: underline; }

.field-error {
  font-size: 0.8rem;
  color: #b91c1c;
  font-weight: 500;
}

.form-group [aria-invalid="true"] {
  border-color: #f87171;
  background: #fff;
}

.btn:disabled { opacity: 0.7; cursor: default; }

.pillar p a { font-weight: 500; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }

  .services-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 720px) {
  .menu-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }

  .nav a {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    justify-content: center;
  }

  .form-grid { grid-template-columns: 1fr; }

  .hero { padding: 2rem 0 3rem; }

  .hero-float { left: 0.5rem; bottom: -0.5rem; }
}
