:root {
  --color-black: #080808;
  --color-black-soft: #141614;
  --color-primary: #0b2545;
  --color-primary-light: #13355e;
  --color-accent: #C6FF00;
  --color-accent-light: #d4ff33;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6f8;
  --color-text: #1c1f26;
  --color-text-light: #5c6470;
  --max-width: 1140px;
  --radius: 8px;
  --transition: 0.2s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8, 8, 8, 1);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  padding-inline: clamp(20px, 4vw, 72px);
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.logo-text {
  font-size: 1.22rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  text-transform: none;
}

.logo-text .accent {
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav > a,
.nav > .nav-item > .mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #C9C9C9;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0;
  position: relative;
  transition: color 200ms ease;
  letter-spacing: -0.01em;
}

.nav > a::after,
.nav > .nav-item > .mega-trigger::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav > a:hover,
.nav > a.active,
.nav > .nav-item > .mega-trigger:hover,
.nav > .nav-item > .mega-trigger.open {
  background: none;
  color: #fff;
}

.nav > a:hover::after,
.nav > a.active::after,
.nav > .nav-item > .mega-trigger:hover::after,
.nav > .nav-item > .mega-trigger.open::after {
  transform: scaleX(1);
}

.nav > a:focus-visible,
.nav > .nav-item > .mega-trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.chevron {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.mega-trigger.open .chevron {
  transform: rotate(180deg);
}

.nav .btn {
  background: var(--color-accent);
  color: #1a2e00;
  margin-left: 32px;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  border-radius: 8px;
  transition: background 180ms ease, transform 180ms ease;
}

.nav .btn:hover {
  background: var(--color-accent-light);
  color: #1a2e00;
  transform: translateY(-1px);
}

.nav .btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

/* Selector de idioma ES / EN: pequeño, a la izquierda del menú para que
   el botón de asesoría quede pegado al borde derecho */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  margin-right: 18px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.lang-switch a {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #8f938f;
  transition: color var(--transition), background var(--transition);
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch a.is-active {
  background: var(--color-accent);
  color: var(--color-black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav > a::after,
  .nav > .nav-item > .mega-trigger::after,
  .nav .btn {
    transition: none;
  }
  .nav .btn:hover {
    transform: none;
  }
}

/* Mega menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  padding: 28px;
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 250;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-wide .mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 32px;
  min-width: 680px;
}

.mega-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 16px;
}

.mega-featured {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.mega-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.mega-featured > a:first-child {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
}

.chip {
  background: var(--color-accent);
  color: #1a2e00;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 180ms ease;
}

.chip:hover {
  background: var(--color-accent-light);
}

.mega-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 8px;
  color: var(--color-text);
  font-size: 0.95rem;
  transition: background var(--transition);
}

.mega-list a:hover {
  background: var(--color-bg-alt);
}

.mega-list .arrow {
  color: #9aa1ab;
}

.mega-list .chevron-hover {
  color: #9aa1ab;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 160ms ease;
  margin-left: auto;
  flex-shrink: 0;
}

.mega-list a:hover .chevron-hover {
  opacity: 1;
}

/* ===== HERO ===== */
.hero-fc {
  position: relative;
  background: var(--color-black);
  color: #fff;
  overflow: hidden;
}

.hero-fc-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198,255,0,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,255,0,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}

.hero-fc-glow {
  position: absolute;
  top: 20%;
  left: 8%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(198,255,0,0.08) 0%, rgba(198,255,0,0.03) 35%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero-fc-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: calc(75vh - 66px);
  width: 100%;
}

/* LEFT — Logo zone */
.hero-fc-logo-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
}

.hero-fc-logo-main {
  width: clamp(280px, 28vw, 500px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.3;
}

/* RIGHT — Copy zone */
.hero-fc-copy-zone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 max(4vw, 48px) 40px 64px;
  padding-top: max(4vh, 24px);
}

.hero-fc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a0a8a0;
  margin-bottom: 24px;
}

.hero-fc-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero-fc-copy {
  margin-bottom: 28px;
}

.hero-fc-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-fc-heading em {
  font-style: normal;
}

.hero-fc-heading em.italic {
  font-style: italic;
  color: var(--color-accent);
}

.hero-fc-heading-line2 {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-fc-heading-line2 em.italic {
  font-style: italic;
  color: var(--color-accent);
}

.hero-fc-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #a0a8a0;
  max-width: 34ch;
  margin-bottom: 36px;
}

.hero-fc-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-fc-cta {
  white-space: nowrap;
}
/* ===== END HERO ===== */

/* Page header (non-home hero, smaller) */
.page-header {
  background: var(--color-black);
  padding: 96px 0 64px;
  text-align: center;
}

.page-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 12px;
}

.page-header p {
  color: #b0b5b2;
  max-width: 620px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: #080808;
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid #ffffff44;
  color: #fff;
}

.btn-outline:hover {
  background: #ffffff1a;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: 0 12px 24px rgba(11, 37, 69, 0.08);
  transform: translateY(-4px);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card h3 {
  color: var(--color-primary);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.card p {
  color: var(--color-text-light);
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.contact-info .info-block {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dbe0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-black);
  color: #999;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 72px clamp(24px, 5vw, 80px) 64px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Col 1 — Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.footer-logo .logo-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  text-transform: none;
}

.footer-logo .logo-text .accent {
  color: #fff;
}

.footer-desc {
  font-size: 0.84rem;
  line-height: 1.65;
  color: #888;
  max-width: 280px;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Hidden until real profiles are added */
  display: none;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #888;
  transition: color 200ms ease, border-color 200ms ease;
}

.footer-social a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Col headings */
.footer-heading {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}

/* Col 2 — Navigation */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a {
  font-size: 0.84rem;
  color: #888;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

/* Col 3 — Legal */
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-legal a {
  font-size: 0.84rem;
  color: #888;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-legal a:hover {
  color: var(--color-accent);
}

/* Col 4 — Contact */
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-item a {
  font-size: 0.84rem;
  color: #888;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #666;
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-item .footer-wa-icon svg {
  fill: currentColor;
  stroke: none;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-copyright {
  font-size: 0.78rem;
  color: #555;
}

.footer-tagline {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .footer-social a,
  .footer-nav a,
  .footer-legal a,
  .footer-contact-item a {
    transition: none;
  }
}

/* Asesoría page */
.asesoria-hero {
  background: var(--color-black);
  padding: 100px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.asesoria-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(198,255,0,0.14) 0%, rgba(198,255,0,0.06) 35%, rgba(198,255,0,0.02) 55%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.asesoria-hero > * {
  position: relative;
  z-index: 1;
}

.asesoria-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.asesoria-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(198, 255, 0, 0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 32px;
}

.asesoria-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}

.asesoria-subtitle {
  font-size: 1.1rem;
  color: #b0b5b2;
  line-height: 1.65;
  margin-bottom: 36px;
}

.asesoria-cta-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.7;
}

.asesoria-calendly {
  background: var(--color-black);
  padding: 0 0 80px;
}

.asesoria-benefits {
  background: var(--color-black);
  padding: 64px 0 48px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.benefit-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.benefit-icon {
  display: block;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 16px;
  opacity: 0.8;
}

.benefit-card h3 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  color: #8a9090;
  font-size: 0.88rem;
}

.asesoria-contact-line {
  text-align: center;
  color: #6b7575;
  font-size: 0.88rem;
}

.asesoria-contact-line strong {
  color: #b0b5b2;
}

/* ==========================================
   HOME — Editorial sections
   ========================================== */

/* Strategy intro */
.home-strategy {
  background: var(--color-black);
  padding: 120px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-strategy .container {
  max-width: none;
  margin: 0;
  padding: 0 max(5vw, 56px);
}

.home-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 28px;
}

.home-big-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 3.4rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 28px;
}

.home-big-title em {
  font-style: italic;
  color: var(--color-accent);
}

.home-strategy-text {
  font-size: 1rem;
  color: #9a9e9a;
  max-width: 580px;
  line-height: 1.75;
}

/* Editorial (image + text) — full-width layout */
.editorial--dark {
  background: var(--color-black);
  padding: 60px 0;
}

.editorial--dark > .container {
  max-width: none;
  padding: 0;
}

.editorial-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 560px;
}

.editorial--reverse .editorial-content {
  order: 2;
}

.editorial--reverse .editorial-media {
  order: 1;
}

.editorial-counter {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 20px;
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
}

.editorial-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 24px;
}

.editorial-title em {
  font-style: italic;
  color: var(--color-accent);
}

.editorial-text {
  color: #9a9e9a;
  line-height: 1.75;
  margin-bottom: 28px;
  font-size: 0.97rem;
}

.editorial-text--secondary {
  color: #737873;
  font-size: 0.93rem;
}

.editorial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px max(4vw, 40px) 64px max(5vw, 56px);
  max-width: 640px;
}

.editorial--reverse .editorial-content {
  margin-left: auto;
}

.editorial-media {
  position: relative;
  padding: 24px;
}

.editorial-media::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 28px;
  height: 28px;
  border-top: 2px solid rgba(198, 255, 0, 0.25);
  border-left: 2px solid rgba(198, 255, 0, 0.25);
  z-index: 2;
  pointer-events: none;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 440px;
  border-radius: 4px;
}

.editorial-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-accent);
  transition: color var(--transition);
}

.editorial-cta:hover {
  color: var(--color-accent);
}

/* Service chips */
.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.service-chip {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.8rem;
  color: #c0c4c0;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--transition), color var(--transition);
}

.service-chip:hover {
  border-color: rgba(198, 255, 0, 0.4);
  color: #fff;
}

/* Chips que enlazan a su página: flecha y borde lima al pasar el cursor */
a.service-chip::after {
  content: "\2192";
  display: inline-block;
  margin-left: 6px;
  opacity: 0.35;
  transition: transform var(--transition), opacity var(--transition), color var(--transition);
}

a.service-chip:hover {
  border-color: var(--color-accent);
}

a.service-chip:hover::after {
  opacity: 1;
  color: var(--color-accent);
  transform: translateX(2px);
}

/* ==========================================
   HOME — Jurisdictions
   ========================================== */
.jurisdictions-section {
  background: var(--color-black);
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.jurisdictions-intro {
  color: #9a9e9a;
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 56px;
}

.jurisdictions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.jurisdiction-card {
  padding: 32px 24px;
  background: var(--color-black);
  transition: background var(--transition);
}

.jurisdiction-card:hover {
  background: #0e0e0e;
}

.jurisdiction-flag {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 16px;
  line-height: 1;
}

.jurisdiction-card h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.jurisdiction-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
}

.jurisdiction-card p {
  color: #8a8e8a;
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Celda final neutra: ocupa el hueco de la última fila (13 jurisdicciones
   en 4 columnas) sin destacar ninguna jurisdicción. */
.jurisdiction-cta {
  grid-column: span 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background: var(--color-black);
}

.jurisdiction-cta h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.jurisdiction-cta p {
  color: #8a8e8a;
  font-size: 0.86rem;
  line-height: 1.6;
}

.jurisdiction-cta-btn {
  flex-shrink: 0;
  padding: 11px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.jurisdiction-cta-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-black);
}

/* ==========================================
   HOME — CTA Final
   ========================================== */
.cta-final {
  background: var(--color-black);
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-final-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
}

.cta-final-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 36px;
  opacity: 0.7;
}

.cta-final-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 3.4rem;
  line-height: 1.22;
  color: #fff;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final-title em {
  font-style: italic;
  color: var(--color-accent);
}

.cta-final-btn {
  font-size: 0.88rem;
  padding: 18px 44px;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* ==========================================
   WhatsApp floating button
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 30, 30, 0.95);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  /* Nav collapse to hamburger */
  .nav {
    position: absolute;
    top: 100%; /* justo debajo de la cabecera, mida lo que mida */
    left: 0;
    right: 0;
    background: var(--color-black);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    gap: 4px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .nav.open {
    display: flex;
  }

  /* Menú desplegable de móvil: negro con acentos lima para separarlo de la página */
  .nav {
    background: #111110;
    border-top: 2px solid var(--color-accent);
    border-bottom: 1px solid rgba(205, 245, 100, 0.25);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  }

  .nav > a,
  .nav > .nav-item > .mega-trigger {
    color: #f2f2f0;
    border-radius: 10px;
  }

  .nav > a:hover,
  .nav > a.active,
  .nav > .nav-item > .mega-trigger:hover,
  .nav > .nav-item > .mega-trigger.open {
    color: var(--color-accent);
    background: rgba(205, 245, 100, 0.08);
  }

  .nav .mega-trigger .chevron {
    color: var(--color-accent);
  }

  /* En móvil el menú sale del flujo: el selector queda junto a la hamburguesa */
  .lang-switch {
    margin-left: auto;
    margin-right: 14px;
  }

  .nav > a::after,
  .nav > .nav-item > .mega-trigger::after {
    display: none;
  }

  .nav > a,
  .nav > .nav-item > .mega-trigger {
    padding: 10px 16px;
    font-size: 1rem;
  }

  .nav-item {
    width: 100%;
  }

  .mega-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .nav .btn {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header .container {
    height: 64px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    font-size: 1.06rem;
  }

  /* Hero tablet */
  .hero-fc-split {
    grid-template-columns: 35% 65%;
  }

  .hero-fc-copy-zone {
    padding: 40px 40px 40px 32px;
  }

  .hero-fc-heading {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  }

  .hero-fc-heading-line2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  }

  .hero-fc-logo-main {
    width: clamp(180px, 20vw, 280px);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  /* Footer tablet */
  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding: 56px clamp(24px, 5vw, 60px) 48px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 400px;
  }

  .footer-bottom {
    padding: 20px clamp(24px, 5vw, 60px);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Home editorial responsive 860 */
  .editorial--dark {
    padding: 32px 0;
  }

  .editorial-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .editorial-content {
    max-width: 100%;
    margin-left: 0;
    padding: 40px 24px;
  }

  .editorial--reverse .editorial-content {
    order: 1;
    margin-left: 0;
  }

  .editorial--reverse .editorial-media {
    order: 2;
  }

  .editorial-media {
    padding: 16px;
  }

  .editorial-media img {
    height: 340px;
    min-height: auto;
  }

  .jurisdictions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jurisdiction-cta {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .mega-menu {
    position: static;
    box-shadow: none;
    padding: 8px 0 8px 16px;
    border-radius: 0;
    min-width: 0;
    width: 100%;
    background: transparent;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mega-menu.open {
    display: block;
  }

  /* Submenús: línea lima a la izquierda para marcar el nivel */
  .mega-menu.open {
    margin: 4px 0 8px 14px;
    border-left: 2px solid rgba(205, 245, 100, 0.4);
  }

  .mega-eyebrow {
    color: var(--color-accent);
    opacity: 0.75;
  }

  .mega-featured > a:first-child,
  .mega-list a {
    color: #e8e8e6;
  }

  .mega-list a:hover {
    background: rgba(205, 245, 100, 0.08);
    color: var(--color-accent);
  }

  .mega-list .chevron-hover {
    opacity: 0.7;
    color: var(--color-accent);
  }

  .mega-menu-wide .mega-grid {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 20px;
  }

  /* Hero mobile 768 */
  .hero-fc {
    padding: 0;
  }

  .hero-fc-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-fc-logo-zone {
    padding: 20px 24px 0 24px;
    justify-content: flex-start;
  }

  .hero-fc-logo-main {
    width: 160px;
    opacity: 0.55;
  }

  .hero-fc-copy-zone {
    padding: 12px 24px 40px 24px;
  }

  .hero-fc-heading {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
  }

  .hero-fc-heading-line2 {
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  }

  .hero-fc-desc {
    max-width: 100%;
  }

  .hero-fc-grid {
    background-size: 50px 50px;
  }

  .hero-fc-glow {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -10%;
  }

  .asesoria-title {
    font-size: 2rem;
  }

  .asesoria-hero {
    padding: 72px 0 56px;
  }

  /* Home responsive 768 */
  .home-strategy {
    padding: 56px 0 40px;
  }

  /* Mismo margen lateral que el resto de secciones de la home */
  .home-strategy .container {
    padding: 0 24px;
  }

  .home-big-title {
    font-size: 2.2rem;
  }

  .editorial--dark {
    padding: 40px 0;
  }

  .editorial-title {
    font-size: 1.9rem;
  }

  .editorial-media img {
    height: 280px;
  }

  .jurisdictions-section {
    padding: 56px 0;
  }

  .jurisdictions-grid {
    grid-template-columns: 1fr;
  }

  .jurisdiction-card,
  .jurisdiction-cta {
    padding: 28px 20px;
  }

  .cta-final {
    padding: 72px 0;
  }

  .cta-final-title {
    font-size: 2.2rem;
  }

  .cta-final-btn {
    padding: 16px 32px;
    font-size: 0.82rem;
  }

  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  /* Footer mobile */
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px 16px;
    padding: 40px 24px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer-desc {
    max-width: 100%;
    margin-bottom: 16px;
  }

  .footer-heading {
    font-size: 0.65rem;
    margin-bottom: 16px;
  }

  .footer-nav a,
  .footer-legal a,
  .footer-contact-item a {
    font-size: 0.78rem;
  }

  .footer-nav ul,
  .footer-legal ul,
  .footer-contact ul {
    gap: 10px;
  }

  .footer-bottom {
    text-align: center;
    padding: 18px 24px;
  }
}

/* ==========================================
   ANIMACIONES SUTILES
   Cortas y discretas. Con "reducir movimiento"
   activado en el dispositivo no se aplican.
   ========================================== */

/* Hamburguesa → ✕ cuando el menú móvil está abierto */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

@media (prefers-reduced-motion: no-preference) {

  .nav-toggle span {
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  /* Entrada de la cabecera de cada página al cargar */
  .hero-fc-copy-zone,
  .gst-hero-copy,
  .legal-hero .legal-inner,
  .asesoria-hero-inner,
  .page-header .container {
    animation: nt-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-fc-logo-zone,
  .gst-hero-panel-wrap {
    animation: nt-fade 0.9s ease 0.15s both;
  }

  /* Aparición al hacer scroll (clases que pone main.js) */
  .nt-reveal {
    opacity: 0;
    transform: translateY(14px);
  }

  .nt-reveal.nt-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--nt-delay, 0ms);
  }

  /* Desplegables del menú: contenido en cascada */
  .mega-menu.open .mega-eyebrow,
  .mega-menu.open .mega-featured,
  .mega-menu.open .mega-list li {
    animation: nt-rise-sm 0.28s ease both;
  }

  .mega-menu.open .mega-featured { animation-delay: 0.03s; }
  .mega-menu.open .mega-list li:nth-child(1) { animation-delay: 0.05s; }
  .mega-menu.open .mega-list li:nth-child(2) { animation-delay: 0.08s; }
  .mega-menu.open .mega-list li:nth-child(3) { animation-delay: 0.11s; }
  .mega-menu.open .mega-list li:nth-child(4) { animation-delay: 0.14s; }

  /* Pop-ups: el panel se asienta con un leve desplazamiento */
  .gst-modal-overlay .gst-modal {
    transform: translateY(14px) scale(0.985);
    transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .gst-modal-overlay.gst-modal-open .gst-modal {
    transform: none;
  }

  /* Preguntas frecuentes: la respuesta aparece con un fundido */
  .cns-faq-item[open] .cns-faq-answer {
    animation: nt-rise-sm 0.3s ease both;
  }
}

/* Menú móvil: el panel baja con un fundido corto */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .nav.open {
    animation: nt-drop 0.24s ease-out both;
  }
}

@keyframes nt-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes nt-rise-sm {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

@keyframes nt-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes nt-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   AVISO DE COOKIES
   Tarjeta negra abajo a la izquierda (a lo ancho en móvil).
   Aceptar y Rechazar tienen el mismo peso, como pide la AEPD.
   ============================================================ */
.nt-cookies {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 400;
  width: min(420px, calc(100vw - 48px));
  padding: 20px 22px;
  background: #111110;
  color: #e9e9e4;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid #CDF564;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  font-size: 0.9rem;
  line-height: 1.55;
}

.nt-cookies[hidden] {
  display: none;
}

.nt-cookies-title {
  display: block;
  margin-bottom: 6px;
  color: #CDF564;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nt-cookies p {
  margin: 0 0 16px;
}

.nt-cookies a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nt-cookies-actions {
  display: flex;
  gap: 10px;
}

.nt-cookies-actions button {
  flex: 1;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.nt-cookies-actions button:hover {
  border-color: #fff;
}

.nt-cookies-actions .nt-cookies-accept {
  background: #CDF564;
  border-color: #CDF564;
  color: #111110;
}

.nt-cookies-actions .nt-cookies-accept:hover {
  background: #d9f98a;
  border-color: #d9f98a;
}

@media (prefers-reduced-motion: no-preference) {
  .nt-cookies {
    animation: nt-rise 0.35s ease-out both;
  }
}

@media (max-width: 600px) {
  .nt-cookies {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 18px;
  }

  /* El botón de WhatsApp sube mientras el aviso está abierto */
  body.nt-cookies-open .whatsapp-float {
    bottom: calc(var(--nt-cookies-h, 0px) + 24px);
  }
}

/* ============================================================
   RESERVAS — pop-up (y bloque en /asesoria) para reservar la
   asesoría gratuita contra el Google Calendar de NomoTax.
   ============================================================ */
.ntb-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}

.ntb-overlay.ntb-open {
  opacity: 1;
  visibility: visible;
}

body.ntb-lock {
  overflow: hidden;
}

.ntb {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 36px 36px 32px;
  background: #1a1a19;
  color: #fff;
  border-radius: 20px;
  border-top: 2px solid #CDF564;
  text-align: left;
}

.ntb-overlay .ntb {
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.ntb-overlay.ntb-open .ntb {
  transform: none;
}

.ntb-inline {
  max-width: 820px;
  max-height: none;
  margin: 0 auto;
}

.ntb-close {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 4px 8px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.ntb-close:hover {
  color: #fff;
}

.ntb-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #CDF564;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ntb-title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
}

.ntb-sub {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.ntb-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
}

.ntb-grid > div {
  min-width: 0;
}

.ntb-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
}

.ntb-month {
  margin-bottom: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.ntb-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.ntb-dow {
  padding-bottom: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.ntb-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  border-radius: 10px;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ntb-day small {
  font-size: 0.58rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.ntb-day:hover {
  border-color: rgba(205, 245, 100, 0.6);
}

.ntb-day[disabled] {
  background: transparent;
  color: rgba(255, 255, 255, 0.2);
  cursor: default;
  border-color: transparent;
}

.ntb-day[disabled] small {
  color: rgba(255, 255, 255, 0.2);
}

.ntb-day.is-selected {
  background: #CDF564;
  color: #111110;
}

.ntb-day.is-selected small {
  color: rgba(17, 17, 16, 0.6);
}

.ntb-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 290px;
  overflow-y: auto;
  padding-right: 2px;
}

.ntb-time {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ntb-time:hover {
  border-color: #CDF564;
}

.ntb-time.is-selected {
  background: #CDF564;
  border-color: #CDF564;
  color: #111110;
}

.ntb-hint {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.76rem;
}

.ntb-empty,
.ntb-loading {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.ntb-loading::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  vertical-align: -2px;
  border: 2px solid rgba(205, 245, 100, 0.3);
  border-top-color: #CDF564;
  border-radius: 50%;
  animation: ntb-spin 0.8s linear infinite;
}

@keyframes ntb-spin {
  to { transform: rotate(360deg); }
}

.ntb-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding: 14px 18px;
  background: rgba(205, 245, 100, 0.1);
  border: 1px solid rgba(205, 245, 100, 0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.ntb-summary span::first-letter {
  text-transform: uppercase;
}

.ntb-link {
  padding: 0;
  background: none;
  border: 0;
  color: #CDF564;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  white-space: nowrap;
}

.ntb-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ntb-type {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.ntb-type.is-selected {
  background: #CDF564;
  border-color: #CDF564;
  color: #111110;
}

.ntb-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ntb-field-full {
  grid-column: 1 / -1;
}

.ntb-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
}

.ntb-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.ntb-input:focus {
  outline: none;
  border-color: #CDF564;
}

textarea.ntb-input {
  min-height: 84px;
  resize: vertical;
}

.ntb-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  line-height: 1.5;
}

.ntb-check input {
  margin-top: 3px;
  accent-color: #CDF564;
}

.ntb-check a {
  color: #fff;
}

.ntb-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ntb-error {
  margin: 14px 0 0;
  color: #ff8a80;
  font-size: 0.84rem;
}

.ntb-error a {
  color: #fff;
}

.ntb-submit {
  width: 100%;
  margin-top: 20px;
  padding: 14px 20px;
  background: #CDF564;
  border: 0;
  border-radius: 999px;
  color: #111110;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.ntb-submit:hover {
  background: #d9f98a;
}

.ntb-submit[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.ntb-done {
  padding: 12px 0 4px;
  text-align: center;
}

.ntb-done-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #CDF564;
  color: #111110;
  font-size: 1.6rem;
  font-weight: 700;
}

.ntb-done p {
  max-width: 440px;
  margin: 0 auto 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.ntb-done strong {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .ntb-overlay,
  .ntb-overlay .ntb {
    transition: none;
  }
}

.ntb-topic {
  display: inline-flex;
  gap: 6px;
  margin: -12px 0 20px;
  padding: 7px 14px;
  border: 1px solid rgba(205, 245, 100, 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.ntb-topic strong {
  color: #CDF564;
  font-weight: 600;
}

.ntb-select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23CDF564' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.ntb-select option {
  background: #1a1a19;
  color: #fff;
}

.ntb-strip {
  display: none;
}

.ntb-actions {
  margin-top: 20px;
}

.ntb-actions .ntb-submit {
  margin-top: 0;
}

/* ---------- Reservas en móvil: panel que sube desde abajo ---------- */
@media (max-width: 700px) {
  .ntb-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .ntb {
    padding: 24px 18px 20px;
    border-radius: 16px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .ntb-overlay .ntb {
    max-width: none;
    max-height: 92vh;
    max-height: 92dvh;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .ntb-overlay.ntb-open .ntb {
    transform: none;
  }

  /* Asa del panel */
  .ntb-overlay .ntb::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
  }

  .ntb-close {
    top: 10px;
    right: 8px;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .ntb-eyebrow {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .ntb-title {
    padding-right: 36px;
    font-size: 1.25rem;
  }

  .ntb-sub {
    margin-bottom: 16px;
    font-size: 0.86rem;
  }

  .ntb-topic {
    margin: -6px 0 16px;
  }

  .ntb-grid,
  .ntb-fields {
    grid-template-columns: 1fr;
  }

  .ntb-grid {
    gap: 18px;
  }

  /* Calendario → tira de días con huecos */
  .ntb-month,
  .ntb-cal {
    display: none;
  }

  .ntb-strip {
    position: relative;
    display: flex;
    gap: 8px;
    margin: 0 -18px;
    padding: 2px 18px 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .ntb-strip::-webkit-scrollbar {
    display: none;
  }

  .ntb-chip {
    flex: 0 0 auto;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid transparent;
    border-radius: 14px;
    color: #fff;
    font: inherit;
    scroll-snap-align: start;
    cursor: pointer;
  }

  .ntb-chip small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
  }

  .ntb-chip strong {
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .ntb-chip.is-selected {
    background: #CDF564;
    color: #111110;
  }

  .ntb-chip.is-selected small {
    color: rgba(17, 17, 16, 0.6);
  }

  .ntb-times {
    grid-template-columns: repeat(4, 1fr);
    max-height: none;
    overflow: visible;
  }

  .ntb-time {
    min-height: 44px;
    padding: 0;
  }

  .ntb-hint {
    margin-top: 12px;
  }

  .ntb-summary {
    margin-bottom: 18px;
    padding: 12px 14px;
    font-size: 0.86rem;
  }

  .ntb-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 16px;
  }

  .ntb-type {
    min-height: 52px;
    padding: 8px 10px;
    border-radius: 14px;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .ntb-fields {
    gap: 12px;
  }

  /* 16 px evita que el iPhone haga zoom al escribir */
  .ntb-input {
    padding: 13px 14px;
    font-size: 16px;
  }

  textarea.ntb-input {
    min-height: 72px;
  }

  /* Botón de confirmar siempre visible abajo */
  .ntb-overlay .ntb:has(.ntb-actions) {
    padding-bottom: 0;
  }

  .ntb-overlay .ntb-actions {
    position: sticky;
    bottom: 0;
    margin: 16px -18px 0;
    padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
    background: #1a1a19;
    box-shadow: 0 -10px 18px rgba(26, 26, 25, 0.95);
  }

  .ntb-submit {
    padding: 15px 20px;
    font-size: 1rem;
  }
}

/* ============================================================
   BOTÓN "VOLVER ARRIBA"
   Discreto, encima del botón de WhatsApp; aparece al bajar.
   ============================================================ */
.nt-top {
  position: fixed;
  right: 38px;
  bottom: 100px;
  z-index: 290;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(17, 17, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #CDF564;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, border-color 0.2s ease, background 0.2s ease;
}

.nt-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nt-top:hover,
.nt-top:focus-visible {
  background: #111110;
  border-color: #CDF564;
  outline: none;
}

.nt-top svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .nt-top {
    right: 27px;
    bottom: 82px;
    width: 36px;
    height: 36px;
  }

  .nt-top svg {
    width: 14px;
    height: 14px;
  }
}

/* Con el aviso de cookies abierto en móvil, sube junto al de WhatsApp */
@media (max-width: 600px) {
  body.nt-cookies-open .nt-top {
    bottom: calc(var(--nt-cookies-h, 0px) + 88px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nt-top {
    transition: none;
  }
}
