/* LaraIA — landings SEO/GEO Sevilla (prototipos locales) */
.page-ia-sevilla { padding-top: 0; }
.page-ia-sevilla .lsec { scroll-margin-top: 88px; }

/* Hero compartido */
.geo-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(112px, 13vh, 144px) 20px clamp(64px, 9vh, 96px);
  background:
    radial-gradient(circle at 72% 30%, rgba(124, 60, 255, .24), transparent 34%),
    radial-gradient(circle at 22% 68%, rgba(236, 72, 153, .14), transparent 38%),
    #05030d;
}
.geo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .36;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 24%, #000 74%, transparent);
}
.geo-hero-glow {
  position: absolute;
  width: min(720px, 76vw);
  aspect-ratio: 1;
  top: 50%;
  right: -18%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 64, 161, .16), rgba(89, 0, 255, .08) 42%, transparent 70%);
  filter: blur(8px);
}
.geo-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}
.geo-prototype-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px dashed rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: rgba(255, 255, 255, .52);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.geo-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #f0abfc;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.geo-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ec4899;
  box-shadow: 0 0 14px rgba(236, 72, 153, .85);
}
.geo-hero h1 {
  max-width: 680px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.65rem, 5.4vw, 5.3rem);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.055em;
}
.geo-hero-sub {
  max-width: 600px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .69);
  font-size: clamp(.98rem, 1.45vw, 1.13rem);
  line-height: 1.68;
}
.geo-proof-list {
  display: grid;
  gap: 9px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.geo-proof-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: .88rem;
}
.geo-proof-list i { color: #c084fc; font-size: .72rem; }
.geo-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Flujo del hero de automatización */
.automation-flow-card {
  position: relative;
  width: min(100%, 470px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(20, 12, 45, .94), rgba(8, 5, 20, .96));
  box-shadow: 0 32px 90px rgba(0, 0, 0, .46), 0 0 0 1px rgba(124, 60, 255, .08) inset;
}
.automation-flow-card::after {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(236, 72, 153, .16);
  filter: blur(45px);
}
.flow-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .86);
  font-size: .78rem;
  font-weight: 800;
}
.flow-card-head > span:first-child { display: flex; align-items: center; gap: 8px; }
.flow-card-head > span:first-child i { color: #c084fc; }
.flow-live { display: flex; align-items: center; gap: 6px; color: #6ee7b7; font-size: .68rem; }
.flow-live i { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.flow-stack { position: relative; z-index: 1; padding: 22px; }
.flow-node {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 15px;
  background: rgba(255, 255, 255, .045);
}
.flow-node-ai { border-color: rgba(139, 92, 246, .34); background: linear-gradient(110deg, rgba(139, 92, 246, .15), rgba(236, 72, 153, .08)); }
.flow-node-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(124, 60, 255, .14); color: #d8b4fe; }
.flow-node strong, .flow-node small { display: block; }
.flow-node strong { margin-bottom: 3px; color: #fff; font-size: .86rem; }
.flow-node small { color: rgba(255, 255, 255, .46); font-size: .68rem; }
.flow-node b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .42); font-size: .65rem; }
.flow-connector { display: block; width: 1px; height: 17px; margin: 0 0 0 36px; background: linear-gradient(#8b5cf6, #ec4899); }
.flow-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.flow-split div { padding: 13px 8px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 13px; background: rgba(255, 255, 255, .035); color: rgba(255, 255, 255, .7); font-size: .7rem; font-weight: 800; text-align: center; }
.flow-split i { display: block; margin-bottom: 7px; color: #f0abfc; font-size: .9rem; }

/* Tarjetas de contenido */
.geo-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.geo-service-card {
  min-height: 220px;
  padding: 24px 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.geo-service-card:hover { transform: translateY(-4px); border-color: rgba(89, 0, 255, .28); box-shadow: 0 16px 38px rgba(61, 35, 120, .1); }
.geo-service-card h3 { margin-bottom: 8px; color: var(--text-dark); font-size: .96rem; font-weight: 850; }
.geo-service-card p { color: var(--text-mid); font-size: .84rem; line-height: 1.62; }

/* Comparativa */
.comparison-board { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 940px; }
.comparison-column { display: flex; flex-direction: column; align-items: center; padding: clamp(24px, 4vw, 38px); border: 1px solid rgba(255, 255, 255, .09); border-radius: 24px; background: rgba(255, 255, 255, .035); }
.comparison-before { opacity: .72; }
.comparison-after { border-color: rgba(139, 92, 246, .38); background: linear-gradient(150deg, rgba(139, 92, 246, .13), rgba(236, 72, 153, .07)); box-shadow: 0 18px 48px rgba(89, 0, 255, .12); }
.comparison-kicker { align-self: stretch; margin-bottom: 20px; color: rgba(255, 255, 255, .62); font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.comparison-after .comparison-kicker { color: #f0abfc; }
.comparison-step { width: 100%; padding: 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; background: rgba(7, 4, 15, .62); color: rgba(255, 255, 255, .82); font-size: .82rem; font-weight: 750; text-align: center; }
.comparison-column > i { margin: 9px 0; color: rgba(255, 255, 255, .2); font-size: .7rem; }
.comparison-after > i { color: #a78bfa; }

/* Método e integraciones */
.geo-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; list-style: none; }
.geo-process-grid li { position: relative; min-height: 210px; padding: 25px 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); background: rgba(255, 255, 255, .035); }
.geo-process-grid li > span { display: block; margin-bottom: 34px; color: #c084fc; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.geo-process-grid li > span::after { content: ''; position: absolute; top: 42px; left: 54px; right: 20px; height: 1px; background: linear-gradient(90deg, rgba(192, 132, 252, .5), transparent); }
.geo-process-grid h3 { margin-bottom: 8px; color: #fff; font-size: .96rem; }
.geo-process-grid p { color: var(--text-light); font-size: .82rem; line-height: 1.6; }
.integration-strip { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.integration-strip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 999px; background: rgba(255, 255, 255, .035); color: rgba(255, 255, 255, .7); font-size: .74rem; font-weight: 750; }
.integration-strip i { color: #c084fc; }

/* Enlaces a soluciones */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.related-card { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--border-light); border-radius: var(--radius); background: #fff; transition: transform .24s, border-color .24s, box-shadow .24s; }
.related-card:hover { transform: translateY(-3px); border-color: rgba(89, 0, 255, .3); box-shadow: 0 14px 32px rgba(61, 35, 120, .1); }
.related-card > i:first-child { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(89, 0, 255, .08); color: var(--primary); }
.related-card > i:last-child { color: var(--primary); font-size: .8rem; }
.related-card h3 { margin-bottom: 4px; color: var(--text-dark); font-size: .9rem; }
.related-card p { color: var(--text-mid); font-size: .76rem; line-height: 1.45; }

/* Consultoría: matriz */
.consulting-hero { background: radial-gradient(circle at 72% 34%, rgba(56, 189, 248, .15), transparent 35%), radial-gradient(circle at 18% 72%, rgba(139, 92, 246, .17), transparent 38%), #05030d; }
.priority-matrix { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 34px 14px 22px 40px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 26px; background: linear-gradient(150deg, rgba(20, 12, 45, .94), rgba(8, 5, 20, .96)); box-shadow: 0 28px 80px rgba(0, 0, 0, .42); }
.priority-matrix::before, .priority-matrix::after { content: ''; position: absolute; background: rgba(255, 255, 255, .12); }
.priority-matrix::before { left: 40px; right: 14px; top: 50%; height: 1px; }
.priority-matrix::after { top: 34px; bottom: 22px; left: calc(50% + 13px); width: 1px; }
.matrix-axis { position: absolute; color: rgba(255, 255, 255, .38); font-size: .61rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.matrix-axis-y { left: 12px; top: 50%; transform: rotate(-90deg) translateX(-50%); transform-origin: left top; }
.matrix-axis-x { right: 18px; bottom: 6px; }
.matrix-cell { position: relative; z-index: 1; min-height: 146px; padding: 17px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; background: rgba(255, 255, 255, .035); }
.matrix-cell small, .matrix-cell strong { display: block; }
.matrix-cell small { margin-bottom: 16px; font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.matrix-cell strong { color: rgba(255, 255, 255, .8); font-size: .8rem; line-height: 1.4; }
.matrix-cell > i { position: absolute; right: 15px; bottom: 14px; color: #fff; }
.matrix-start { border-color: rgba(52, 211, 153, .38); background: linear-gradient(145deg, rgba(52, 211, 153, .16), rgba(56, 189, 248, .08)); box-shadow: 0 0 28px rgba(52, 211, 153, .08); }
.matrix-start small { color: #6ee7b7; }
.matrix-plan small { color: #c4b5fd; }
.matrix-later small { color: #7dd3fc; }
.matrix-review { opacity: .62; }
.matrix-review small { color: rgba(255, 255, 255, .48); }
.matrix-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
.priority-matrix-large { min-height: 470px; }
.priority-matrix-large .matrix-cell { min-height: 190px; }
.matrix-legend { display: grid; gap: 10px; margin-top: -14px; color: var(--text-mid); font-size: .78rem; }
.matrix-legend span { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-start { background: #34d399; }.legend-plan { background: #8b5cf6; }.legend-later { background: #38bdf8; }.legend-review { background: #aaa; }

/* Rutas desde consultoría */
.solution-route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.solution-route { position: relative; min-height: 270px; padding: 24px 20px; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); background: rgba(255, 255, 255, .035); transition: transform .25s, border-color .25s, background .25s; }
.solution-route:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .38); background: linear-gradient(145deg, rgba(139, 92, 246, .12), rgba(236, 72, 153, .06)); }
.solution-route > span { position: absolute; top: 18px; right: 18px; color: rgba(255, 255, 255, .2); font-size: .68rem; font-weight: 900; }
.solution-route > i { margin-bottom: 28px; color: #c084fc; font-size: 1.35rem; }
.solution-route h3 { margin-bottom: 9px; color: #fff; font-size: 1rem; }
.solution-route p { min-height: 76px; color: var(--text-light); font-size: .81rem; line-height: 1.58; }
.solution-route b { display: inline-flex; align-items: center; gap: 7px; color: #f0abfc; font-size: .76rem; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(34px, 6vw, 84px); align-items: start; }
.geo-faq-list { border-top: 1px solid rgba(255, 255, 255, .09); }
.geo-faq-list details { border-bottom: 1px solid rgba(255, 255, 255, .09); }
.geo-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 2px; color: rgba(255, 255, 255, .9); font-size: .92rem; font-weight: 800; cursor: pointer; list-style: none; }
.geo-faq-list summary::-webkit-details-marker { display: none; }
.geo-faq-list summary i { color: #c084fc; font-size: .75rem; transition: transform .2s; }
.geo-faq-list details[open] summary i { transform: rotate(45deg); }
.geo-faq-list details p { padding: 0 34px 20px 2px; color: var(--text-light); font-size: .84rem; line-height: 1.65; }

/* Contacto */
.geo-contact-shell { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(34px, 6vw, 76px); padding: clamp(28px, 5vw, 58px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 30px; background: radial-gradient(circle at 4% 30%, rgba(236, 72, 153, .16), transparent 34%), rgba(255, 255, 255, .035); }
.geo-contact-copy { align-self: center; }
.geo-contact-avatar { display: block; width: 180px; max-width: 100%; height: auto; margin: 24px auto 0; filter: drop-shadow(0 12px 24px rgba(0,0,0,.25)); }
.geo-contact-copy h2 { margin-bottom: 16px; color: #fff; font-size: clamp(2rem, 3.5vw, 3.3rem); font-weight: 900; line-height: 1.04; letter-spacing: -.04em; }
.geo-contact-copy > p { margin-bottom: 20px; color: var(--text-light); line-height: 1.65; }
.geo-contact-copy ul { display: grid; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; color: rgba(255, 255, 255, .7); font-size: .82rem; }
.geo-contact-copy li { display: flex; align-items: center; gap: 9px; }
.geo-contact-copy li i { color: #c084fc; font-size: .7rem; }
.geo-contact-form { padding: 26px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: rgba(7, 4, 15, .52); }

@media (max-width: 980px) {
  .geo-hero-inner { grid-template-columns: 1fr; }
  .geo-hero-copy { max-width: 760px; }
  .geo-hero-visual { width: min(100%, 620px); margin: 0 auto; }
  .geo-card-grid, .solution-route-grid { grid-template-columns: repeat(2, 1fr); }
  .matrix-section, .faq-layout, .geo-contact-shell { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .geo-hero { min-height: auto; padding-top: 108px; }
  .geo-hero h1 { font-size: clamp(2.45rem, 11vw, 4rem); }
  .geo-process-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-board { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .geo-card-grid, .solution-route-grid, .geo-process-grid { grid-template-columns: 1fr; }
  .geo-service-card { min-height: auto; }
  .geo-hero-ctas .lbtn { width: 100%; justify-content: center; }
  .priority-matrix { padding: 30px 10px 20px 30px; gap: 6px; }
  .matrix-cell { min-height: 125px; padding: 12px; }
  .matrix-cell strong { font-size: .72rem; }
  .priority-matrix-large { min-height: 0; }
  .priority-matrix-large .matrix-cell { min-height: 145px; }
  .flow-stack { padding: 15px; }
  .flow-node { grid-template-columns: 38px 1fr auto; padding: 11px; }
  .flow-node-icon { width: 38px; height: 38px; }
  .flow-split { grid-template-columns: 1fr; }
  .flow-connector { margin-left: 30px; }
  .geo-contact-form { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .geo-service-card, .related-card, .solution-route { transition: none; }
}
