/* ═══════════════════════════════════════════════
   GUILLERMO SUILS · SEO LOCAL
   styles.css  v20260522
   ═══════════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
  --bg:             #090C09;
  --bg-2:           #0D110D;
  --bg-card:        #111711;
  --bg-card-hover:  #162016;
  --text:           #EEF2EA;
  --text-soft:      #ADBAA5;
  --text-mute:      #607058;
  --accent:         #38AD5D;
  --accent-dark:    #2A8A48;
  --accent-light:   #4ECC74;
  --accent-glow:    rgba(56, 173, 93, 0.20);
  --accent-subtle:  rgba(56, 173, 93, 0.07);
  --line:           rgba(238, 242, 234, 0.07);
  --line-med:       rgba(238, 242, 234, 0.13);
  --nav-h:          72px;
  --container:      1200px;
  --mx:             50%;
  --my:             40%;
  --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
blockquote { font-style: normal; }

/* ── Typography scale ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ── Custom Cursor ── */
.cursor-dot,
.cursor-ring {
  pointer-events: none;
  position: fixed;
  top: 0; left: 0;
  will-change: transform;
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.cursor-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin: -3px 0 0 -3px;
}
.cursor-ring {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 173, 93, .45);
  margin: -16px 0 0 -16px;
  transition: opacity .3s var(--ease-out),
              width .22s var(--ease-out),
              height .22s var(--ease-out),
              margin .22s var(--ease-out),
              border-color .2s;
}
.cursor-dot.is-ready,
.cursor-ring.is-ready { opacity: 1; }
.cursor-ring.is-hover {
  width: 48px; height: 48px;
  margin: -24px 0 0 -24px;
  border-color: var(--accent);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background .35s var(--ease-out), box-shadow .35s;
}
.nav.is-scrolled,
.nav--solid {
  background: rgba(9, 12, 9, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  max-width: var(--container);
  margin-inline: auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.nav-logo-icon { border-radius: 6px; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo-text strong {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
}
.nav-logo-text em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(9, 12, 9, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.25rem clamp(1.25rem, 5vw, 2.5rem) 1.75rem;
  border-bottom: 1px solid var(--line-med);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .55);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
/* Fix: CSS display:flex overrides the HTML hidden attribute */
.nav-mobile[hidden] { display: none !important; }
.nav-mobile-link {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s, padding-left .18s var(--ease-out);
}
.nav-mobile-link:last-of-type { border-bottom: none; }
.nav-mobile-link:hover { color: var(--accent); padding-left: 0.4rem; }
.nav-mobile-cta { margin-top: 1.25rem; width: 100%; justify-content: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: all .22s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #071007;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--line-med);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(56, 173, 93, .4);
  background: var(--accent-subtle);
}
.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-soft);
  border: 1px solid var(--line-med);
  transition: all .2s;
}
.btn-ghost-sm:hover { color: var(--accent); border-color: rgba(56, 173, 93, .4); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2.2rem; font-size: 1.05rem; border-radius: 10px; }
.btn-wa { animation: waPulse 3.5s ease-in-out infinite; }
.btn-wa:hover {
  animation: none;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px var(--accent-glow);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 173, 93, .25); }
  50%       { box-shadow: 0 0 0 12px rgba(56, 173, 93, 0); }
}

/* ── Section commons ── */
section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 54ch;
  line-height: 1.72;
}
.section-header { margin-bottom: 3.5rem; }
.text-accent { color: var(--accent); }
.link-arrow {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap .2s;
}
.link-arrow:hover { gap: 0.55rem; }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Defensive: prevent invisible text when .reveal + data-split conflict */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 0;
  overflow: hidden;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle 900px at var(--mx, 30%) var(--my, 55%),
      rgba(56, 173, 93, .085) 0%, transparent 60%),
    radial-gradient(circle 500px at 88% 10%,
      rgba(56, 173, 93, .04) 0%, transparent 50%),
    radial-gradient(circle 350px at 5% 88%,
      rgba(56, 173, 93, .035) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
}
h1.hero-kicker {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.13em !important;
  margin: 0 !important;
}
.kicker-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotBlink 2.2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
}
.hero-title-line { display: block; }
.hero-title-line--accent { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.72;
  color: var(--text-soft);
  max-width: 44ch;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
/* SEO h1 — keyword-bearing heading, visually small eyebrow */
.hero-seo-h1 {
  font-size: .76rem !important;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 .9rem !important;
  line-height: 1.4;
  display: block;
}
/* Visual headline — dominant copy, humans read this first */
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 1.5rem;
}
.hero-headline .text-accent { color: var(--accent); }
@media (max-width: 768px) {
  .hero-headline { font-size: clamp(2rem, 8vw, 2.8rem); }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
.hero-market-data {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-left: .85rem;
  border-left: 2px solid var(--accent);
  font-size: .78rem;
  color: var(--text-soft);
}
.hero-market-data strong { color: var(--text); font-weight: 700; }
.hero-market-data cite { font-style: normal; font-size: .7rem; opacity: .55; }
.hero-disclaimer {
  font-size: 0.77rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
/* Right column */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3 / 4;
  background: var(--bg-card);
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 20px;
  transition: transform .6s var(--ease-out), filter .4s;
}
.hero-photo-wrap:hover .hero-photo { transform: scale(1.03); }
.hero-photo-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(9, 12, 9, .7) 100%
  );
  pointer-events: none;
}
/* Floating badge */
.hero-badge {
  position: absolute;
  bottom: 1.75rem;
  left: -1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line-med);
  border-radius: 14px;
  padding: 0.8rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 8px 36px rgba(0, 0, 0, .45);
  backdrop-filter: blur(8px);
}
.hero-badge-stars {
  font-size: 0.88rem;
  color: #FFB800;
  letter-spacing: 1.5px;
}
.hero-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero-badge-text strong { font-size: 0.84rem; font-weight: 700; color: var(--text); }
.hero-badge-text span   { font-size: 0.7rem;  color: var(--text-mute); }
/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block;
  width: 1.5px;
  height: 38px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); }
  40%  { opacity: 1; }
  80%  { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; }
}

/* ═══════════════════════════════════════════════
   PAIN SECTION
   ═══════════════════════════════════════════════ */
.pain {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, background .25s, transform .3s var(--ease-out);
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}
.pain-card:hover {
  border-color: var(--line-med);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.pain-card:hover::before { opacity: 1; }
.pain-card-num {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.pain-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.pain-card p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.pain-cta-line {
  font-size: 1rem;
  color: var(--text-soft);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   DIFFERENTIATORS
   ═══════════════════════════════════════════════ */
.diff { border-bottom: 1px solid var(--line); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
.diff-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-subtle);
  border: 1px solid rgba(56, 173, 93, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.4rem;
  transition: background .25s, box-shadow .25s;
}
.diff-item:hover .diff-icon {
  background: rgba(56, 173, 93, .12);
  box-shadow: 0 0 0 6px rgba(56, 173, 93, .07);
}
.diff-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.diff-item p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════ */
.services { background: var(--bg-2); }
.service-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: border-color .3s;
}
.service-block:last-of-type { margin-bottom: 3rem; }
.service-block:hover { border-color: rgba(56, 173, 93, .3); }
.service-block-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 2.5rem;
  border-bottom: 1px solid var(--line);
}
.service-num {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  letter-spacing: -0.05em;
  flex-shrink: 0;
}
.service-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.service-tag {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(56, 173, 93, .22);
  width: fit-content;
}
.service-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.service-headline {
  font-size: 0.98rem;
  color: var(--text-soft);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
}
.service-block-body {
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.service-description {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.78;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.service-list li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.service-list-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.services-cta { text-align: center; }

/* ═══════════════════════════════════════════════
   PRICING PLANS
   ═══════════════════════════════════════════════ */
.pricing-section { background: var(--bg-2); padding-block: 6rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  transition: border-color .3s;
}
.pricing-card:hover { border-color: rgba(56, 173, 93, .3); }
.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--bg-card) 60%, rgba(56, 173, 93, .06));
  box-shadow: 0 0 40px rgba(56, 173, 93, .1);
}
.pricing-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0d1a0f;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card-top { display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-plan-name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  line-height: 1;
}
.pricing-amount {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}
.pricing-eur {
  font-size: 0.95rem;
  color: var(--text-soft);
  font-weight: 500;
}
.pricing-tagline {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.pricing-budget-note {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}
.pricing-feats {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.pricing-feats li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.pf-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pf-ai {
  color: var(--text);
  font-weight: 500;
  padding: 0.55rem 0.7rem;
  background: var(--accent-subtle);
  border: 1px solid rgba(56, 173, 93, .22);
  border-radius: 8px;
  margin-block: 0.2rem;
}
.pf-ai .pf-check { color: var(--accent-light); font-size: 0.8rem; }
.pricing-btn { width: 100%; text-align: center; justify-content: center; margin-top: auto; }
.pricing-footnote {
  margin-top: 2.5rem;
  font-size: 0.78rem;
  color: var(--text-mute);
  line-height: 1.7;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* ═══════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--line);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-block: clamp(3rem, 5vw, 5rem);
}
.stat-item {
  background: var(--bg-card);
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: background .22s;
}
.stat-item:hover { background: var(--bg-card-hover); }
.stat-value {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.55rem;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-mute);
  font-weight: 500;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════
   PRESS / VISTO EN
   ═══════════════════════════════════════════════ */
.press {
  padding-block: 3.5rem 4.5rem;
  border-top: 1px solid var(--line);
}
.press-eyebrow {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  margin-bottom: 2rem;
}
.press-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}
/* Pills con fondo claro — los logos (todos con fondo blanco/crema) se ven sin filtros */
.press-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: transform .22s var(--ease-out),
              box-shadow .25s,
              background .22s,
              border-color .22s;
  min-width: 130px;
}
.press-item:hover {
  background: #ffffff;
  border-color: rgba(56, 173, 93, .5);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45),
              0 0 0 1px rgba(56, 173, 93, .25);
}
.press-item:active { transform: translateY(0); }

/* Logo: escala de grises + opacidad baja en reposo; color pleno en hover */
.press-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter .3s var(--ease-out), opacity .3s;
}
.press-item:hover .press-logo {
  filter: grayscale(0);
  opacity: 1;
}

/* El Mundo Financiero es más alto por ser logo apilado */
.press-item--tall .press-logo { height: 50px; }

@media (max-width: 768px) {
  .press-strip  { gap: 0.65rem; }
  .press-item   { padding: 0.75rem 1.4rem; min-width: 110px; }
  .press-logo   { height: 34px; }
  .press-item--tall .press-logo { height: 42px; }
}
@media (max-width: 480px) {
  .press-item   { padding: 0.7rem 1.1rem; min-width: 0; flex: 1 1 calc(50% - 0.65rem); }
  .press-logo   { height: 30px; max-width: 130px; }
  .press-item--tall .press-logo { height: 36px; }
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */
.testimonials {}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: border-color .25s, transform .3s var(--ease-out);
}
.testimonial-card:hover {
  border-color: rgba(56, 173, 93, .28);
  transform: translateY(-4px);
}
.testimonial-stars {
  font-size: 0.88rem;
  color: #FFB800;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.72;
  flex: 1;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}
.testimonial-author strong { font-size: 0.87rem; font-weight: 700; color: var(--text); }
.testimonial-author span   { font-size: 0.75rem; color: var(--text-mute); }
.testimonials-google { text-align: center; }

/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */
.about {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual { width: 380px; flex-shrink: 0; }
.about-photo-wrap {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.about-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(56, 173, 93, .12);
  pointer-events: none;
}
.about-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.97);
  transition: filter .4s;
}
.about-photo-wrap:hover .about-photo { filter: saturate(1.05) brightness(1.0); }
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-content .section-kicker { margin-bottom: 0; }
.about-content .section-title   { margin-bottom: 0; }
.about-text p {
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.82;
}
.about-text p + p { margin-top: 1rem; }
.about-text strong { color: var(--text); font-weight: 600; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--accent-subtle);
  border: 1px solid var(--line-med);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════ */
.faq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-list {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.faq-item {
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
  transition: background .22s;
}
.faq-item:last-child { border-bottom: none; }
.faq-item[open] { background: var(--bg-card-hover); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  cursor: pointer;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--text);
  transition: color .2s;
  user-select: none;
}
.faq-question::-webkit-details-marker,
.faq-question::marker { display: none; }
.faq-question:hover { color: var(--accent); }
.faq-question-text {
  flex: 1;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: inherit;
}
.faq-chevron {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform .3s var(--ease-out);
}
.faq-answer {
  padding: 0 2rem 1.75rem;
  font-size: 0.93rem;
  color: var(--text-soft);
  line-height: 1.82;
  max-width: 74ch;
}
.faq-answer strong { color: var(--text); font-weight: 600; }

@media (max-width: 768px) {
  .faq-question { padding: 1.25rem 1.5rem; font-size: 0.95rem; }
  .faq-answer   { padding: 0 1.5rem 1.5rem; }
}

/* ═══════════════════════════════════════════════
   CONTACT CTA
   ═══════════════════════════════════════════════ */
.contact {
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(56, 173, 93, .065) 0%, transparent 65%);
  pointer-events: none;
}
.contact-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  padding-block: clamp(5rem, 10vw, 9rem);
  text-align: center;
  position: relative;
  z-index: 1;
}
.contact-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.contact-sub {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 2.75rem;
  line-height: 1.78;
}
.contact-disclaimer {
  margin-top: 1.25rem;
  font-size: 0.76rem;
  color: var(--text-mute);
  letter-spacing: 0.03em;
}
.contact-map-label {
  margin-top: 3.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.contact-map {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-med);
  aspect-ratio: 16 / 7;
  position: relative;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .45);
  transition: border-color .3s;
}
.contact-map:hover { border-color: rgba(56, 173, 93, .35); }
.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(0.75) brightness(0.82);
  transition: filter .4s;
}
.contact-map:hover iframe { filter: saturate(0.95) brightness(0.92); }
@media (max-width: 768px) {
  .contact-map { aspect-ratio: 4 / 3; border-radius: 14px; }
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

/* Columna marca */
.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.footer-brand-head div { display: flex; flex-direction: column; gap: 3px; }
.footer-brand-head strong { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.footer-brand-head span   { font-size: 0.7rem; color: var(--text-mute); }
.footer-brand-desc {
  font-size: 0.82rem;
  color: var(--text-mute);
  line-height: 1.65;
  margin-bottom: 1.3rem;
  max-width: 240px;
}
.footer-brand-cta {
  font-size: 0.8rem !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: 8px !important;
}

/* Columna contacto */
.footer-col-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nap-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.footer-nap-addr {
  font-size: 0.82rem;
  color: var(--text-mute);
  line-height: 1.6;
  transition: color .2s;
}
.footer-nap-addr:hover { color: var(--accent); }
.footer-nap-phone {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color .2s;
  letter-spacing: 0.01em;
}
.footer-nap-phone:hover { color: var(--accent); }
.footer-nap-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mute);
  margin-top: 0.25rem;
  transition: color .2s;
}
.footer-nap-linkedin:hover { color: var(--accent); }

/* Columna ubicaciones */
.footer-ubic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.38rem 1.5rem;
  margin-top: 0.1rem;
}
.footer-ubic-grid a {
  font-size: 0.82rem;
  color: var(--text-mute);
  text-decoration: none;
  line-height: 1.5;
  transition: color .2s;
}
.footer-ubic-grid a:hover { color: var(--accent); }
.footer-ubic-current {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.76rem; color: var(--text-mute); }
.footer-bottom a { font-size: 0.76rem; color: var(--text-mute); transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-h) + 2rem);
    gap: 2.5rem;
  }
  .hero-visual { order: -1; max-width: 260px; margin-inline: auto; position: relative; }
  .hero-photo-wrap { aspect-ratio: 3 / 4; }
  .hero-photo { object-position: center 5%; }
  .hero-badge { left: auto; right: -0.75rem; bottom: 1.25rem; }
  .hero-sub { max-width: 100%; }
  .diff-grid { grid-template-columns: 1fr; gap: 0; border-top: none; padding-top: 0; }
  .diff-item {
    padding-block: 2rem;
    border-top: 1px solid var(--line);
  }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { width: 300px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta .btn-text { display: none; }
  .nav-cta { padding: 0.6rem 0.85rem; border-radius: 8px; }
  .pain-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .service-block-header {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .service-num { font-size: 2rem; }
  .service-block-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.2rem, 11vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-xl { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); border-radius: 12px; }
  .section-title { letter-spacing: -0.025em; }
  .contact-title { letter-spacing: -0.025em; }
  .hero-visual { max-width: 210px; }
  .hero-badge {
    right: -0.5rem;
    bottom: 0.75rem;
    padding: 0.6rem 0.85rem;
    gap: 0.55rem;
  }
  .hero-badge-stars { font-size: 0.78rem; }
  .hero-badge-text strong { font-size: 0.78rem; }
  .hero-badge-text span   { font-size: 0.65rem; }
}

/* ── Reduced motion: only gate intrusive effects ── */
@media (prefers-reduced-motion: reduce) {
  .btn-wa      { animation: none; }
  .kicker-dot  { animation: none; }
  .hero-scroll-hint span { animation: none; }
  /* DO NOT gate: reveals, hover, count-up, cursor — these are functional */
}

/* ── Touch: hide cursor ── */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Floating WhatsApp button ── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(56, 173, 93, .45);
  transition: transform .25s var(--ease-out), box-shadow .25s;
  animation: waPulse 3.5s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-3px);
  animation: none;
  box-shadow: 0 10px 40px rgba(56, 173, 93, .65);
}
@media (max-width: 768px) {
  .wa-float { bottom: 1.5rem; right: 1.25rem; width: 54px; height: 54px; }
  /* Hide the nav WA button on mobile — the float takes over */
  .nav-cta { display: none !important; }
}

/* ═══════════════════════════════════════════════════════
   INTERNAL LINKING — ciudades relacionadas + footer SEO
════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   SECTORES / ESPECIALIDADES — Home section
   ═══════════════════════════════════════════════ */
.sectores-section {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.sectores-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.sector-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.5rem 1.5rem;
  background: rgba(255,255,255,.025);
  transition: border-color .25s, background .25s, transform .25s;
  scroll-margin-top: calc(var(--nav-h) + 2rem);
}
.sector-card:hover {
  border-color: var(--accent);
  background: rgba(56,173,93,.06);
  transform: translateY(-2px);
}
.sector-card-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-bottom: .9rem;
  margin-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}
.sector-card-emoji {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56,173,93,.13);
  border-radius: 9px;
}
.sector-card-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.35;
}
.sector-card-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.sector-card-links a {
  font-size: .875rem;
  color: var(--text-soft);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .15rem 0;
  transition: color .18s, gap .18s;
}
.sector-card-links a::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .45;
  flex-shrink: 0;
  transition: opacity .18s;
}
.sector-card-links a:hover { color: var(--text); gap: .65rem; }
.sector-card-links a:hover::before { opacity: 1; }
@media (max-width: 768px) {
  .sectores-cats-grid { grid-template-columns: 1fr 1fr; gap: .85rem; }
}
@media (max-width: 480px) {
  .sectores-cats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   SECTORES — Footer cluster row (compact)
   ═══════════════════════════════════════════════ */
/* Navegación integrada ubicaciones + sectores */
.footer-nav {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-nav-row {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.footer-nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  display: block;
}
.fsc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .6rem;
}
/* Button reset for <button> triggers */
button.fsc-trigger {
  background: none;
  font-family: inherit;
  line-height: inherit;
}

/* ── Cluster dropdown ── */
.fsc-group {
  position: relative;
}
.fsc-trigger {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  color: var(--text-mute);
  text-decoration: none;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  cursor: pointer;
}
.fsc-trigger:hover,
.fsc-group:focus-within .fsc-trigger {
  color: var(--accent);
  border-color: rgba(56,173,93,.35);
}
.fsc-arrow {
  font-size: .65rem;
  transition: transform .18s;
  line-height: 1;
}
.fsc-group:hover .fsc-arrow,
.fsc-group:focus-within .fsc-arrow {
  transform: rotate(180deg);
}
.fsc-dropdown {
  position: absolute;
  bottom: calc(100% + .4rem);
  left: 0;
  min-width: 160px;
  background: rgba(9,12,9,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 200;
  pointer-events: none;
}
.fsc-group:hover .fsc-dropdown,
.fsc-group:focus-within .fsc-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
/* Right-edge groups: align dropdown to the right so it doesn't overflow */
.fsc-group--end .fsc-dropdown {
  left: auto;
  right: 0;
}
/* Categories with few items: single column */
.fsc-dropdown--sm {
  grid-template-columns: 1fr;
  min-width: 180px;
}
/* City/location dropdowns: single column, narrower */
.fsc-dropdown--col {
  grid-template-columns: 1fr;
  min-width: 170px;
}
/* First link in location dropdown: region overview */
.fsc-drop-region {
  font-weight: 600 !important;
  color: var(--text-soft) !important;
  border-bottom: 1px solid var(--line);
  padding-bottom: .35rem !important;
  margin-bottom: .1rem;
}
.fsc-drop-region:hover {
  color: var(--accent) !important;
}
.fsc-dropdown a {
  font-size: .78rem;
  color: var(--text-soft);
  text-decoration: none;
  padding: .28rem .5rem;
  border-radius: 4px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.fsc-dropdown a:hover {
  color: var(--accent);
  background: rgba(56,173,93,.08);
}

/* Sección "Más ciudades en [Comunidad]" en páginas de ciudad */
.related-cities {
  padding: clamp(3rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}
.related-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.related-city-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: border-color .25s, color .25s;
}
.related-city-link:hover { border-color: rgba(56,173,93,.4); color: var(--accent); }
.related-city-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.related-cities-more {
  margin-top: 1.75rem;
  text-align: center;
}
.related-cities-more a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mute);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.related-cities-more a:hover { color: var(--accent); border-color: var(--accent); }

/* Mapa de localidad */
.city-map-section {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}
.city-map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 16px;
  display: block;
  filter: grayscale(20%);
  transition: filter .3s;
}
.city-map-section iframe:hover { filter: grayscale(0%); }
@media (max-width: 600px) {
  .city-map-section iframe { height: 260px; }
}

/* Footer — responsive */
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand-desc { max-width: 100%; }
}

/* Sección "Dónde trabajo" en la home */
.zones-section-home {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.comunidades-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.85rem;
  margin-top: 2.5rem;
}
.comunidad-card-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .25s, transform .2s;
}
.comunidad-card-home:hover {
  border-color: rgba(56,173,93,.4);
  transform: translateY(-2px);
}
.comunidad-card-home-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: color .25s;
}
.comunidad-card-home:hover .comunidad-card-home-name { color: var(--accent); }
.comunidad-card-home-count {
  font-size: 0.72rem;
  color: var(--text-mute);
  font-weight: 500;
  background: var(--bg-section);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.12rem 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .comunidades-grid-home { grid-template-columns: 1fr 1fr; }
  .related-cities-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .comunidades-grid-home { grid-template-columns: 1fr; }
}

/* CITY-SIBLINGS-CSS-ADDED */

/* ═══════════════════════════════════════════════
   ENLAZADO INTERNO: CIUDADES HERMANAS
   ═══════════════════════════════════════════════ */
.city-siblings {
  padding-block: 3rem 4rem;
  border-top: 1px solid var(--line);
}
.city-siblings-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  margin-bottom: 1rem;
}
.city-siblings-title {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.city-siblings-title a {
  color: var(--accent);
  text-decoration: none;
}
.city-siblings-title a:hover { text-decoration: underline; }
.city-siblings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.city-sibling-link {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.city-sibling-link:hover {
  border-color: rgba(56,173,93,.4);
  color: var(--accent);
}


.city-siblings-hub-link {
  margin-top: 1.25rem;
  font-size: 0.88rem;
}
.city-siblings-hub-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.city-siblings-hub-link a:hover { text-decoration: underline; }
