@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600&display=swap');

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: #111;
  overflow-x: hidden;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Header ────────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 60px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(240, 240, 233, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 35, 22, 0.1);
}

.logo {
  display: block;
  height: 80px;
  width: auto;
  max-width: min(320px, 50vw);
}

/* ─── Desktop nav ───────────────────────────────────────────────────────── */

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.05rem;
  color: #2a2316;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #7a7f2f;
}

.site-nav a[aria-current="page"] {
  font-weight: 700;
  border-bottom: 2px solid #2a2316;
  padding-bottom: 2px;
}

/* ─── Mobile toggle + slide-out menu ───────────────────────────────────── */

/* Hidden on desktop; shown via media query below */
.toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  z-index: 2000;
  border: none;
  background: url('../assets/icons/toggle.svg') no-repeat center;
  background-size: 38px;
  cursor: pointer;
}

.toggle.active {
  background: url('../assets/icons/close.svg') no-repeat center;
  background-size: 38px;
}

.toggle:hover {
  transform: scale(1.06);
  transition: transform 0.25s ease;
}

.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  max-width: 80vw;
  height: 100vh;
  z-index: 1100;
  background: rgba(240, 240, 233, 0.97);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  box-shadow: -8px 0 25px rgba(0, 0, 0, 0.12);
}

.menu.active {
  transform: translateX(0);
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.menu li + li {
  margin-top: 20px;
}

.menu a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #2a2316;
  font-family: 'Nanum Myeongjo', serif;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: #7a7f2f;
}

/* ─── Hero section ──────────────────────────────────────────────────────── */

.showcase {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding: 160px clamp(20px, 5vw, 80px) 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  z-index: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(188, 191, 94, 0.28);
  mix-blend-mode: screen;
  z-index: 1;
}

/* Text area */
.text {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 720px;
  margin: 0;
}

.text-box {
  width: 100%;
  max-width: 720px;
  margin: 0;
  padding: 32px;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: slideInFromLeft 0.9s ease-out both;
}

.text h2,
.text h3 {
  font-family: 'Nanum Myeongjo', serif;
  color: #2a2316;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.02;
}

.text h2 {
  font-size: clamp(2.3rem, 6vw, 5rem);
  font-weight: 800;
}

.text h3 {
  margin-top: 8px;
  font-size: clamp(1.7rem, 4.8vw, 4rem);
  font-weight: 700;
}

.text p {
  margin: 20px 0 0;
  max-width: 65ch;
  font-family: 'Lato', sans-serif;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #2a2316;
}

/* ─── CTA button ────────────────────────────────────────────────────────── */

.cta-button {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  background-color: #edcd8c;
  color: #2a2316;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.cta-button:hover {
  background-color: #bcbf5e;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.cta-button:focus-visible {
  outline: 3px solid #7a7f2f;
  outline-offset: 2px;
}

.site-nav a:focus-visible,
.menu a:focus-visible {
  outline: 2px solid #7a7f2f;
  outline-offset: 2px;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

.footer-credit {
  margin: 0;
  padding: 1rem;
  text-align: center;
  color: #2a2316;
  font-size: 0.8rem;
  font-family: 'Lato', sans-serif;
  background-color: #f0f0e9;
  border-top: 1px solid rgba(42, 35, 22, 0.1);
}

/* ─── Animation ─────────────────────────────────────────────────────────── */

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ─── Tablet ────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .site-header {
    padding: 14px 40px;
  }

  .text-box {
    padding: 26px;
  }
}

/* ─── Mobile ────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .site-header {
    padding: 14px 20px;
  }

  .logo {
    height: 60px;
    max-width: 52vw;
  }

  /* Show hamburger, hide desktop nav and slide-out menu */
  .toggle {
    display: block;
  }

  .site-nav {
    display: none;
  }

  .showcase {
    padding: 120px 20px 60px;
    align-items: flex-start;
  }

  .text {
    max-width: 100%;
  }

  .text-box {
    max-width: 100%;
    padding: 22px;
  }

  .text p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }

  /* Inner pages: reduce top padding to match smaller mobile header */
  body.services-page,
  body.lead-form-page,
  body.thank-you-page {
    padding-top: 88px;
  }

  .split-layout {
    min-height: calc(100vh - 88px);
    flex-direction: column;
  }

  .split-left {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 52px;
  }

  .showcase {
    padding-top: 110px;
  }

  .text-box {
    padding: 18px;
    border-radius: 12px;
  }

  .menu a {
    font-size: 1.3rem;
  }
}

/* ─── Services page ─────────────────────────────────────────────────────── */

body.services-page {
  background-color: #f8f8f8;
  margin: 0;
  padding-top: 108px;
  color: #2a2316;
}

.services-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.services-section {
  margin-bottom: 72px;
}

.services-section > h1,
.services-section > h2 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #2a2316;
  margin: 0 0 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #edcd8c;
  display: inline-block;
}

.services-section > p {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  margin: 0 0 20px;
  max-width: 740px;
}

/* Included in every plan */
.plan-includes {
  background: #f0f0e9;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 40px;
}

.plan-includes h2 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2a2316;
  margin: 0 0 16px;
}

.plan-includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}

.plan-includes li {
  font-size: 0.95rem;
  color: #333;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.plan-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #7a7f2f;
  font-weight: 700;
}

/* Plan cards */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.plan-card {
  background: #fff;
  border: 1px solid rgba(42, 35, 22, 0.1);
  border-radius: 14px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.plan-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.plan-badge {
  display: inline-block;
  background-color: #edcd8c;
  color: #2a2a2a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.plan-card--featured {
  border: 2px solid #edcd8c;
  box-shadow: 0 4px 20px rgba(237, 205, 140, 0.3);
}

.plan-card--featured:hover {
  box-shadow: 0 16px 40px rgba(237, 205, 140, 0.45);
}

.plan-card h2 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2a2316;
  margin: 0 0 10px;
}

.plan-price {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 2rem;
  font-weight: 800;
  color: #2a2316;
  margin: 0 0 16px;
  line-height: 1;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: #777;
}

.plan-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #555;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(42, 35, 22, 0.08);
}

.plan-tagline {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #595959;
  font-style: italic;
  margin: 0 0 20px;
  flex: 1;
}

.plan-extras {
  margin: 0 0 20px;
}

.plan-extras > p {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2a2316;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 10px;
}

.plan-extras ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-extras li {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}

.plan-extras li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #7a7f2f;
  font-weight: 700;
}

.plan-card .cta-button {
  display: block;
  text-align: center;
  margin-top: auto;
  padding: 12px 16px;
  font-size: 0.95rem;
}

.plan-footnote {
  padding: 18px 22px;
  background: #fff;
  border: 1px solid rgba(42, 35, 22, 0.08);
  border-radius: 8px;
  margin: 0;
}

.plan-footnote p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #595959;
  font-style: italic;
  margin: 0 0 12px;
}

.plan-footnote p:last-child {
  margin-bottom: 0;
}

/* Credentialing */
.credentialing-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
}

.credentialing-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  padding-left: 26px;
  position: relative;
}

.credentialing-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #7a7f2f;
}

@media (max-width: 900px) {
  .plan-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  body.services-page {
    padding-top: 88px;
  }

  .services-content {
    padding: 40px 20px 60px;
  }

  .plan-includes ul {
    grid-template-columns: 1fr;
  }
}

/* ─── Lead magnet form page ─────────────────────────────────────────────── */

body.lead-form-page {
  background-color: #f8f8f8;
  padding-top: 108px;
}

.split-layout {
  display: flex;
  min-height: calc(100vh - 108px);
}

.split-left {
  flex: 1;
  overflow: hidden;
}

.split-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #f8f8f8;
}

.form-wrapper {
  width: 100%;
}

.lead-form-container {
  max-width: 500px;
  margin: auto;
}

.lead-form {
  background-color: #BCBF5E;
}


/* ─── Thank you page ────────────────────────────────────────────────────── */

body.thank-you-page {
  background-color: #f8f8f8;
  padding-top: 108px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.thank-you-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.thank-you-wrapper h1 {
  font-family: 'Nanum Myeongjo', serif;
  color: #2a2316;
  margin-bottom: 1rem;
}

.thank-you-wrapper p {
  font-size: 1.1rem;
  color: #2a2316;
  margin-bottom: 2rem;
  font-family: 'Lato', sans-serif;
}

/* ─── About page ────────────────────────────────────────────────────────── */

body.about-page {
  background-color: #f8f8f8;
  padding-top: 108px;
  color: #2a2316;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}


.about-grid {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.about-section h2 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2a2316;
  margin: 0 0 16px;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
  margin: 0 0 16px;
}

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

/* Founder */
.about-founder {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.founder-photo-wrapper {
  position: static;
}

.founder-photo {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.founder-bio h2 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2a2316;
  margin: 0 0 16px;
}

.founder-bio p {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
  margin: 0 0 16px;
}

.founder-bio p:last-child {
  margin-bottom: 0;
}

/* Services list */
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-list li {
  padding: 20px 24px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(42, 35, 22, 0.1);
  font-size: 1rem;
  line-height: 1.65;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* CTA */
.about-cta {
  margin-top: 72px;
  text-align: center;
  padding: 48px 40px;
  background-color: #f0f0e9;
  border-radius: 16px;
}

.about-cta p {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2a2316;
  margin: 0 0 24px;
}

@media (max-width: 768px) {
  body.about-page {
    padding-top: 88px;
  }

  .about-content {
    padding: 40px 20px 60px;
  }

  .about-founder {
    grid-template-columns: 1fr;
  }

  .founder-photo-wrapper {
    position: static;
    max-width: 220px;
  }

  .about-cta {
    padding: 36px 24px;
  }
}

/* ─── Contact page ──────────────────────────────────────────────────────── */

body.contact-page {
  background-color: #f8f8f8;
  padding-top: 108px;
  color: #2a2316;
}

.contact-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}


.contact-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  margin-bottom: 60px;
  align-items: start;
}

.contact-sidebar h2 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2a2316;
  margin: 0 0 16px;
}

.contact-sidebar p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: #555;
  margin: 0 0 16px;
}

.contact-sidebar p:last-child {
  margin-bottom: 0;
}

.contact-link {
  color: #7a7f2f;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #2a2316;
}

/* Form */
.contact-success {
  background: #f0f0e9;
  border-radius: 12px;
  padding: 40px 32px;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.2rem;
  color: #2a2316;
  line-height: 1.65;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2a2316;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.01em;
}

.required-mark {
  color: #7a7f2f;
}

.optional-mark {
  color: #767676;
  font-weight: 400;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(42, 35, 22, 0.2);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  color: #2a2316;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232a2316' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #7a7f2f;
  outline-offset: 0;
  border-color: #7a7f2f;
  box-shadow: 0 0 0 3px rgba(122, 127, 47, 0.25);
}

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

.phi-notice {
  font-size: 0.8rem;
  color: #767676;
  font-style: italic;
  margin: 0 0 6px;
  line-height: 1.5;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 4px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.privacy-notice {
  font-size: 0.8rem;
  color: #767676;
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}

.contact-fallback {
  font-size: 0.92rem;
  color: #595959;
  text-align: center;
  border-top: 1px solid rgba(42, 35, 22, 0.1);
  padding-top: 32px;
  margin: 0;
}

@media (max-width: 768px) {
  body.contact-page {
    padding-top: 88px;
  }

  .contact-content {
    padding: 40px 20px 60px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-submit {
    width: 100%;
    text-align: center;
  }
}
