/* NexoMand theme – dark brand design, compact pages that fit the screen. */
:root {
  --nx-bg: #0b0318;
  --nx-surface: #150a2b;
  --nx-text: #f5f0ff;
  --nx-muted: #c9bfe0;
  --nx-pink: #ff5cc0;
  --nx-sky: #6aa6ff;
  --nx-border: rgba(255, 255, 255, .16);
  --nx-field: #8f86aa;
}
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--nx-text);
  background:
    radial-gradient(60rem 36rem at 88% -8%, rgba(124, 42, 232, .35), transparent 60%),
    radial-gradient(48rem 34rem at -5% 105%, rgba(37, 99, 235, .28), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--nx-bg);
}
.wp-site-blocks { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.nexo-main { flex: 1 0 auto; display: flex; flex-direction: column; }
.nexo-main > .wp-block-post-content { flex: 1; display: flex; flex-direction: column; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--nx-sky); outline-offset: 3px; }

/* Skip link */
.nexo-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: #000; padding: .6rem 1rem; }
.nexo-skip:focus { left: 0; }

/* Header */
.nexo-header { background: linear-gradient(90deg, #5e30d1 0%, #2563eb 50%, #5e30d1 100%); }
.nexo-header-inner {
  max-width: 1240px; margin: 0 auto; padding: .55rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nexo-brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.nexo-brand img { width: 48px; height: 48px; border-radius: 8px; display: block; }
.nexo-header-end { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.nexo-nav, .nexo-nav a { color: #fff; }
.nexo-nav .wp-block-navigation-item__content { padding: .45rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
.nexo-nav .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .18); }
.nexo-nav a[aria-current="page"] { background: rgba(255, 255, 255, .24); box-shadow: inset 0 -2px 0 #fff; }
.nexo-lang { display: inline-block; padding: .3rem .75rem; border: 2px solid rgba(255, 255, 255, .85); border-radius: 999px; color: #fff; font-weight: 800; font-size: .85rem; text-decoration: none; }
.nexo-lang:hover { background: #fff; color: #1d1147; }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--nx-surface); color: var(--nx-text); }

/* Sections: each page is a stack of sections and may scroll. */
.nexo-screen { width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) 1.25rem; }
.nexo-section { padding: clamp(2.25rem, 5vw, 4.25rem) 1.25rem; }
.nexo-section.is-alt { background: rgba(21, 10, 43, .55); border-top: 1px solid var(--nx-border); border-bottom: 1px solid var(--nx-border); }
.nexo-section.is-cta { text-align: center; background: linear-gradient(135deg, rgba(194, 24, 127, .28), rgba(124, 42, 232, .28)); border-top: 1px solid var(--nx-border); }
.nexo-section.is-cta .nexo-lead { margin-left: auto; margin-right: auto; }
.nexo-section.is-cta .nexo-actions { justify-content: center; }
.nexo-wrap { max-width: 1240px; margin: 0 auto; }
.nexo-hero { padding-top: clamp(3rem, 9vw, 6.5rem); padding-bottom: clamp(3rem, 8vw, 5.5rem); }
.nexo-section h2 { margin: 0 0 .6rem; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.15; }
.nexo-section > .nexo-wrap > .nexo-lead { margin-bottom: 0; }
.nexo-steps { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 600px) { .nexo-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .nexo-steps { grid-template-columns: repeat(4, 1fr); } }
.nexo-step .nexo-step-num { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #c2187f, #7c2ae8); font-weight: 800; color: #fff; margin: 0 0 .6rem; }
.nexo-service { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 1.5rem; padding: 1.4rem; scroll-margin-top: 1rem; }
@media (min-width: 860px) { .nexo-service { grid-template-columns: 1fr 1fr; align-items: start; } }
.nexo-service > * { margin: 0; }
.nexo-service h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.nexo-service .nexo-incl { margin: 0 0 .5rem; font-weight: 700; color: var(--nx-pink); }
.nexo-checklist { list-style: none; margin: 0; padding: 0; }
.nexo-checklist li { position: relative; padding-left: 1.7rem; margin: 0 0 .5rem; color: var(--nx-text); }
.nexo-checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--nx-pink); font-weight: 800; }
.nexo-hero .nexo-title, .nexo-screen h1, .nexo-section h1 {
  margin: 0 0 .7rem; font-size: clamp(1.9rem, 1.1rem + 2.6vw + 1.2vh, 3.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -.01em;
}
.nexo-grad { background: linear-gradient(90deg, #ff5cc0, #6aa6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #ff5cc0; }
.nexo-lead { margin: 0; max-width: 46rem; color: var(--nx-muted); font-size: clamp(1rem, .9rem + .5vw + .4vh, 1.3rem); line-height: 1.5; }
.nexo-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(.9rem, 2.4vh, 1.5rem); }
.wp-block-buttons.nexo-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.nexo-btn .wp-block-button__link {
  background: linear-gradient(135deg, #c2187f, #7c2ae8); color: #fff; border: 2px solid transparent; border-radius: 999px;
  padding: .8rem 1.5rem; font-weight: 700; text-decoration: none; display: inline-block;
}
.nexo-btn .wp-block-button__link:hover { filter: brightness(1.12); color: #fff; }
.nexo-btn.is-wa .wp-block-button__link { background: #25d366; color: #062b14; }
.nexo-btn.is-ghost .wp-block-button__link { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }

/* Cards */
.nexo-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: clamp(1rem, 3vh, 2rem); }
@media (min-width: 600px) { .nexo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .nexo-grid { grid-template-columns: repeat(3, 1fr); } }
.nexo-card { background: rgba(21, 10, 43, .78); border: 1px solid var(--nx-border); border-radius: 16px; padding: 1.1rem 1.25rem; backdrop-filter: blur(6px); }
.nexo-card > * { margin: 0 0 .35rem; }
.nexo-card > :last-child { margin-bottom: 0; }
.nexo-card h3 { font-size: 1.1rem; color: #fff; }
.nexo-card p { color: var(--nx-muted); font-size: .97rem; line-height: 1.5; }

/* Two columns (about, contact) */
.nexo-two { display: grid; gap: clamp(1rem, 3vw, 2.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .nexo-two { grid-template-columns: 1.15fr .85fr; } }
.nexo-two > * { margin: 0; }
.nexo-stats { display: grid; gap: .75rem; }
.nexo-stat { background: rgba(21, 10, 43, .78); border: 1px solid var(--nx-border); border-radius: 16px; padding: .9rem 1.2rem; }
.nexo-stat > * { margin: 0; }
.nexo-stat .nexo-num { font-size: 1.6rem; font-weight: 800; color: var(--nx-pink); line-height: 1.1; }
.nexo-stat .nexo-lbl { color: var(--nx-muted); font-size: .95rem; }
.nexo-card h2 { margin: 0 0 .5rem; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); }
.nexo-section p, .nexo-screen p { margin: 0 0 .8rem; }
.nexo-card .nexo-actions { margin: .6rem 0 .9rem; }
.nexo-contact-main h1 { font-size: clamp(1.7rem, 1rem + 2vw, 2.6rem); }
.nexo-contact-list { list-style: none; margin: 0; padding: 0; }
.nexo-contact-list li { margin: 0 0 .6rem; color: var(--nx-muted); }
.nexo-contact-list a { color: #fff; font-weight: 600; }

/* Form */
.nexo-form-wrap { background: rgba(21, 10, 43, .82); border: 1px solid var(--nx-border); border-radius: 16px; padding: 1.1rem 1.25rem; }
.nexo-form p { margin: 0 0 .7rem; }
.nexo-row { display: grid; gap: .7rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .nexo-row { grid-template-columns: 1fr 1fr; } }
.nexo-form label { display: block; margin: 0 0 .25rem; font-weight: 600; font-size: .9rem; color: #fff; }
.nexo-form input[type="text"], .nexo-form input[type="email"], .nexo-form input[type="tel"], .nexo-form select, .nexo-form textarea {
  width: 100%; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--nx-field);
  background: rgba(255, 255, 255, .07); color: #fff; font: inherit;
}
.nexo-form select option { color: #000; }
.nexo-form textarea { resize: vertical; min-height: 6rem; }
.nexo-check { display: flex; gap: .6rem; align-items: flex-start; }
.nexo-check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; }
.nexo-check label { font-weight: 400; font-size: .85rem; color: var(--nx-muted); margin: 0; }
.nexo-check a { color: var(--nx-sky); }
.nexo-submit { background: linear-gradient(135deg, #c2187f, #7c2ae8); color: #fff; border: 0; border-radius: 999px; padding: .8rem 1.6rem; font: inherit; font-weight: 700; cursor: pointer; }
.nexo-submit:hover { filter: brightness(1.12); }
.nexo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nexo-notice { margin: 0 0 .8rem; padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--nx-border); }
.nexo-notice.is-success { background: rgba(37, 211, 102, .14); border-color: #25d366; }
.nexo-notice.is-error { background: rgba(255, 92, 92, .14); border-color: #ff7a7a; }

/* Legal / long text pages */
.nexo-doc { max-width: 820px; margin: 0 auto; padding: 2rem 1.25rem 3rem; width: 100%; }
.nexo-doc h1 { margin: 0 0 .4rem; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.nexo-doc h2 { margin: 1.8rem 0 .5rem; font-size: 1.3rem; color: var(--nx-pink); }
.nexo-doc p, .nexo-doc li { line-height: 1.7; color: var(--nx-text); }
.nexo-doc p { margin: 0 0 1rem; }
.nexo-doc ul { margin: 0 0 1rem; padding-left: 1.4rem; }
.nexo-doc .nexo-updated { color: var(--nx-muted); font-size: .9rem; }

/* Footer */
.nexo-footer { border-top: 1px solid var(--nx-border); background: rgba(8, 2, 20, .88); }
.nexo-footer-inner {
  max-width: 1240px; margin: 0 auto; padding: .85rem 1.25rem; display: flex; flex-wrap: wrap;
  gap: .4rem 1.25rem; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--nx-muted);
}
.nexo-footer-inner p { margin: 0; }
.nexo-footer-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; list-style: none; margin: 0; padding: 0; }
.nexo-footer a, .nexo-linkbtn { color: var(--nx-muted); }
.nexo-footer a:hover, .nexo-linkbtn:hover { color: #fff; }
.nexo-linkbtn { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.nexo-footer-links { padding-right: 7rem; }
@media (max-width: 600px) { .nexo-footer-links { padding-right: 0; } .nexo-footer-inner { padding-bottom: 4.5rem; } }

/* WhatsApp button */
.nexo-wa {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: inline-flex; align-items: center; gap: .5rem;
  background: #25d366; color: #062b14; font-weight: 800; text-decoration: none; padding: .7rem 1.05rem;
  border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
}
.nexo-wa:hover { filter: brightness(1.08); color: #062b14; }

/* Cookie notice */
.nexo-cookie {
  position: fixed; left: 1rem; right: 9.5rem; bottom: 1rem; z-index: 70; max-width: 640px;
  background: #1d1147; border: 1px solid var(--nx-border); border-radius: 14px; padding: .9rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center;
}
.nexo-cookie[hidden] { display: none; }
.nexo-cookie p { margin: 0; flex: 1 1 260px; font-size: .88rem; color: var(--nx-text); }
.nexo-cookie a { color: var(--nx-sky); }
.nexo-cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.nexo-cookie-btn { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .55); border-radius: 999px; padding: .45rem 1rem; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.nexo-cookie-btn.is-primary { background: linear-gradient(135deg, #c2187f, #7c2ae8); border-color: transparent; }
@media (max-width: 600px) { .nexo-cookie { right: 1rem; bottom: 4.6rem; } }

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

@media (min-width: 1000px) { .nexo-steps.is-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .nexo-grid.is-2 { grid-template-columns: repeat(2, 1fr); } }
