/* ============================================================
   AROHIKO — DESIGN SYSTEM
   Shared CSS for all pages
============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* --- CSS Custom Properties (Brand Tokens) --- */
:root {
  --green-dark:   #27500A;
  --green-mid:    #639922;
  --green-light:  #97C459;
  --amber:        #BA7517;
  --amber-light:  #EF9F27;
  --grey:         #888780;
  --bg-warm:      #F7F5F0;
  --bg-green-tint:#EAF3DE;
  --border:       rgba(0,0,0,0.12);
  --border-light: rgba(0,0,0,0.08);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;

  --container:   1100px;
  --nav-height:  84px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: #2a2a2a;
  background: var(--bg-warm);
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--green-dark);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  font-family: var(--font-body);
  font-size: 14px;
}
.skip-link:focus { top: 0; }

/* --- Container --- */
.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography Scale --- */
h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  line-height: 1.15;
  color: #1a1a1a;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--green-dark);
  line-height: 1.25;
}
h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
}
p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}
p + p { margin-top: 0.75rem; }

/* --- Section Label --- */
.label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  display: block;
  margin-bottom: 0.75rem;
}

/* --- Dividers --- */
.divider {
  border: none;
  border-top: 0.5px solid var(--border-light);
  margin: 3rem 0;
}

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: var(--bg-warm);
  border-bottom: 0.5px solid var(--border-light);
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s ease;
}
.nav.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__text {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
}
.aro  { font-weight: 300; color: var(--green-dark); }
.hiko { font-weight: 600; color: var(--amber); }
.logo__tagline {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--grey);
  text-transform: uppercase;
  margin-top: 3px;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: #555;
  text-decoration: none;
  transition: color 0.15s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--green-dark); font-weight: 500; }

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s, background 0.15s;
  border: none;
}
.btn-primary {
  background: var(--green-dark);
  color: #F7F5F0;
}
.btn-primary:hover { opacity: 0.88; }

/* Nav link rule is more specific — override it for buttons inside nav */
.nav__links a.btn-primary,
.nav__links a.btn-primary:hover { color: #F7F5F0; }

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border: 0.5px solid var(--green-dark);
}
.btn-secondary:hover { background: var(--bg-green-tint); }

.btn-amber {
  background: var(--amber);
  color: #F7F5F0;
}
.btn-amber:hover { background: var(--amber-light); }

.btn-sm { font-size: 13px; padding: 8px 16px; }

/* Hamburger (mobile) */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--green-dark);
  font-size: 24px;
}

/* Mobile overlay menu */
.nav__links.nav--open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-warm);
  padding: 1rem 1.5rem;
  border-bottom: 0.5px solid rgba(0,0,0,0.1);
  z-index: 49;
  gap: 16px;
}

/* ============================================================
   CARDS
============================================================ */
.card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  /* Fast ease-in on exit so it snaps back cleanly */
  transition: transform 0.22s ease-in, box-shadow 0.22s ease-in, border-color 0.22s ease-in;
}
.card:hover {
  transform: translateY(-7px) scale(1.018);
  box-shadow: 0 18px 44px rgba(0,0,0,0.13);
  border-color: rgba(39,80,10,0.32);
  /* Spring easing on enter — overshoots slightly then settles */
  transition: transform 0.44s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.44s ease-out, border-color 0.36s ease-out;
}

.card-tinted {
  background: var(--bg-warm);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.card-amber {
  background: var(--bg-warm);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
}

/* ============================================================
   DOMAIN TAGS / PILLS
============================================================ */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 1rem 0; }
.tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  background: var(--bg-green-tint);
  color: var(--green-dark);
  border-radius: 20px;
  padding: 4px 12px;
}

/* ============================================================
   PROOF BAR
============================================================ */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0;
}
.proof-item {
  padding: 1.25rem 1.5rem;
  border-right: 0.5px solid var(--border);
}
.proof-item:last-child { border-right: none; }
.proof-number {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 300;
  color: var(--green-dark);
  line-height: 1;
}
.proof-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--grey);
  margin-top: 4px;
}
.proof-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--green-dark);
  line-height: 1.2;
}

/* ============================================================
   CHECKLIST (tick items)
============================================================ */
.checklist { list-style: none; margin: 0.75rem 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #444;
  margin-bottom: 8px;
}
.checklist li i {
  color: var(--green-mid);
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ============================================================
   PRICE BADGE
============================================================ */
.price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--amber);
}
.price-sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--grey);
  display: block;
}

/* ============================================================
   SERVICE CARDS
============================================================ */
.service-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.25rem;
}
.service-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.service-card__meta {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 4px;
}
.service-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.service-card__title i { font-size: 20px; color: var(--amber); }
.service-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--grey);
  font-style: italic;
  margin-top: 1rem;
}
.service-for {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.75rem;
}
.service-for-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 4px;
}

/* ============================================================
   CREDENTIALS TIMELINE
============================================================ */
.cred-list { border-top: 0.5px solid var(--border-light); }
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 0.5px solid var(--border-light);
}
.cred-year {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--grey);
  min-width: 80px;
  padding-top: 2px;
  flex-shrink: 0;
}
.cred-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 3px;
}
.cred-sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey);
}

/* ============================================================
   RESEARCH CARDS
============================================================ */
.research-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}
.research-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.research-card i {
  font-size: 20px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}
.research-card__title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 5px;
}

/* ============================================================
   CONTACT FORM
============================================================ */
.form-field { margin-bottom: 1.25rem; }
.form-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #2a2a2a;
  display: block;
  margin-bottom: 6px;
}
.form-label .req { color: var(--amber); }
.form-label .opt { color: var(--grey); font-weight: 400; }
.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
  padding: 10px 14px;
  border: 0.5px solid rgba(0,0,0,0.25);
  border-radius: var(--radius-sm);
  background: #fff;
  color: #2a2a2a;
  transition: border-color 0.15s;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(39,80,10,0.08);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-submit {
  width: 100%;
  padding: 13px;
  margin-top: 0.5rem;
  font-size: 15px;
}
.form-privacy {
  font-size: 12px;
  color: var(--grey);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

/* Contact detail rows */
.contact-details { border: 0.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0.85rem 1.25rem;
  border-bottom: 0.5px solid var(--border-light);
}
.contact-row:last-child { border-bottom: none; }
.contact-row i { font-size: 18px; color: var(--amber); flex-shrink: 0; }
.contact-row__label { font-size: 11px; color: var(--grey); }
.contact-row__value { font-size: 14px; color: #1a1a1a; }
.contact-row a { color: var(--green-dark); text-decoration: none; }

/* ============================================================
   CTA BANNERS
============================================================ */
.cta-banner {
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  color: #F7F5F0;
  margin-bottom: 4px;
}
.cta-banner__sub {
  font-size: 13px;
  color: var(--green-light);
  margin: 0;
}

.cta-soft {
  background: var(--bg-warm);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-soft__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.cta-soft__sub {
  font-size: 13px;
  color: var(--grey);
  margin: 0;
}

/* ============================================================
   AVATAR
============================================================ */
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--green-dark);
  flex-shrink: 0;
}

/* ============================================================
   APPROACH GRID
============================================================ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.approach-item__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 8px;
}

/* ============================================================
   SECTION SPACING
============================================================ */
.section { padding: 3rem 0; }
.section + .section { border-top: 0.5px solid var(--border-light); }
.section__intro { max-width: 600px; margin-bottom: 2rem; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  border-top: 0.5px solid var(--border-light);
  background: var(--bg-warm);
  padding: 2.5rem 0;
  margin-top: 4rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy {
  font-size: 13px;
  color: var(--grey);
}
.footer__links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer__links a {
  font-size: 13px;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--green-dark); }
.footer__nzbn { font-size: 12px; color: var(--grey); margin-top: 0.5rem; }

/* ============================================================
   PAGE HERO
============================================================ */
.hero { padding: 3.5rem 0 2.5rem; }
.hero__lead { font-size: 16px; color: #444; max-width: 540px; margin-top: 1rem; }

/* ============================================================
   RESPONSIVE
============================================================ */
/* ============================================================
   FADE-IN ANIMATION
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .proof-bar {
    grid-template-columns: 1fr 1fr;
  }
  .proof-item:nth-child(2) { border-right: none; }
  .proof-item:nth-child(3) { border-right: 0.5px solid var(--border); }
  .proof-item:nth-child(odd):last-child { border-right: none; }

  .approach-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-grid-2 { grid-template-columns: 1fr; }

  .cta-banner, .cta-soft {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card__header { flex-direction: column; }

  .contact-page-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .proof-bar { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 26px; }
}
