/* =========================================================
   Songe Digital Agency — stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color */
  --purple-950: #150a24;   /* near-black purple, ink / dark bg */
  --purple-800: #331454;   /* primary deep purple */
  --purple-700: #431c6e;
  --purple-600: #5a2790;   /* mid accent / hover */
  --purple-100: #efe7fa;   /* pale lavender background */
  --purple-50:  #f8f5fc;
  --white:      #ffffff;
  --line:       #ded0ef;   /* hairline border tint */

  /* Type */
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1160px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--purple-950);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  margin: 0 0 0.4em;
  color: var(--purple-950);
}

h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.4rem; font-weight: 700; text-transform: none; letter-spacing: 0; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--purple-600);
  margin-bottom: 0.75em;
}

.lede {
  font-size: 1.15rem;
  color: #443a54;
  max-width: 46ch;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--purple-800);
  color: var(--white);
}
.btn-primary:hover { background: var(--purple-950); }

.btn-outline {
  background: transparent;
  border-color: var(--purple-800);
  color: var(--purple-800);
}
.btn-outline:hover { background: var(--purple-800); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--purple-950); }

.btn-white {
  background: var(--white);
  color: var(--purple-950);
}
.btn-white:hover { background: var(--purple-100); }

/* -------- Header / Nav -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--purple-950);
}
.logo .logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--purple-950);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--purple-800);
}

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

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--purple-950);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-950);
  margin: 5px 0;
}

/* -------- Hero -------- */
.hero {
  padding: 96px 0 104px;
  background: var(--purple-950);
  color: var(--white);
  overflow: hidden;
}
.hero h1 { color: var(--white); }

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero .lede { color: rgba(255,255,255,0.78); }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.hero-art { width: 100%; height: auto; }

.page-hero {
  padding: 64px 0 72px;
  background: var(--purple-950);
  color: var(--white);
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(255,255,255,0.78); margin-top: 8px; }

/* -------- Sections -------- */
section { padding: 96px 0; }
.section-alt { background: var(--purple-50); }
.section-dark {
  background: var(--purple-950);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 56px; }

/* -------- Services list (home strip) -------- */
.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 240px 1fr 140px;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}
.service-row:hover { background: var(--purple-50); }
.service-row h3 { margin: 0; }
.service-row p { margin: 0; color: #5a4d6b; }
.service-row .row-arrow {
  justify-self: end;
  font-weight: 600;
  color: var(--purple-800);
}

/* -------- Value grid -------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.value-item .value-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 10px;
  display: block;
}

/* -------- Process -------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step {
  border-top: 3px solid var(--purple-800);
  padding-top: 18px;
}
.process-step .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--purple-800);
  display: block;
  margin-bottom: 8px;
}

/* -------- Testimonials -------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
}
.testimonial p.quote {
  font-size: 1.08rem;
  font-style: italic;
  color: var(--purple-950);
}
.testimonial .who {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple-600);
}

/* -------- CTA banner -------- */
.cta-banner {
  background: var(--purple-800);
  color: var(--white);
  padding: 68px 0;
}
.cta-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-banner h2 { color: var(--white); margin: 0; }

/* -------- Service detail sections -------- */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:nth-child(even) { background: var(--purple-50); }
.service-detail ul { margin: 0; padding: 0; list-style: none; }
.service-detail ul li {
  padding: 10px 0 10px 26px;
  border-top: 1px solid var(--line);
  position: relative;
}
.service-detail ul li:first-child { border-top: none; }
.service-detail ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--purple-600);
}
.service-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-600);
  margin-bottom: 10px;
}

/* -------- About page -------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.values-list .value-block {
  border-top: 3px solid var(--purple-600);
  padding-top: 16px;
}

/* -------- Contact page -------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info-list { list-style: none; padding: 0; margin: 32px 0; }
.contact-info-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-info-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-info-list .label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-600);
  margin-bottom: 4px;
}
.contact-info-list a { text-decoration: none; font-size: 1.05rem; }
.contact-info-list a:hover { color: var(--purple-800); }

.map-frame {
  width: 100%;
  height: 260px;
  border: 1px solid var(--line);
  margin-top: 32px;
  filter: grayscale(15%);
}

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--purple-950);
  border-radius: 2px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--purple-800);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.85rem; color: #6b5f7a; margin-top: 12px; }

/* -------- Footer -------- */
.site-footer {
  background: var(--purple-950);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
  text-decoration: none;
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 0 auto; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .nav-phone, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px var(--gutter) 32px;
    border-bottom: 1px solid var(--line);
  }
  .site-header.open .nav-cta { display: none; }
  section { padding: 60px 0; }
  .hero { padding: 56px 0 60px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .service-row { grid-template-columns: 1fr; gap: 6px; }
  .service-row .row-arrow { justify-self: start; }
  .value-grid { grid-template-columns: 1fr; gap: 28px; }
  .process-list { grid-template-columns: 1fr; gap: 28px; }
  .values-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
