/* =============================================
   PROSPRY — Shared Stylesheet
   ============================================= */

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

:root {
  --bg:             #F8F8F6;
  --surface:        #FFFFFF;
  --text-primary:   #1A1A1A;
  --text-secondary: #5C5C5C;
  --text-muted:     #9E9790;
  --accent:         #1B3A5C;
  --accent-light:   #EDF1F6;
  --border:         #E4E4E0;
  --max-width:      1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}


/* --- LAYOUT --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}


/* =============================================
   NAVIGATION
   ============================================= */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 248, 246, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s;
}

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

.nav-links .btn,
.nav-links .btn:hover {
  color: #fff;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.2s;
  border-radius: 2px;
}

/* Hamburger → X animation */
.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);
}

/* Active nav link */
.nav-links a[aria-current="page"],
.nav-mobile-menu a[aria-current="page"] {
  color: var(--text-primary);
  font-weight: 600;
}

/* Mobile nav open state */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 20px 32px 24px;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu a {
  font-size: 15px;
  color: var(--text-secondary);
}

.nav-mobile-menu .btn-primary {
  width: fit-content;
}

.nav-mobile-menu .btn,
.nav-mobile-menu .btn:hover {
  color: #fff;
}


/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #142E4A;
}

.btn-large {
  padding: 14px 28px;
  font-size: 14px;
}

.link-arrow {
  font-size: 14px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s, gap 0.15s;
}

.link-arrow:hover {
  color: var(--text-primary);
  gap: 9px;
}


/* =============================================
   SECTIONS — SHARED
   ============================================= */

section {
  padding: 96px 32px;
}

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

.section-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-headline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
}

.section-body + .section-body {
  margin-top: 20px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}


/* =============================================
   HERO
   ============================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  padding: 112px 32px 96px;
}

.hero-content {
  max-width: 620px;
  animation: fadeInUp 0.5s ease-out;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero .subheadline {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}


/* =============================================
   PROBLEM SECTION
   ============================================= */

.problem-section .section-inner {
  max-width: 680px;
}

.belief-block {
  border-left: 3px solid var(--accent);
  background: var(--accent-light);
  border-radius: 0 6px 6px 0;
  padding: 20px 28px;
  margin-top: 48px;
}

.belief-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
}


/* =============================================
   SERVICES GRID
   ============================================= */

.services-section {
  border-top: 1px solid var(--border);
}

.services-section .section-inner {
  max-width: var(--max-width);
}

.services-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.service-card:hover {
  background: var(--accent-light);
}

.service-card:nth-child(2),
.service-card:nth-child(4) {
  border-right: none;
}

.service-card:nth-child(3),
.service-card:nth-child(4) {
  border-bottom: none;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* =============================================
   PROOF / CASE STUDY
   ============================================= */

.proof-section .section-inner {
  max-width: var(--max-width);
}

.case-study-card {
  margin-top: 48px;
  max-width: 700px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}

.cs-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.case-study-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.case-study-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 14px;
}

.case-study-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
}

.case-study-stats {
  display: flex;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* =============================================
   THE PROSPRY WAY
   ============================================= */

.way-section .section-inner {
  max-width: var(--max-width);
}

.way-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.way-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.way-item h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.way-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}


/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
  text-align: center;
}

.cta-section .section-inner {
  max-width: 560px;
}

.cta-section .section-body {
  max-width: 100%;
  margin: 0 auto 36px;
  text-align: center;
}


/* =============================================
   FOOTER
   ============================================= */

footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s;
}

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


/* =============================================
   ABOUT PAGE
   ============================================= */

.opening-section {
  padding: 96px 32px 72px;
}

.opening-section .section-inner {
  max-width: 720px;
}

.opening-statement {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--text-primary);
}

.founder-section .section-inner {
  max-width: 680px;
}

.beliefs-section .section-inner {
  max-width: 720px;
}

.core-belief {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 640px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-item {
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

.surface-bg .value-item {
  background: var(--bg);
}

.value-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.value-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.vision-mission-section .section-inner {
  max-width: 680px;
}

.vm-block {
  margin-bottom: 36px;
}

.vm-block:last-child {
  margin-bottom: 0;
}

.vm-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.vm-text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
}


/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-section .section-inner {
  max-width: 680px;
}

.contact-form {
  margin-top: 48px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  transition: border-color 0.15s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.6;
}

.form-submit {
  margin-top: 8px;
}

.what-happens-next {
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

.what-happens-next p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}


/* =============================================
   TESTIMONIAL
   ============================================= */

.testimonial-block {
  margin-top: 40px;
  max-width: 700px;
  padding: 32px 40px;
  border-left: 3px solid var(--accent);
  background: var(--accent-light);
  border-radius: 0 6px 6px 0;
}

.testimonial-quote {
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 14px;
}

.testimonial-attribution {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}


/* =============================================
   WORK PAGE
   ============================================= */

.work-intro-section .section-inner {
  max-width: 680px;
}

.work-case-study .section-inner {
  max-width: var(--max-width);
}

.work-cs-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.work-cs-industry {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.work-cs-body {
  max-width: 720px;
}

.work-cs-body h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.work-cs-section {
  margin-bottom: 28px;
}

.work-cs-section h3 {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.work-cs-section p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.work-cs-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

.work-cs-quote {
  margin: 32px 0;
  padding: 28px 36px;
  border-left: 3px solid var(--accent);
  background: var(--accent-light);
  border-radius: 0 6px 6px 0;
}

.work-cs-quote p {
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 10px;
}

.work-cs-quote cite {
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 500;
}


/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  section {
    padding: 72px 20px;
  }

  .hero {
    padding: 80px 20px 72px;
  }

  .opening-section {
    padding: 72px 20px 56px;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .nav-mobile-menu {
    padding: 16px 20px 20px;
  }

  footer {
    padding: 28px 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

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

  .service-card {
    border-right: none;
  }

  .service-card:nth-child(3) {
    border-bottom: 1px solid var(--border);
  }

  .way-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

  .case-study-stats {
    flex-direction: column;
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cta-section .section-body {
    font-size: 16px;
  }

  .work-cs-stats {
    flex-direction: column;
    gap: 16px;
  }

  .testimonial-block {
    padding: 24px 24px;
  }

  .work-cs-quote {
    padding: 20px 24px;
  }

  .work-case-study {
    padding: 72px 20px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-study-card {
    padding: 28px 20px;
  }
}
