/* ============================================================
   InSights Journey — Shared Stylesheet v2
   ============================================================ */

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

:root {
  --ink:        #1e2624;
  --teal:       #2d6b64;
  --teal-dark:  #1f4d48;
  --teal-light: #e2edea;
  --warm:       #eef2ee;
  --sand:       #e6ece6;
  --mist:       #c8d9d3;
  --text:       #2d6b64;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Roboto', system-ui, sans-serif;
  --max: 1100px;
  --pad: clamp(24px, 5vw, 64px);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.2; }
h1 { font-size: clamp(30px, 4.5vw, 50px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
p  { color: var(--text); }
a  { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

/* ── Utilities ── */
.label {
  display: block; font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.label--light { color: rgba(255,255,255,0.5); }
.divider { width: 36px; height: 1px; background: var(--teal); margin: 18px 0 26px; }
.divider--light { background: rgba(255,255,255,0.28); }

.btn {
  display: inline-block; font-family: var(--sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 30px; text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer; border: none;
}
.btn--teal    { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); color: #fff; }
.btn--white   { background: #fff; color: var(--teal); }
.btn--white:hover { background: var(--teal-light); }
.btn--outline { background: transparent; color: var(--teal); border: 1px solid var(--teal); }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); }

/* ── Page wrapper ── */
.page { max-width: var(--max); margin: 0 auto; background: var(--warm); box-shadow: 0 0 80px rgba(0,0,0,0.09); overflow: hidden; }

/* ── Navigation ── */
.nav {
  background: var(--warm); padding: 20px var(--pad);
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--mist);
  position: sticky; top: 0; z-index: 100;
}
.nav__logo { font-family: var(--serif); font-size: 17px; letter-spacing: 0.08em; color: var(--ink); text-decoration: none; }
.nav__logo span { color: var(--teal); }
.nav__right { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav__links { display: flex; gap: clamp(14px, 2.5vw, 32px); list-style: none; }
.nav__links a {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; opacity: 0.6; transition: opacity 0.2s, color 0.2s;
}
.nav__links a:hover, .nav__links a.active { opacity: 1; color: var(--teal); }
.lang-switch {
  display: flex; gap: 4px; align-items: center;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
}
.lang-switch a { color: var(--ink); opacity: 0.4; text-decoration: none; padding: 3px 5px; transition: opacity 0.2s; }
.lang-switch a:hover { opacity: 0.9; }
.lang-switch a.current { opacity: 1; color: var(--teal); font-weight: 500; }
.lang-switch span { color: var(--mist); }

/* ── Footer ── */
.footer {
  background: #151a18; color: rgba(255,255,255,0.38);
  padding: 36px var(--pad); font-size: 11px; letter-spacing: 0.04em;
}
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
.footer__links a:hover { color: rgba(255,255,255,0.85); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 10.5px; opacity: 0.55; }

/* ── Sections ── */
.section { padding: clamp(44px, 6vw, 80px) var(--pad); }
.section--teal  { background: var(--teal); }
.section--ink   { background: var(--ink); }
.section--light { background: var(--teal-light); }
.section--sand  { background: var(--sand); }
.section--warm  { background: var(--warm); }
.section + .section { border-top: 1px solid var(--mist); }
.section--teal + .section, .section--ink + .section,
.section + .section--teal,  .section + .section--ink { border-top: none; }

/* ── Split layout ── */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__image { min-height: 380px; background-size: cover; background-position: center; }
.split__content { padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }

/* ── Hero ── */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.hero__image { background: url('../images/hero.jpg') center / cover no-repeat; min-height: 380px; }
.hero__content { padding: clamp(52px, 7vw, 92px) var(--pad); display: flex; flex-direction: column; justify-content: center; background: var(--warm); }
.hero__content h1 { max-width: 340px; margin-bottom: 20px; }
.hero__content p  { font-size: 14px; line-height: 1.88; margin-bottom: 34px; max-width: 340px; }

/* ── Page hero ── */
.page-hero { position: relative; min-height: 340px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,38,36,.72) 0%, rgba(30,38,36,.18) 55%, transparent 100%); }
.page-hero__content { position: relative; z-index: 1; padding: clamp(28px,5vw,52px) var(--pad); color: #fff; }
.page-hero__content h1 { color: #fff; max-width: 560px; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.testimonial { background: var(--teal-light); border-left: 2px solid var(--teal); padding: 28px 32px 24px; }
.testimonial blockquote { font-family: var(--serif); font-size: 18px; font-style: italic; line-height: 1.6; color: var(--ink); margin-bottom: 18px; }
.testimonial cite { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-style: normal; }
.testimonial cite span { display: block; font-size: 10px; opacity: 0.65; letter-spacing: 0.08em; margin-top: 3px; }

/* ── Offers ── */
.offers { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.offer { background: var(--teal-light); border-top: 2px solid var(--teal); padding: 30px 26px 26px; display: flex; flex-direction: column; }
.offer h3 { margin-bottom: 12px; }
.offer p  { font-size: 13.5px; line-height: 1.78; flex-grow: 1; margin-bottom: 16px; }
.offer__price { font-family: var(--serif); font-size: 21px; color: var(--teal); margin-bottom: 18px; line-height: 1.3; }
.offer .btn { font-size: 10px; padding: 11px 18px; text-align: center; }

/* ── CTA dark ── */
.cta-dark { background: var(--ink); padding: clamp(52px,6vw,84px) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.cta-dark h2 { color: #fff; }
.cta-dark .divider { background: rgba(255,255,255,0.16); }
.cta-dark p { color: rgba(255,255,255,0.66); max-width: none; margin-bottom: 10px; }
.cta-detail { border-left: 1px solid rgba(255,255,255,0.1); padding-left: clamp(24px,4vw,44px); }
.cta-detail__item { margin-bottom: 24px; }
.cta-detail__item:last-child { margin-bottom: 0; }
.cta-detail__label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 4px; }
.cta-detail__value { font-family: var(--serif); font-size: 21px; color: rgba(255,255,255,0.82); font-weight: 300; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px,5vw,60px); align-items: start; }
.about-photo { width: 260px; aspect-ratio: 3/4; object-fit: cover; object-position: center top; display: block; }
.about-text p { margin-bottom: 18px; font-size: 15px; line-height: 1.88; max-width: none; }
.about-text p:last-child { margin-bottom: 0; }

/* ── Credentials ── */
.credentials { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; margin-top: 32px; }
.credential { background: var(--warm); padding: 22px 26px; border-left: 2px solid var(--mist); }
.credential h4 { font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--ink); margin-bottom: 6px; }
.credential p  { font-size: 13px; color: var(--text); max-width: none; }

/* ── Naikan questions ── */
.questions { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 40px; }
.question { background: var(--warm); padding: 34px 26px; border-top: 2px solid var(--teal); }
.question__number { font-family: var(--serif); font-size: 44px; color: var(--mist); line-height: 1; margin-bottom: 14px; }
.question h3 { font-size: 17px; font-family: var(--serif); font-style: italic; margin-bottom: 10px; color: var(--ink); }
.question p  { font-size: 13.5px; max-width: none; }

/* ── Naikan pricing ── */
.naikan-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 32px; }
.naikan-price { background: rgba(255,255,255,0.1); padding: 28px 26px; border-top: 1px solid rgba(255,255,255,0.2); }
.naikan-price h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.naikan-price .price-range { font-family: var(--serif); font-size: 28px; color: rgba(255,255,255,0.9); margin: 12px 0 8px; font-weight: 300; }
.naikan-price p { color: rgba(255,255,255,0.65); font-size: 13px; max-width: none; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--teal-light); border: none;
  border-bottom: 1px solid var(--mist); padding: 12px 14px;
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  outline: none; transition: border-color 0.2s; appearance: none;
}
.form-group input:focus, .form-group textarea:focus { border-bottom-color: var(--teal); }
.form-group textarea { min-height: 110px; resize: vertical; }

/* ── Prose ── */
.prose h2 { margin-bottom: 22px; }
.prose p  { margin-bottom: 16px; font-size: 15px; line-height: 1.88; }
.prose p:last-child { margin-bottom: 0; }

/* ── Info box (teal bg) ── */
.info-box { background: rgba(255,255,255,0.1); padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; }
.info-row__label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-bottom: 3px; }
.info-row__value { font-family: var(--serif); font-size: 20px; color: rgba(255,255,255,0.88); font-weight: 300; line-height: 1.3; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.fade-up   { animation: fadeUp 0.7s ease both; }
.fade-up--1 { animation-delay: 0.08s; }
.fade-up--2 { animation-delay: 0.2s; }
.fade-up--3 { animation-delay: 0.32s; }
.fade-up--4 { animation-delay: 0.44s; }

/* ── Mobile hamburger navigation ── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  background: none;
  border: none;
  flex-shrink: 0;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive — Tablet (iPad) ── */
@media (max-width: 960px) {
  .collaborators-grid { grid-template-columns: repeat(2, 1fr); }
  .questions { grid-template-columns: repeat(2, 1fr); }
  .naikan-prices { grid-template-columns: 1fr 1fr; }
}

/* ── Responsive — Tablet + large phone ── */
@media (max-width: 800px) {
  .hero, .split, .cta-dark, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero__image { min-height: 260px; order: -1; }
  .split__image { min-height: 240px; }
  .offers { grid-template-columns: 1fr; }
  .testimonials-grid, .questions, .credentials, .naikan-prices { grid-template-columns: 1fr; }
  .about-photo { width: 100%; max-width: 320px; }
  .cta-detail { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; }
}

/* ── Responsive — Mobile navigation ── */
@media (max-width: 720px) {
  .nav {
    padding: 14px var(--pad);
    flex-wrap: wrap;
  }
  .nav__hamburger { display: flex; }
  .nav__right {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--mist);
  }
  .nav__right.open { display: flex; }
  .nav__links {
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: 8px;
  }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: 13px 0;
    font-size: 12px;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--mist);
    opacity: 0.7;
  }
  .nav__links a.active, .nav__links a:hover { opacity: 1; }
  .lang-switch {
    padding: 12px 0;
    font-size: 11px;
    gap: 6px;
  }
  .lang-switch a { padding: 4px 8px; }
  .offers { grid-template-columns: 1fr; }
  .collaborators-grid { grid-template-columns: 1fr; }
}

/* ── Testimonials with photos ── */
.testimonials-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.testimonial-card {
  background: var(--teal-light);
  border-top: 2px solid var(--teal);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
}
.testimonial-card__photo {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 18px;
  border: 2px solid var(--mist);
}
.testimonial-card blockquote {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 16px;
  flex-grow: 1;
}
.testimonial-card cite {
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal);
  font-style: normal;
  display: block;
}
.testimonial-card cite span {
  display: block;
  font-size: 10px;
  opacity: 0.6;
  letter-spacing: 0.07em;
  margin-top: 2px;
  text-transform: none;
}
@media (max-width: 900px) {
  .testimonials-full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .testimonials-full { grid-template-columns: 1fr; }
}

/* ── Testimonial Carousel ── */
.carousel-wrap {
  position: relative;
  margin-top: 36px;
  overflow: hidden;
}
.carousel-track-outer {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 20px;
}
.carousel-track .testimonial-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.carousel-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--mist);
  background: var(--warm);
  color: var(--teal);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.carousel-btn:hover { background: var(--teal-light); border-color: var(--teal); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }
.carousel-dots {
  display: flex; gap: 6px; align-items: center;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mist);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--teal);
  transform: scale(1.3);
}
@media (max-width: 900px) {
  .carousel-track .testimonial-card { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 560px) {
  .carousel-track .testimonial-card { flex: 0 0 100%; }
}

/* ── Footer logo readability fix ── */
.footer .nav__logo {
  color: rgba(255,255,255,0.78) !important;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.08em;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}

/* ── Collaborators ── */
.collaborators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.collaborator-card {
  background: var(--warm);
  border-top: 2px solid var(--mist);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.collaborator-card:hover { border-color: var(--teal); }
.collaborator-card__logo {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
  opacity: 0.8;
}
.collaborator-card__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}
.collaborator-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text);
  max-width: none;
  flex-grow: 1;
  margin-bottom: 18px;
}
.collaborator-card__link {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  align-self: flex-start;
}
.collaborator-card__link:hover { color: var(--teal-dark); }
@media (max-width: 800px) {
  .collaborators-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .collaborators-grid { grid-template-columns: 1fr; }
}

/* ── Nav logo image ── */
.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
}
@media (max-width: 720px) {
  .nav__logo-img { height: 36px; }
}
