/* EGlobe Media — site styles
   Tokens first, then base, layout, components, pages. */

:root {
  --ink: #0b1b3a;
  --ink-2: #14295a;
  --ink-3: #243a6e;
  --saffron: #f2a20c;
  --saffron-d: #d98d00;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: #dde3ef;
  --slate: #46546f;
  --muted: #6b7794;
  --wa: #1fa855;
  --wa-d: #178a44;
  --danger: #b3261e;
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 1px 2px rgba(11, 27, 58, .06), 0 8px 24px rgba(11, 27, 58, .08);
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink-3); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.55rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 700 1rem/1 var(--font-body);
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--saffron); color: var(--ink); }
.btn--primary:hover { background: var(--saffron-d); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-d); color: #fff; }
.btn--line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--line-dark { border-color: var(--line); color: var(--ink); }
.btn--line-dark:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #c9d3ea; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--saffron); }
.topbar__links { display: flex; gap: 20px; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 66px; width: auto; display: block; }
.logo--plate { background: #fff; border-radius: 12px; padding: 8px 14px; }
.logo--plate img { height: 48px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__drop > button {
  font: 600 .98rem/1 var(--font-body); color: var(--ink); background: none; border: 0; cursor: pointer;
  padding: 12px 14px; border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav__drop > button:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"], .nav__drop.is-current > button { color: var(--ink-3); box-shadow: inset 0 -3px 0 var(--saffron); border-radius: 0; }
.nav__drop { position: relative; }
.nav__drop > button .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav__menu {
  position: absolute; top: 100%; left: -8px; min-width: 330px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: none;
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.is-open .nav__menu { display: block; }
.nav__drop.is-open > button .icon, .nav__drop:hover > button .icon { transform: rotate(180deg); }
.nav__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; }
.nav__menu a:hover { background: var(--paper); }
.nav__menu .icon { color: var(--saffron-d); }
.nav > a.header-cta { margin-left: 10px; background: var(--saffron); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 700; }
.nav > a.header-cta:hover { background: var(--saffron-d); color: var(--ink); }
.menu-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }

/* ---------- Hero (home) ---------- */
.hero { background: var(--ink); color: #c9d3ea; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; max-width: 17ch; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.hero__lead { font-size: 1.2rem; color: #d3dcf0; max-width: 52ch; margin-bottom: 1.6em; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; color: #fff; font-weight: 600; font-size: .98rem; }
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks .icon { color: var(--saffron); }

.feed { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; color: var(--slate); }
.feed__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.feed__live { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--wa-d); }
.feed__live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--wa); animation: pulse 1.8s infinite; }
.feed__row { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); animation: rowin .6s ease forwards; }
.feed__row:nth-child(2) { animation-delay: .35s; }
.feed__row:nth-child(3) { animation-delay: .95s; }
.feed__row:nth-child(4) { animation-delay: 1.55s; }
.feed__row:nth-child(5) { animation-delay: 2.15s; }
.feed__av { width: 42px; height: 42px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.feed__row strong { display: block; color: var(--ink); line-height: 1.3; font-size: .98rem; }
.feed__row small { color: var(--muted); font-size: .85rem; }
.feed__src { font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #e8f6ee; color: var(--wa-d); }
.feed__src--g { background: #e8effd; color: #1f4fd8; }
.feed__src--s { background: #fdf1d8; color: #8a5a00; }
.feed__note { padding: 12px 20px; font-size: .82rem; color: var(--muted); background: var(--paper); margin: 0; max-width: none; }
@keyframes rowin { to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .5); } 70% { box-shadow: 0 0 0 9px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #d3dcf0; padding: clamp(40px, 6vw, 80px) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 22ch; }
.page-hero p.lead { font-size: 1.18rem; max-width: 60ch; margin-bottom: 1.5em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; margin-bottom: 22px; color: #9fb0d6; }
.crumbs a { color: #cbd6f0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6578a6; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--paper); }
.section--ink { background: var(--ink); color: #c9d3ea; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { font-size: 1.1rem; }

/* Service tiles (home) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--slate); transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: var(--ink-3); box-shadow: var(--shadow); color: var(--slate); }
.tile h3 { margin: 0; }
.tile p { margin: 0; font-size: .98rem; }
.tile__icon { width: 46px; height: 46px; border-radius: 12px; background: #fdf1d8; color: #8a5a00; display: grid; place-items: center; }
.tile__more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.tile--lead { grid-column: span 2; background: var(--ink); border-color: var(--ink); color: #c9d3ea; }
.tile--lead:hover { border-color: var(--ink); color: #c9d3ea; }
.tile--lead h3 { color: #fff; font-size: 1.6rem; }
.tile--lead .tile__icon { background: var(--saffron); color: var(--ink); }
.tile--lead .tile__more { color: var(--saffron); }

/* Two-column text + list */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split--wide-left { grid-template-columns: 1.2fr .8fr; }
.ticks li { display: flex; gap: 12px; padding: 10px 0; align-items: flex-start; }
.ticks .icon { color: var(--wa-d); margin-top: 3px; }
.ticks strong { color: var(--ink); }

/* Feature grid (service pages) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.feature h3 { font-size: 1.15rem; margin-bottom: .4em; }
.feature p { margin: 0; font-size: .98rem; }
.feature .icon { color: var(--saffron-d); width: 28px; height: 28px; margin-bottom: 14px; }

/* Process — a real sequence, so numbered */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--saffron); color: var(--ink); font: 800 1.1rem/42px var(--font-head); text-align: center; }
.steps li::after { content: ""; position: absolute; top: 21px; left: 54px; right: -12px; height: 2px; background: rgba(255, 255, 255, .18); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.12rem; margin-bottom: .3em; }
.steps p { font-size: .97rem; margin: 0; }
.section:not(.section--ink) .steps li::after { background: var(--line); }

/* Packages */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tier--pick { border: 2px solid var(--ink); box-shadow: var(--shadow); position: relative; }
.tier__badge { position: absolute; top: -13px; left: 24px; background: var(--saffron); color: var(--ink); font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }
.tier h3 { margin-bottom: .2em; }
.tier__for { font-size: .97rem; color: var(--muted); margin-bottom: 1em; }
.tier__price { font: 700 1.05rem var(--font-head); color: var(--ink); padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); margin-bottom: 16px; }
.tier .ticks { margin-bottom: 24px; flex: 1; }
.tier .ticks li { padding: 6px 0; font-size: .97rem; }
.tier .btn + .btn { margin-top: 10px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; color: var(--ink); font-size: .96rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 700 1.1rem var(--font-head); color: var(--ink); position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.7rem/1 var(--font-body); color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; margin: 0; }

/* CTA band */
.cta-band { background: var(--ink); border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; color: #c9d3ea; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }

/* Related services */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; font-weight: 700; color: var(--ink); background: #fff; }
.related a:hover { border-color: var(--ink-3); }
.related .icon { color: var(--saffron-d); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: .96rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #c5cee2; border-radius: 10px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 4px rgba(36, 58, 110, .15); }
.field .hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .err { display: none; color: var(--danger); font-size: .88rem; margin: 6px 0 0; font-weight: 600; }
.field.has-error .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 14px; font-weight: 600; display: none; padding: 12px 14px; border-radius: 10px; }
.form__status.is-ok { display: block; background: #e8f6ee; color: #0f6a33; }
.form__status.is-bad { display: block; background: #fdecea; color: var(--danger); }
.form__small { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }

.contact-card { background: var(--paper); border-radius: var(--radius); padding: 28px; margin-bottom: 18px; }
.contact-card h3 { margin-bottom: .6em; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.contact-list .icon { color: var(--saffron-d); margin-top: 4px; }
.contact-list a { color: var(--ink); font-weight: 600; }
.office { padding: 10px 0 14px; border-top: 1px solid var(--line); }
.office:first-of-type { border-top: 0; padding-top: 0; }
.office strong { color: var(--ink); display: block; margin-bottom: 4px; }
.office a { font-weight: 600; font-size: .95rem; }
.form__status .btn { margin-top: 10px; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #071330; color: #aab8d8; padding: 64px 0 28px; font-size: .97rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.site-footer a { color: #aab8d8; text-decoration: none; }
.site-footer a:hover { color: var(--saffron); }
.site-footer li { padding: 4px 0; }
.footer__about { margin-top: 16px; max-width: 34ch; }
.footer__offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__offices address, .office address { font-style: normal; line-height: 1.6; }
.footer__bar { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; font-weight: 700; text-decoration: none; padding: 14px 20px 14px 16px; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 80, 40, .4); transition: background .2s, transform .2s;
}
.wa-float:hover { background: var(--wa-d); color: #fff; transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; }

/* ---------- 404 / thank-you ---------- */
.center-page { text-align: center; padding: clamp(72px, 12vw, 140px) 0; }
.center-page p { margin-left: auto; margin-right: auto; }
.center-page .btn-row { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .footer__offices { gap: 28px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile--lead { grid-column: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .steps li:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar__tag { display: none; }
  .topbar .wrap { justify-content: center; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 88px; right: 0; bottom: 0; left: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 100px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > a, .nav__drop > button { padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; justify-content: space-between; font-size: 1.1rem; }
  .nav a[aria-current="page"], .nav__drop.is-current > button { box-shadow: none; color: var(--ink-3); }
  .nav__menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; }
  .nav__drop > button .icon { display: none; }
  .nav > a.header-cta { margin: 18px 0 0; border-bottom: 0; width: 100%; justify-content: center; border-radius: 999px; padding: 16px; }
  .hero__grid, .split, .split--wide-left, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .features, .tiers, .related { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .tiles, .features, .related, .steps { grid-template-columns: 1fr; }
  .tile--lead { grid-column: auto; }
  .steps li::after { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid, .footer__offices { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .topbar__links { gap: 14px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .feed__row { opacity: 1; transform: none; }
}
