@font-face {
  font-family: "Anthropic Sans";
  src: url("https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/69971a00a3295036497e1a28_AnthropicSans-Roman-Web.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Anthropic Sans";
  src: url("https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/69971a016067bf14b9b8f48d_AnthropicSans-Italic-Web.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Anthropic Serif";
  src: url("https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/69971a1551eb6cda0d656e8a_AnthropicSerif-Roman-Web.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Anthropic Serif";
  src: url("https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/69971a15a9fb8c1107a3570e_AnthropicSerif-Italic-Web.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Anthropic Mono";
  src: url("https://cdn.prod.website-files.com/67ce28cfec624e2b733f8a52/69971a2e55d24d61bc045b1a_AnthropicMono-Roman-Web.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #ebe9e1;
  --text: #141413;
  --muted: #5f5e5a;
  --border: rgba(20, 20, 19, 0.12);
  --primary: #d97757;
  --primary-dark: #b85c3d;
  --shadow: 0 20px 60px rgba(20, 20, 19, 0.08);
  --max: 1240px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  font-family: "Anthropic Serif", Georgia, serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(217, 119, 87, 0.14),
      transparent 28rem
    ),
    radial-gradient(
      circle at 100% 10%,
      rgba(217, 119, 87, 0.09),
      transparent 26rem
    ),
    linear-gradient(180deg, #f7f6f2 0%, #eeeae1 100%);
  line-height: 1.55;
}

/* Jerarquia tipografica equivalente a anthropic.com. */
h1,
h2,
h3,
h4,
h5,
h6,
.heading-h2,
.heading-h3,
.brand-name,
.nav-links,
.nav-dropdown-toggle,
.btn,
button,
input,
select,
textarea,
label,
.assistant-widget {
  font-family: "Anthropic Sans", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-h2,
.heading-h3 {
  font-weight: 500;
}

.eyebrow,
.card-kicker,
.dropdown-group span,
.kpi,
.notice {
  font-family: "Anthropic Mono", "Courier New", monospace;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}
.section {
  padding: 42px 0;
}
.section-xl {
  padding: 72px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(217, 119, 87, 0.10);
  border: 1px solid rgba(217, 119, 87, 0.20);
  color: #b85c3d;
  font-size: 0.88rem;
  font-weight: 700;
}
.eyebrow:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.section-head {
  max-width: 800px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 12px 0;
}
.section-head p {
  color: var(--muted);
  font-size: 1.03rem;
}

/* =========================================================
   Barra superior de contacto
   ========================================================= */

.contact-strip {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  background: #eee9e2;
}

.contact-strip-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.contact-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4d4a45;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.contact-strip-link svg {
  flex: 0 0 auto;
  color: var(--primary);
}

.contact-strip-link:hover,
.contact-strip-link:focus-visible {
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.contact-strip-link:focus-visible {
  outline: 2px solid rgba(217, 119, 87, 0.35);
  outline-offset: 4px;
  border-radius: 6px;
}

.contact-strip-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4d4a45;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.contact-action-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  border-radius: 8px;
  color: var(--primary);
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.contact-action-icon:hover,
.contact-action-icon:focus-visible {
  color: var(--primary-dark);
  background: rgba(217, 119, 87, 0.1);
  transform: translateY(-1px);
}

.contact-action-icon:focus-visible {
  outline: 2px solid rgba(217, 119, 87, 0.3);
  outline-offset: 2px;
}

/* Accesos de contacto dentro del encabezado móvil */

.mobile-contact-actions {
  display: none;
  align-items: center;
  gap: 6px;
}

.mobile-contact-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.72);
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.mobile-contact-link:hover,
.mobile-contact-link:focus-visible {
  color: var(--primary-dark);
  border-color: rgba(217, 119, 87, 0.4);
  background: rgba(217, 119, 87, 0.1);
  transform: translateY(-1px);
}

.mobile-contact-link:focus-visible {
  outline: 2px solid rgba(217, 119, 87, 0.3);
  outline-offset: 2px;
}

.mobile-contact-menu {
  position: relative;
  margin: 0;
  padding: 0;
}

.mobile-contact-menu > summary {
  list-style: none;
  cursor: pointer;
}

.mobile-contact-menu > summary::-webkit-details-marker {
  display: none;
}

.mobile-contact-popover {
  position: absolute;
  z-index: 100;
  top: calc(100% + 10px);
  right: 0;
  width: 180px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.14);
}

.mobile-contact-popover-title {
  display: block;
  padding: 7px 10px 5px;
  color: #77716a;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobile-contact-popover a {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  color: #25221f;
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
}

.mobile-contact-popover a:hover,
.mobile-contact-popover a:focus-visible {
  color: var(--primary-dark);
  background: rgba(217, 119, 87, 0.09);
}

.mobile-contact-popover a:focus-visible {
  outline: 2px solid rgba(217, 119, 87, 0.25);
  outline-offset: 1px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 246, 242, 0.82);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 0 0 auto;
}
.brand img {
  width: 176px;
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.brand-name {
  width: 100%;
  font-size: 0;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 1 1 auto;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 0.88rem;
  color: #2c2b28;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links > a[aria-current="page"],
.nav-links > a:hover,
.nav-links > a:focus-visible {
  color: var(--primary-dark);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: #2c2b28;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0;
  white-space: nowrap;
}
.nav-dropdown-toggle::after {
  content: "▾";
  font-size: 0.72rem;
  margin-left: 6px;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 780px;
  max-width: calc(100vw - 32px);
  display: grid;
  grid-template-columns:
    minmax(150px, 1.35fr)
    minmax(150px, 1.25fr)
    minmax(105px, 0.9fr)
    minmax(120px, 1.05fr)
    minmax(145px, 1.2fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 100;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dropdown-group span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dropdown-group a {
  padding: 8px 10px;
  border-radius: 12px;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: break-word;
}
.dropdown-group a:hover,
.dropdown-group a:focus {
  background: rgba(217, 119, 87, 0.10);
  color: var(--primary-dark);
}
.btns {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}
.topbar .btns .btn-secondary {
  display: none;
}
.topbar .btn {
  padding: 10px 15px;
  font-size: 0.86rem;
  white-space: nowrap;
}
.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--text);
  background: var(--surface);
  font-size: 1.25rem;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 40px rgba(184, 92, 61, 0.24);
}
.btn-secondary {
  background: white;
  border-color: var(--border);
  color: var(--text);
}
.hero {
  padding: 34px 0 42px;
}
.hero-shell {
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.72)
  );
  box-shadow: var(--shadow);
  border-radius: 42px;
  overflow: hidden;
  position: relative;
}
.hero-shell:before {
  content: "";
  position: absolute;
  inset: auto -140px -180px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(217, 119, 87, 0.20),
    rgba(217, 119, 87, 0) 70%
  );
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 22px;
  padding: 46px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(calc(2.9rem - 12px), calc(7vw - 12px), calc(6rem - 12px));
  line-height: 0.92;
  letter-spacing: -0.07em;
  max-width: 13ch;
  margin: 18px 0;
}
.hero-copy p,
.hero-text p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 14px;
}
.hero-text ul {
  margin: 12px 0 24px 20px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

/* Landing de consultoría */
.hero-copy .consulting-title {
  max-width: none;
}
.consulting-title span {
  display: block;
  white-space: nowrap;
}
.consulting-content {
  max-width: 920px;
  margin: 0 auto;
}
.consulting-content > p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 18px;
}
.consulting-content h2 {
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 64px 0 20px;
}
.consulting-content h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 42px 0 16px;
}
.consulting-content ul,
.consulting-content ol {
  display: grid;
  gap: 10px;
  margin: 0 0 28px 24px;
  color: var(--muted);
  font-size: 1.05rem;
}
.consulting-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.consulting-areas .panel h4 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
.consulting-cta {
  margin-top: 48px;
  text-align: center;
}
.consulting-cta p {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 1.2rem;
}
@media (max-width: 700px) {
  .consulting-title span {
    white-space: normal;
  }
  .consulting-areas {
    grid-template-columns: 1fr;
  }
}
.visual-main,
.art {
  min-height: 420px;
  border-radius: 34px;
  border: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(217, 119, 87, 0.20),
      transparent 30%
    ),
    linear-gradient(180deg, #fff, #f5f0e9);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  height: 100%;
}
.logo-stage {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 28px;
  padding: 24px;
  display: grid;
  place-items: center;
}
.logo-stage img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
}
.mini-column,
.art-grid {
  display: grid;
  gap: 12px;
}
.mini-card,
.browser {
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.92);
  padding: 18px;
}
.line-list,
.chart,
.chat-flow {
  display: grid;
  gap: 8px;
}
.line-list span,
.chart span,
.chat-flow span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(217, 119, 87, 0.14),
    rgba(184, 92, 61, 0.85)
  );
}
.kpi {
  display: flex;
  justify-content: space-between;
  font-size: 0.93rem;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: 14px;
  margin-top: 8px;
}
.panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.04);
}
.panel h2 {
  font-size: 1.65rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}
.panel h3 {
  font-size: 1.24rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.panel p,
.panel li {
  color: var(--muted);
}
.panel ul,
.panel ol {
  padding-left: 20px;
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.service-grid,
.product-grid,
.team-grid,
.contact-grid,
.feature-band,
.mini-grid {
  display: grid;
  gap: 16px;
}
.service-grid {
  grid-template-columns: repeat(3, 1fr);
}
.product-grid {
  grid-template-columns: repeat(2, 1fr);
}
.team-grid,
.contact-grid,
.feature-band {
  grid-template-columns: repeat(3, 1fr);
}
.team-profile-photo {
  display: block;
  width: 300px;
  max-width: 100%;
  height: 340px;
  margin: 0 auto 24px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.12);
}
.mini-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}
.wide-card {
  grid-column: 1/-1;
}
.card-kicker {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.inline-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
  color: var(--primary-dark);
}
.icon-pill {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-2);
  margin-bottom: 14px;
}
.browser-top {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.browser-top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.16);
}
.bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  min-height: 120px;
  gap: 8px;
}
.bars span {
  background: linear-gradient(180deg, #e3a087, #d97757);
  height: 48px;
  border-radius: 999px;
}
.bars span:nth-child(2) {
  height: 74px;
}
.bars span:nth-child(3) {
  height: 96px;
}
.bars span:nth-child(4) {
  height: 66px;
}
.chat-flow span {
  height: 48px;
  border-radius: 18px;
  background: rgba(217, 119, 87, 0.14);
  border: 1px solid rgba(217, 119, 87, 0.22);
}
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(217, 119, 87, 0.16);
}
.orbit.one {
  width: 320px;
  height: 320px;
  right: -80px;
  top: -50px;
}
.orbit.two {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -40px;
}
.cta-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
  padding: 34px;
  border-radius: 36px;
  background: #111;
  color: white;
  overflow: hidden;
}
.cta-block h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}
.cta-block p {
  color: rgba(255, 255, 255, 0.75);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.form-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

form {
  display: grid;
  gap: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: grid;
  gap: 7px;
  font-weight: 600;
  color: #202020;
  font-size: 0.95rem;
}
input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.11);
  background: #fff;
  outline: none;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}
.privacy-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--primary);
}
.privacy-consent a,
.privacy-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-note {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.legal-content h2:not(:first-child) {
  margin-top: 28px;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.notice {
  font-size: 0.92rem;
  color: var(--muted);
  background: #f7f3ed;
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 16px;
}
.assistant-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: min(380px, calc(100vw - 28px));
  color: var(--text);
  font-size: 0.95rem;
  font-family: "Anthropic Sans", Arial, sans-serif;
}
.assistant-panel {
  display: none;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(247, 246, 242, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 24px 70px rgba(20, 20, 19, 0.14);
  margin-bottom: 12px;
}
.assistant-panel.is-open {
  display: block;
}
.assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px;
  color: white;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.assistant-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.assistant-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.42);
  display: grid;
  place-items: center;
}
.assistant-title span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}
.assistant-close {
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.assistant-close:hover,
.assistant-close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(4deg);
}
.assistant-messages {
  display: grid;
  gap: 10px;
  padding: 16px;
  max-height: 340px;
  overflow-y: auto;
  background: var(--bg);
}
.msg {
  padding: 11px 13px;
  border-radius: 18px;
  max-width: 88%;
  border: 1px solid var(--border);
  line-height: 1.42;
}
.msg.bot {
  background: var(--surface);
  color: var(--text);
  justify-self: start;
  border-bottom-left-radius: 6px;
}
.msg.user {
  background: var(--primary);
  color: white;
  border-color: transparent;
  justify-self: end;
  border-bottom-right-radius: 6px;
}
.assistant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
  background: var(--bg);
}
.assistant-chip {
  border: 1px solid rgba(217, 119, 87, 0.32);
  background: rgba(217, 119, 87, 0.11);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.assistant-chip:hover,
.assistant-chip:focus-visible {
  color: white;
  background: var(--primary);
  transform: translateY(-1px);
}
.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.assistant-form input {
  border-radius: 999px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--bg);
  border-color: var(--border);
}
.assistant-form button {
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: white;
  font-weight: 800;
  background: var(--primary);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.assistant-form button:hover,
.assistant-form button:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.assistant-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 18px 45px rgba(217, 119, 87, 0.30);
  cursor: pointer;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.assistant-toggle:hover,
.assistant-toggle:focus-visible {
  box-shadow: 0 20px 48px rgba(217, 119, 87, 0.38);
  transform: translateY(-2px);
}

footer {
  padding: 26px 0 36px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding-top: 24px;
}
@media (max-width: 1080px) {
  .hero-grid,
  .cta-block,
  .form-shell {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .team-grid,
  .contact-grid,
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-band,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 1180px) {
    .contact-strip {
    display: none;
  }
  .mobile-contact-actions {
    display: flex;
    margin-left: auto;
  }

  .mobile-nav-toggle {
    margin-left: 0;
  }
  html {
    scroll-padding-top: 76px;
  }
  .nav {
    position: relative;
    min-height: 64px;
    padding: 8px 0;
  }
  .mobile-nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 0 0 20px 20px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow);
  }
  .nav.nav-open .nav-links {
    display: flex;
  }
  .nav-links > a,
  .nav-dropdown-toggle {
    width: 100%;
    padding: 12px 10px;
    text-align: left;
    font-size: 0.95rem;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none;
    margin: 0 0 8px;
    border-radius: 16px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
    transform: none;
  }
  .topbar .btns {
    display: none;
  }
}
@media (max-width: 860px) {
  .hero-grid {
    padding: 28px;
  }
  .form-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .team-grid,
  .contact-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
    .brand img {
    width: 132px;
  }

  .brand-name small {
    font-size: 0.68rem;
  }

  .mobile-contact-actions {
    gap: 4px;
  }

  .mobile-contact-link {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 10px;
  }

  .mobile-contact-link svg {
    width: 16px;
    height: 16px;
  }

  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
  }
  .container {
    width: min(calc(100% - 20px), var(--max));
  }
  .hero-shell {
    border-radius: 30px;
  }
  .hero-copy h1 {
    font-size: clamp(calc(2.4rem - 12px), calc(14vw - 12px), calc(3.8rem - 12px));
  }
  .btn {
    width: 100%;
  }
  .nav-dropdown-menu {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 190px);
    overflow-y: auto;
  }
  .assistant-widget {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }
}

.hero-photo-wrap {
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.06);
}
.hero-media-stack {
  display: grid;
  gap: 18px;
}
.hero-video-wrap {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--text);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.10);
}
.hero-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  background: var(--text);
}
.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .hero-photo {
    min-height: 280px;
    max-height: 360px;
  }
}

.product-title-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-title-link h3 {
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}
.product-title-link:hover h3 {
  color: var(--primary-dark);
  transform: translateY(-1px);
}


/* Títulos visuales reutilizables.
   El peso se unifica con la jerarquía del sitio sin alterar
   el tamaño propio de formularios, páginas legales o tarjetas. */
.heading-h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--text);
}
.heading-h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--text);
}
.product-category-title {
  grid-column: 1 / -1;
  margin: 18px 0 0;
}

.contact-map-card {
  overflow: hidden;
  padding: 0;
  min-height: 360px;
}
.contact-map-card iframe {
  display: block;
  border-radius: 28px;
  min-height: 360px;
}
/* =========================================================
   SEO 2026 — Componentes de contenido
   Reutilizados en páginas de servicios, blog y páginas internas.
   ========================================================= */

/* Contenedor principal para contenido editorial largo */
.content-wrap {
  width: min(100%, 920px);
  margin: 0 auto;
}

/* Fecha y metadatos del contenido */
.content-meta {
  width: 100%;
  margin: 0 0 24px;
  color: var(--muted);
  font-family: "Anthropic Sans", Arial, sans-serif;
  font-size: 0.9rem;
}

.content-meta p {
  margin: 0;
}

.content-meta time {
  color: var(--text);
  font-weight: 600;
}


/* =========================================================
   Tabla de contenidos
   ========================================================= */

.page-toc {
  width: 100%;
  margin: 0 0 42px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.04);
}

.page-toc strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-family: "Anthropic Sans", Arial, sans-serif;
  font-size: 1rem;
}

.page-toc ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.page-toc li {
  color: var(--muted);
}

.page-toc a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-toc a:hover,
.page-toc a:focus-visible {
  color: var(--primary);
}


/* =========================================================
   Contenido editorial SEO
   ========================================================= */

.content-section {
  width: 100%;
  margin: 0;
  padding: 34px 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--border);
}

.content-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.content-section h3 {
  margin: 28px 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.content-section p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.content-section ul,
.content-section ol {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 24px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.content-section strong {
  color: var(--text);
}

.content-section a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content-section a:hover,
.content-section a:focus-visible {
  color: var(--primary);
}


/* =========================================================
   Preguntas frecuentes
   ========================================================= */

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.faq-item {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 500;
}

.faq-item p {
  margin: 0;
}


/* =========================================================
   Fuentes y referencias
   ========================================================= */

.sources-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.sources-list li {
  color: var(--muted);
}

.sources-list a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sources-list a:hover,
.sources-list a:focus-visible {
  color: var(--primary);
}


/* =========================================================
   Breadcrumbs
   ========================================================= */

.breadcrumbs {
  padding: 16px 0 0;
  color: var(--muted);
  font-family: "Anthropic Sans", Arial, sans-serif;
  font-size: 0.88rem;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: rgba(20, 20, 19, 0.35);
}

.breadcrumbs a {
  color: var(--primary-dark);
  font-weight: 600;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs [aria-current="page"] {
  color: var(--muted);
}


/* =========================================================
   Video responsive / YouTube
   ========================================================= */

.video-embed {
  position: relative;
  width: 100%;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--text);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}


/* =========================================================
   Testimonios y reputación
   ========================================================= */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.04);
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
}

.testimonial-card p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.testimonial-card strong {
  color: var(--text);
}


/* =========================================================
   Responsive para componentes SEO
   ========================================================= */

@media (max-width: 860px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 28px 0;
  }
}

@media (max-width: 560px) {
  .page-toc {
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 32px;
  }

  .content-section h2 {
    font-size: clamp(1.7rem, 9vw, 2.3rem);
  }

  .content-section p,
  .content-section ul,
  .content-section ol {
    font-size: 1rem;
  }

  .faq-item {
    padding: 20px;
    border-radius: 20px;
  }

  .breadcrumbs {
    font-size: 0.82rem;
  }

  .video-embed {
    border-radius: 20px;
  }
}
/* =========================================================
   SEO-02 — Contenido progresivo / acordeones
   ========================================================= */

.seo-details-section {
  background: transparent;
}

.seo-detail {
  width: 100%;
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.seo-detail:hover {
  border-color: rgba(201, 84, 28, 0.28);
}

.seo-detail[open] {
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.05);
}

.seo-detail summary,
.page-toc summary,
.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-family: "Anthropic Sans", Arial, sans-serif;
  font-weight: 500;
}

.seo-detail summary::-webkit-details-marker,
.page-toc summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-detail > summary {
  padding: 22px 56px 22px 24px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.seo-detail summary::after,
.page-toc summary::after,
.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--primary-dark);
  font-size: 1.35rem;
  font-weight: 500;
}

.seo-detail[open] > summary::after,
.page-toc[open] > summary::after,
.faq-item[open] > summary::after {
  content: "−";
}

.seo-detail-content {
  padding: 0 24px 24px;
}

.seo-detail-content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.seo-detail-content p:last-child {
  margin-bottom: 0;
}

.seo-detail-content ul,
.seo-detail-content ol {
  display: grid;
  gap: 10px;
  margin: 6px 0 18px;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.seo-detail-content strong {
  color: var(--text);
}


/* Tabla de contenidos plegable */

.page-toc > summary {
  padding-right: 42px;
}

.page-toc[open] > summary {
  margin-bottom: 14px;
}


/* FAQ plegable */

.faq-item {
  display: block;
}

.faq-item > summary {
  padding-right: 42px;
}

.faq-item[open] > summary {
  margin-bottom: 12px;
}

.faq-item > p {
  color: var(--muted);
  line-height: 1.65;
}


/* Scroll al navegar mediante tabla de contenidos */

#que-incluye,
#proceso-desarrollo,
#seo-desarrollo,
#tipos-sitios,
#preguntas-frecuentes,
#fuentes,
#que-incluye-google-ads,
#proceso-google-ads,
#automatizacion-google-ads,
#metricas-google-ads,
#preguntas-google-ads,
#fuentes-google-ads,
#que-incluyen-campanas,
#segmentacion-campanas,
#automatizacion-campanas,
#metricas-campanas,
#preguntas-campanas,
#fuentes-campanas,
#estrategia-redes,
#contenido-redes,
#automatizacion-redes,
#metricas-redes,
#preguntas-redes,
#fuentes-redes,
#que-es-chatbot-ia,
#informacion-chatbot,
#captacion-chatbot,
#integraciones-chatbot,
#preguntas-chatbots,
#fuentes-chatbots,
#que-es-agente-ia,
#tareas-agente-ia,
#integraciones-agente-ia,
#control-agente-ia,
#preguntas-agentes,
#fuentes-agentes,
#funcion-plataforma-cotizacion,
#reglas-cotizacion,
#flujo-cotizacion,
#integraciones-cotizacion,
#preguntas-plataforma-cotizacion,
#fuentes-plataforma-cotizacion,
#catalogo-tienda-online,
#compra-tienda-online,
#pedidos-inventario-tienda,
#integraciones-tienda-online,
#preguntas-tienda-online,
#fuentes-tienda-online,
#recepcion-facturas,
#extraccion-datos-facturas,
#validacion-facturas,
#flujo-facturacion,
#preguntas-facturacion,
#fuentes-facturacion,
#proceso-automatizable,
#diseno-flujo-automatizacion,
#disparadores-automatizacion,
#control-medicion-automatizacion,
#preguntas-automatizacion,
#fuentes-automatizacion,
#diagnostico-consultoria-ia,
#priorizacion-consultoria-ia,
#piloto-consultoria-ia,
#medicion-consultoria-ia,
#preguntas-consultoria-ia,
#fuentes-consultoria-ia {
  scroll-margin-top: 110px;
}


@media (max-width: 560px) {

  .seo-detail {
    border-radius: 18px;
  }

  .seo-detail > summary {
    padding: 20px 50px 20px 20px;
    font-size: 1rem;
  }

  .seo-detail-content {
    padding: 0 20px 20px;
  }

  .seo-detail-content p {
    font-size: 0.98rem;
  }

}
