/* Nexus Design System — centroopenmind.com
   Single source of truth. Do not inline. */

/* @import MUST be first — before any rules */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

/* ================================================================
   Nexus Design System — centroopenmind.com
   ================================================================ */
:root {
  --nx-primary:          #8F5AFD;
  --nx-primary-dark:     #7340e0;
  --nx-primary-gradient: linear-gradient(180deg, #ffffff 0%, #8F5AFD 100%);
  --nx-cta:              #04A8E8;
  --nx-bg-light:         #f5f0fb;
  --nx-bg-white:         #ffffff;
  --nx-text:             #1f1f1f;
  --nx-text-muted:       #555555;
  --nx-white:            #ffffff;
  --nx-font:             "Montserrat", sans-serif;
  --nx-radius-card:      12px;
  --nx-radius-btn:       20px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--nx-font); background: #fff; }

/* ── Topbar ──────────────────────────────────────────────────────── */
.nx-topbar {
  background: var(--nx-primary);
  color: #fff;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.82rem;
  font-family: var(--nx-font);
  font-weight: 500;
}
.nx-topbar span { opacity: 0.92; }
.nx-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.18s;
  white-space: nowrap;
}
.nx-topbar-btn:hover { opacity: 0.85; }
.nx-topbar-btn--cita { background: var(--nx-cta); color: #fff; }
.nx-topbar-btn--call { background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.4); }

/* ── Header ─────────────────────────────────────────────────────── */
.nx-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  width: 100%;
  overflow: visible; /* ensure dropdown is not clipped by canvas wrapper */
}
.nx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 40px;
  gap: 24px;
}
.nx-header-logo { flex-shrink: 0; display: flex; align-items: center; text-decoration: none; }
.nx-header-logo img { height: 48px; width: auto; display: block; }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nx-nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nx-nav li { position: relative; }
.nx-nav > li > a {
  display: block;
  font-family: var(--nx-font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nx-text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nx-nav > li > a:hover,
.nx-nav > li.has-dropdown:hover > a { color: var(--nx-primary); background: var(--nx-bg-light); }
.nx-nav > li.has-dropdown > a::after { content: " ▾"; font-size: 0.7em; opacity: 0.7; }
.nx-nav .nx-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 260px;
  padding: 12px 0 8px 0;
  list-style: none;
  margin: 0;
  z-index: 1100;
}
.nx-nav li.has-dropdown:hover .nx-dropdown,
.nx-nav li.has-dropdown:focus-within .nx-dropdown { display: block; }
/* Bridge: cubre el gap entre el <li> y el dropdown para que el hover no se rompa */
.nx-nav .nx-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nx-dropdown li a {
  display: block;
  font-family: var(--nx-font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--nx-text);
  text-decoration: none;
  padding: 9px 20px;
  transition: background 0.15s, color 0.15s;
}
.nx-dropdown li a:hover { background: var(--nx-bg-light); color: var(--nx-primary); }
.nx-nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--nx-font);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--nx-primary);
  padding: 9px 20px;
  border-radius: var(--nx-radius-btn);
  text-decoration: none;
  transition: opacity 0.18s;
  white-space: nowrap;
  margin-left: 8px;
}
.nx-nav-cta:hover { opacity: 0.85; }
.nx-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.nx-hamburger span { display: block; width: 24px; height: 2px; background: var(--nx-text); border-radius: 2px; transition: all 0.25s; }
.nx-mobile-nav { display: none; flex-direction: column; background: #fff; padding: 16px 24px 24px; border-top: 1px solid #eee; gap: 0; }
.nx-mobile-nav.is-open { display: flex; }
.nx-mobile-nav a { font-family: var(--nx-font); font-size: 0.95rem; font-weight: 600; color: var(--nx-text); text-decoration: none; padding: 10px 0; border-bottom: 1px solid #f3f3f3; }
.nx-mobile-nav a:hover { color: var(--nx-primary); }
.nx-mobile-nav .nx-mobile-sub { padding-left: 16px; font-weight: 500; font-size: 0.88rem; color: var(--nx-text-muted); }
.nx-mobile-nav .nx-mobile-sub:hover { color: var(--nx-primary); }
.nx-mobile-nav .nx-mobile-cta { margin-top: 16px; text-align: center; background: var(--nx-primary); color: #fff !important; border-radius: var(--nx-radius-btn); padding: 12px; font-weight: 700; font-size: 0.95rem; border-bottom: none; }
.nx-mobile-nav .nx-mobile-cta:hover { opacity: 0.85; }

/* ── Service Page Layout ─────────────────────────────────────────── */
.nx-page { font-family: var(--nx-font); }

/* Hero */
.nx-hero {
  background: linear-gradient(160deg, #b08afe 0%, #5e28cc 100%);
  padding: 80px 40px 60px;
  color: #fff;
}
.nx-hero h1,
.nx-hero .sub-title,
.nx-hero .section__sub-title,
.nx-hero .nx-heading .sub-title,
.nx-hero .nx-heading h1,
.nx-hero .nx-heading h2 {
  font-family: var(--nx-font);
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff !important;
  margin: 0 0 16px;
  line-height: 1.2;
}

/* Generic section */
.nx-section {
  padding: 56px 40px;
}
.nx-section--light {
  background: #f9f6f5;
  padding: 56px 40px;
}
/* Consecutive light sections: remove top padding on the second one to avoid stacking */
.nx-section--light + .nx-section--light {
  padding-top: 0;
}
.nx-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

/* Columns */
.nx-col {
  flex: 1 1 300px;
}
.nx-col-50 { flex: 0 0 calc(50% - 16px); }
.nx-col-65 { flex: 0 0 calc(65% - 16px); }
.nx-col-68 { flex: 0 0 calc(68% - 16px); }
.nx-col-75 { flex: 0 0 calc(75% - 16px); }

/* Widgets */
.nx-widget { font-family: var(--nx-font); }
.nx-heading .section-title {
  font-family: var(--nx-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nx-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}
/* Only actual heading tags get heading styles */
.nx-heading h2 {
  font-family: var(--nx-font);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--nx-text);
  margin: 0 0 16px;
  line-height: 1.3;
}
/* h2 with .section-title class: override label styles */
.nx-heading h2.section-title {
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--nx-primary);
  text-align: left;
  margin: 0 0 16px;
}
/* Spans AND h1s with .sub-title are body paragraph content (not headings) */
.nx-heading span.sub-title,
.nx-heading span.section__sub-title,
.nx-heading h1.sub-title,
.nx-heading h1.section__sub-title {
  display: block;
  font-family: var(--nx-font);
  font-size: 1rem;
  font-weight: 400;
  color: var(--nx-text-muted);
  line-height: 1.75;
  margin: 0 0 16px;
}

/* Profile icon above heading */
.section__icon { display: block; margin-bottom: 12px; }
.section__icon img { max-width: 80px; height: auto; display: block; }

/* Margin utility used in profile pages */
.mb-20 { margin-bottom: 20px; }
.nx-heading p {
  font-family: var(--nx-font);
  font-size: 1rem;
  color: var(--nx-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* Images */
.nx-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}
.nx-mobile__width-inherit img { width: 100%; }

/* CTA block */
.nx-cta-block {
  background: var(--nx-cta);
  border-radius: 16px;
  padding: 32px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 20px;
  text-align: center;
  width: 100%;
}
.nx-cta-block .section-title {
  font-family: var(--nx-font);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
  text-align: left;
}

/* Template wrapper */
.nx-template { max-width: 1100px; margin: 0 auto; padding: 40px; }
/* Neutralize triple-stacked padding when .nx-template is nested inside .nx-section-inner */
.nx-section-inner .nx-template { padding: 0; max-width: none; margin: 0; }
.nx-template .nx-section { padding: 12px 0; }
.nx-template .nx-section-inner { margin: 0; }

/* Fade-in animations — hidden by default, revealed by IntersectionObserver adding .is-visible */
.nx-fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.nx-fade-in--left {
  transform: translateX(-24px);
}
.nx-fade-in.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
/* Safety: if JS never runs, show content */
@media (prefers-reduced-motion: reduce) {
  .nx-fade-in { opacity: 1; transform: none; transition: none; }
}

/* Buttons */
.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--nx-primary);
  color: #fff;
  font-family: var(--nx-font);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--nx-radius-btn);
  text-decoration: none;
  transition: opacity 0.18s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.nx-btn:hover { opacity: 0.85; color: #fff; }
.nx-btn--sm { padding: 10px 22px; font-size: 0.88rem; }
.nx-btn--outline {
  background: transparent;
  border: 2px solid var(--nx-primary);
  color: var(--nx-primary);
}
.nx-btn--outline:hover { background: var(--nx-primary); color: #fff; opacity: 1; }
.nx-btn-wrap { display: inline-block; }

/* ── Sections ───────────────────────────────────────────────────── */
.nx-page-home { font-family: var(--nx-font); }

/* ── Hero Home ──────────────────────────────────────────────────── */
.nx-home-hero {
  background: #f8f5ff;
  padding: 48px 40px 40px;
  text-align: center;
  border-bottom: 1px solid #ede8fb;
}
.nx-home-hero h1 {
  font-family: var(--nx-font);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--nx-primary);
  margin: 0 0 14px;
  line-height: 1.15;
}
.nx-home-hero p {
  font-family: var(--nx-font);
  font-size: 1rem;
  color: var(--nx-text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Services Grid ───────────────────────────────────────────────── */
.nx-services-section {
  padding: 48px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.nx-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Flip Card ───────────────────────────────────────────────────── */
.nx-flip-card {
  perspective: 1000px;
  height: 280px;
  cursor: pointer;
}
.nx-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.nx-flip-card:hover .nx-flip-inner,
.nx-flip-card.is-flipped .nx-flip-inner {
  transform: rotateY(180deg);
}

.nx-flip-front,
.nx-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

/* Front face */
.nx-flip-front {
  background: #fff;
  box-shadow: 0 4px 20px rgba(143, 90, 253, 0.1);
  border: 1px solid #f0eaff;
  gap: 14px;
}
.nx-flip-front-title {
  font-family: var(--nx-font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nx-primary);
  text-align: center;
  line-height: 1.3;
  margin: 0;
}

/* Back face */
.nx-flip-back {
  transform: rotateY(180deg);
  gap: 12px;
  padding: 28px 24px;
}
.nx-flip-back--purple { background: var(--nx-primary); }
.nx-flip-back--blue   { background: var(--nx-cta); }

.nx-flip-back-title {
  font-family: var(--nx-font);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  margin: 0;
}
.nx-flip-back-desc {
  font-family: var(--nx-font);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  text-align: center;
  line-height: 1.55;
  margin: 0;
}
.nx-flip-back-link {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-family: var(--nx-font);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s;
  margin-top: 4px;
}
.nx-flip-back-link:hover { background: rgba(255,255,255,0.35); }

/* ── SVG Illustrations — float animation ────────────────────────── */
@keyframes nx-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.nx-illus {
  width: 120px;
  height: 120px;
  animation: nx-float 3.2s ease-in-out infinite;
  flex-shrink: 0;
}
/* Stagger float per card */
.nx-flip-card:nth-child(2) .nx-illus { animation-delay: 0.4s; }
.nx-flip-card:nth-child(3) .nx-illus { animation-delay: 0.8s; }
.nx-flip-card:nth-child(4) .nx-illus { animation-delay: 1.2s; }
.nx-flip-card:nth-child(5) .nx-illus { animation-delay: 0.2s; }
.nx-flip-card:nth-child(6) .nx-illus { animation-delay: 0.6s; }
.nx-flip-card:nth-child(7) .nx-illus { animation-delay: 1.0s; }
.nx-flip-card:nth-child(8) .nx-illus { animation-delay: 0.3s; }
.nx-flip-card:nth-child(9) .nx-illus { animation-delay: 0.7s; }

/* ── Banner CTA (purple wide) ──────────────────────────────────── */
.nx-home-banner {
  background: var(--nx-primary);
  padding: 44px 40px;
}
.nx-home-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.nx-home-banner-text {
  flex: 1;
  min-width: 280px;
}
.nx-home-banner-text h2 {
  font-family: var(--nx-font);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}
.nx-home-banner-text p {
  font-family: var(--nx-font);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin: 0;
  max-width: 580px;
}
.nx-home-banner-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: #fff;
  color: var(--nx-primary);
  font-family: var(--nx-font);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--nx-radius-btn);
  text-decoration: none;
  transition: opacity 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nx-home-banner-btn:hover { opacity: 0.88; }

/* ── About Melani ────────────────────────────────────────────────── */
.nx-home-about {
  padding: 64px 40px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
}
.nx-home-about-photo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.nx-home-about-photo img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(143,90,253,0.18);
}
.nx-home-about-photo .photo-caption {
  font-family: var(--nx-font);
  font-size: 0.82rem;
  color: var(--nx-text-muted);
  text-align: center;
}
.nx-home-about-photo .photo-name {
  font-family: var(--nx-font);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--nx-primary);
  text-align: center;
  line-height: 1.2;
}
.nx-home-about-photo .photo-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--nx-primary);
  color: #fff;
  font-family: var(--nx-font);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--nx-radius-btn);
  text-decoration: none;
  transition: opacity 0.18s;
}
.nx-home-about-photo .photo-btn:hover { opacity: 0.85; }
.nx-home-about-photo .photo-ig {
  color: var(--nx-primary);
  font-size: 1.5rem;
  text-decoration: none;
  margin-top: 4px;
  transition: opacity 0.18s;
}
.nx-home-about-photo .photo-ig:hover { opacity: 0.7; }
.nx-home-about-content { flex: 1; }
.nx-home-about-content h2 {
  font-family: var(--nx-font);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--nx-primary);
  margin: 0 0 8px;
}
.nx-home-about-content h3 {
  font-family: var(--nx-font);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nx-primary);
  margin: 20px 0 8px;
}
.nx-home-about-content p {
  font-family: var(--nx-font);
  font-size: 0.9rem;
  color: var(--nx-text-muted);
  line-height: 1.75;
  margin: 0 0 8px;
}
.nx-home-about-content strong { color: var(--nx-text); }

/* ── Google Reviews Section ──────────────────────────────────────── */
.nx-testimonios {
  background: #f8f7ff;
  padding: 64px 40px;
}
.nx-testimonios-inner { max-width: 1160px; margin: 0 auto; }
/* Header de sección */
.nx-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.nx-reviews-header-left { display: flex; flex-direction: column; gap: 6px; }
.nx-testimonios-label {
  font-family: var(--nx-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nx-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
}
.nx-testimonios h2 {
  font-family: var(--nx-font);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--nx-text);
  margin: 0;
  line-height: 1.2;
}
/* Badge Google aggregate rating */
.nx-google-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #e8e0f7;
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 2px 12px rgba(143,90,253,0.07);
  flex-shrink: 0;
}
.nx-google-badge-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #5f6368;
  font-family: var(--nx-font);
}
.nx-google-badge-logo svg { width: 22px; height: 22px; }
.nx-google-badge-divider { width: 1px; height: 36px; background: #e0e0e0; }
.nx-google-badge-score { text-align: center; }
.nx-google-badge-score .score-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--nx-text);
  line-height: 1;
  font-family: var(--nx-font);
}
.nx-google-badge-score .score-stars { color: #fbbc04; font-size: 1rem; margin: 2px 0; }
.nx-google-badge-score .score-count {
  font-size: 0.75rem;
  color: #888;
  font-family: var(--nx-font);
}
/* Cards */
.nx-testimonios-track { display: flex; gap: 18px; overflow: hidden; }
.nx-review-card {
  flex: 0 0 calc(33.333% - 12px);
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  border: 1px solid #ede8fb;
  box-shadow: 0 2px 12px rgba(143,90,253,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.nx-review-card:hover { box-shadow: 0 6px 24px rgba(143,90,253,0.14); transform: translateY(-2px); }
.nx-review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nx-review-author-info { display: flex; align-items: center; gap: 10px; }
.nx-review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--nx-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--nx-font); font-size: 0.9rem; font-weight: 700;
  flex-shrink: 0;
}
.nx-review-author-name {
  font-family: var(--nx-font);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--nx-text);
}
.nx-review-author-date {
  font-size: 0.75rem;
  color: #aaa;
  font-family: var(--nx-font);
}
/* Google "G" icon */
.nx-google-g {
  width: 24px; height: 24px; flex-shrink: 0;
}
.nx-review-stars { color: #fbbc04; font-size: 0.85rem; letter-spacing: 1px; }
.nx-review-text {
  font-family: var(--nx-font);
  font-size: 0.87rem;
  color: var(--nx-text-muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
/* Dots */
.nx-testimonios-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.nx-testimonios-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #d0c8f0;
  border: none; cursor: pointer;
  transition: background 0.2s, width 0.2s;
  padding: 0;
}
.nx-testimonios-dot.active { background: var(--nx-primary); width: 24px; border-radius: 4px; }
/* CTA dejar reseña */
.nx-reviews-cta {
  text-align: center;
  margin-top: 36px;
}
.nx-reviews-cta p {
  font-family: var(--nx-font);
  font-size: 0.9rem;
  color: var(--nx-text-muted);
  margin: 0 0 14px;
}
.nx-btn-google-review {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--nx-primary);
  color: var(--nx-primary);
  border-radius: 24px;
  padding: 12px 28px;
  font-family: var(--nx-font);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nx-btn-google-review:hover { background: var(--nx-primary); color: #fff; }
.nx-btn-google-review svg { width: 20px; height: 20px; }

/* ── Footer ──────────────────────────────────────────────────────── */
.nx-footer {
  background: #1c1130;
  color: rgba(255,255,255,0.8);
  padding: 56px 40px 32px;
  font-family: var(--nx-font);
}
.nx-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr auto;
  gap: 40px 32px;
  align-items: start;
}
.nx-footer-cop { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nx-footer-cop a { display: block; }
.nx-footer-cop img { max-width: 140px; width: auto; height: auto; }
.nx-footer-brand img { height: 62px; width: auto; margin-bottom: 14px; display: block; }
.nx-footer-brand p { font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 260px; margin: 0 0 16px; }
.nx-footer-social { display: flex; gap: 10px; margin-top: 4px; }
.nx-footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); font-size: 0.95rem; text-decoration: none; transition: background 0.2s, color 0.2s; }
.nx-footer-social a:hover { background: var(--nx-primary); color: #fff; }
.nx-footer-col h4 { font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 14px; }
.nx-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.nx-footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.72); text-decoration: none; transition: color 0.18s; }
.nx-footer-col ul li a:hover { color: #fff; }
.nx-footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.72); margin-bottom: 10px; }
.nx-footer-contact-item i { color: var(--nx-primary); margin-top: 2px; flex-shrink: 0; }
.nx-footer-bottom { max-width: 1100px; margin: 36px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.nx-footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.nx-footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ── Preview bar ─────────────────────────────────────────────────── */
.nx-preview-bar { background: #1e293b; color: #fff; padding: 8px 20px; font-size: 13px; display: flex; align-items: center; gap: 16px; }
.nx-preview-bar a { color: #7dd3fc; text-decoration: none; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Service pages */
  .nx-hero { padding: 48px 20px 40px; }
  .nx-hero h1, .nx-hero .sub-title { font-size: 1.9rem; }
  .nx-section { padding: 40px 20px; }
  .nx-section-inner { flex-direction: column; gap: 24px; }
  .nx-col-50, .nx-col-68, .nx-col-75 { flex: 1 1 100%; }
  .nx-template { padding: 24px 20px; }
  .nx-cta-block { padding: 28px 20px; flex-direction: column; }
  /* Shared */
  .nx-nav { display: none; }
  .nx-hamburger { display: flex; }
  .nx-header-inner { padding: 12px 20px; }
  .nx-topbar { flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 0.78rem; }
  .nx-home-hero h1 { font-size: 2rem; }
  .nx-services-grid { grid-template-columns: repeat(2, 1fr); }
  .nx-home-about { flex-direction: column; align-items: center; gap: 32px; padding: 48px 20px; }
  .nx-home-about-photo img { width: 180px; height: 230px; }
  .nx-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .nx-footer-cop { grid-column: 1 / -1; align-items: flex-start; }
  .nx-home-banner-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .nx-home-hero { padding: 36px 20px 32px; }
  .nx-home-hero h1 { font-size: 1.7rem; }
  .nx-services-section { padding: 32px 16px; }
  .nx-services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nx-flip-card { height: 240px; }
  .nx-illus { width: 90px; height: 90px; }
  .nx-flip-front-title { font-size: 0.82rem; }
  .nx-flip-back-title { font-size: 0.9rem; }
  .nx-testimonios-track { flex-direction: column; }
  .nx-review-card { flex: 0 0 100%; }
  .nx-reviews-header { flex-direction: column; align-items: flex-start; }
  .nx-google-badge { align-self: stretch; justify-content: center; }
  .nx-footer { padding: 40px 20px 24px; }
  .nx-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .nx-footer-bottom { flex-direction: column; text-align: center; }
  .nx-home-banner { padding: 36px 20px; }
  .nx-testimonios { padding: 48px 20px; }
}
