:root {
  --deep: #07142f;
  --deep-2: #0d1f4f;
  --purple: #6d3dff;
  --cyan: #16d9ff;
  --ink: #102039;
  --muted: #667085;
  --line: rgba(16, 32, 57, .12);
  --white: #fff;
  --soft: #f5f8ff;
  --shadow: 0 24px 70px rgba(7, 20, 47, .16);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(1280px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--deep); color: #fff; padding: 10px 14px; z-index: 1000; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16,32,57,.08);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: .2px; color: var(--deep); }
.logo-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--deep), var(--purple) 55%, var(--cyan)); box-shadow: 0 12px 30px rgba(109,61,255,.25); }
.logo small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 14px; font-weight: 800; flex: 1 1 auto; }
.nav-menu > a, .nav-drop-trigger { min-height: 42px; display: inline-flex; align-items: center; gap: 5px; padding: 0 11px; border-radius: 8px; color: #20314d; position: relative; white-space: nowrap; }
.nav-menu > a::after, .nav-drop-trigger::after { content: ""; position: absolute; left: 11px; right: 100%; bottom: 4px; height: 2px; background: linear-gradient(90deg, var(--purple), var(--cyan)); transition: right .25s ease; }
.nav-menu > a:hover, .nav-menu > a.active, .nav-drop-trigger:hover, .nav-drop-trigger.active { background: rgba(22,217,255,.08); color: var(--deep); }
.nav-menu > a:hover::after, .nav-menu > a.active::after, .nav-drop-trigger:hover::after, .nav-drop-trigger.active::after { right: 11px; }
.nav-dropdown { position: relative; }
.nav-drop-trigger { border: 0; background: transparent; cursor: pointer; font-weight: 850; }
.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(1120px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(16,32,57,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 28px 80px rgba(7,20,47,.18);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.nav-dropdown:hover .mega-menu, .nav-dropdown:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-menu::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.mega-col { display: grid; align-content: start; gap: 6px; padding: 10px; border-radius: 8px; background: linear-gradient(180deg, rgba(245,248,255,.9), rgba(255,255,255,.75)); }
.mega-col > span { margin-bottom: 4px; color: var(--purple); font-size: 12px; font-weight: 950; letter-spacing: 1.2px; text-transform: uppercase; }
.mega-col a { display: grid; gap: 2px; padding: 10px; border-radius: 8px; color: var(--deep); transition: background .2s ease, transform .2s ease; }
.mega-col a:hover { background: #fff; transform: translateX(3px); box-shadow: 0 10px 24px rgba(7,20,47,.08); }
.mega-col strong { font-size: 14px; line-height: 1.25; }
.mega-col small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 8px; color: var(--deep); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; font-weight: 850; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--purple), #3457ff 55%, var(--cyan)); box-shadow: 0 18px 38px rgba(52,87,255,.25); }
.btn-secondary { color: var(--deep); background: #fff; border-color: rgba(255,255,255,.45); box-shadow: 0 12px 34px rgba(7,20,47,.12); }
.btn-ghost { color: var(--deep); background: rgba(22,217,255,.1); border-color: rgba(22,217,255,.28); }
.btn-whatsapp { color: #fff; background: #0fbf63; }

.hero {
  min-height: calc(100vh - 78px);
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #07142f;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,47,.96) 0%, rgba(7,20,47,.78) 47%, rgba(7,20,47,.2) 100%), url("assets/jyonexa-hero.png") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto -12% -28% -12%; height: 36%; background: radial-gradient(circle, rgba(22,217,255,.32), transparent 65%); filter: blur(12px); }
.hero-grid { position: relative; z-index: 1; min-height: calc(100vh - 78px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); align-items: center; gap: 44px; padding: 78px 0 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #d9f8ff; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 800; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
h1, h2, h3 { margin: 0; line-height: 1.12; color: var(--deep); }
.hero h1 { color: #fff; font-size: clamp(36px, 5vw, 62px); letter-spacing: 0; max-width: 760px; }
.hero p { max-width: 760px; margin: 22px 0 30px; color: #dbe7ff; font-size: clamp(17px, 2vw, 21px); }
.hero-ctas, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel { align-self: stretch; display: grid; align-content: end; gap: 14px; }
.slider-card { border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 24px; background: rgba(255,255,255,.1); box-shadow: 0 30px 90px rgba(0,0,0,.22); backdrop-filter: blur(18px); min-height: 220px; overflow: hidden; }
.slide { display: none; animation: rise .55s ease both; }
.slide.active { display: block; }
.slide .number { color: var(--cyan); font-weight: 900; font-size: 13px; letter-spacing: 1.6px; }
.slide h2 { color: #fff; margin: 12px 0 12px; font-size: 30px; }
.slide p { margin: 0; font-size: 16px; }
.progress-dots { display: flex; gap: 8px; }
.progress-dots button { width: 34px; height: 4px; border: 0; border-radius: 99px; background: rgba(255,255,255,.28); cursor: pointer; }
.progress-dots button.active { background: var(--cyan); }

.section { padding: 92px 0; }
.section.dark { color: #fff; background: radial-gradient(circle at 15% 0, rgba(109,61,255,.38), transparent 36%), linear-gradient(135deg, var(--deep), #111247 58%, #061326); }
.section.soft { background: var(--soft); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr); gap: 24px; align-items: end; margin-bottom: 42px; }
.kicker { color: var(--purple); font-size: 13px; font-weight: 900; letter-spacing: 1.7px; text-transform: uppercase; }
.section.dark .kicker { color: var(--cyan); }
.section h2 { margin-top: 10px; font-size: clamp(28px, 3.2vw, 42px); }
.section-head p, .lead { color: var(--muted); margin: 0; font-size: 17px; }
.section.dark p, .section.dark .lead { color: #dbe7ff; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; box-shadow: 0 12px 34px rgba(7,20,47,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(22,217,255,.35); }
.dark .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); box-shadow: none; }
.icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--purple), var(--cyan)); font-weight: 950; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card h2 { font-size: clamp(25px, 2.4vw, 34px); line-height: 1.14; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); }
.service-card { display: flex; flex-direction: column; min-height: 260px; }
.service-card p { flex: 1; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.card-actions .btn { min-height: 40px; padding-inline: 14px; font-size: 14px; }
.dark .card p { color: #dbe7ff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { padding: 7px 10px; border-radius: 999px; background: rgba(22,217,255,.1); color: #16537b; font-size: 12px; font-weight: 850; }
.dark .tag { color: #d9f8ff; background: rgba(255,255,255,.1); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 34px; }
.stat { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat strong { display: block; color: var(--deep); font-size: 34px; line-height: 1; }
.stat span { color: var(--muted); font-weight: 750; font-size: 13px; }
.dark .stat { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.dark .stat strong, .dark .stat span { color: #fff; }

.split { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 36px; align-items: center; }
.visual-panel { min-height: 420px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(7,20,47,.95), rgba(109,61,255,.8)), url("assets/jyonexa-hero.png") center/cover; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.visual-panel::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: linear-gradient(135deg, rgba(255,255,255,.12), transparent); animation: floaty 5s ease-in-out infinite; }
.list { display: grid; gap: 12px; padding: 0; margin: 22px 0 0; list-style: none; }
.list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.list li::before { content: "\\2713"; color: var(--cyan); font-weight: 950; }

.case-metric { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.case-metric strong { color: var(--purple); font-size: 26px; }
.profile { text-align: center; }
.avatar { width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--deep), var(--purple), var(--cyan)); font-size: 34px; font-weight: 950; box-shadow: 0 18px 40px rgba(109,61,255,.2); }
.socials { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--deep); font-weight: 850; }

.testimonial-wrap { position: relative; }
.testimonial { display: none; }
.testimonial.active { display: block; animation: rise .45s ease both; }
.quote { font-size: 22px; color: var(--deep); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 850; color: var(--deep); }
.faq p { color: var(--muted); margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1fr); gap: 24px; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 850; color: var(--deep); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; background: #fff; color: var(--ink); outline: none; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(22,217,255,.12); }
.notice { display: none; padding: 12px 14px; border-radius: 8px; background: rgba(15,191,99,.12); color: #097442; font-weight: 800; }
.notice.show { display: block; }
.map { min-height: 280px; border: 0; width: 100%; border-radius: var(--radius); filter: saturate(.95); }

.site-footer { color: #dbe7ff; background: #061126; padding: 60px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0,.7fr)); gap: 26px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer p, .site-footer a { color: #b9c7e4; font-size: 14px; }
.footer-links { display: grid; gap: 9px; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #9badca; }

.float-actions { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 10px; z-index: 90; }
.float-actions a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 16px 34px rgba(7,20,47,.25); font-weight: 950; }
.float-whatsapp { background: #0fbf63; animation: pulse 1.9s ease-in-out infinite; }
.float-call { background: var(--purple); }
.float-mail { background: var(--deep); }
.popup, .cookie { position: fixed; z-index: 120; }
.popup { inset: 0; display: none; place-items: center; background: rgba(7,20,47,.58); padding: 18px; }
.popup.show { display: grid; }
.popup-box { width: min(520px, 100%); background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; }
.popup-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.cookie { left: 18px; right: 18px; bottom: 18px; display: none; max-width: 720px; padding: 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.cookie.show { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(15,191,99,.45), 0 16px 34px rgba(7,20,47,.25); } 50% { box-shadow: 0 0 0 14px rgba(15,191,99,0), 0 16px 34px rgba(7,20,47,.25); } }

@media (max-width: 1050px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-menu { position: fixed; inset: 76px 0 auto 0; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 76px); overflow: auto; }
  .nav-menu.open { display: flex; }
  .nav-menu > a, .nav-drop-trigger { width: 100%; justify-content: space-between; padding-inline: 12px; }
  .nav-dropdown { width: 100%; }
  .mega-menu { position: static; left: auto; display: none; width: 100%; grid-template-columns: 1fr; margin-top: 8px; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-color: var(--line); background: var(--soft); }
  .nav-dropdown:hover .mega-menu, .nav-dropdown:focus-within .mega-menu { transform: none; }
  .nav-dropdown.open .mega-menu { display: grid; }
  .mega-menu::before { display: none; }
  .nav-actions .btn-ghost, .nav-actions .btn-whatsapp { display: none; }
  .hero-grid, .split, .section-head, .contact-grid { grid-template-columns: 1fr; }
  .hero-panel { align-self: auto; }
}
@media (max-width: 800px) {
  .section { padding: 66px 0; }
  .grid-2, .grid-3, .grid-4, .stats, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 54px; min-height: auto; }
  .hero { min-height: auto; }
  .nav-actions .btn-primary { display: none; }
  .copyright { display: block; }
  .cookie.show { display: block; }
  .cookie .btn { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
