/* ============================================================
   Novemedical — New Design Direction (Pilot)
   Modern medical-travel aesthetic: warm paper, deep navy ink,
   editorial serif display + crisp sans UI.
   ============================================================ */

:root {
  --paper: #faf8f4;
  --paper-soft: #f3f0e9;
  --white: #ffffff;
  --ink: #0a2540;
  --ink-soft: #33475c;
  --muted: #64748b;
  --line: #e6e1d8;
  --brand: #2563eb;
  --brand-deep: #1d4fd7;
  --brand-soft: #e8f0fe;
  --teal: #0ea5a4;
  --gold: #c9a24b;
  --gold-soft: #f6ecd9;
  --navy: #0a2540;
  --navy-2: #0f3355;
  --danger: #b42318;
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(10, 37, 64, 0.06), 0 4px 16px rgba(10, 37, 64, 0.06);
  --shadow-m: 0 2px 6px rgba(10, 37, 64, 0.07), 0 18px 44px rgba(10, 37, 64, 0.12);
  --shadow-l: 0 8px 20px rgba(10, 37, 64, 0.12), 0 32px 80px rgba(10, 37, 64, 0.18);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

::selection { background: var(--brand); color: #fff; }

/* ---------- Layout primitives ---------- */

.nm-container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.nm-section { padding: clamp(4rem, 8.5vw, 7.5rem) 0; }
.nm-section--tight { padding: clamp(2.75rem, 5.5vw, 4.5rem) 0; }
.nm-section--soft { background: var(--paper-soft); }
.nm-section--white { background: var(--white); }

.nm-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.nm-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nm-grid--4 { grid-template-columns: repeat(4, 1fr); }

.nm-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.nm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.1rem;
}
.nm-eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nm-eyebrow--center { justify-content: center; }

.nm-lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.nm-center { text-align: center; }
.nm-center p { margin-inline: auto; }
.nm-measure { max-width: 640px; }
.nm-measure-wide { max-width: 780px; }

/* ---------- Buttons ---------- */

.nm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}
.nm-btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.22s ease; }
.nm-btn:hover svg { transform: translateX(3px); }

.nm-btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 26px rgba(10, 37, 64, 0.28);
}
.nm-btn--primary:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35); }

.nm-btn--brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.32);
}
.nm-btn--brand:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); }

.nm-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10, 37, 64, 0.22);
}
.nm-btn--ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }

.nm-btn--light {
  background: #fff;
  color: var(--ink);
}
.nm-btn--light:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }

.nm-btn--whatsapp {
  background: #1faf57;
  color: #fff;
  box-shadow: 0 10px 26px rgba(31, 175, 87, 0.32);
}
.nm-btn--whatsapp:hover { background: #189a4b; color: #fff; transform: translateY(-2px); }

.nm-btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* ---------- Header ---------- */

.nm-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.nm-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 37, 64, 0.06);
}

.nm-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nm-logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.nm-logo img { width: 168px; height: auto; }

.nm-nav { display: flex; align-items: center; gap: 0.25rem; }
.nm-nav a {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nm-nav a:hover { color: var(--ink); background: rgba(10, 37, 64, 0.05); }
.nm-nav a.is-active { color: var(--brand); }
.nm-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}

.nm-header__cta { display: flex; align-items: center; gap: 0.75rem; }
.nm-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}
.nm-header__phone svg { width: 15px; height: 15px; color: var(--brand); }
.nm-header__phone:hover { color: var(--brand); }
.nm-header .nm-btn { padding: 0.75rem 1.35rem; font-size: 0.9rem; }

.nm-burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nm-burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nm-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--paper);
  padding: 2rem 5% 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  overflow-y: auto;
}
.nm-mobile.is-open { opacity: 1; transform: none; pointer-events: auto; }
.nm-mobile a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.nm-mobile a.is-active { color: var(--brand); }
.nm-mobile .nm-btn { margin-top: 1.5rem; align-self: stretch; }
.nm-mobile__meta { margin-top: 1.25rem; font-size: 0.95rem; color: var(--muted); }

body.nm-locked { overflow: hidden; }

/* Page offset for fixed header */
.nm-page { padding-top: var(--header-h); }

/* ---------- Hero (home) ---------- */

.nm-hero {
  position: relative;
  overflow: clip;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(58% 46% at 88% 6%, rgba(37, 99, 235, 0.10), transparent 62%),
    radial-gradient(42% 38% at 4% 92%, rgba(201, 162, 75, 0.14), transparent 60%),
    var(--paper);
}

.nm-hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.nm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.nm-badge svg { width: 14px; height: 14px; color: var(--gold); }

.nm-hero h1 em {
  font-style: italic;
  color: var(--brand);
}

.nm-hero__sub { max-width: 520px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); margin-bottom: 1.9rem; }

.nm-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  margin-top: 2.1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.nm-stars { display: inline-flex; gap: 2px; }
.nm-stars svg { width: 15px; height: 15px; fill: #f5a623; }
.nm-hero__trust .nm-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: 0.5; }

/* Hero visual */
.nm-hero__visual { position: relative; }
.nm-arch {
  border-radius: 999px 999px var(--radius-l) var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  border: 6px solid #fff;
  aspect-ratio: 0.86;
}
.nm-arch img { width: 100%; height: 100%; object-fit: cover; }

.nm-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(230, 225, 216, 0.9);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.nm-float--rating { left: -1.6rem; bottom: 3.2rem; }
.nm-float--care { right: -1rem; top: 2.6rem; }
.nm-float__num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.nm-float small { display: block; font-size: 0.78rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.nm-float__icon {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}
.nm-float__icon svg { width: 20px; height: 20px; }

/* ---------- Marquee ---------- */

.nm-marquee {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  padding: 1.05rem 0;
}
.nm-marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: nm-scroll 32s linear infinite;
}
.nm-marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nm-marquee__track span::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.8rem;
  margin-left: 3.5rem;
}
@keyframes nm-scroll { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */

.nm-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.nm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: rgba(37, 99, 235, 0.25);
}

.nm-svc { display: flex; flex-direction: column; }
.nm-svc__media { position: relative; aspect-ratio: 1.35; overflow: hidden; }
.nm-svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.nm-svc:hover .nm-svc__media img { transform: scale(1.06); }
.nm-svc__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.nm-svc__body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.nm-svc__body h3 { margin-bottom: 0.5rem; }
.nm-svc__body p { font-size: 0.98rem; margin-bottom: 1.2rem; }
.nm-svc__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink);
}
.nm-svc__link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.nm-svc:hover .nm-svc__link { color: var(--brand); }
.nm-svc:hover .nm-svc__link svg { transform: translateX(4px); }

/* ---------- Before / After gallery ---------- */

.nm-ba { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 2vw, 1.5rem); }
.nm-ba__item {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-s);
}
.nm-ba__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.nm-ba__item:hover img { transform: scale(1.07); }
.nm-ba__chip {
  position: absolute;
  left: 0.85rem; bottom: 0.85rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: rgba(10, 37, 64, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* ---------- Stats band ---------- */

.nm-stats {
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(37, 99, 235, 0.35), transparent 55%),
    var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(2.4rem, 5vw, 4rem) clamp(1.8rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  box-shadow: var(--shadow-l);
}
.nm-stat { text-align: center; position: relative; }
.nm-stat + .nm-stat::before {
  content: "";
  position: absolute;
  left: -1rem; top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.nm-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.nm-stat__num sup { color: var(--gold); font-size: 0.55em; margin-left: 2px; }
.nm-stat__label { margin-top: 0.55rem; font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.66); letter-spacing: 0.04em; }

/* ---------- Steps ---------- */

.nm-step {
  position: relative;
  padding: 1.9rem 1.8rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nm-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.nm-step__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1.1rem;
}
.nm-step h3 { font-size: 1.28rem; margin-bottom: 0.45rem; }
.nm-step p { font-size: 0.96rem; margin: 0; }

/* ---------- Testimonials ---------- */

.nm-review {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.7rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nm-review:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.nm-review__head { display: flex; align-items: center; gap: 0.9rem; }
.nm-avatar {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 1.02rem;
}
.nm-review__name { font-weight: 800; color: var(--ink); font-size: 0.98rem; line-height: 1.3; }
.nm-review__meta { font-size: 0.8rem; color: var(--muted); }
.nm-review__text { font-size: 0.95rem; margin: 0; }
.nm-review__text::before { content: "“"; color: var(--gold); font-family: var(--font-display); font-size: 1.5em; line-height: 0; vertical-align: -0.25em; margin-right: 2px; }

.nm-gbadge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-s);
  font-weight: 700;
  color: var(--ink);
}
.nm-gbadge__score { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }

/* ---------- Forms (WPForms reskin — markup & names unchanged) ---------- */

.nm-formcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
}

.wpforms-field-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}
.wpforms-label-hide { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wpforms-required-label { color: var(--danger); }

.wpforms-field { margin-bottom: 1.05rem; }
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field textarea,
.wpforms-field select {
  width: 100%;
  padding: 0.95rem 1.15rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
}
.wpforms-field input::placeholder { color: #9aa7b5; }
.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.wpforms-field-html h3 { font-size: 1.05rem; margin: 0.4rem 0 0.7rem; }

.wpforms-field-radio ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.wpforms-field-radio ul li { position: relative; }
.wpforms-field-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wpforms-field-radio .wpforms-field-label-inline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.wpforms-field-radio .wpforms-field-label-inline::before {
  content: "";
  width: 18px; height: 18px;
  flex: none;
  border-radius: 50%;
  border: 2px solid #c3ccd6;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wpforms-field-radio input[type="radio"]:checked + .wpforms-field-label-inline {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.wpforms-field-radio input[type="radio"]:checked + .wpforms-field-label-inline::before {
  border-color: var(--brand);
  background: radial-gradient(circle, var(--brand) 0 45%, #fff 50%);
}
.wpforms-field-radio input[type="radio"]:focus-visible + .wpforms-field-label-inline { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22); }

.wpforms-one-half { width: calc(50% - 0.5rem); float: left; }
.wpforms-one-half.wpforms-first { margin-right: 1rem; }
.wpforms-field-container::after { content: ""; display: table; clear: both; }

.wpforms-submit {
  width: 100%;
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.wpforms-submit:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37, 99, 235, 0.4); }
.wpforms-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }
.wpforms-submit.btn-whatsapp-us { background: #1faf57; box-shadow: 0 12px 28px rgba(31, 175, 87, 0.32); }
.wpforms-submit.btn-whatsapp-us:hover { background: #189a4b; }

.wpforms-head-container .wpforms-description { font-size: 0.92rem; color: var(--muted); margin-bottom: 1rem; }
.wpforms-error-noscript { display: block; font-size: 0.9rem; color: var(--danger); margin-bottom: 0.8rem; }
.wpforms-submit-spinner { display: none !important; }

.nm-form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.95rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.nm-form-note svg { width: 13px; height: 13px; }

.nm-form-success {
  display: none;
  text-align: center;
  padding: 2.2rem 1.4rem;
}
.nm-form-success.is-visible { display: block; }
.nm-form-success__icon {
  width: 62px; height: 62px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6f7ec;
  color: #189a4b;
}
.nm-form-success__icon svg { width: 28px; height: 28px; }
.nm-form-success h3 { margin-bottom: 0.4rem; }
.nm-form-success p { margin: 0; font-size: 0.96rem; }
form.nm-sent { display: none; }

/* ---------- CTA band ---------- */

.nm-cta {
  position: relative;
  overflow: clip;
  border-radius: var(--radius-l);
  background:
    radial-gradient(50% 90% at 92% 8%, rgba(201, 162, 75, 0.28), transparent 55%),
    radial-gradient(55% 100% at 0% 100%, rgba(37, 99, 235, 0.4), transparent 60%),
    var(--ink);
  color: #fff;
  padding: clamp(2.6rem, 5.5vw, 4.5rem) clamp(1.8rem, 4.5vw, 4rem);
  box-shadow: var(--shadow-l);
}
.nm-cta h2 { color: #fff; margin-bottom: 0.4em; }
.nm-cta h2 em { font-style: italic; color: var(--gold); }
.nm-cta p { color: rgba(255, 255, 255, 0.72); max-width: 520px; }
.nm-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.nm-cta .wpforms-field input { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.nm-cta .wpforms-field input::placeholder { color: rgba(255, 255, 255, 0.5); }
.nm-cta .wpforms-field input:focus { background: rgba(255, 255, 255, 0.12); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.2); }
.nm-cta .wpforms-field-label { color: rgba(255, 255, 255, 0.85); }
.nm-cta .wpforms-submit { background: var(--gold); color: var(--ink); box-shadow: 0 12px 28px rgba(201, 162, 75, 0.35); }
.nm-cta .wpforms-submit:hover { background: #d8b362; }
.nm-cta__contact { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.8rem; }
.nm-cta__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}
.nm-cta__contact a:hover { color: var(--gold); }
.nm-cta__contact svg { width: 17px; height: 17px; color: var(--gold); }

/* ---------- Blog cards ---------- */

.nm-post { display: flex; flex-direction: column; }
.nm-post__media { aspect-ratio: 1.5; overflow: hidden; position: relative; }
.nm-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.nm-post:hover .nm-post__media img { transform: scale(1.06); }
.nm-post__cat {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.nm-post__body { padding: 1.5rem 1.6rem 1.7rem; }
.nm-post__body h3 { font-size: 1.22rem; line-height: 1.3; }
.nm-post__body p { font-size: 0.94rem; margin-bottom: 1rem; }
.nm-post__meta { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */

.nm-pagehero {
  position: relative;
  overflow: clip;
  padding: clamp(3.2rem, 6.5vw, 5.5rem) 0 clamp(3rem, 5.5vw, 4.6rem);
  background:
    radial-gradient(52% 60% at 90% 0%, rgba(37, 99, 235, 0.1), transparent 60%),
    var(--paper);
}
.nm-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1.3rem;
}
.nm-crumbs a { color: var(--muted); }
.nm-crumbs a:hover { color: var(--brand); }
.nm-crumbs svg { width: 12px; height: 12px; opacity: 0.55; }
.nm-crumbs [aria-current] { color: var(--ink); }

/* ---------- Service page ---------- */

.nm-svc-hero {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  margin-top: 2rem;
}
.nm-svc-hero img { width: 100%; aspect-ratio: 2.28; object-fit: cover; }

.nm-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.nm-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  box-shadow: var(--shadow-s);
}
.nm-chip svg { width: 14px; height: 14px; color: var(--brand); }

.nm-doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}
.nm-doc__content h2 { margin-top: 2.2em; }
.nm-doc__content > h2:first-child,
.nm-doc__content > section:first-child h2 { margin-top: 0; }
.nm-doc__content h3 { margin-top: 1.6em; }
.nm-doc__content ul { padding-left: 0; list-style: none; margin: 0 0 1.2rem; display: grid; gap: 0.55rem; }
.nm-doc__content ul li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 1rem;
}
.nm-doc__content ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.32em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232563eb" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/10px no-repeat;
}
.nm-doc__content strong { color: var(--ink); }

.nm-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.nm-aside__box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  padding: 1.5rem 1.6rem;
}
.nm-aside__box h4 { margin-bottom: 0.9rem; font-family: var(--font-body); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.nm-aside__nav { display: grid; }
.nm-aside__nav a, .nm-aside__nav span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--paper-soft);
}
.nm-aside__nav a:hover { color: var(--brand); }
.nm-aside__nav span { color: #b6bfca; cursor: default; }
.nm-aside__nav .is-active { color: var(--brand); font-weight: 800; }
.nm-aside__nav svg { width: 13px; height: 13px; }
.nm-aside__cta {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(37, 99, 235, 0.35), transparent 60%),
    var(--ink);
  color: #fff;
  border: 0;
}
.nm-aside__cta h4 { color: var(--gold); }
.nm-aside__cta p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); }
.nm-aside__cta a.nm-tel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.35rem 0;
}
.nm-aside__cta a.nm-tel:hover { color: var(--gold); }
.nm-aside__cta a.nm-tel svg { width: 15px; height: 15px; color: var(--gold); }

.nm-timeline { display: grid; gap: 0; counter-reset: tl; }
.nm-timeline__item {
  position: relative;
  padding: 0 0 1.6rem 3.4rem;
  counter-increment: tl;
}
.nm-timeline__item::before {
  content: counter(tl, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand);
  box-shadow: var(--shadow-s);
}
.nm-timeline__item::after {
  content: "";
  position: absolute;
  left: 18px; top: 44px; bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--line), transparent);
}
.nm-timeline__item:last-child::after { display: none; }
.nm-timeline__item h3 { font-size: 1.18rem; margin-bottom: 0.3rem; }
.nm-timeline__item p { margin: 0; font-size: 0.97rem; }

/* ---------- FAQ accordion ---------- */

.nm-faq { display: grid; gap: 0.8rem; }
.nm-faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.nm-faq__item.is-open { border-color: rgba(37, 99, 235, 0.4); }
.nm-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.nm-faq__icon {
  width: 30px; height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  transition: transform 0.3s ease, background 0.3s ease;
}
.nm-faq__icon svg { width: 13px; height: 13px; }
.nm-faq__item.is-open .nm-faq__icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.nm-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}
.nm-faq__item.is-open .nm-faq__a { grid-template-rows: 1fr; }
.nm-faq__a-inner { overflow: hidden; }
.nm-faq__a p { padding: 0 1.4rem 1.25rem; margin: 0; font-size: 0.97rem; }

/* ---------- Article (blog) ---------- */

.nm-article-hero__img {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  margin-top: 2.2rem;
}
.nm-article-hero__img img { width: 100%; aspect-ratio: 2.1; object-fit: cover; }

.nm-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.4rem;
  margin-top: 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.nm-meta__author { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); font-weight: 800; }
.nm-meta .nm-avatar { width: 38px; height: 38px; font-size: 0.88rem; }

.nm-prose { max-width: 730px; margin-inline: auto; font-size: 1.06rem; line-height: 1.8; }
.nm-prose > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  float: left;
  line-height: 0.85;
  padding: 0.06em 0.14em 0 0;
  color: var(--brand);
  font-weight: 600;
}
.nm-prose h2 { margin-top: 1.9em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.nm-prose h3 { margin-top: 1.7em; font-size: 1.3rem; }
.nm-prose ul, .nm-prose ol { padding-left: 1.4rem; margin-bottom: 1.3rem; }
.nm-prose li { margin-bottom: 0.5rem; }
.nm-prose strong { color: var(--ink); }
.nm-prose a { font-weight: 700; border-bottom: 2px solid rgba(37, 99, 235, 0.3); }
.nm-prose a:hover { border-bottom-color: var(--brand); }

.nm-pullquote {
  margin: 2.4rem 0;
  padding: 1.8rem 2.2rem;
  border-left: 4px solid var(--gold);
  background: var(--white);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  box-shadow: var(--shadow-s);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.nm-callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 2.2rem 0;
  padding: 1.4rem 1.6rem;
  background: var(--brand-soft);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-m);
}
.nm-callout__icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
}
.nm-callout__icon svg { width: 18px; height: 18px; }
.nm-callout p { margin: 0; font-size: 0.98rem; }
.nm-callout strong { color: var(--ink); }

/* ---------- Contact / consultation page ---------- */

.nm-contact-card {
  display: flex;
  gap: 1.05rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nm-contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.nm-contact-card__icon {
  width: 46px; height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}
.nm-contact-card__icon svg { width: 20px; height: 20px; }
.nm-contact-card h3 { font-size: 1.06rem; margin-bottom: 0.2rem; font-family: var(--font-body); font-weight: 800; }
.nm-contact-card p { margin: 0; font-size: 0.93rem; }
.nm-contact-card a { font-weight: 800; color: var(--ink); display: block; }
.nm-contact-card a:hover { color: var(--brand); }

/* ---------- Footer ---------- */

.nm-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  margin-top: clamp(4rem, 8vw, 7rem);
}
.nm-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(3.2rem, 6vw, 5rem) 0 3rem;
}
.nm-footer .nm-logo img { width: 158px; filter: brightness(0) invert(1); }
.nm-footer__about { font-size: 0.94rem; margin: 1.2rem 0 1.5rem; max-width: 340px; }
.nm-social { display: flex; gap: 0.6rem; }
.nm-social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.22s ease, transform 0.22s ease;
}
.nm-social a:hover { background: var(--brand); transform: translateY(-3px); }
.nm-social svg { width: 16px; height: 16px; }
.nm-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.nm-footer nav { display: grid; gap: 0.15rem; }
.nm-footer nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 0.32rem 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.nm-footer nav a:hover { color: var(--gold); padding-left: 6px; }
.nm-footer__contact { display: grid; gap: 0.85rem; font-size: 0.94rem; }
.nm-footer__contact div { display: flex; gap: 0.7rem; align-items: flex-start; }
.nm-footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 0.25em; color: var(--gold); }
.nm-footer__contact a { color: rgba(255, 255, 255, 0.85); font-weight: 700; }
.nm-footer__contact a:hover { color: var(--gold); }
.nm-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}
.nm-footer__bar nav { display: flex; gap: 1.4rem; }
.nm-footer__bar a { color: rgba(255, 255, 255, 0.5); }
.nm-footer__bar a:hover { color: var(--gold); }

/* ---------- Floating WhatsApp ---------- */

.nm-wa-fab {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1faf57;
  color: #fff;
  box-shadow: 0 14px 34px rgba(31, 175, 87, 0.45);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.nm-wa-fab:hover { transform: translateY(-4px) scale(1.05); color: #fff; }
.nm-wa-fab svg { width: 26px; height: 26px; }

/* ---------- Reveal animations ---------- */

.nm-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.nm-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .nm-reveal { opacity: 1; transform: none; transition: none; }
  .nm-marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .nm-nav, .nm-header__phone { display: none; }
  .nm-burger { display: inline-flex; }
  .nm-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nm-doc { grid-template-columns: 1fr; }
  .nm-aside { position: static; grid-template-columns: repeat(2, 1fr); }
  .nm-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nm-hero__grid, .nm-split, .nm-cta__grid { grid-template-columns: 1fr; }
  .nm-hero__visual { max-width: 480px; margin-inline: auto; }
  .nm-float--rating { left: 0.4rem; }
  .nm-float--care { right: 0.4rem; }
  .nm-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .nm-stats { grid-template-columns: repeat(2, 1fr); }
  .nm-stat:nth-child(3)::before { display: none; }
  .nm-ba { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .nm-grid--2, .nm-grid--3, .nm-grid--4 { grid-template-columns: 1fr; }
  .nm-aside { grid-template-columns: 1fr; }
  .nm-footer__main { grid-template-columns: 1fr; }
  .nm-header .nm-btn { display: none; }
  .wpforms-one-half { width: 100%; float: none; margin-right: 0; }
  .nm-logo img { width: 140px; }
}
