/* ============================================
   EDOSIT.COM — Brand Stylesheet
   ============================================ */

:root {
  --bg:       #f8f6f2;
  --bg2:      #f0ede8;
  --white:    #ffffff;
  --border:   rgba(0,0,0,0.10);
  --border2:  rgba(0,0,0,0.18);
  --text:     #181614;
  --muted:    #524840;
  --faint:    #988880;
  --orange:   #E05010;
  --green:    #3e8010;
  --blue:     #1470b8;
  --yellow:   #F5C800;
  --charcoal: #2e2a26;
  --sans:     'Inter', sans-serif;
  --slab:     'Roboto Slab', serif;
  --mono:     'Roboto Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  overflow-x: hidden;
}

/* ---- TOP BAR ---- */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  height: 4px;
}
.top-bar span { flex: 1; }
.tb-orange { background: var(--orange); }
.tb-green  { background: var(--green);  }
.tb-blue   { background: var(--blue);   }
.tb-yellow { background: var(--yellow); }

/* ---- NAV ---- */
.site-nav {
  position: sticky;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 70px;
  background: rgba(248,246,242,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-text { line-height: 1.15; }

.nav-logo-text strong {
  display: block;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.2px;
}

.nav-logo-text span {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s;
}

.nav-links a:hover { color: var(--charcoal); }

/* ---- SECTION COMMON ---- */
section { position: relative; z-index: 1; }
.divider { width: 100%; height: 1px; background: var(--border2); position: relative; z-index: 1; }

.section-label {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-top: 0.4rem;
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 5rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 7rem 3rem;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 8rem 3rem 4rem;
  gap: 5rem;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}

.hero-tag::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--charcoal);
  flex-shrink: 0;
  border-radius: 2px;
}

.hero h1 {
  font-family: var(--slab);
  font-size: clamp(2.8rem, 4.8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero h1 .accent { color: var(--charcoal); }

.hero-sub {
  font-size: 1.18rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--blue);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border-radius: 3px;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
}

.hero-cta:hover { background: #105a94; color: #fff; }
.hero-cta:active { transform: scale(0.98); }
.hero-cta::after { content: '\2192'; font-size: 1.05rem; }

/* Hero right — stats card */
.hero-right {
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.hero-logo { margin-bottom: 2rem; }

/* Logo block positions: 6 slots in a 2-col x 3-row grid
   col1: x=0, col2: x=26
   row1: y=0, row2: y=26, row3: y=52 */
.logo-block {
  transition: none;
}

/* Block 1 — orange: pos1 → pos4 → pos6 → pos2 → pos1 */
.lb-1 { animation: shuffle1 12s ease-in-out infinite; }
@keyframes shuffle1 {
  0%, 8%    { x: 0;  y: 0;  }
  20%, 28%  { x: 26; y: 0;  }
  40%, 48%  { x: 26; y: 52; }
  60%, 68%  { x: 0;  y: 26; }
  80%, 100% { x: 0;  y: 0;  }
}

/* Block 2 — green: pos2 → pos5 → pos1 → pos6 → pos2 */
.lb-2 { animation: shuffle2 12s ease-in-out infinite; }
@keyframes shuffle2 {
  0%, 8%    { x: 0;  y: 26; }
  20%, 28%  { x: 26; y: 26; }
  40%, 48%  { x: 0;  y: 0;  }
  60%, 68%  { x: 26; y: 52; }
  80%, 100% { x: 0;  y: 26; }
}

/* Block 3 — yellow: pos3 → pos1 → pos5 → pos4 → pos3 */
.lb-3 { animation: shuffle3 12s ease-in-out infinite; }
@keyframes shuffle3 {
  0%, 8%    { x: 0;  y: 52; }
  20%, 28%  { x: 0;  y: 0;  }
  40%, 48%  { x: 26; y: 26; }
  60%, 68%  { x: 26; y: 0;  }
  80%, 100% { x: 0;  y: 52; }
}

/* Block 4 — blue: pos4 → pos3 → pos2 → pos5 → pos4 */
.lb-4 { animation: shuffle4 12s ease-in-out infinite; }
@keyframes shuffle4 {
  0%, 8%    { x: 26; y: 0;  }
  20%, 28%  { x: 0;  y: 52; }
  40%, 48%  { x: 0;  y: 26; }
  60%, 68%  { x: 26; y: 26; }
  80%, 100% { x: 26; y: 0;  }
}

/* Block 5 — orange2: pos5 → pos6 → pos3 → pos1 → pos5 */
.lb-5 { animation: shuffle5 12s ease-in-out infinite; }
@keyframes shuffle5 {
  0%, 8%    { x: 26; y: 26; }
  20%, 28%  { x: 26; y: 52; }
  40%, 48%  { x: 0;  y: 52; }
  60%, 68%  { x: 0;  y: 0;  }
  80%, 100% { x: 26; y: 26; }
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}

.hero-stat { padding: 1.1rem 0; border-right: 1px solid var(--border); }
.hero-stat:nth-child(2n) { border-right: none; padding-left: 1.25rem; }
.hero-stat:nth-child(n+3) { border-top: 1px solid var(--border); }

.hero-stat-num {
  font-family: var(--slab);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.color-bar {
  display: flex;
  height: 5px;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  margin: 0 -2.5rem -2.5rem;
}

.color-bar span { flex: 1; }
.cb-orange { background: var(--orange); }
.cb-green  { background: var(--green);  }
.cb-blue   { background: var(--blue);   }
.cb-yellow { background: var(--yellow); }

/* ---- PROCESS STRIP ---- */
.process-strip {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1160px;
  margin: 0 auto;
  padding: 5rem 3rem;
}

.process-step {
  flex: 1;
  text-align: center;
  max-width: 280px;
}

.process-icon {
  width: 36px;
  height: 36px;
  color: var(--blue);
  margin-bottom: 1rem;
}

.process-num {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--faint);
  margin-bottom: 0.5rem;
}

.process-step h3 {
  font-family: var(--slab);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

.process-connector {
  font-size: 1.4rem;
  color: var(--faint);
  padding-top: 2.2rem;
  margin: 0 1.5rem;
  flex-shrink: 0;
}

/* ---- SERVICE ICONS ---- */
.service-icon {
  width: 32px;
  height: 32px;
  color: var(--faint);
  margin-bottom: 0.6rem;
}

.service-card:nth-child(1) .service-icon { color: var(--orange); }
.service-card:nth-child(2) .service-icon { color: var(--green); }
.service-card:nth-child(3) .service-icon { color: var(--blue); }
.service-card:nth-child(4) .service-icon { color: var(--yellow); filter: brightness(0.8); }

/* ---- ABOUT ---- */
.about-body h2,
.beyond-body h2,
.contact-body h2 {
  font-family: var(--slab);
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
  color: var(--text);
}

.about-body p,
.beyond-body p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.82;
  margin-bottom: 1.1rem;
}

.about-body p strong { color: var(--text); font-weight: 500; }

.about-callout {
  border-left: 3px solid var(--blue);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-size: 1.12rem;
  line-height: 1.6;
}

.about-callout strong { color: var(--text); font-weight: 600; }

.principle-list {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
  border-top: 2px solid var(--border2);
}

.principle-list li {
  display: flex;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
  color: var(--muted);
  align-items: baseline;
}

.principle-list li::before {
  content: attr(data-n);
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--charcoal);
  font-weight: 500;
}

/* ---- SERVICES ---- */
.services-wrap {
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}

.services-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 5rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 7rem 3rem 3rem;
}

.services-top h2 {
  font-family: var(--slab);
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
}

.services-top p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  padding-top: 0.3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 1160px;
  margin: 0 auto 7rem;
  padding: 0 3rem;
}

.service-card {
  background: var(--white);
  padding: 2.25rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:nth-child(2) { border-top-color: var(--green); }
.service-card:nth-child(3) { border-top-color: var(--blue); }
.service-card:nth-child(4) { border-top-color: var(--yellow); }
.service-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }

.service-num {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--faint);
  margin-bottom: 0.9rem;
  font-weight: 400;
}

.service-card h3 {
  font-family: var(--slab);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.7rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--blue);
  border: 1px solid rgba(20,112,184,0.28);
  padding: 0.22rem 0.55rem;
  border-radius: 3px;
  background: rgba(20,112,184,0.05);
  font-weight: 400;
}

/* ---- BEYOND IT ---- */
.interest-list {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
  border-top: 2px solid var(--border2);
}

.interest-list li {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
  color: var(--muted);
  transition: color 0.18s;
}

.interest-list li:hover { color: var(--text); }

.interest-list li::before {
  content: attr(data-icon);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  min-width: 4rem;
  font-weight: 500;
}

.interest-list li:nth-child(1)::before { color: var(--blue); }
.interest-list li:nth-child(2)::before { color: var(--charcoal); }
.interest-list li:nth-child(3)::before { color: var(--green); }
.interest-list li:nth-child(4)::before { color: var(--yellow); filter: brightness(0.8); }
.interest-list li:nth-child(5)::before { color: var(--blue); }

/* ---- CONTACT ---- */
.contact-wrap {
  background: var(--bg2);
  border-top: 1px solid var(--border2);
}

.contact-body p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 460px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: color 0.18s;
}

.contact-link:first-of-type { border-top: 1px solid var(--border); }
.contact-link:hover { color: var(--charcoal); }

.contact-link-label {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  min-width: 68px;
  font-weight: 500;
}

.contact-link:hover .contact-link-label { color: var(--charcoal); }

.contact-link-value { font-size: 1rem; flex: 1; font-weight: 400; }

.contact-link-arrow {
  font-size: 0.9rem;
  color: var(--faint);
  opacity: 0;
  transition: opacity 0.18s;
}

.contact-link:hover .contact-link-arrow { opacity: 1; }

/* ---- CONTACT FORM ---- */
.contact-form { margin-top: 2.5rem; }

.contact-form .form-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
}

.contact-form .form-control {
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.7rem 0.9rem;
}

.contact-form .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20,112,184,0.12);
}

.contact-form .btn-submit {
  background: var(--blue);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 3px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form .btn-submit:hover { background: #105a94; }

/* ---- FOOTER ---- */
.footer-bar {
  height: 4px;
  display: flex;
  width: 100%;
}
.footer-bar span { flex: 1; }
.fb-o { background: var(--orange); }
.fb-g { background: var(--green);  }
.fb-b { background: var(--blue);   }
.fb-y { background: var(--yellow); }

.site-footer {
  padding: 1.75rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.site-footer p {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  color: var(--faint);
  margin: 0;
}

/* ---- FADE IN ---- */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 3rem; gap: 2.5rem; }
  .hero-right { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; padding: 5rem 1.5rem; }
  .services-top { grid-template-columns: 1fr; gap: 2rem; padding: 5rem 1.5rem 2.5rem; }
  .services-grid { grid-template-columns: 1fr; padding: 0 1.5rem; margin-bottom: 5rem; }
  .site-footer { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.5rem; }
  .process-strip { flex-direction: column; align-items: center; padding: 4rem 1.5rem; gap: 2rem; }
  .process-connector { display: none; }
}
