/* ============================================================
   DSB GROUP — Modern Editorial System (Legally-inspired)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Fraunces:ital,opsz,wght@0,9..144,400..700;1,9..144,400..700&display=swap');

:root {
  /* Brand */
  --c-ink: #0A1628;
  --c-navy: #163A5F;
  --c-navy-2: #2E4873;
  --c-teal: #2E6B73;
  --c-teal-bright: #4FA0AA;
  --c-mint: #6FCBD3;

  /* Surface — warm editorial */
  --c-canvas: #FBF9F4;
  --c-paper: #F4EFE6;
  --c-paper-2: #ECE5D8;
  --c-cream: #F8F4EC;
  --c-white: #FFFFFF;
  --c-line: #E0D9CC;
  --c-line-2: #C8BFAD;
  --c-line-cool: #DCE3EC;

  /* Text */
  --c-text: #1F2937;
  --c-text-soft: #4B5663;
  --c-muted: #6B7480;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(10,22,40,.04), 0 2px 4px rgba(10,22,40,.04);
  --sh-2: 0 6px 16px rgba(10,22,40,.06), 0 12px 28px rgba(10,22,40,.06);
  --sh-3: 0 16px 36px rgba(10,22,40,.10), 0 32px 64px rgba(10,22,40,.10);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
}

/* ===== Reset / Base ===== */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  /* overflow-x: clip permite scroll vertical sticky en descendientes
     (overflow: hidden lo rompe). Fallback a hidden si el navegador no soporta clip. */
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans) !important;
  background: var(--c-canvas) !important;
  color: var(--c-text) !important;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans) !important;
  color: var(--c-ink) !important;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(44px, 5.4vw, 80px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(34px, 3.4vw, 54px); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 28px; font-weight: 700; }
h4 { font-size: 21px; font-weight: 700; }
h5 { font-size: 17px; font-weight: 700; }
h6 { font-size: 14px; font-weight: 700; letter-spacing: 0; }

/* The italic serif accent — used SOLO para palabras destacadas en titulares */
.serif-em {
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: var(--c-teal);
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; color: var(--c-text-soft); }
a { color: inherit; text-decoration: none; }

.dsb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text);
  padding: 0;
  background: transparent;
  border: 0;
  margin-bottom: 22px;
}
.dsb-eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--c-text);
  display: inline-block;
}
.dsb-eyebrow.is-light {
  color: rgba(255,255,255,.85);
}
.dsb-eyebrow.is-light::before { background: rgba(255,255,255,.55); }

.dsb-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-text-soft);
  max-width: 60ch;
  margin: 0 0 32px;
}

/* ===== Container ===== */
.dsb-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Navbar ===== */
.dsb-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.dsb-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
}
.dsb-nav-brand img {
  height: 76px;
  width: auto;
  display: block;
}
.dsb-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.dsb-nav-links a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  transition: background .15s ease, color .15s ease;
  position: relative;
}
.dsb-nav-links a:hover {
  color: var(--c-ink);
  background: rgba(10, 22, 40, .04);
}
.dsb-nav-links a.active {
  color: var(--c-ink);
  font-weight: 600;
}
.dsb-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--c-ink);
  color: #fff !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease, transform .15s ease;
}
.dsb-nav-cta:hover {
  background: var(--c-navy);
  color: #fff !important;
  transform: translateY(-1px);
}
.dsb-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-line-2);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--c-ink);
  cursor: pointer;
}

/* Dropdown */
.dsb-nav-item.has-menu { position: relative; }
.dsb-nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  box-shadow: var(--sh-3);
  padding: 10px;
  min-width: 340px;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease;
}
.dsb-nav-item.has-menu:hover .dsb-nav-menu,
.dsb-nav-item.has-menu:focus-within .dsb-nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dsb-nav-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  transition: background .12s ease;
}
.dsb-nav-menu a small {
  display: block;
  font-weight: 400;
  color: var(--c-muted);
  font-size: 12px;
  margin-top: 3px;
}
.dsb-nav-menu a:hover {
  background: var(--c-cream);
}

@media (max-width: 991px) {
  .dsb-nav-toggle { display: inline-block; margin-left: auto; }
  .dsb-nav-inner > nav { flex: 0; width: 0; overflow: hidden; }

  .dsb-nav-links {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 76px);
    background: var(--c-canvas);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 32px;
    border-top: 1px solid var(--c-line);
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 8px 32px rgba(10,22,40,.12);
  }

  .dsb-nav-links.is-open {
    display: flex;
  }

  .dsb-nav-links li {
    border-bottom: 1px solid var(--c-line);
  }
  .dsb-nav-links li:last-child {
    border-bottom: none;
    margin-top: 12px;
  }

  .dsb-nav-links a {
    display: block;
    padding: 16px 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-ink);
    border-radius: 0;
  }

  .dsb-nav-cta {
    display: inline-flex;
    margin-top: 4px;
    width: 100%;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 20px;
  }

  .dsb-nav-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--c-cream);
    margin: 4px 0 8px;
    min-width: 0;
    border-radius: var(--r-md);
  }
}

/* ===== Buttons ===== */
.dsb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.dsb-btn-primary {
  background: var(--c-ink);
  color: #fff !important;
}
.dsb-btn-primary:hover {
  background: var(--c-navy);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(10,22,40,.20);
}
.dsb-btn-ghost {
  background: transparent;
  border-color: var(--c-line-2);
  color: var(--c-ink) !important;
}
.dsb-btn-ghost:hover {
  border-color: var(--c-ink);
  background: rgba(10,22,40,.04);
}
.dsb-btn-light {
  background: #fff;
  color: var(--c-ink) !important;
  border-color: #fff;
}
.dsb-btn-light:hover {
  transform: translateY(-1px);
  background: var(--c-cream);
  border-color: var(--c-cream);
}
.dsb-btn-arrow::after {
  content: "→";
  transition: transform .2s ease;
  font-weight: 400;
}
.dsb-btn-arrow:hover::after { transform: translateX(4px); }

/* ===== Hero (photo-led) ===== */
.dsb-hero {
  position: relative;
  padding: 56px 0 96px;
  background: var(--c-canvas);
}
.dsb-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.dsb-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0;
}
.dsb-hero-text h1 {
  margin: 0 0 28px;
}
.dsb-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.dsb-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--c-line);
}
.dsb-hero-meta div {
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: .02em;
}
.dsb-hero-meta strong {
  display: block;
  color: var(--c-ink);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
}

/* Hero photo card */
.dsb-hero-photo {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--c-ink);
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: #fff;
}
.dsb-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/Abogados.webp');
  background-size: cover;
  background-position: center;
  filter: contrast(1.05) saturate(1.05);
  z-index: 0;
}
.dsb-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0) 0%, rgba(10,22,40,.15) 45%, rgba(10,22,40,.85) 100%);
  z-index: 0;
}
.dsb-hero-photo > * { position: relative; z-index: 1; }

.dsb-hero-photo-top {
  position: absolute;
  top: 28px;
  left: 36px;
  right: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.dsb-hero-photo-top .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-mint);
  box-shadow: 0 0 0 4px rgba(111,203,211,.20);
  animation: dsbPulse 2s ease-in-out infinite;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}
@keyframes dsbPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(111,203,211,.18); }
  50% { box-shadow: 0 0 0 10px rgba(111,203,211,.04); }
}

.dsb-hero-photo-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -.015em;
}
.dsb-hero-photo-author {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

@media (max-width: 991px) {
  .dsb-hero { padding: 36px 0 56px; }
  .dsb-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .dsb-hero-photo { min-height: 360px; }
  .dsb-hero-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .dsb-hero-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ===== Brand strip ===== */
.dsb-brandstrip {
  padding: 36px 0;
  background: transparent;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.dsb-brandstrip-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}
.dsb-brandstrip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
  line-height: 1.5;
}
.dsb-brandstrip-logos {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.dsb-brandstrip-track {
  --gap: 72px;
  display: flex;
  align-items: center;
  gap: var(--gap);
  width: max-content;
  animation: brandstripScroll 30s linear infinite;
}
.dsb-brandstrip-track:hover {
  animation-play-state: paused;
}
.dsb-brandstrip-track img {
  max-height: 84px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(100%) opacity(.6);
  transition: filter .25s ease;
}
.dsb-brandstrip-track img:hover {
  filter: grayscale(0%) opacity(1);
}
@keyframes brandstripScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - var(--gap) / 2)); }
}
@media (max-width: 767px) {
  .dsb-brandstrip-grid { grid-template-columns: 1fr; gap: 16px; }
  .dsb-brandstrip-track { --gap: 48px; animation-duration: 22s; }
  .dsb-brandstrip-track img { max-height: 60px; }
}

/* ===== Section ===== */
.dsb-section { padding: 120px 0; background: var(--c-canvas); }
.dsb-section.tight { padding: 72px 0; }
.dsb-section.paper { background: var(--c-paper); }
.dsb-section.cream { background: var(--c-cream); }
.dsb-section.white { background: #fff; }
.dsb-section.dark {
  background: var(--c-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dsb-section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(79,160,170,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(22,58,95,.50), transparent 60%);
  pointer-events: none;
}
.dsb-section.dark > .dsb-container { position: relative; z-index: 1; }
.dsb-section.dark h1, .dsb-section.dark h2, .dsb-section.dark h3, .dsb-section.dark h4, .dsb-section.dark h5, .dsb-section.dark h6 { color: #fff !important; }
.dsb-section.dark p, .dsb-section.dark .dsb-lead { color: rgba(255,255,255,.78); }

.dsb-section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.dsb-section-head-end {
  text-align: right;
  color: var(--c-muted);
  font-size: 14px;
}
.dsb-section-head h2 { margin: 0; max-width: 16ch; }
.dsb-section-head .dsb-lead { margin: 16px 0 0; max-width: 50ch; }

@media (max-width: 991px) {
  .dsb-section { padding: 80px 0; }
  .dsb-section.tight { padding: 56px 0; }
  .dsb-section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .dsb-section-head-end { text-align: left; }
}

/* ===== Practice/Service Cards (numbered, editorial) ===== */
.dsb-practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.dsb-practice {
  position: relative;
  padding: 40px 0;
  border-bottom: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: start;
  transition: padding .25s ease, background .25s ease;
  cursor: pointer;
}
.dsb-practice:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--c-line); }
.dsb-practice:nth-child(even) { padding-left: 32px; }
.dsb-practice:hover {
  background: var(--c-paper);
  padding-left: 32px;
  padding-right: 32px;
}
.dsb-practice .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  color: var(--c-teal);
  line-height: 1;
  letter-spacing: -.02em;
}
.dsb-practice h3 {
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -.015em;
}
.dsb-practice p {
  font-size: 15px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.55;
  max-width: 50ch;
}
.dsb-practice .arrow {
  font-size: 22px;
  color: var(--c-ink);
  align-self: center;
  transition: transform .25s ease;
}
.dsb-practice:hover .arrow { transform: translateX(6px); }

@media (max-width: 991px) {
  .dsb-practice-grid { grid-template-columns: 1fr; }
  .dsb-practice:nth-child(odd) { padding-right: 0; border-right: none; }
  .dsb-practice:nth-child(even) { padding-left: 0; }
  .dsb-practice { padding: 28px 0; }
  .dsb-practice:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .dsb-practice { grid-template-columns: 56px 1fr 24px; gap: 16px; }
  .dsb-practice .num { font-size: 28px; }
  .dsb-practice h3 { font-size: 20px; }
}

/* ===== Editorial photo + text ===== */
.dsb-editorial {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.dsb-editorial-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--c-paper-2);
}
.dsb-editorial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.02);
  display: block;
}
.dsb-editorial-photo .stamp {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(10,22,40,.85);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.dsb-editorial-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-text-soft);
}
.dsb-editorial-body p.lead-first {
  font-size: 22px;
  line-height: 1.5;
  color: var(--c-text);
  font-weight: 400;
  margin-bottom: 20px;
}
@media (max-width: 991px) {
  .dsb-editorial { grid-template-columns: 1fr; gap: 32px; }
  .dsb-editorial-photo { aspect-ratio: 4 / 3; }
}

/* ===== Stat strip ===== */
.dsb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.dsb-stat {
  background: var(--c-canvas);
  padding: 48px 32px;
}
.dsb-stat .num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  line-height: 1;
  margin: 0 0 16px;
}
.dsb-stat .num .small { font-size: 30px; opacity: .55; margin-left: 2px; }
.dsb-stat .lbl {
  font-size: 14px;
  color: var(--c-text-soft);
  line-height: 1.5;
  margin: 0;
  max-width: 22ch;
}
.dsb-section.dark .dsb-stats { background: rgba(255,255,255,.10); border: 0; }
.dsb-section.dark .dsb-stat { background: transparent; }
.dsb-section.dark .dsb-stat .num { color: #fff; }
.dsb-section.dark .dsb-stat .lbl { color: rgba(255,255,255,.65); }

@media (max-width: 991px) { .dsb-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .dsb-stats { grid-template-columns: 1fr; } .dsb-stat { padding: 32px 24px; } .dsb-stat .num { font-size: 48px; } }

/* ===== Process timeline ===== */
.dsb-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.dsb-step {
  padding: 36px 28px;
  border-right: 1px solid var(--c-line);
  position: relative;
  background: var(--c-canvas);
}
.dsb-step:last-child { border-right: none; }
.dsb-step .ph {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: var(--c-teal);
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.dsb-step h4 { font-size: 18px; margin: 0 0 10px; letter-spacing: -.01em; }
.dsb-step p { font-size: 14px; color: var(--c-text-soft); margin: 0; line-height: 1.55; }

@media (max-width: 991px) {
  .dsb-process { grid-template-columns: 1fr 1fr; }
  .dsb-step { border-right: none; border-bottom: 1px solid var(--c-line); }
  .dsb-step:nth-child(odd) { border-right: 1px solid var(--c-line); }
}
@media (max-width: 575px) {
  .dsb-process { grid-template-columns: 1fr; }
  .dsb-step { border-right: none !important; }
}

/* ===== Services catalog (same grid DNA as process, visually distinct) ===== */
.dsb-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.dsb-service {
  padding: 36px 28px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
  position: relative;
  border-top: 3px solid var(--c-teal);
  transition: background .15s;
}
.dsb-service:nth-child(3n) { border-right: none; }
.dsb-service:nth-child(n+4) { border-bottom: none; }
.dsb-service-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: var(--c-teal);
  margin-bottom: 16px;
  letter-spacing: -.01em;
  text-align: center;
}
.dsb-service h3 {
  font-size: 18px;
  margin: 0 0 12px;
  letter-spacing: -.01em;
  color: var(--c-ink);
  text-align: center;
}
.dsb-service > p {
  font-size: 14px;
  color: var(--c-text-soft);
  margin: 0 0 18px;
  line-height: 1.6;
}
.dsb-service ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dsb-service ul li {
  font-size: 13px;
  color: var(--c-text-soft);
  padding: 6px 0 6px 22px;
  line-height: 1.5;
  position: relative;
}
.dsb-service ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 5px;
  height: 5px;
  background: var(--c-teal);
  opacity: .7;
}
/* Featured service (SERVICIO V) — spans full width of last row */
.dsb-service.featured {
  grid-column: 2 / span 2;
  border-right: none;
  background: var(--c-cream);
  border-top-color: var(--c-navy);
  border-bottom: none;
}
.dsb-service.featured .dsb-service-num { color: var(--c-navy); }
.dsb-service.featured ul li::before { color: var(--c-navy); }

@media (max-width: 991px) {
  .dsb-services { grid-template-columns: 1fr 1fr; border-radius: var(--r-md); }
  .dsb-service { border-right: none; }
  .dsb-service:nth-child(odd) { border-right: 1px solid var(--c-line); }
  .dsb-service:nth-child(4) { border-bottom: 1px solid var(--c-line); }
  .dsb-service.featured { grid-column: span 2; border-right: none; }
}
@media (max-width: 575px) {
  .dsb-services { grid-template-columns: 1fr; border-radius: var(--r-sm); }
  .dsb-service,
  .dsb-service:nth-child(odd) { border-right: none; border-bottom: 1px solid var(--c-line); }
  .dsb-service:nth-child(4) { border-bottom: 1px solid var(--c-line); }
  .dsb-service.featured { grid-column: span 1; }
  .dsb-service:last-child { border-bottom: none; }
}

/* ===== Quote (editorial pull-quote) ===== */
.dsb-quote {
  position: relative;
  padding: 80px 0;
  text-align: center;
}
.dsb-quote .mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: .6;
  color: var(--c-teal);
  font-weight: 400;
  margin: 0 0 8px;
}
.dsb-quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  letter-spacing: -.015em;
  line-height: 1.25;
  color: var(--c-ink);
  max-width: 22ch;
  margin: 0 auto 28px;
}
.dsb-quote-author {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ===== Reference / regulatory cards ===== */
.dsb-refs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dsb-ref {
  padding: 24px;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dsb-ref:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  border-color: var(--c-line-2);
}
.dsb-ref .code {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-teal);
  margin-bottom: 8px;
  letter-spacing: -.005em;
}
.dsb-ref h5 { font-size: 16px; margin: 0 0 8px; letter-spacing: -.01em; }
.dsb-ref p { font-size: 14px; line-height: 1.55; color: var(--c-text-soft); margin: 0; }
@media (max-width: 991px) { .dsb-refs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .dsb-refs { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.dsb-faq-list { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.dsb-faq-item {
  border-bottom: 1px solid var(--c-line);
}
.dsb-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 28px 0;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -.01em;
}
.dsb-faq-q .chev {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line-2);
  border-radius: 50%;
  color: var(--c-ink);
  transition: transform .25s ease, background .25s ease;
  font-size: 12px;
}
.dsb-faq-q[aria-expanded="true"] .chev {
  transform: rotate(180deg);
  background: var(--c-ink);
  color: #fff;
}
.dsb-faq-a {
  padding: 0 0 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text-soft);
  max-width: 70ch;
}

/* ===== Pricing ===== */
.dsb-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dsb-price-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 36px;
}
.dsb-price-card.featured {
  background: var(--c-ink);
  color: #fff;
  border-color: transparent;
  position: relative;
}
.dsb-price-card.featured::before {
  content: "RECOMENDADO";
  position: absolute;
  top: 20px; right: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--c-mint);
  background: rgba(111,203,211,.15);
  padding: 4px 8px;
  border-radius: 4px;
}
.dsb-price-card .modality {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--c-teal);
  margin-bottom: 14px;
}
.dsb-price-card.featured .modality { color: var(--c-mint); }
.dsb-price-card h4 { font-size: 24px; margin: 0 0 14px; letter-spacing: -.015em; }
.dsb-price-card.featured h4 { color: #fff !important; }
.dsb-price-card p { font-size: 15px; line-height: 1.6; color: var(--c-text-soft); margin: 0 0 24px; }
.dsb-price-card.featured p { color: rgba(255,255,255,.78); }
.dsb-price-card .terms {
  border-top: 1px solid var(--c-line-2);
  padding-top: 18px;
  font-size: 13px;
  color: var(--c-muted);
}
.dsb-price-card.featured .terms { border-top-color: rgba(255,255,255,.12); color: rgba(255,255,255,.55); }
@media (max-width: 991px) { .dsb-pricing { grid-template-columns: 1fr; } }

/* ===== Team grid (portrait style) ===== */
.dsb-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dsb-team-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dsb-team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
  border-color: var(--c-line-2);
}
.dsb-team-card .ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--c-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 18px;
}
.dsb-team-card h4 { font-size: 19px; margin: 0 0 10px; letter-spacing: -.015em; }
.dsb-team-card p { font-size: 14px; line-height: 1.6; color: var(--c-text-soft); margin: 0; }
@media (max-width: 991px) { .dsb-team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .dsb-team { grid-template-columns: 1fr; } }

/* ===== Form ===== */
.dsb-form { display: grid; gap: 14px; }
.dsb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dsb-form input,
.dsb-form select,
.dsb-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--c-ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.dsb-form input:focus,
.dsb-form select:focus,
.dsb-form textarea:focus {
  outline: none;
  border-color: var(--c-ink);
  box-shadow: 0 0 0 4px rgba(10,22,40,.06);
}
.dsb-form textarea { resize: vertical; min-height: 140px; }
@media (max-width: 575px) { .dsb-form-row { grid-template-columns: 1fr; } }

/* ===== Unit cards ===== */
.dsb-units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dsb-unit-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dsb-unit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--c-line-2);
}
.dsb-unit-card .logo-frame {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.dsb-unit-card .logo-frame img {
  max-height: 60px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}
.dsb-unit-card h3 { font-size: 24px; margin: 0 0 10px; letter-spacing: -.015em; }
.dsb-unit-card p { font-size: 15px; line-height: 1.6; color: var(--c-text-soft); margin: 0 0 20px; }
.dsb-unit-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line-2);
  padding-bottom: 4px;
  transition: border-color .2s ease;
}
.dsb-unit-card a:hover { border-color: var(--c-ink); }
@media (max-width: 991px) { .dsb-units-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .dsb-units-grid { grid-template-columns: 1fr; } }

/* ===== Page header ===== */
.dsb-pagehead {
  position: relative;
  padding: 80px 0 96px;
  background: var(--c-canvas);
  overflow: hidden;
}
.dsb-pagehead.with-photo { padding-bottom: 0; }
.dsb-crumbs {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 24px;
}
.dsb-crumbs a {
  color: var(--c-text-soft);
  transition: color .15s ease;
}
.dsb-crumbs a:hover { color: var(--c-ink); }
.dsb-crumbs .sep { margin: 0 12px; opacity: .5; }
.dsb-pagehead h1 {
  margin: 0;
  max-width: 18ch;
  position: relative;
}
.dsb-pagehead .dsb-lead { margin: 28px 0 0; position: relative; }

/* ===== TOC sidebar ===== */
.dsb-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}
.dsb-toc {
  position: sticky;
  top: 110px;
  align-self: start;
}
.dsb-toc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 18px;
}
.dsb-toc ul { list-style: none; padding: 0; margin: 0; }
.dsb-toc li { margin: 0; }
.dsb-toc a {
  display: block;
  padding: 8px 12px;
  border-left: 1px solid var(--c-line);
  font-size: 13px;
  color: var(--c-text-soft);
  font-weight: 500;
  transition: all .15s ease;
}
.dsb-toc a:hover { color: var(--c-ink); border-left-color: var(--c-line-2); }
.dsb-toc a.active { color: var(--c-ink); border-left-color: var(--c-teal); border-left-width: 2px; font-weight: 600; }
@media (max-width: 991px) and (min-width: 769px) {
  .dsb-layout { grid-template-columns: 160px 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .dsb-layout { grid-template-columns: 1fr; gap: 32px; }
  .dsb-toc { display: none; }
}

/* ===== Content prose ===== */
.dsb-prose h2 { margin-top: 56px; margin-bottom: 18px; font-size: clamp(28px, 2.8vw, 38px); }
.dsb-prose h3 { margin-top: 36px; margin-bottom: 12px; font-size: 22px; }
.dsb-prose p { font-size: 17px; line-height: 1.75; color: var(--c-text-soft); margin: 0 0 18px; }
.dsb-prose ul { padding-left: 0; margin: 0 0 24px; list-style: none; }
.dsb-prose ul li {
  font-size: 16px; line-height: 1.65; color: var(--c-text-soft); margin: 10px 0;
  padding-left: 24px; position: relative;
}
.dsb-prose ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px; background: var(--c-teal);
}
.dsb-prose .lead-first {
  font-size: 22px;
  line-height: 1.55;
  color: var(--c-text);
  font-weight: 400;
}

/* ===== CTA ===== */
.dsb-cta {
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 48px;
  align-items: center;
}
.dsb-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(79,160,170,.22), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(22,58,95,.40), transparent 60%);
  pointer-events: none;
}
.dsb-cta > * { position: relative; z-index: 1; }
.dsb-cta h2 { color: #fff !important; margin: 0 0 16px; font-size: clamp(32px, 3.2vw, 48px); max-width: 18ch; }
.dsb-cta p { color: rgba(255,255,255,.80); margin: 0; font-size: 18px; max-width: 50ch; }
.dsb-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 767px) {
  .dsb-cta { padding: 48px 32px; grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.dsb-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,.75);
  padding: 96px 0 36px;
  position: relative;
  overflow: hidden;
}
.dsb-footer::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 400px at 100% 0%, rgba(79,160,170,.10), transparent 60%);
}
.dsb-footer > * { position: relative; z-index: 1; }
.dsb-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.dsb-footer-grid.is-3col {
  grid-template-columns: 1.6fr 1fr 1fr;
}
.dsb-footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.dsb-footer-brand p {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 36ch;
}
.dsb-footer h6 {
  color: rgba(255,255,255,.55) !important;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 22px;
  font-weight: 600;
}
.dsb-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.dsb-footer ul a {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  transition: color .15s ease;
}
.dsb-footer ul a:hover { color: var(--c-mint); }
.dsb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.dsb-footer-marquee {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0 16px;
  user-select: none;
  overflow: hidden;
}
.dsb-footer-marquee img {
  width: 100%;
  max-width: 280px;
  height: auto;
  opacity: .85;
  display: block;
}
@media (max-width: 991px) {
  .dsb-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 575px) {
  .dsb-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .dsb-footer { padding: 64px 0 24px; }
}

/* ===== Tag/pill ===== */
.dsb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: transparent;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-text-soft);
}
.dsb-tag.solid { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.dsb-tag.teal { background: transparent; color: var(--c-teal); border-color: var(--c-teal); }

/* ===== Util ===== */
.dsb-mt-0 { margin-top: 0 !important; }
.dsb-mt-1 { margin-top: 8px !important; }
.dsb-mt-2 { margin-top: 16px !important; }
.dsb-mt-3 { margin-top: 24px !important; }
.dsb-mt-4 { margin-top: 36px !important; }
.dsb-mt-5 { margin-top: 56px !important; }
.dsb-mb-0 { margin-bottom: 0 !important; }
.dsb-text-center { text-align: center; }
.dsb-flex { display: flex; }
.dsb-gap-2 { gap: 12px; }
.dsb-wrap { flex-wrap: wrap; }
.dsb-justify-center { justify-content: center; }

#scrollBtn { display: none !important; }

/* ===== Full-bleed photo divider (Kreisson-style) ===== */
.dsb-photo-divider {
  position: relative;
  width: 100%;
  height: clamp(360px, 56vh, 600px);
  overflow: hidden;
  background: var(--c-ink);
}
.dsb-photo-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(35%) contrast(1.05);
}
.dsb-photo-divider .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,.30) 0%, rgba(10,22,40,.65) 100%);
  display: flex;
  align-items: center;
}
.dsb-photo-divider .overlay-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  color: #fff;
}
.dsb-photo-divider .eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}
.dsb-photo-divider .eyebrow-line::before {
  content: ""; width: 22px; height: 1px; background: rgba(255,255,255,.55); display: inline-block;
}
.dsb-photo-divider h2 {
  color: #fff !important;
  font-size: clamp(36px, 4.4vw, 64px);
  letter-spacing: -.025em;
  line-height: 1.05;
  max-width: 22ch;
  margin: 0;
}
.dsb-photo-divider .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.25;
  letter-spacing: -.015em;
  color: #fff;
  max-width: 22ch;
  margin: 0;
}
.dsb-photo-divider .author {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* ===== Editorial photo card with hover ===== */
.dsb-photo-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: block;
  background: var(--c-ink);
}
.dsb-photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
  filter: grayscale(15%) contrast(1.04);
}
.dsb-photo-card:hover img { transform: scale(1.04); }
.dsb-photo-card .photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0) 30%, rgba(10,22,40,.85) 100%);
}
.dsb-photo-card .photo-content {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  color: #fff;
}
.dsb-photo-card .photo-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-mint);
  margin-bottom: 8px;
}
.dsb-photo-card h4 {
  color: #fff !important;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -.015em;
}
.dsb-photo-card p {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* ===== Insight / News card (Kreisson-style) ===== */
.dsb-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dsb-insight {
  display: block;
  background: transparent;
}
.dsb-insight .img-wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  background: var(--c-paper);
}
.dsb-insight .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
  filter: grayscale(15%) contrast(1.04);
}
.dsb-insight:hover .img-wrap img { transform: scale(1.04); }
.dsb-insight .meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.dsb-insight h4 {
  font-size: 22px;
  letter-spacing: -.015em;
  margin: 0 0 8px;
  line-height: 1.25;
  color: var(--c-ink) !important;
}
.dsb-insight p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-text-soft);
  margin: 0;
}
@media (max-width: 991px) { .dsb-insights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .dsb-insights { grid-template-columns: 1fr; } }

/* ===== Hero — refinement: bigger photo, less padding on right ===== */
.dsb-hero-grid { gap: 64px; align-items: center; }
.dsb-hero-photo { min-height: 640px; }

@media (max-width: 991px) {
  .dsb-hero-photo { min-height: 420px; }
}
