/* ============================================
   QUOTIENT — Shared Stylesheet
   Edit colors, fonts, and sizes here.
   Changes apply to all pages automatically.
   ============================================ */

:root {
  /* Brand colors */
  --indigo: #0F1B3D;
  --indigo-soft: #2A3556;
  --coral: #FF6B9D;
  --purple: #5B3A8C;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --lavender: #EDE7F6;
  --muted: #6B7280;
  --line: #E5E7EB;
  --shadow: 0 1px 3px rgba(15, 27, 61, 0.04), 0 4px 12px rgba(15, 27, 61, 0.04);

  /* Layout */
  --max: 1080px;
  --max-narrow: 820px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--indigo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVIGATION — shared across all pages
   ============================================ */

.nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--indigo);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--coral); }
.nav-links a.active { color: var(--coral); font-weight: 600; }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--indigo);
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--coral); color: var(--white) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--indigo);
  margin: 4px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-inner { padding: 14px 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { max-height: 400px; padding: 16px 20px; gap: 18px; }
  .nav-links a { display: block; width: 100%; padding: 4px 0; }
  .nav-cta { padding: 12px 20px; text-align: center; }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -1.5px; }
h2 { font-size: clamp(28px, 3.5vw, 40px); letter-spacing: -1px; margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 8px; }
p { color: var(--indigo-soft); }
a { color: var(--coral); }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.italic-tagline {
  font-style: italic;
  color: var(--purple);
  font-weight: 500;
}

/* ============================================
   LAYOUT HELPERS
   ============================================ */

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 32px; }
section { padding: 80px 0; }
.section-center { text-align: center; }
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .container, .narrow { padding: 0 20px; }
}

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

.btn {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--indigo);
  color: var(--white);
}
.btn-primary:hover { background: var(--coral); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--indigo);
  border-color: var(--indigo);
}
.btn-secondary:hover { background: var(--indigo); color: var(--white); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============================================
   HERO (used on home and other pages)
   ============================================ */

.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero h1 { margin-bottom: 24px; max-width: 820px; margin-left: auto; margin-right: auto; }
.hero .italic-tagline {
  font-size: clamp(18px, 2.2vw, 22px);
  margin-bottom: 24px;
}
.hero .lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ============================================
   CARDS
   ============================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 860px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .card-grid { grid-template-columns: 1fr; }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--indigo);
}
.card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.card-accent {
  width: 40px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
  margin-bottom: 20px;
}
.card .accent-purple { background: var(--purple); }
.card .accent-coral { background: var(--coral); }
.card .accent-indigo { background: var(--indigo); }

/* ============================================
   SERVICES LIST (text-only)
   ============================================ */

.services-inline {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.5px;
  padding: 32px 0;
}
.services-inline span { color: var(--indigo); font-weight: 500; }

/* ============================================
   WHY ROW (3 columns)
   ============================================ */

.why-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  margin-top: 48px;
}
.why-item h3 { font-size: 17px; margin-bottom: 8px; }
.why-item p { font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (max-width: 768px) {
  .why-row { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================
   DIVIDER
   ============================================ */

.divider {
  max-width: 80px;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--line);
}

/* ============================================
   CTA BAND (bottom of pages)
   ============================================ */

.cta-band {
  background: var(--indigo);
  color: var(--white);
  padding: 80px 32px;
  text-align: center;
  margin-top: 40px;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 540px; margin: 0 auto 32px; }
.cta-band .btn-primary { background: var(--coral); }
.cta-band .btn-primary:hover { background: var(--white); color: var(--indigo); }
.cta-band .btn-secondary { color: var(--white); border-color: var(--white); }
.cta-band .btn-secondary:hover { background: var(--white); color: var(--indigo); }

/* ============================================
   PRICING PAGE
   ============================================ */

.currency-toggle {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 0;
  cursor: pointer;
  user-select: none;
}
.currency-toggle button {
  background: transparent;
  border: none;
  padding: 8px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}
.currency-toggle button.active {
  background: var(--indigo);
  color: var(--white);
}
.currency-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.price-card.featured {
  border: 2px solid var(--coral);
  position: relative;
}
.price-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--indigo);
}
.price-card .price-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.price-card .price {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.1;
  margin-bottom: 4px;
}
.price-card .price-period {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex-grow: 1;
}
.price-card li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 14px;
  color: var(--indigo-soft);
  line-height: 1.5;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: bold;
}
.price-card .btn {
  width: 100%;
  text-align: center;
  font-size: 14px;
}

/* Section headers on pricing page */
.pricing-section-title {
  text-align: center;
  margin-bottom: 8px;
}
.pricing-section-title h2 {
  margin-bottom: 8px;
}
.pricing-section-title p {
  color: var(--muted);
  font-size: 15px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--indigo);
}
.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 48px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.2s ease;
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--purple);
  overflow: hidden;
  position: relative;
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px rgba(91, 58, 140, 0.12);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
  color: var(--indigo);
}
.team-card .role {
  font-size: 13px;
  color: var(--coral);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.team-card .bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.team-card .team-links {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.team-card .team-links a {
  font-size: 13px;
  color: var(--indigo-soft);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.team-card .team-links a:hover { color: var(--coral); }

.story-block {
  max-width: 720px;
  margin: 0 auto;
}
.story-block p {
  font-size: 16px;
  color: var(--indigo-soft);
  line-height: 1.75;
  margin-bottom: 20px;
}
.story-block p:first-of-type::first-letter {
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--coral);
  float: left;
  line-height: 1;
  padding-right: 8px;
  padding-top: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.value-item {
  padding: 24px 0;
}
.value-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--indigo);
}
.value-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.value-number {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 16px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-group .required { color: var(--coral); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--indigo);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: all 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'Inter', sans-serif;
}
.form-helper {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.contact-form button[type="submit"] {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  background: var(--indigo);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease;
}
.contact-form button[type="submit"]:hover { background: var(--coral); }
.contact-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}
.form-status.success {
  display: block;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #6EE7B7;
}
.form-status.error {
  display: block;
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FCA5A5;
}

/* Contact sidebar */
.contact-info { padding-top: 8px; }
.contact-info h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.contact-info .info-block {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.contact-info .info-block:last-child {
  border-bottom: none;
}
.contact-info .info-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-info .info-value {
  font-size: 15px;
  color: var(--indigo);
  font-weight: 500;
}
.contact-info .info-value a {
  color: var(--indigo);
  text-decoration: none;
  border-bottom: 1px solid var(--coral);
  padding-bottom: 1px;
  transition: color 0.2s ease;
}
.contact-info .info-value a:hover { color: var(--coral); }
.contact-info .info-detail {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.process-step {
  text-align: center;
  padding: 0 8px;
}
.process-step .step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.process-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 48px 32px 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand img { height: 28px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--indigo);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
