/* =========================================================
   Mosaivera Media Solutions — core stylesheet
   ========================================================= */

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

:root{
  /* brand colors */
  --teal:        #0F4C5C;
  --teal-ink:    #092A33;   /* darker teal for body text on cream */
  --teal-tint:   #E6EEEE;   /* pale teal for subtle fills */
  --coral:       #FF6F61;
  --orange:      #F6A04D;
  --mauve:       #B76E79;
  --cream:       #FFF8F1;
  --white:       #FFFFFF;

  --gradient-brand: linear-gradient(120deg, var(--mauve) 0%, var(--coral) 45%, var(--orange) 100%);

  /* type */
  --font-display: 'Space Grotesk', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* layout */
  --max-width: 1180px;
  --gutter: clamp(24px, 5vw, 64px);
  --radius: 14px;

  --shadow-soft: 0 12px 32px rgba(15, 76, 92, 0.10);
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--teal-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--teal);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1{ font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2{ font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3{ font-size: 1.25rem; font-weight: 600; }

p{ margin: 0 0 1em; max-width: 62ch; }

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section{ padding: clamp(56px, 9vw, 108px) 0; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------- Buttons ---------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: var(--teal);
  color: var(--cream);
}
.btn-primary:hover{ background: var(--teal-ink); }

.btn-accent{
  background: var(--coral);
  color: var(--white);
}
.btn-accent:hover{ background: #f2564a; }

.btn-ghost{
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-ghost:hover{ background: var(--teal); color: var(--cream); }

.btn-ghost-light{
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,248,241,0.5);
}
.btn-ghost-light:hover{ background: var(--cream); color: var(--teal); }

/* ---------------- Nav ---------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 241, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(15, 76, 92, 0.08);
}

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

.nav-logo img{ height: 38px; width: auto; }

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

.nav-links a{
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--teal);
  position: relative;
  padding: 4px 0;
}
.nav-links a.active{ color: var(--coral); }
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after{ transform: scaleX(1); }

.nav-cta{ display: flex; align-items: center; gap: 18px; }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span{
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 880px){
  .nav-links{
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px var(--gutter);
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ font-size: 1.15rem; }
  .nav-cta .btn-ghost{ display: none; }
  .nav-toggle{ display: block; }
  body.nav-open{ overflow: hidden; }
}

/* ---------------- Hero ---------------- */
.hero{
  padding: clamp(60px, 10vw, 96px) 0 clamp(40px, 6vw, 72px);
}
.hero .container{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--mauve);
  margin-bottom: 18px;
}
.hero-eyebrow .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

.hero h1 .line{ display: block; }
.hero h1 .line:nth-child(1){ color: var(--teal); }
.hero h1 .line:nth-child(2){ color: var(--coral); }
.hero h1 .line:nth-child(3){ color: var(--orange); }

.hero p.lead{
  font-size: 1.12rem;
  color: var(--teal-ink);
  max-width: 46ch;
  margin-top: 20px;
}
.hero-actions{ display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

.hero-art{ position: relative; }
.hero-art img{ width: 100%; max-width: 460px; margin: 0 auto; }

@media (max-width: 880px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-art{ order: -1; max-width: 260px; margin: 0 auto 12px; }
}

/* ---------------- Wave divider (brand motif) ---------------- */
.wave-divider{ line-height: 0; }
.wave-divider svg{ width: 100%; height: 60px; display: block; }

/* ---------------- Section headers ---------------- */
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head p{ font-size: 1.05rem; }

.section-dark{ background: var(--teal); color: var(--cream); }
.section-dark h2, .section-dark h3{ color: var(--cream); }
.section-dark p{ color: rgba(255,248,241,0.82); }

/* ---------------- Capability / pillar list ---------------- */
.pillars{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(15,76,92,0.15);
}
.pillar{
  padding: 30px 20px 30px 0;
  border-left: 3px solid var(--pillar-color, var(--teal));
  padding-left: 20px;
  border-bottom: 1px solid rgba(15,76,92,0.15);
}
.pillar .num{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pillar-color, var(--teal));
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  display: block;
}
.pillar h3{ margin-bottom: 10px; }
.pillar p{ margin: 0; font-size: 0.94rem; color: rgba(255,248,241,0.82); max-width: 30ch; }

@media (max-width: 980px){
  .pillars{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .pillars{ grid-template-columns: 1fr; }
}

.chain-line{
  margin-top: 36px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cream);
  text-align: center;
}

/* ---------------- Manifesto / narrative (About) ---------------- */
.manifesto{ max-width: 640px; }
.manifesto p{ font-size: 1.05rem; }

.pull-quote{
  border-left: 3px solid var(--coral);
  padding: 4px 0 4px 28px;
  margin: 36px 0;
  max-width: 560px;
}
.pull-quote p{
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 10px;
  line-height: 1.4;
}
.pull-quote p:last-child{ margin-bottom: 0; }

.manifesto-punch{
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--mauve);
  margin: 28px 0;
}

.tagline-display{
  text-align: center;
  padding: 20px 0 4px;
}
.tagline-display span{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0 10px;
}
.tagline-display span:nth-child(1){ color: var(--teal); }
.tagline-display span:nth-child(2){ color: var(--coral); }
.tagline-display span:nth-child(3){ color: var(--orange); }

/* ---------------- Process strip (Services) ---------------- */
.process-strip{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.process-step .step-num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.process-step:nth-child(1) .step-num{ color: var(--teal); }
.process-step:nth-child(2) .step-num{ color: var(--orange); }
.process-step:nth-child(3) .step-num{ color: var(--mauve); }
.process-step:nth-child(4) .step-num{ color: var(--coral); }
.process-step h3{ margin: 10px 0 8px; letter-spacing: 0.02em; }
.process-step p{ font-size: 0.92rem; }
.process-close{
  text-align: center;
  margin-top: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--teal);
}
.process-close-sub{ text-align: center; color: rgba(9,42,51,0.65); font-size: 0.95rem; margin: 8px auto 0; }
@media (max-width: 880px){ .process-strip{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .process-strip{ grid-template-columns: 1fr; } }

/* ---------------- Solution blocks (Services) ---------------- */
.solution-block{ padding: 52px 0; border-bottom: 1px solid rgba(15,76,92,0.12); }
.solution-block:first-child{ border-top: 1px solid rgba(15,76,92,0.12); }
.solution-label{
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  display: block;
}
.solution-block h3{ font-size: 1.7rem; margin-bottom: 10px; }
.solution-block .lead-sm{ font-size: 1rem; color: rgba(9,42,51,0.75); max-width: 52ch; margin-bottom: 30px; }

.solution-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.solution-card{
  background: var(--white);
  border-left: 4px solid var(--card-color, var(--teal));
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
}
.solution-card h4{
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 8px;
}
.solution-card p{ margin: 0; font-size: 0.92rem; color: rgba(9,42,51,0.7); }

.solution-close{
  text-align: center;
  margin-top: 36px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal);
}
.solution-close-sub{ text-align: center; color: rgba(9,42,51,0.65); font-size: 0.95rem; max-width: 60ch; margin: 8px auto 0; }

@media (max-width: 700px){ .solution-cards{ grid-template-columns: 1fr; } }

/* ---------------- Industry tags (Home) ---------------- */
.industry-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.industry-tag{
  background: var(--white);
  border: 1px solid rgba(15,76,92,0.15);
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
}

/* ---------------- Testimonials (Home) ---------------- */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card{
  background: var(--white);
  border: 1px solid rgba(15,76,92,0.10);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.testimonial-quote{
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--teal);
  font-style: italic;
  margin: 0 0 20px;
  flex-grow: 1;
}
.testimonial-quote.placeholder{ color: rgba(9,42,51,0.45); }
.testimonial-author{ display: flex; align-items: center; gap: 12px; }
.avatar-circle{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-author .name{ font-weight: 700; color: var(--teal); font-size: 0.94rem; }
.testimonial-author .role{ font-size: 0.85rem; color: rgba(9,42,51,0.6); }

/* ---------------- Team (About) ---------------- */
.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.team-card{ text-align: center; }
.team-photo{
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,248,241,0.12);
  border: 1.5px dashed rgba(255,248,241,0.4);
  color: rgba(255,248,241,0.6);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}
.team-photo img{
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.team-card .team-name{ font-family: var(--font-display); font-weight: 700; color: var(--cream); font-size: 1.05rem; margin-bottom: 4px; }
.team-card .team-role{ font-size: 0.88rem; color: rgba(255,248,241,0.65); font-style: italic; }

/* ---------------- Values grid (About) ---------------- */
.values-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-item{ border-top: 3px solid var(--coral); padding-top: 16px; }
.value-item:nth-child(2){ border-color: var(--orange); }
.value-item:nth-child(3){ border-color: var(--mauve); }
.value-item:nth-child(4){ border-color: var(--teal); }
@media (max-width: 880px){ .values-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .values-grid{ grid-template-columns: 1fr; } }

/* ---------------- CTA band ---------------- */
.cta-band{
  background: var(--teal);
  color: var(--cream);
  border-radius: 20px;
  padding: clamp(40px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2{ color: var(--cream); margin: 0; max-width: 520px; }

/* ---------------- Footer ---------------- */
.site-footer{
  background: var(--teal);
  color: rgba(255,248,241,0.85);
  padding: 56px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,248,241,0.15);
}
.footer-logo img{ height: 30px; margin-bottom: 14px; }
.footer-col h4{ color: var(--cream); font-size: 0.92rem; letter-spacing: 0.04em; margin-bottom: 14px; }
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col li{ margin-bottom: 10px; }
.footer-col a:hover{ color: var(--coral); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social{ display: flex; gap: 16px; }

/* ---------------- Page hero (interior pages) ---------------- */
.kicker{
  color: var(--mauve);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}
.page-hero{ padding: 56px 0 36px; }

/* ---------------- Contact form ---------------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.form-field{ margin-bottom: 20px; }
.form-field label{
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--teal);
}
.form-field input, .form-field textarea{
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(15,76,92,0.25);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--teal-ink);
}
.form-field textarea{ min-height: 130px; resize: vertical; }
.form-note{ font-size: 0.85rem; color: rgba(9,42,51,0.6); margin-top: 6px; }

.contact-info-item{ margin-bottom: 26px; }
.contact-info-item h4{ color: var(--teal); margin-bottom: 6px; font-family: var(--font-display); font-size: 1rem; }
.contact-info-item .placeholder{ color: rgba(9,42,51,0.5); font-style: italic; }

@media (max-width: 880px){ .contact-grid{ grid-template-columns: 1fr; gap: 12px; } }

/* ---------------- Placeholder / empty states (Portfolio, Blog) ---------------- */
.empty-state{
  text-align: left;
  max-width: 620px;
  padding: 40px 0;
}
.placeholder-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.placeholder-card{
  border: 1.5px dashed rgba(15,76,92,0.3);
  border-radius: var(--radius);
  padding: 26px;
  color: rgba(9,42,51,0.65);
}
.placeholder-card .tag{
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* utility */
.text-center{ text-align: center; margin-left: auto; margin-right: auto; }
.mt-0{ margin-top: 0; }
