:root {
  --accent: #14b8a6;
  font-family: 'Inter', sans-serif;
  color: #333;
}

body {
  margin: 0;
  background: #fff;
}

/* Smooth scrolling for anchor navigation */
html { scroll-behavior: smooth; }

.container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  z-index: 10;
}

.navbar-inner {
  height: 64px;
  gap: 1rem;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile nav defaults */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #111;
  cursor: pointer;
  border-radius: 10px;
  padding: 6px;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.mobile-menu {
  display: none;
}

/* Backdrop overlay for mobile menu */
.menu-overlay {
  display: none;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

/* Pin brand to far-left of the viewport */
.nav-left {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo {
  font-weight: 600;
  font-size: 1.25rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #111;
  line-height: 1;
  cursor: default; /* not a link */
}

/* Wordmark refinement: accent the leading 'o' */
.brand__o {
  color: var(--accent);
  font-weight: 800;
}

.brand__rest {
  color: #111;
  font-weight: 700;
}

/* Adds a small accent dot to the left of the brand */
.brand--dot {
  position: relative;
  padding-left: 14px; /* space for the dot */
}

.brand--dot::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: #111;
  font-weight: 600;
}

.lang-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #f3f4f6;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  cursor: pointer;
}

.lang-badge:hover {
  border-color: var(--accent);
}

.links a {
  margin-left: 1rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

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

.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: #f9f9f9;
}

.mission {
  max-width: 600px;
  margin: 1rem auto 0;
}

section {
  padding: 4rem 1rem;
}

.section {
  max-width: 900px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 1rem;
}

.section-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

/* Subtle separators between sections for better rhythm */
section + section {
  border-top: 1px solid #f1f5f9;
}

.section-subtitle {
  margin: 0.25rem 0 1.25rem;
  color: #666;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms cubic-bezier(.2,.7,.2,1), transform 500ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  border: 1px solid #e5e5e5;
  padding: 1.5rem;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.card:hover {
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.card-title {
  margin: 0;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ecfeff; /* light accent tint */
  color: var(--accent);
  border: 1px solid #cffafe;
}

/* Stronger accent tints per card */
.card--wellness .card-icon {
  background: #fee2e2; /* rose-100 */
  color: #e11d48;       /* rose-600 */
  border-color: #fecaca;/* rose-200 */
}

.card--time .card-icon {
  background: #e0e7ff; /* indigo-100 */
  color: #4f46e5;       /* indigo-600 */
  border-color: #c7d2fe;/* indigo-200 */
}

.card--finance .card-icon {
  background: #dcfce7; /* green-100 */
  color: #16a34a;       /* green-600 */
  border-color: #bbf7d0;/* green-200 */
}

@media (min-width: 700px) {
  .cards {
    flex-direction: row;
  }
  .card {
    flex: 1;
  }
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

button {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

button:hover {
  background: #0f766e;
}

button svg {
  width: 18px;
  height: 18px;
  display: block;
}

footer {
  text-align: center;
  background: #f9f9f9;
  padding: 2rem 1rem;
}

/* Site footer overrides and layout */
.site-footer {
  background: #f9fafb;
  border-top: 1px solid #eef2f7;
}

.site-footer .footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.footer-brand .footer-tagline {
  margin: 0.5rem 0 0;
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #4b5563;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-meta p {
  margin: 0;
  color: #6b7280;
}

.footer-small {
  font-size: 0.875rem;
  color: #9ca3af;
}

@media (max-width: 700px) {
  /* Offset anchor scroll so sticky header doesn't cover section titles */
  html { scroll-padding-top: calc(64px + env(safe-area-inset-top, 0px) + 16px); }
  section { scroll-margin-top: 112px; }
  .section-header h2, section h2 { scroll-margin-top: 112px; }
  /* Hide desktop nav links, show hamburger */
  .nav-center { display: none; }

  .menu-toggle {
    display: inline-flex;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #0f766e10; /* subtle tint */
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }

  /* Add a tad more breathing room for the brand on mobile */
  .nav-left { left: 16px; }

  /* Dropdown mobile menu attached to header */
  .mobile-menu {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 64px; /* matches .navbar-inner height */
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: block;
    z-index: 20;
    animation: dropdownIn 180ms ease-out both;
  }

  .mobile-links {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mobile-links a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    padding: 0.75rem 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-links a:hover { color: var(--accent); }

  .mobile-links a.active {
    color: var(--accent);
    background: rgba(20, 184, 166, 0.08);
    font-weight: 600;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    display: block;
    z-index: 15;
    backdrop-filter: blur(2px);
  }
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* When the navbar has the open class, make the toggle look active */
.navbar.is-open .menu-toggle {
  background: var(--accent);
  color: #fff;
}

/* Responsive type and spacing tweaks */
@media (max-width: 700px) {
  .hero { padding: 3rem 1rem; }
  .hero h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.5rem; }
  section { padding: 3rem 1rem; }
}

.site-footer .footer-inner {
  flex-direction: column;
  align-items: flex-start;
}
