/* ============================================
   Adexo Media — Design tokens
   ============================================ */
:root {
  --ink: #14150F;
  --paper: #FAFAF7;
  --panel: #EEF1E9;
  --emerald: #1F6F4A;
  --emerald-dark: #164F35;
  --muted: #585B52;
  --line: #DEE3D6;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, Segoe UI, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  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);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; color: var(--muted); }
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--white); padding: 12px 18px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 100px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--emerald); color: var(--white); }
.btn-primary:hover { background: var(--emerald-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--panel); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 32px;
  height: 76px;
}
.logo-img { height: 34px; width: auto; }
.logo-link { margin-right: auto; }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 15px; font-weight: 500; color: var(--ink); padding: 6px 0; position: relative;
}
.main-nav a.active,
.main-nav a:hover { color: var(--emerald); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--emerald);
}
.header-cta { margin-left: 8px; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); }

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 72px 0 56px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start;
}
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--emerald); font-weight: 500; margin-bottom: 18px; display: block;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  max-width: 14ch;
}
.hero-sub {
  font-size: 17px; max-width: 46ch; margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

/* Signature: the ledger panel */
.ledger {
  background: var(--ink); color: var(--paper);
  border-radius: 12px; padding: 28px 26px;
  font-family: var(--font-mono);
}
.ledger-title {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #9FA898;
  margin-bottom: 18px;
}
.ledger-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.18);
  font-size: 14px;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-label { color: #C7CDBF; }
.ledger-value { color: var(--white); font-weight: 500; }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px;
}
.trust-badge {
  font-size: 13px; font-weight: 500; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 100px;
}

/* ============================================
   Sections (generic)
   ============================================ */
.section { padding: 88px 0; }
.section-soft { background: var(--panel); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark p { color: #C7CDBF; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.section-head p { font-size: 16px; }
.section-foot-cta { margin-top: 44px; }

/* Why us — rule-divided row, no numbering (not a sequence) */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.why-item {
  padding: 28px 28px 28px 0; border-right: 1px solid var(--line);
}
.why-item:last-child { border-right: none; }
.why-item h3 { font-size: 19px; margin-bottom: 10px; }
.why-item p { font-size: 14.5px; margin: 0; }

/* Services grid */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.service-card {
  background: var(--paper); padding: 26px 22px; transition: background 0.2s ease;
}
.service-card:hover { background: var(--panel); }
.service-icon {
  width: 40px; height: 40px; margin-bottom: 16px; color: var(--emerald);
}
.service-card h4 { font-size: 15.5px; font-family: var(--font-body); font-weight: 600; margin-bottom: 6px; }
.service-card p { font-size: 13px; margin: 0; }

/* Process (genuine sequence — numbering appropriate) */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.process-num { font-family: var(--font-mono); font-size: 15px; color: var(--emerald); margin-bottom: 12px; }
.process-item h3 { font-size: 19px; margin-bottom: 8px; }
.process-item p { font-size: 14.5px; }

/* Cards (packages, case studies) */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pkg-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 30px;
  display: flex; flex-direction: column;
}
.pkg-tag {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--emerald); margin-bottom: 12px;
}
.pkg-card h3 { font-size: 21px; margin-bottom: 10px; }
.pkg-card p { font-size: 14.5px; flex-grow: 1; }
.pkg-price { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); margin-top: 14px; }
.pkg-time { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

/* Case study */
.case-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 34px;
}
.case-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.case-role { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.case-status { font-family: var(--font-mono); font-size: 11px; background: var(--panel); padding: 5px 12px; border-radius: 100px; color: var(--emerald); font-weight: 500; }
.case-card h3 { font-size: 26px; margin-bottom: 12px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.case-tags span { font-size: 12.5px; border: 1px solid var(--line); padding: 5px 12px; border-radius: 100px; color: var(--muted); }

/* CTA banner */
.cta-banner { text-align: center; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 20ch; margin: 0 auto 16px; }
.cta-banner p { max-width: 46ch; margin: 0 auto 32px; }
.cta-banner .hero-actions { justify-content: center; }

/* Stat row (about page) */
.stats-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 20px; }
.stat-block { font-family: var(--font-mono); }
.stat-num { font-size: 30px; font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.stat-label { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* Philosophy quote block */
.quote-block {
  text-align: center; padding: 20px 0;
}
.quote-block .quote-mark {
  font-family: var(--font-display); font-size: 90px; color: var(--emerald); opacity: 0.25; line-height: 0; display: block; margin-bottom: 8px;
}
.quote-block p {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--ink); font-style: italic; max-width: 30ch; margin: 0 auto;
}

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px; font-family: var(--font-body); font-size: 15px;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--emerald);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.contact-info-card {
  background: var(--panel); border-radius: 14px; padding: 32px;
}
.contact-info-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); color: var(--muted); margin-bottom: 8px; }
.contact-info-card .info-row { margin-bottom: 22px; }
.contact-info-card .info-row a, .contact-info-card .info-row span { font-size: 16px; font-weight: 500; }
.form-banner {
  padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-size: 14.5px; font-weight: 500;
  display: none;
}
.form-banner.success { display: block; background: #E4F3EA; color: var(--emerald-dark); border: 1px solid #BFE2CC; }
.form-banner.error { display: block; background: #FBE9E7; color: #A13F2C; border: 1px solid #F3C7C0; }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--ink); color: var(--paper); padding-top: 64px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { height: 30px; margin-bottom: 14px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: #C7CDBF; font-size: 15px; max-width: 26ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #9FA898; margin-bottom: 16px; }
.footer-col a, .footer-col .footer-static { display: block; font-size: 14.5px; color: #E3E6DD; margin-bottom: 12px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 22px 0; font-size: 13px; color: #8A9184; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ============================================
   Hero v2 — centered, badge + trust bar
   ============================================ */
.hero-centered { text-align: center; padding: 76px 0 60px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--emerald);
  background: var(--panel); border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 100px; margin-bottom: 24px;
}
.hero-centered h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.hero-centered .hero-sub { max-width: 62ch; margin-left: auto; margin-right: auto; font-size: 18px; }
.hero-centered .hero-support { max-width: 58ch; margin: 0 auto 32px; font-size: 15px; }
.hero-centered .hero-actions { justify-content: center; }
.hero-centered .trust-strip { justify-content: center; margin-top: 32px; }
.trust-badge.check::before { content: '✓'; color: var(--emerald); font-weight: 700; margin-right: 6px; }

/* Who we work with — industry cards */
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.industry-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 16px; text-align: center;
}
.industry-icon { font-size: 28px; margin-bottom: 12px; }
.industry-card span { font-size: 14px; font-weight: 600; }

/* Service card v2 — with learn-more link */
.service-card .learn-more {
  display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--emerald);
}
.service-card .learn-more:hover { text-decoration: underline; }

/* Why Adexo — frustration framing + checklist */
.frustration-box {
  background: var(--panel); border-radius: 14px; padding: 32px 36px; margin-bottom: 40px;
}
.frustration-box p { font-size: 15.5px; margin: 0; color: var(--muted); max-width: 70ch; }
.checklist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.checklist-item {
  display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600;
  padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
}
.checklist-item::before { content: '✓'; color: var(--emerald); font-weight: 700; }

/* Process 6-step */
.process-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.process-6 .process-item { position: relative; }
.process-6 .process-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; font-size: 13px; margin-bottom: 14px;
}
.process-6 h3 { font-size: 15.5px; }
.process-6 p { font-size: 12.5px; }

/* Featured work grid */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 28px;
}
.work-card h3 { font-size: 20px; margin-bottom: 8px; }
.work-card p { font-size: 14px; margin-bottom: 14px; }
.work-card .case-tags { margin-top: 0; }
.work-link { font-size: 13px; font-weight: 600; color: var(--emerald); }

/* Featured case study (FurrFinds) */
.case-featured {
  background: var(--ink); color: var(--paper); border-radius: 18px; padding: 52px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.case-featured h2 { color: var(--white); }
.case-featured p { color: #C7CDBF; }
.case-featured .case-tags span { border-color: rgba(255,255,255,0.25); color: #E3E6DD; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 34px;
}
.testimonial-card p.quote {
  font-family: var(--font-display); font-size: 19px; font-style: italic; color: var(--ink); margin-bottom: 20px;
}
.testimonial-author { font-weight: 700; font-size: 14.5px; }
.testimonial-role { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--line); padding: 20px 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--emerald); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 14px 0 0; font-size: 14.5px; }

/* ============================================
   Scroll reveal
   ============================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none; border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .checklist-grid { grid-template-columns: repeat(2, 1fr); }
  .process-6 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .work-grid { grid-template-columns: 1fr; }
  .case-featured { grid-template-columns: 1fr; padding: 36px; }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 4px;
  }
  .main-nav.open a { padding: 12px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist-grid { grid-template-columns: 1fr; }
  .process-6 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
