/* Ekonbee site — extra page styles (appended to base styles.css via @import) */
@import url("./styles.css?v=9");

/* -------- Page hero (breadcrumb banner) -------- */
.page-hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(900px 400px at 10% 120%, rgba(238,144,2,.12), transparent 60%),
    radial-gradient(900px 400px at 90% 0%, rgba(170,59,170,.12), transparent 60%),
    #faf7f4;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.page-hero__crumbs { font-family: var(--font-nav); font-size: 13px; color: var(--fg-muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.page-hero__crumbs a { color: var(--fg-muted); }
.page-hero__crumbs a:hover { color: var(--ekb-purple); }
.page-hero__crumbs .sep { color: rgba(0,0,0,.25); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.02em; margin: 6px 0 14px; max-width: 900px; }
.page-hero__lede { font-size: 18px; line-height: 1.6; color: #3b3330; max-width: 720px; margin: 0; }

/* -------- Two-column content layout for detail pages -------- */
.detail { padding: 80px 0; background: #fff; }
.detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.detail__aside {
  position: sticky; top: 100px;
  background: #faf7f4; border: 1px solid rgba(0,0,0,.06); border-radius: 16px; padding: 26px;
}
.detail__aside h5 { font-family: var(--font-nav); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); font-weight: 700; margin-bottom: 14px; }
.detail__aside ul { list-style: none; padding: 0; margin: 0 0 22px; }
.detail__aside ul li { padding: 10px 0; border-bottom: 1px dashed rgba(0,0,0,.08); font-size: 14px; display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: baseline; color: var(--fg-heading); }
.detail__aside ul li:last-child { border-bottom: 0; }
.detail__aside ul li span { color: var(--fg-muted); font-size: 13px; text-align: right; line-height: 1.5; }
.detail__aside .btn { width: 100%; justify-content: center; }

.prose h2 { font-size: 32px; margin: 40px 0 14px; letter-spacing: -.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; margin: 32px 0 10px; }
.prose p { font-size: 16.5px; line-height: 1.7; color: #3b3330; margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 20px; }
.prose ul li, .prose ol li { font-size: 16px; line-height: 1.65; color: #3b3330; margin-bottom: 8px; }
.prose blockquote {
  margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--ekb-orange);
  background: #faf7f4; border-radius: 0 12px 12px 0;
  font-family: var(--font-heading); font-size: 20px; line-height: 1.5; color: var(--fg-heading); font-style: italic;
}
.prose .callout {
  background: linear-gradient(135deg, rgba(170,59,170,.08), rgba(45,182,250,.06));
  border: 1px solid rgba(170,59,170,.18);
  border-radius: 14px; padding: 22px 24px; margin: 26px 0;
}
.prose .callout h4 { font-size: 17px; margin: 0 0 8px; color: var(--ekb-purple); }
.prose .callout p { margin: 0; font-size: 15px; }
.prose img { border-radius: 14px; margin: 20px 0; }
.prose hr { border: 0; border-top: 1px solid rgba(0,0,0,.1); margin: 36px 0; }

/* -------- Contact page form -------- */
.contact { padding: 80px 0; background: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact__info ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.contact__info li { display: flex; gap: 14px; align-items: flex-start; }
.contact__info li i { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: rgba(170,59,170,.08); color: var(--ekb-purple); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.contact__info h5 { font-size: 15px; margin-bottom: 4px; font-family: var(--font-heading); }
.contact__info p { margin: 0; font-size: 14.5px; color: var(--fg-muted); line-height: 1.55; }
.contact__card {
  background: #faf7f4; border: 1px solid rgba(0,0,0,.06); border-radius: 20px; padding: 32px;
}
.contact__tabs { display: flex; gap: 6px; padding: 4px; background: rgba(0,0,0,.04); border-radius: 12px; margin-bottom: 24px; }
.contact__tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px; border: 0; background: transparent; border-radius: 9px;
  font: 600 13.5px var(--font-body); color: var(--fg-muted); cursor: pointer; transition: all .18s ease;
}
.contact__tab i { font-size: 15px; }
.contact__tab:hover { color: var(--fg); }
.contact__tab.is-active { background: #fff; color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.contact__panel { display: none; }
.contact__panel.is-active { display: block; }
html[data-theme="dark"] .contact__tabs { background: rgba(255,255,255,.05); }
html[data-theme="dark"] .contact__tab.is-active { background: rgba(255,255,255,.08); }
.ekb-hsform { font-family: var(--font-body); }
.ekb-hsform .hs-form-field { margin-bottom: 14px; }
.ekb-hsform label { font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 6px; display: block; }
.ekb-hsform input[type=text], .ekb-hsform input[type=email], .ekb-hsform input[type=tel],
.ekb-hsform select, .ekb-hsform textarea {
  width: 100% !important; padding: 11px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 10px;
  background: #fff; font: 14px var(--font-body); color: var(--fg);
}
.ekb-hsform .hs-button {
  width: 100%; padding: 12px 18px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg,#fdb813,#f26722,#c1268c);
  color: #fff; font: 600 14px var(--font-body); cursor: pointer;
}
html[data-theme="dark"] .ekb-hsform input, html[data-theme="dark"] .ekb-hsform select, html[data-theme="dark"] .ekb-hsform textarea {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: var(--fg);
}
.hs-placeholder {
  padding: 28px 24px; border: 1px dashed rgba(193,38,140,0.35); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,184,72,0.06), rgba(193,38,140,0.04));
  text-align: center;
}
.hs-placeholder i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg,#fdb813,#f26722,#c1268c); color: #fff; font-size: 22px;
}
.hs-placeholder strong { display: block; font-size: 15px; color: var(--fg); margin-bottom: 6px; font-family: var(--font-heading); }
.hs-placeholder p { font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); margin: 0; }
.hs-placeholder code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: rgba(0,0,0,.06); padding: 2px 6px; border-radius: 4px; }
html[data-theme="dark"] .hs-placeholder code { background: rgba(255,255,255,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--font-nav); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--fg-heading); text-transform: uppercase; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 10px;
  font-family: var(--font-default); font-size: 14.5px; color: var(--fg-heading); background: #fff; outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ekb-orange); box-shadow: 0 0 0 3px rgba(238,144,2,.15); }
.field__hint { font-size: 12px; color: var(--fg-muted); }

/* -------- Insights list -------- */
.insights-list { padding: 80px 0; background: #fff; }
.insights-list__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insights-list__filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 50px; }
.chip {
  font-family: var(--font-nav); font-size: 13px; font-weight: 500; padding: 8px 16px; border-radius: 999px;
  background: #faf7f4; color: var(--fg-heading); border: 1px solid rgba(0,0,0,.08); cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--ekb-purple); color: var(--ekb-purple); }
.chip.is-active { background: var(--fg-heading); color: #fff; border-color: var(--fg-heading); }

/* -------- Services index (richer) -------- */
.svc-index { padding: 80px 0; background: #fff; }
.svc-row {
  display: grid; grid-template-columns: 48px 1fr 1.3fr auto; gap: 32px; align-items: start;
  padding: 32px 0; border-top: 1px solid rgba(0,0,0,.08);
  transition: background .2s var(--ease);
}
.svc-row:last-child { border-bottom: 1px solid rgba(0,0,0,.08); }
.svc-row:hover { background: #faf7f4; margin: 0 -20px; padding-left: 20px; padding-right: 20px; border-radius: 12px; }
.svc-row__num { font-family: var(--font-heading); font-size: 30px; font-weight: 800; color: var(--ekb-purple); letter-spacing: -.02em; }
.svc-row__title h3 { font-size: 24px; margin-bottom: 6px; }
.svc-row__title p { margin: 0; font-size: 14px; color: var(--fg-muted); }
.svc-row__desc { font-size: 15px; line-height: 1.6; color: #3b3330; margin: 0; }
.svc-row__link { font-family: var(--font-nav); font-size: 14px; font-weight: 600; color: var(--ekb-purple); white-space: nowrap; }
.svc-row__link:hover { color: var(--ekb-orange); }

/* -------- Industries detail cards -------- */
.ind-grid-lg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.ind-card {
  background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 18px; padding: 32px;
  display: flex; gap: 22px; align-items: flex-start;
}
.ind-card__ico { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; background: var(--grad-brand-diag); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.ind-card h3 { font-size: 22px; margin-bottom: 10px; }
.ind-card p { color: var(--fg-muted); margin: 0 0 14px; line-height: 1.6; font-size: 14.5px; }
.ind-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ind-card ul li { font-family: var(--font-nav); font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.04); color: var(--fg-heading); }

/* -------- Case studies list -------- */
.case-list { padding: 80px 0; background: #fff; }
.case-list__row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center;
  padding: 50px 0; border-top: 1px solid rgba(0,0,0,.08);
}
.case-list__row:last-child { border-bottom: 1px solid rgba(0,0,0,.08); }
.case-list__row:nth-child(even) { direction: rtl; }
.case-list__row:nth-child(even) > * { direction: ltr; }
.case-list__media {
  aspect-ratio: 4/3; border-radius: 18px; position: relative; overflow: hidden;
  background: var(--grad-brand-diag);
}
.case-list__media.alt-1 { background: linear-gradient(135deg, #0492ce 0%, #7e3fbf 100%); }
.case-list__media.alt-2 { background: linear-gradient(135deg, #fdb813 0%, #e53e3e 100%); }
.case-list__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 20% 20%, rgba(255,255,255,.3), transparent 60%); }
.case-list__media .tag { position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,.95); color: var(--fg-heading); font-family: var(--font-nav); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.case-list__body h3 { font-size: 30px; letter-spacing: -.01em; margin-bottom: 12px; }
.case-list__body p { color: var(--fg-muted); font-size: 15px; line-height: 1.65; margin: 0 0 16px; }
.case-list__metrics { display: flex; gap: 24px; padding: 16px 0; margin: 16px 0; border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); }
.case-list__metrics div strong { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--fg-heading); display: block; }
.case-list__metrics div span { font-size: 12px; color: var(--fg-muted); }

/* -------- About page bits -------- */
.about-story { padding: 80px 0; background: #fff; position: relative; overflow: hidden; }
.about-story__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.about-story__bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.about-story--branded { background: linear-gradient(180deg, #fff 0%, #fffaf0 100%); }
.about-story__photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1; max-width: 540px; margin-inline: auto; box-shadow: 0 20px 50px rgba(238,144,2,.25), 0 4px 12px rgba(26,21,19,.12); }
.about-story__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-story__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(253,184,19,.12) 0%, transparent 35%, transparent 65%, rgba(193,38,140,.10) 100%); pointer-events: none; }
.as-art { position: relative; aspect-ratio: 1 / 1; max-width: 540px; margin-inline: auto; filter: drop-shadow(0 20px 50px rgba(238,144,2,.25)); }
.as-art svg { width: 100%; height: 100%; display: block; }
.as-hive { transform-origin: 280px 340px; transform-box: view-box; animation: as-hive-pulse 5s ease-in-out infinite; }
@keyframes as-hive-pulse { 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.025); } }
.as-honey { animation: as-honey-flow 6s linear infinite; filter: drop-shadow(0 0 6px rgba(255,255,255,.6)); }
@keyframes as-honey-flow { to { stroke-dashoffset: -140; } }
.as-fly { offset-rotate: auto; filter: drop-shadow(0 3px 6px rgba(0,0,0,.25)); }
.as-fly--1 { offset-path: path("M 80,120 C 220,40 380,60 480,160 C 540,280 460,440 320,470 C 180,490 60,400 60,260 C 60,180 80,140 80,120 Z"); animation: as-fly1 14s linear infinite; }
.as-fly--2 { offset-path: path("M 130,200 C 220,140 360,140 430,220 C 480,300 420,380 320,360 C 220,340 220,400 150,420 C 80,400 80,260 130,200 Z"); animation: as-fly2 11s linear infinite reverse; }
@keyframes as-fly1 { to { offset-distance: 100%; } }
@keyframes as-fly2 { to { offset-distance: 100%; } }
.as-wing { transform-origin: center; transform-box: fill-box; animation: as-wing 90ms ease-in-out infinite alternate; }
.as-wing--r { animation-delay: 45ms; }
@keyframes as-wing { from{ transform: scaleY(1); } to{ transform: scaleY(.4) translateY(-1px); } }
.as-sparks .s { transform-origin: center; transform-box: fill-box; animation: as-spark 3s ease-in-out infinite; filter: drop-shadow(0 0 4px rgba(255,255,255,.85)); }
.as-sparks .s:nth-of-type(2){ animation-delay: .5s; }
.as-sparks .s:nth-of-type(3){ animation-delay: 1s; }
.as-sparks .s:nth-of-type(4){ animation-delay: 1.5s; }
.as-sparks .s:nth-of-type(5){ animation-delay: 2s; }
.as-sparks .s:nth-of-type(6){ animation-delay: 2.5s; }
@keyframes as-spark { 0%,100%{ opacity:.4; transform: scale(.6); } 50%{ opacity:1; transform: scale(1.4); } }
@media (prefers-reduced-motion: reduce) { .as-hive, .as-honey, .as-fly, .as-wing, .as-sparks .s { animation: none; } }
.about-values { padding: 80px 0; background: #faf7f4; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.value {
  background: #fff; border-radius: 16px; padding: 26px; border: 1px solid rgba(0,0,0,.06);
}
.value .num { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--ekb-orange); letter-spacing: .08em; }
.value h4 { font-size: 18px; margin: 8px 0 10px; }
.value p { font-size: 14px; line-height: 1.55; color: var(--fg-muted); margin: 0; }

.about-team { padding: 80px 0; background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.member {
  background: #faf7f4; border-radius: 16px; padding: 24px; text-align: center;
}
.member .ph {
  width: 96px; height: 110px; margin: 0 auto 16px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--grad-brand-diag); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 30px;
  position: relative; box-shadow: 0 8px 24px -8px rgba(238,144,2,.45);
  transition: transform .3s ease;
}
.member:hover .ph { transform: scale(1.06) rotate(-3deg); }
.member { transition: transform .3s ease, box-shadow .3s ease; }
.member:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -16px rgba(238,144,2,.4); }
.member h4 { font-size: 17px; margin-bottom: 4px; }
.member p { font-size: 13px; color: var(--fg-muted); margin: 0; }

/* -------- 404 -------- */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; background: #faf7f4; }
.not-found h1 { font-size: 120px; font-weight: 900; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.not-found h2 { font-size: 28px; margin: 10px 0 16px; }
.not-found p { font-size: 16px; color: var(--fg-muted); max-width: 480px; margin: 0 auto 26px; line-height: 1.6; }

/* -------- Responsive overrides -------- */
@media (max-width: 1024px) {
  .detail__grid, .contact__grid, .about-story__grid { grid-template-columns: 1fr; }
  .detail__aside { position: static; }
  .case-list__row { grid-template-columns: 1fr; }
  .case-list__row:nth-child(even) { direction: ltr; }
  .svc-row { grid-template-columns: 1fr; gap: 10px; }
  .svc-row__num { font-size: 22px; }
  .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid-lg { grid-template-columns: 1fr; }
  .insights-list__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .values-grid, .team-grid, .insights-list__grid, .form-row { grid-template-columns: 1fr; }
  .case-list__metrics { flex-wrap: wrap; gap: 12px; }
}

