/* WebMX Empresas — Purple/lavender SaaS */
:root {
  --purple-900: #4a148c;
  --purple-700: #7c4dff;
  --purple-600: #651fff;
  --purple-500: #7e57c2;
  --purple-400: #b388ff;
  --lavender-100: #f3e5f5;
  --lavender-200: #e1bee7;
  --lavender-300: #ce93d8;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-500: #757575;
  --gray-700: #424242;
  --gray-900: #1a1a2e;
  --gradient-hero: linear-gradient(135deg, #4a148c 0%, #7c4dff 45%, #b388ff 100%);
  --gradient-soft: linear-gradient(160deg, var(--lavender-100) 0%, var(--white) 60%);
  --gradient-form: linear-gradient(145deg, #651fff 0%, #7c4dff 50%, #b388ff 100%);
  --shadow-sm: 0 2px 12px rgba(124, 77, 255, 0.08);
  --shadow-md: 0 12px 40px rgba(74, 20, 140, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-600); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--purple-900); }
.container { width: min(1160px, 92%); margin-inline: auto; }
address { font-style: normal; }

/* Geometric CSS shapes — no emoji */
.shape { display: block; }
.shape--circle {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}
.shape--diamond {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  border-radius: 4px;
}
.shape--bars {
  width: 40px;
  height: 32px;
  background:
    linear-gradient(to right, rgba(255,255,255,0.7) 0 30%, transparent 30% 35%, rgba(255,255,255,0.5) 35% 55%, transparent 55% 60%, rgba(255,255,255,0.7) 60% 100%);
  border-radius: 4px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  position: relative;
}
.feature-icon--grid {
  background:
    linear-gradient(var(--purple-600) 0 0) 0 0 / 18px 18px no-repeat,
    linear-gradient(var(--purple-400) 0 0) 22px 22px / 18px 18px no-repeat;
  border-radius: 6px;
}
.feature-icon--stack {
  background: var(--lavender-200);
  border-radius: 8px;
  box-shadow: 0 -8px 0 var(--purple-400), 0 -16px 0 var(--purple-600);
  height: 12px;
  margin-top: 20px;
}
.feature-icon--arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--purple-600);
  clip-path: polygon(0 40%, 60% 40%, 60% 20%, 100% 50%, 60% 80%, 60% 60%, 0 60%);
  border-radius: 2px;
}
.feature-icon--chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 44px;
}
.feature-icon--chart::before,
.feature-icon--chart::after {
  content: '';
  flex: 1;
  background: var(--purple-400);
  border-radius: 3px 3px 0 0;
}
.feature-icon--chart::before { height: 55%; background: var(--purple-600); }
.feature-icon--chart::after { height: 85%; }
.feature-icon--sync {
  border: 3px solid var(--purple-600);
  border-radius: 50%;
  border-top-color: transparent;
  border-right-color: var(--purple-400);
}
.feature-icon--hex {
  background: var(--purple-600);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.feature-icon--dot {
  background: radial-gradient(circle, var(--purple-600) 40%, var(--lavender-200) 41%);
  border-radius: 50%;
}
.feature-icon--line {
  background: linear-gradient(90deg, var(--purple-600) 0%, var(--purple-400) 100%);
  height: 4px;
  border-radius: 2px;
  margin-top: 20px;
}
.feature-icon--ring {
  border: 4px solid var(--purple-600);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px var(--lavender-200);
}
.feature-icon--tri {
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 38px solid var(--purple-600);
  border-radius: 4px;
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lavender-200);
}
.header__bar {
  background: var(--gradient-soft);
  color: var(--purple-900);
  font-size: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--lavender-200);
}
.header__bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.header__badge { font-weight: 600; letter-spacing: 0.03em; }
.header__link { font-weight: 600; color: var(--purple-700); }
.header__link:hover { text-decoration: underline; }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.5rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--purple-900);
  line-height: 1.2;
}
.logo__mark {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--gradient-form);
  border-radius: 8px;
  flex-shrink: 0;
}
.logo__tagline {
  flex-basis: 100%;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-left: 2.35rem;
}
.logo--footer { color: var(--white); display: block; }
.logo--footer .logo__tagline { display: none; }
.nav { display: flex; gap: 1.75rem; }
.nav a { font-size: 0.88rem; font-weight: 600; color: var(--gray-500); }
.nav a:hover { color: var(--purple-700); }
.header__cta { display: flex; gap: 0.5rem; align-items: center; flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  height: 2px;
  background: var(--purple-700);
  border-radius: 2px;
}
.nav-toggle span { width: 100%; }
.nav-toggle::before,
.nav-toggle::after { content: ''; position: absolute; width: 100%; left: 0; }
.nav-toggle::before { top: 0; }
.nav-toggle::after { bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--gradient-form);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { box-shadow: var(--shadow-md); color: var(--white); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.22); color: var(--white); }
.btn--outline {
  background: transparent;
  color: var(--purple-700);
  border-color: var(--purple-400);
}
.btn--outline:hover {
  background: var(--lavender-100);
  color: var(--purple-900);
}
.btn--white {
  background: var(--white);
  color: var(--purple-700);
  border-color: var(--white);
}
.btn--white:hover { background: var(--lavender-100); color: var(--purple-900); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }
.btn--block { width: 100%; }

/* Hero bento */
.hero {
  position: relative;
  padding: 7.5rem 0 5rem;
  overflow: hidden;
  color: var(--white);
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}
.hero__gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(255,255,255,0.1) 0%, transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(179,136,255,0.35) 0%, transparent 40%);
}
.hero .container { position: relative; z-index: 1; }
.hero-bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.hero-bento__main { max-width: 560px; }
.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lavender-200);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.85rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
.hero__disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  line-height: 1.5;
}
.hero__disclaimer strong { color: var(--lavender-200); }
.hero-bento__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.hero-tile {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100px;
}
.hero-tile--stat { grid-column: 1 / -1; }
.hero-tile--accent { background: rgba(255, 255, 255, 0.16); }
.hero-tile--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1rem; }
.hero-tile__value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-tile__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lavender-200);
}

/* Sections */
.section { padding: 5rem 0; }
.section--soft { background: var(--gradient-soft); }
.section--lavender { background: var(--lavender-100); }
.section--legal { padding: 3rem 0; }
.section--contact { background: var(--gray-50); }
.section__header { text-align: center; margin-bottom: 3rem; }
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--gray-900);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}
.section__lead {
  text-align: center;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.02rem;
}
.section__lead--left { text-align: left; margin: 0 0 1.5rem; }

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: start;
}
.about-split h2 { text-align: left; margin-bottom: 1.25rem; }
.about-split p {
  margin-bottom: 1rem;
  color: var(--gray-500);
  font-size: 1rem;
}
.about-split strong { color: var(--gray-900); }
.about-location {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--lavender-200);
}
.about-location h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple-700);
  margin-bottom: 1rem;
}
.about-location address,
.about-location p {
  font-size: 0.92rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.about-location a { font-weight: 700; }

/* Bento services */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 1.15rem;
}
.bento__item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--lavender-200);
  transition: box-shadow 0.25s, transform 0.25s;
}
.bento__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.bento__item--hero {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--gradient-soft);
  border-color: var(--purple-400);
}
.bento__item--tall { grid-row: span 2; }
.bento__item--wide { grid-column: span 2; }
.bento__item h3 {
  font-size: 1.05rem;
  color: var(--gray-900);
  margin-bottom: 0.55rem;
  font-weight: 700;
}
.bento__item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.feature-card {
  background: var(--white);
  padding: 1.65rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--lavender-200);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple-900);
  margin-bottom: 0.4rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Legal box */
.legal-box {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.legal-box h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.legal-box p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 820px;
  margin: 0 auto;
}

/* Contact split */
.contact-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { text-align: left; }
.contact-details { margin-top: 1.5rem; }
.contact-detail { margin-bottom: 1.25rem; }
.contact-detail__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-700);
  margin-bottom: 0.35rem;
}
.contact-detail address,
.contact-detail a {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-weight: 600;
  line-height: 1.5;
}

/* Form with purple gradient */
.form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form--gradient {
  background: var(--gradient-form);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.form--gradient label { color: rgba(255, 255, 255, 0.95); }
.form--gradient input,
.form--gradient select,
.form--gradient textarea {
  background: rgba(255, 255, 255, 0.95);
  border-color: transparent;
  color: var(--gray-900);
}
.form--gradient input:focus,
.form--gradient select:focus,
.form--gradient textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.form--gradient .form__notice { color: rgba(255, 255, 255, 0.82); }
.form--gradient .form__consent a { color: var(--white); text-decoration: underline; }
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form__full { grid-column: 1 / -1; }
.form input,
.form select,
.form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-50);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.15);
}
.form__notice {
  font-size: 0.76rem;
  color: var(--gray-500);
  margin-top: 0.85rem;
  line-height: 1.5;
}
.form__consent {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  line-height: 1.45;
  cursor: pointer;
}
.form__consent input[type="checkbox"] {
  width: auto;
  min-width: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--purple-700);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer a { color: var(--lavender-300); font-weight: 600; }
.footer a:hover { color: var(--white); }
.footer__address {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0.75rem 0;
  line-height: 1.5;
}
.footer nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.78rem;
  line-height: 1.6;
}
.footer__legal p { margin-bottom: 0.5rem; }

/* Legal pages */
.legal-page { padding: 7rem 0 4rem; }
.legal-page h1 {
  font-size: 2rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  font-weight: 800;
}
.legal-page h2 {
  font-size: 1.15rem;
  color: var(--purple-700);
  margin: 2rem 0 0.75rem;
  text-align: left;
  font-weight: 700;
}
.legal-page p,
.legal-page li {
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}
.legal-page ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-page a { font-weight: 600; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-top: 1px solid var(--lavender-200);
  box-shadow: 0 -8px 32px rgba(74, 20, 140, 0.12);
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom));
}
.cookie-banner__inner {
  width: min(1160px, 92%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-banner__text { flex: 1; min-width: 240px; font-size: 0.85rem; line-height: 1.5; }
.cookie-banner__text p { margin: 0 0 0.25rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Responsive */
@media (max-width: 900px) {
  .header__cta .btn--outline { display: none; }
  .hero-bento { grid-template-columns: 1fr; }
  .hero-bento__main { max-width: none; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__disclaimer { margin-inline: auto; }
  .hero-bento__tiles { max-width: 400px; margin-inline: auto; }
  .about-split { grid-template-columns: 1fr; }
  .about-split h2 { text-align: center; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__item--hero { grid-column: span 2; grid-row: span 1; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-info h2 { text-align: center; }
  .section__lead--left { text-align: center; }
}

@media (max-width: 768px) {
  .header__bar { display: none; }
  .header__inner .header__cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1rem 4%;
    border-bottom: 1px solid var(--lavender-200);
    gap: 0.75rem;
  }
  .nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .bento { grid-template-columns: 1fr; }
  .bento__item--hero,
  .bento__item--wide,
  .bento__item--tall { grid-column: span 1; grid-row: span 1; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 6.5rem; }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions .btn { width: 100%; }
}

/* SEO / LLM content */
.seo-section { background: var(--gray, #f4f6f8); }
.seo-section .seo-prose { max-width: 720px; margin: 1rem 0 1.25rem; }
.seo-section .seo-prose p { margin-bottom: 0.85rem; color: inherit; opacity: 0.92; }
.seo-keywords, .seo-area, .service-area, .service-area-block, .footer__service-area {
  font-size: 0.9rem;
  line-height: 1.5;
}
.seo-keywords { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 8px; background: rgba(0,0,0,0.04); }
.seo-area, .service-area-block { margin-top: 0.75rem; }
.footer__service-area { margin: 0.35rem 0; opacity: 0.9; }

/* === Mejoras layout, tipografía e imágenes === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}
.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.service-card__icon svg { width: 100%; height: 100%; display: block; }
.service-card h3 {
  text-wrap: balance;
  line-height: 1.3;
}
.service-card p {
  text-wrap: pretty;
  flex: 1;
  line-height: 1.55;
  margin-top: auto;
  padding-top: 0.5rem;
}
.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.scroll-hint {
  display: none;
  font-size: 0.82rem;
  color: var(--gray-dark, #607d8b);
}
.content-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.content-split__figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.content-split__figure img,
.content-split__figure svg {
  width: 100%;
  height: auto;
  display: block;
}
.ai-seo-section {
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, transparent 100%);
}
.ai-summary {
  max-width: 680px;
}
.ai-summary p { margin-bottom: 0.85rem; line-height: 1.65; text-wrap: pretty; }
.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.ai-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.process-step {
  text-align: center;
  padding: 1.25rem 1rem;
}
.process-step__img {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
}
.process-step h3 { font-size: 0.95rem; margin-bottom: 0.4rem; text-wrap: balance; }
.process-step p { font-size: 0.85rem; opacity: 0.88; text-wrap: pretty; }
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .content-split { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1.25rem;
    padding: 0 1.25rem 1rem;
    scroll-snap-type: x mandatory;
  }
  .services-grid {
    display: flex;
    width: max-content;
    gap: 1rem;
  }
  .services-grid .service-card {
    flex: 0 0 min(85vw, 300px);
    scroll-snap-align: start;
  }
  .scroll-hint { display: block; width: 100%; text-align: center; margin-top: 0.5rem; }
  .process-grid { grid-template-columns: 1fr; }
}

/* Fix tarjetas y tipografía en layouts alternativos */
.card-grid { align-items: stretch; }
.card, .card-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
.card h3, .card-grid .card h3 { text-wrap: balance; line-height: 1.3; }
.card p, .card-grid .card p { text-wrap: pretty; line-height: 1.55; flex: 1; }
.timeline__content p, .timeline__content h3 { text-wrap: pretty; }
.timeline__content h3 { text-wrap: balance; }
.bento__item, .hex-card, .stack-card { text-wrap: pretty; }
.bento__item h3, .hex-card h3, .stack-card h3 { text-wrap: balance; }
.feature-row, .zigzag-row { text-wrap: pretty; }

