:root {
  --ink: #f4f8ff;
  --muted: #b8c5d3;
  --blue: #1e9bff;
  --blue-light: #73ceff;
  --bg: #03070d;
  --bg-soft: #07111d;
  --panel: #0b1421;
  --panel-light: #101d2d;
  --line: rgba(151, 183, 216, 0.2);
  --line-strong: rgba(103, 199, 255, 0.45);
  --success: #4fe0ad;
  --max: 1180px;
  --content: 820px;
  --radius: 22px;
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(30, 155, 255, 0.14), transparent 34rem),
    linear-gradient(180deg, var(--bg), #07101a 48%, #04080e);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: var(--blue-light); }

a:hover { color: #b8e8ff; }

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 999px;
  color: #00111f;
  background: var(--blue-light);
  font-weight: 900;
}

.skip-link:focus { top: 14px; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(103, 199, 255, 0.14);
  background: rgba(3, 7, 13, 0.93);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(103, 199, 255, .34);
  border-radius: 13px;
  object-fit: contain;
  background: #020407;
  padding: 3px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 3px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav > a,
.nav-services > summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 11px;
  border-radius: 999px;
  color: #d8e7f6;
  font-size: .89rem;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services > summary::after { content: "▾"; margin-left: 7px; color: var(--blue-light); }
.primary-nav > a:hover,
.primary-nav > a[aria-current="page"],
.nav-services > summary:hover,
.nav-services[open] > summary { color: var(--blue-light); background: rgba(30,155,255,.1); }

.nav-services { position: relative; }

.services-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 300px;
  transform: translateX(-50%);
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #08121f;
  box-shadow: var(--shadow);
}

.services-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  color: #dbe9f7;
  text-decoration: none;
  font-weight: 720;
}

.services-menu a:hover,
.services-menu a:focus-visible,
.services-menu a[aria-current="page"] { color: var(--blue-light); background: rgba(30,155,255,.12); }

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(3,7,13,.98) 0%, rgba(3,8,15,.88) 43%, rgba(3,8,15,.42) 78%, rgba(3,7,13,.78) 100%),
    linear-gradient(180deg, transparent 65%, var(--bg)),
    url("../images/ecumain.jpg") center right / cover no-repeat;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.hero-copy { max-width: 840px; padding: 92px 0 106px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(103,199,255,.28);
  border-radius: 999px;
  color: #dff3ff;
  background: rgba(7,25,43,.74);
  font-size: .76rem;
  font-weight: 880;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 16px var(--blue);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5.6vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

h3 { margin-bottom: 10px; font-size: 1.2rem; line-height: 1.25; }

.hero-lead,
.page-lead {
  max-width: 800px;
  color: #d6e3ef;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-note { max-width: 770px; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.06);
  font-weight: 880;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #00111f; background: linear-gradient(135deg, var(--blue), var(--blue-light)); box-shadow: 0 14px 38px rgba(30,155,255,.25); }
.btn-secondary { border-color: rgba(103,199,255,.36); }
.btn-secondary:hover { border-color: var(--blue-light); background: rgba(30,155,255,.13); }

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dae6f2;
  background: rgba(5,12,21,.75);
  font-size: .9rem;
  font-weight: 700;
}

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 22%, rgba(30,155,255,.2), transparent 24rem),
    linear-gradient(145deg, #06101c, #03070d 70%);
}

.breadcrumbs { margin-bottom: 22px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--blue-light); text-decoration: none; }
.breadcrumbs span { margin: 0 7px; color: #718398; }

.section { padding: 82px 0; }
.section.compact { padding: 58px 0; }
.section-muted { border-block: 1px solid var(--line); background: rgba(8,17,29,.58); }
.section-intro { max-width: 760px; margin-bottom: 30px; color: var(--muted); }
.section-intro strong, .prose strong { color: var(--ink); }
.kicker { margin-bottom: 8px; color: var(--blue-light); font-size: .76rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }

.grid { display: grid; gap: 18px; }
.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;
  min-height: 100%;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), var(--panel);
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  opacity: .75;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-light), transparent);
}

.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; margin-top: 12px; color: var(--blue-light); font-weight: 850; text-decoration: none; }
.card-link::after { content: "→"; margin-left: 7px; }

.service-card { display: flex; flex-direction: column; }
.service-card .card-link { margin-top: auto; padding-top: 14px; }
.icon-label { display: inline-flex; width: fit-content; margin-bottom: 18px; padding: 5px 9px; border-radius: 8px; color: var(--blue-light); background: rgba(30,155,255,.12); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.notice {
  padding: 22px 24px;
  border: 1px solid rgba(103,199,255,.34);
  border-radius: 18px;
  background: rgba(30,155,255,.08);
}
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--blue-light); }

.prose { max-width: var(--content); }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: var(--muted); }
.prose a { font-weight: 760; }

.check-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li { position: relative; padding-left: 27px; color: #d7e3ee; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 13px rgba(30,155,255,.7); }

.steps { counter-reset: step; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; color: #d5e1ed; }
.steps li::before { content: counter(step); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--blue-light); background: rgba(30,155,255,.13); font-weight: 900; }

.price-card { padding: 30px; }
.price { display: block; margin: 6px 0 13px; color: var(--ink); font-size: clamp(2rem,4vw,3.15rem); line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.price small { color: var(--muted); font-size: .95rem; letter-spacing: 0; }
.price-note { color: var(--blue-light); font-weight: 840; }

.definition-grid dt { color: var(--blue-light); font-weight: 900; }
.definition-grid dd { margin: 3px 0 18px; color: var(--muted); }

.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.faq-list summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; color: var(--ink); font-weight: 820; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue-light); font-size: 1.35rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 18px 18px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

.contact-band {
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(30,155,255,.22), transparent 24rem),
    linear-gradient(145deg, #0a1b2c, #08111d);
  box-shadow: var(--shadow);
}
.contact-band p { max-width: 760px; color: var(--muted); }

.contact-details { margin: 0; }
.contact-details div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-details dt { color: var(--blue-light); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.contact-details dd { margin: 3px 0 0; color: #dbe7f3; }

.cta-strip { padding: 60px 0; }

.site-footer { padding: 54px 0 38px; border-top: 1px solid var(--line); background: #03070c; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(150px,.75fr)); gap: 30px; }
.footer-about { max-width: 410px; color: var(--muted); }
.footer-heading { margin-bottom: 10px; color: var(--ink); font-size: .88rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--blue-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: #91a2b5; font-size: .88rem; }

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 800;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border: 1px solid rgba(79,224,173,.45);
  border-radius: 999px;
  color: #ecfff8;
  background: rgba(8,69,51,.94);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  font-weight: 900;
  text-decoration: none;
}

.legal-note { color: #98a9ba; font-size: .92rem; }

@media (max-width: 1040px) {
  .primary-nav > a, .nav-services > summary { padding-inline: 8px; font-size: .82rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .container { width: min(var(--max), calc(100% - 30px)); }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .primary-nav {
    position: fixed;
    top: 86px;
    left: 15px;
    right: 15px;
    max-height: calc(100vh - 104px);
    display: none;
    align-items: stretch;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background: #06101b;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: grid; }
  .primary-nav > a, .nav-services > summary { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: .95rem; }
  .services-menu { position: static; width: auto; transform: none; margin: 2px 8px 10px; border-color: var(--line); box-shadow: none; }
  .hero { min-height: 620px; background-position: 66% center; }
  .hero-copy { padding: 72px 0 82px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 590px) {
  .brand span { font-size: .94rem; }
  .hero { min-height: auto; background: linear-gradient(180deg, rgba(3,7,13,.76), rgba(3,7,13,.97)), url("../images/ecumain.jpg") 63% center / cover no-repeat; }
  .hero-copy { padding: 58px 0 72px; }
  h1 { font-size: clamp(2.12rem, 11vw, 3.2rem); }
  .page-hero { padding: 58px 0 52px; }
  .section { padding: 62px 0; }
  .section.compact { padding: 44px 0; }
  .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .actions, .actions .btn { width: 100%; }
  .card { padding: 22px; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
