:root {
  --color-bg: #f6f3ee;
  --color-surface: #fbf8f2;
  --color-surface-alt: #f0ebe3;
  --color-surface-soft: #e5ded4;
  --color-ink: #1f1d1a;
  --color-ink-soft: #5d564e;
  --color-accent: #8d7151;
  --color-contrast: #2d2a27;
  --color-contrast-soft: #3a3632;
  --color-border: rgba(47, 40, 31, 0.12);
  --color-border-strong: rgba(141, 113, 81, 0.35);
  --shadow-soft: 0 20px 60px rgba(31, 29, 26, 0.08);
  --container-wide: 74rem;
  --container-main: 70rem;
  --space-2xs: 0.375rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6rem;
  --radius-sm: 0;
  --radius-md: 0;
  --font-sans: "Avenir Next", "Segoe UI", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 0;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container,
.container-wide {
  width: min(100% - 2rem, var(--container-main));
  margin: 0 auto;
}

.container-wide {
  width: min(100% - 2rem, var(--container-wide));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 248, 242, 0.9);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  min-height: 5.25rem;
}

.site-brand {
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-brand__mark {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: transparent;
  padding: 0.7rem 0.9rem;
  border-radius: 0;
  cursor: pointer;
}

.site-nav ul,
.legal-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-l);
}

.site-nav a {
  text-decoration: none;
  color: var(--color-ink-soft);
  font-size: 0.95rem;
}

.site-nav a[aria-current="page"] {
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 0.5rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: 0;
  border: 1px solid transparent;
  background: var(--color-contrast);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9rem;
  height: 0.9rem;
  opacity: 0;
  transform: translateX(-0.2rem) scale(0.9);
  color: currentColor;
  transition: opacity 160ms ease, transform 160ms ease, color 160ms ease;
}

.button-link__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.button-link:hover .button-link__icon,
.button-link:focus-visible .button-link__icon {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.button-link:active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(1px);
}

.button-link--ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-border-strong);
}

main {
  padding-bottom: var(--space-3xl);
}

body[data-page="inicio"] main {
  padding-bottom: 0;
}

.section {
  padding: var(--space-3xl) 0;
}

.section--tight {
  padding: var(--space-2xl) 0;
}

.section--surface {
  background: var(--color-surface);
}

.section--alt {
  background: var(--color-surface-alt);
}

.section--soft {
  background: var(--color-surface-soft);
}

.section--contrast {
  background: linear-gradient(180deg, var(--color-contrast) 0%, var(--color-contrast-soft) 100%);
  color: #f7f3ec;
}

.section--contrast .eyebrow,
.section--contrast .section-kicker,
.section--contrast .section-copy,
.section--contrast .card-copy,
.section--contrast .list-inline,
.section--contrast .stack-note p {
  color: rgba(247, 243, 236, 0.8);
}

.hero {
  position: relative;
  min-height: calc(100vh - 5.25rem);
  display: flex;
  align-items: end;
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -15% auto;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(141, 113, 81, 0.18), rgba(141, 113, 81, 0));
  pointer-events: none;
}

.hero__grid,
.split-grid,
.contact-grid,
.cta-grid,
.footer-grid {
  display: grid;
  gap: var(--space-xl);
}

.hero__grid,
.services-hero,
.work-hero,
.contact-hero,
.company-hero,
.company-section-head {
  width: 100%;
  max-width: 70rem;
  margin-inline: auto;
}

.hero__grid {
  grid-template-columns: minmax(0, 2.3fr) minmax(15rem, 0.92fr);
  align-items: end;
  column-gap: clamp(1.4rem, 2.4vw, 2.2rem);
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.92fr);
  gap: clamp(1.4rem, 2.5vw, 2.15rem);
  align-items: start;
}

.services-hero__lead {
  max-width: none;
}

.services-hero__side {
  display: grid;
  gap: var(--space-m);
  align-self: start;
  max-width: 29rem;
  padding-top: var(--space-s);
  justify-self: start;
}

.services-hero-section {
  padding-top: calc(var(--space-2xl) + var(--space-s));
  padding-bottom: calc(var(--space-2xl) - var(--space-xs));
}

.services-hero .hero-title {
  max-width: 10ch;
  font-size: clamp(3.15rem, 6vw, 6rem);
}

.services-hero__accent {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}

.services-hero__side .hero-copy {
  max-width: none;
  font-size: 1.08rem;
  line-height: 1.68;
}

.services-hero__support {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 1rem;
  line-height: 1.62;
}

.services-hero__side .hero-divider {
  width: 100%;
  max-width: 11rem;
  margin-top: 0;
}

body[data-page="servicios"] .section {
  padding-top: calc(var(--space-2xl) + var(--space-s));
  padding-bottom: calc(var(--space-2xl) + var(--space-s));
}

.work-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(0, 0.94fr);
  gap: clamp(1.35rem, 2.4vw, 2rem);
  align-items: end;
  margin-bottom: var(--space-xl);
}

.work-hero-section {
  padding-top: calc(var(--space-2xl) + var(--space-s));
  padding-bottom: calc(var(--space-2xl) - var(--space-xs));
}

.work-hero__lead {
  max-width: 50rem;
}

.work-hero__side {
  display: grid;
  gap: calc(var(--space-s) + 0.2rem);
  max-width: 30rem;
  padding-bottom: var(--space-xs);
  justify-self: start;
}

.work-hero .hero-title {
  max-width: 11ch;
  font-size: clamp(3rem, 5.8vw, 5.55rem);
}

.work-hero__accent {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}

.work-hero__side .hero-copy {
  font-size: 1.06rem;
  line-height: 1.62;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.92fr);
  gap: clamp(1.35rem, 2.4vw, 2rem);
  align-items: end;
}

.contact-hero__lead {
  min-height: auto;
  display: grid;
  align-content: end;
  gap: var(--space-m);
}

.contact-hero--compact .contact-hero__lead {
  min-height: auto;
  align-items: flex-start;
}

.contact-hero-section {
  padding-top: calc(var(--space-2xl) + var(--space-m));
  padding-bottom: calc(var(--space-2xl) + var(--space-xs));
}

.contact-hero__title {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-serif);
  font-size: clamp(2.85rem, 5.51vw, 5.56rem);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.045em;
}

.contact-hero__accent {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}

.contact-hero__body {
  display: grid;
  gap: calc(var(--space-m) - 0.25rem);
  max-width: 28rem;
  padding-bottom: var(--space-xs);
  justify-self: start;
}

.contact-hero__body .hero-copy {
  font-size: 1.04rem;
  line-height: 1.64;
}

.legal-intro {
  display: grid;
  gap: var(--space-m);
  max-width: 52rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.legal-layout--single-page {
  grid-template-columns: minmax(0, 1fr);
}

.legal-body {
  display: grid;
  gap: var(--space-xl);
}

.legal-body--wide {
  max-width: 56rem;
}

body[data-page="politica-cookies"] .legal-intro {
  max-width: 60rem;
}

body[data-page="politica-cookies"] .legal-layout--cookies {
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  gap: calc(var(--space-2xl) + var(--space-xs));
}

body[data-page="politica-cookies"] .legal-body {
  width: 100%;
  max-width: none;
  gap: calc(var(--space-xl) + var(--space-xs));
}

body[data-page="politica-cookies"] .legal-body--wide {
  max-width: none;
}

body[data-page="politica-cookies"] .legal-section {
  width: 100%;
  padding: calc(var(--space-xl) + var(--space-xs));
}

body[data-page="politica-cookies"] .legal-section p,
body[data-page="politica-cookies"] .legal-list {
  max-width: 64rem;
}

body[data-page="politica-cookies"] .legal-note-block {
  max-width: 64rem;
}

.legal-summary--cookies {
  gap: var(--space-m);
}

.legal-summary--cookies p {
  margin: 0;
}

.legal-browser-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.legal-browser-links li {
  margin: 0;
}

.legal-browser-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-ink-soft);
  text-decoration: none;
  font-weight: 500;
  transition: color 160ms ease;
}

.legal-browser-links a:hover,
.legal-browser-links a:focus-visible {
  color: var(--color-accent);
}

.legal-browser-links__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
  flex: 0 0 auto;
}

.legal-browser-links__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-sidebar {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.legal-anchor,
.legal-summary {
  display: grid;
  gap: var(--space-s);
  padding: var(--space-l);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.legal-anchor a {
  color: var(--color-ink-soft);
  text-decoration: none;
}

.legal-anchor a:hover {
  color: var(--color-accent);
}

.legal-summary h2,
.legal-section h2 {
  margin: 0 0 var(--space-s);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.legal-summary__item h3,
.legal-meta-grid h3,
.legal-section h3 {
  margin: 0 0 var(--space-2xs);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.legal-summary__item p,
.legal-meta-grid p,
.legal-section p,
.legal-list {
  margin: 0;
  color: var(--color-ink-soft);
}

.legal-section {
  display: grid;
  gap: var(--space-s);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--color-border);
}

.legal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-m);
}

.legal-meta-grid--single {
  grid-template-columns: 1fr;
}

.legal-list {
  padding-left: 1.2rem;
}

.legal-list li + li {
  margin-top: 0.5rem;
}

.legal-note-block {
  background: rgba(255, 255, 255, 0.82);
}

.legal-updated {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 0.92rem;
  font-style: italic;
}

.hero__lead {
  max-width: none;
  width: 100%;
}

.hero__side {
  align-self: end;
  padding-bottom: 0.5rem;
  width: 100%;
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.company-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(19rem, 0.88fr);
  gap: clamp(1.4rem, 2.4vw, 2rem);
  align-items: end;
}

.company-hero__content {
  padding-top: var(--space-s);
}

.company-hero__body {
  display: grid;
  gap: var(--space-m);
  max-width: 31rem;
  margin-top: var(--space-xl);
}

.company-hero__quote-block {
  display: grid;
  grid-template-columns: 1px minmax(0, 1fr);
  gap: var(--space-m);
  align-items: center;
}

.company-hero__media {
  position: relative;
  align-self: end;
}

.company-hero .hero-title {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(2.85rem, 4.8vw, 4.85rem);
}

.company-hero .hero-title em {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}

.company-hero .hero-copy {
  max-width: none;
}

.company-hero__rule {
  width: 1px;
  height: 4.4rem;
  background: var(--color-accent);
  align-self: center;
}

.floating-card.company-highlight {
  position: absolute;
  left: clamp(0.85rem, 4%, 1.6rem);
  bottom: -1rem;
  max-width: 16.25rem;
  margin: 0;
  padding: calc(var(--space-m) + 0.1rem) calc(var(--space-l) - 0.1rem);
  background: var(--color-accent);
  color: #f7f3ec;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  box-shadow: 0 22px 40px -32px rgba(31, 29, 26, 0.42);
  transform: translate(-25%, 35%);
}

.company-highlight p {
  color: inherit;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.2;
}

.company-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(16rem, 0.86fr);
  gap: clamp(1.3rem, 2.2vw, 1.9rem);
  align-items: end;
  margin-bottom: calc(var(--space-2xl) - var(--space-s));
}

.services-intro {
  max-width: none;
  padding-top: var(--space-s);
}

.split-grid--reverse .media-panel {
  order: 2;
}

.split-grid--reverse .content-panel {
  order: 1;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.8fr);
  align-items: start;
}

.cta-grid,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: var(--space-m);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow {
  display: block;
  margin-bottom: var(--space-l);
}

.hero-title,
.section-title,
.quote-line {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero-title {
  max-width: 12ch;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.section-title--compact {
  max-width: 10ch;
}

.hero-copy,
.section-copy,
.card-copy,
.stack-note p,
.placeholder-note,
.field-note {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 34rem;
  font-size: 1.2rem;
}

.hero-divider {
  width: 6rem;
  height: 1px;
  margin-top: var(--space-xl);
  background: var(--color-accent);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  margin-top: var(--space-xl);
  color: var(--color-ink-soft);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-meta::before {
  content: "";
  width: 4.5rem;
  height: 1px;
  background: var(--color-accent);
}

.media-panel,
.media-block,
.media-banner,
.visual-panel {
  position: relative;
  min-height: 22rem;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(141, 113, 81, 0.18), rgba(141, 113, 81, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(0, 0, 0, 0.05)),
    var(--color-surface-alt);
  border: 1px solid var(--color-border);
}

.media-panel::before,
.media-block::before,
.media-banner::before,
.visual-panel::before {
  content: "Placeholder visual";
  position: absolute;
  inset: auto 1rem 1rem auto;
  color: rgba(31, 29, 26, 0.45);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-panel--tall {
  min-height: 32rem;
}

.media-panel--dark,
.visual-panel--dark {
  background:
    linear-gradient(135deg, rgba(141, 113, 81, 0.22), rgba(141, 113, 81, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.18)),
    #403831;
  border-color: rgba(255, 255, 255, 0.1);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(44vw, 38rem);
  background:
    linear-gradient(90deg, rgba(247, 243, 236, 0), rgba(247, 243, 236, 0.08)),
    url("/assets/img/home/home-hero-network.png") center / cover no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.home-hero {
  min-height: 78vh;
  padding: clamp(7.5rem, 11vh, 9rem) 0 clamp(4rem, 8vh, 5rem);
  align-items: center;
}

.home-hero .hero__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-l) calc(var(--space-xl) + var(--space-xs));
  align-items: end;
}

.home-hero .hero__lead {
  grid-column: 1 / span 2;
  max-width: none;
  width: 100%;
}

.home-hero .hero-title {
  max-width: 100%;
  font-size: clamp(3.4rem, 7vw, 6.9rem);
  line-height: 1.01;
}

.home-hero .hero-title em {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}

.home-hero .hero__side {
  grid-column: 2;
  justify-self: end;
  max-width: 25rem;
  padding-bottom: 0;
}

.home-hero .hero-copy {
  max-width: none;
  font-size: 1.12rem;
}

.home-hero .hero-divider {
  margin-top: var(--space-l);
}

.home-hero::before {
  width: min(50vw, 42rem);
  background:
    linear-gradient(90deg, rgba(247, 243, 236, 0.94) 0%, rgba(247, 243, 236, 0.25) 38%, rgba(247, 243, 236, 0.02) 100%),
    url("/assets/img/home/home-hero-network.png") right center / cover no-repeat;
  opacity: 0.08;
  filter: grayscale(1) saturate(0.2) brightness(1.04);
}

.home-hero::after {
  width: 22rem;
  height: 22rem;
  opacity: 0.5;
}

.home-about,
.home-domains,
.home-methodology,
.home-attributes,
.home-contact {
  padding-top: calc(var(--space-2xl) + var(--space-s));
  padding-bottom: calc(var(--space-2xl) + var(--space-s));
}

.home-about .split-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.08fr);
  gap: var(--space-2xl);
  align-items: center;
}

.home-about .section-title,
.home-domains .section-title,
.home-methodology .section-title,
.home-contact .section-title {
  margin-bottom: var(--space-m);
}

.home-about .section-copy,
.home-domains .section-title + .grid-cards,
.home-methodology .section-copy,
.home-contact .section-copy {
  margin-top: 0;
}

.home-methodology {
  position: relative;
  overflow: hidden;
}

.home-methodology::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/home/home-methodology-overlay.png") center / cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.home-about-visual {
  width: min(100%, 21rem);
  aspect-ratio: 5 / 9;
  justify-self: center;
  border-radius: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: transparent;
}

.company-values-visual,
.company-hero-visual,
.home-about-visual,
.work-hero-banner,
.work-phase01-visual,
.work-phase02-visual,
.contact-office-visual,
.contact-global-visual {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.company-values-visual::before,
.company-hero-visual::before,
.home-about-visual::before,
.work-hero-banner::before,
.work-phase01-visual::before,
.work-phase02-visual::before,
.contact-office-visual::before,
.contact-global-visual::before {
  content: none;
}

.home-about-visual {
  background-image: url("/assets/img/home/home-about-room.jpg");
  background-position: center center;
}

.company-hero-visual {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.14)),
    url("/assets/img/empresa/empresa-hero-office.jpg");
  background-position: center 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: transparent;
  aspect-ratio: 1 / 1.04;
  min-height: clamp(27rem, 41vw, 31rem);
  border-radius: 0;
}

.company-specialties {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: transparent;
  border: 0;
}

.card.company-specialty {
  min-height: 20rem;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.015);
  border: 0;
  box-shadow: none;
  color: #f7f3ec;
  transition: background-color 180ms ease, color 180ms ease;
}

.company-specialty .card-title {
  font-size: 2rem;
  margin-bottom: var(--space-s);
  color: rgba(247, 243, 236, 0.9);
  transition: color 180ms ease;
}

.company-specialty .card-copy {
  color: rgba(247, 243, 236, 0.58);
  font-size: 1rem;
  line-height: 1.7;
  transition: color 180ms ease;
}

.company-specialty__icon {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: var(--space-l);
  color: rgba(198, 164, 116, 0.76);
  transition: color 180ms ease;
}

.company-specialty__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.card.company-specialty:hover {
  background: rgba(255, 255, 255, 0.18);
}

.company-specialty:hover .card-title {
  color: #f7f3ec;
}

.company-specialty:hover .card-copy {
  color: rgba(247, 243, 236, 0.82);
}

.company-specialty:hover .company-specialty__icon {
  color: #e4c891;
}

.company-values-visual {
  background-image:
    linear-gradient(180deg, rgba(226, 209, 181, 0.14), rgba(24, 22, 19, 0.16)),
    url("/assets/img/empresa/empresa-values-architecture.png");
  background-position: center;
  background-size: 108%;
  filter: grayscale(1) sepia(0.18) saturate(0.72) brightness(0.94);
  border-radius: 0;
  transition: background-size 700ms ease, filter 260ms ease;
}

.company-quote-section {
  position: relative;
  overflow: hidden;
}

.company-quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/empresa/empresa-quote-mesh.png") center / cover no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.company-quote-section .container-wide,
.home-methodology .container-wide,
.work-phase45-section .container-wide {
  position: relative;
  z-index: 1;
}

.work-hero-banner {
  background-image:
    linear-gradient(180deg, rgba(245, 244, 239, 0), rgba(245, 244, 239, 0.2)),
    url("/assets/img/como-trabajamos/ct-hero-landscape.png");
  background-position: center;
  filter: grayscale(1) brightness(0.94);
}

.work-phase01-visual {
  background-image:
    linear-gradient(180deg, rgba(245, 244, 239, 0.06), rgba(43, 52, 55, 0.08)),
    url("/assets/img/como-trabajamos/ct-phase01-neural.png");
  background-position: center;
}

.work-phase02-visual {
  background-image:
    linear-gradient(180deg, rgba(245, 244, 239, 0.04), rgba(43, 52, 55, 0.05)),
    url("/assets/img/como-trabajamos/ct-phase02-geometry.png");
  background-position: center;
  aspect-ratio: 4 / 5;
  min-height: 31rem;
  border-radius: 0;
  background-size: cover;
}

.work-phase45-section {
  position: relative;
  overflow: hidden;
  padding-bottom: calc(var(--space-2xl) + var(--space-xs));
}

.work-phase45-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(44vw, 34rem);
  height: min(28vw, 18rem);
  background: url("/assets/img/como-trabajamos/ct-phase45-metal.png") center / cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
  filter: grayscale(1) brightness(0.9);
}

.contact-global-visual {
  background-image:
    linear-gradient(180deg, rgba(89, 95, 101, 0.08), rgba(89, 95, 101, 0.22)),
    url("/assets/img/contacto/contacto-global-grid.png");
  background-position: center;
}

.contact-office-visual {
  background-image:
    linear-gradient(180deg, rgba(89, 95, 101, 0.08), rgba(89, 95, 101, 0.2)),
    url("/assets/img/contacto/contacto-office.jpg");
  background-position: center 36%;
}

.inline-link--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.inline-link__icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
}

.inline-link__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.inline-link--with-icon:hover .inline-link__icon svg {
  transform: translateX(0.2rem);
}

.floating-card,
.stack-note,
.contact-card,
.form-shell,
.quote-panel {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.floating-card {
  max-width: 18rem;
  padding: var(--space-l);
  margin-top: -4rem;
  margin-left: var(--space-l);
}

.floating-card p,
.quote-panel p,
.contact-card p {
  margin: 0;
}

.grid-cards,
.service-grid,
.phase-grid,
.detail-grid,
.footer-meta {
  display: grid;
  gap: var(--space-m);
}

.grid-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-domains .grid-cards {
  gap: 1px;
}

.home-domains .card-number {
  color: rgba(141, 113, 81, 0.26);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.26rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.home-domains .card:hover .card-number {
  color: rgba(141, 113, 81, 0.42);
}

.home-domains .card-title {
  font-size: 1.6rem;
}

.home-domains .card-copy {
  font-size: 0.98rem;
  line-height: 1.6;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-meta {
  justify-items: end;
}

.card,
.service-card,
.phase-card,
.stack-note,
.contact-card {
  padding: var(--space-xl);
}

.card,
.phase-card,
.contact-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--color-border);
}

.phase-card--accent {
  background: var(--color-contrast);
  color: #f7f3ec;
  border-color: rgba(255, 255, 255, 0.08);
}

.phase-card--accent .card-copy {
  color: rgba(247, 243, 236, 0.82);
}

body[data-page="servicios"] .service-card {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(122, 108, 92, 0.12);
  background: var(--color-surface);
  color: var(--color-ink);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

body[data-page="servicios"] .service-card__body {
  display: grid;
  gap: var(--space-m);
}

body[data-page="servicios"] .service-card__number {
  color: rgba(141, 113, 81, 0.32);
  font-family: var(--font-serif);
  font-size: clamp(1.95rem, 2.7vw, 2.55rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

body[data-page="servicios"] .service-card .card-title {
  color: var(--color-ink);
  font-size: 2rem;
  margin-bottom: 0;
}

body[data-page="servicios"] .service-card .card-copy {
  color: rgba(93, 86, 78, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

body[data-page="servicios"] .service-card__foot {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: var(--space-l);
  border-top: 1px solid rgba(122, 108, 92, 0.12);
}

body[data-page="servicios"] .service-card__icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  color: rgba(141, 113, 81, 0.88);
}

body[data-page="servicios"] .service-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

body[data-page="servicios"] .service-card__label {
  color: rgba(141, 113, 81, 0.92);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-page="servicios"] .service-card:hover {
  background: #ddd7cf;
  border-color: rgba(122, 108, 92, 0.18);
  color: var(--color-ink);
}

body[data-page="servicios"] .service-card:hover .card-title,
body[data-page="servicios"] .service-card:hover .card-copy,
body[data-page="servicios"] .service-card:hover .service-card__number {
  color: var(--color-ink);
}

body[data-page="servicios"] .service-card--accent {
  background: var(--color-contrast-soft);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="servicios"] .service-card--accent .card-title {
  color: #fff;
}

body[data-page="servicios"] .service-card--accent:hover {
  background: var(--color-contrast-soft);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="servicios"] .service-card--accent:hover .card-title,
body[data-page="servicios"] .service-card--accent:hover .card-copy,
body[data-page="servicios"] .service-card--accent:hover .service-card__number,
body[data-page="servicios"] .service-card--accent:hover .service-card__label,
body[data-page="servicios"] .service-card--accent:hover .service-card__icon {
  color: inherit;
}

body[data-page="servicios"] .service-card--accent .card-copy {
  color: rgba(255, 255, 255, 0.78);
}

body[data-page="servicios"] .service-card--accent .service-card__number {
  color: rgba(228, 200, 145, 0.72);
}

body[data-page="servicios"] .service-card--accent .service-card__foot {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body[data-page="servicios"] .service-card--accent .service-card__label,
body[data-page="servicios"] .service-card--accent .service-card__icon {
  color: #e4c891;
}

.services-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: var(--space-m);
  max-width: 56rem;
}

.services-cta-section {
  padding-top: calc(var(--space-2xl) + var(--space-xs));
  padding-bottom: calc(var(--space-2xl) + var(--space-xs));
}

.services-cta__marker {
  width: 1px;
  height: 6rem;
  background: var(--color-accent);
  margin-bottom: var(--space-s);
}

.services-cta .section-title {
  max-width: 12ch;
}

.services-cta__accent {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}

.services-cta__email {
  color: var(--color-accent);
}

.services-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-inline: 2rem;
  border-radius: 0;
}

.services-cta__icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
  transition: color 180ms ease;
}

.services-cta__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.services-cta__link:hover {
  background: var(--color-accent);
  color: #f7f3ec;
}

.services-cta__link:hover .services-cta__icon {
  color: #f7f3ec;
}

.services-cta__link:hover .services-cta__icon svg {
  transform: translateX(0.2rem);
}

.card-number,
.card-meta,
.phase-label,
.mini-label {
  display: inline-block;
  margin-bottom: var(--space-l);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.phase-label--lined {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.phase-label--lined::before {
  content: "";
  width: 3rem;
  height: 1px;
  background: var(--color-accent);
}

.card-title,
.phase-title,
.stack-note h3,
.contact-card h3 {
  margin: 0 0 var(--space-s);
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.list-inline,
.legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s) var(--space-l);
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: var(--space-l) 0 0;
  display: grid;
  gap: var(--space-m);
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.work-bullet__icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
  margin-top: 0.22rem;
}

.work-bullet__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.stack-flow {
  display: grid;
  gap: var(--space-m);
}

.home-methodology .split-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.home-methodology .stack-flow {
  gap: var(--space-l);
}

.work-systems {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: var(--space-2xl);
  align-items: start;
}

.work-phase01-section .section-title,
.work-phase02-section .section-title {
  font-size: clamp(2rem, 4.1vw, 3.55rem);
  margin-bottom: calc(var(--space-m) + var(--space-xs));
}

.work-phase01-section .section-copy,
.work-phase02-section .section-copy {
  margin-top: 0;
}

.work-phase02-details {
  gap: var(--space-s);
  margin-top: calc(var(--space-l) + var(--space-xs));
}

.work-detail-card {
  padding: calc(var(--space-m) + var(--space-xs));
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(122, 108, 92, 0.14);
  box-shadow: none;
  border-radius: 0;
}

.work-detail-card .card-title {
  font-size: 1.26rem;
  margin-bottom: 0.45rem;
}

.work-detail-card .card-copy {
  font-size: 0.93rem;
  line-height: 1.55;
}

.work-phase03-section {
  padding-top: calc(var(--space-2xl) + var(--space-xs));
  padding-bottom: calc(var(--space-2xl) + var(--space-xs));
}

.work-phase03-head {
  max-width: 48rem;
  margin: 0 auto calc(var(--space-2xl) - var(--space-s));
  text-align: center;
}

.work-phase03-head .section-title {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  margin-bottom: var(--space-m);
}

.work-phase03-head .section-copy {
  max-width: 44rem;
  margin: 0 auto;
}

.work-phase03-section .phase-grid {
  gap: 1px;
}

.work-phase03-section .phase-card {
  aspect-ratio: 1 / 1;
  padding: calc(var(--space-l) + var(--space-xs));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(122, 108, 92, 0.12);
  box-shadow: none;
  border-radius: 0;
}

.work-phase03-section .phase-card--accent {
  background: var(--color-contrast-soft);
  border-color: rgba(255, 255, 255, 0.08);
}

.phase-card__icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--color-accent);
  margin-bottom: var(--space-l);
}

.phase-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.work-phase03-section .phase-title {
  font-size: 1.55rem;
  margin-bottom: var(--space-s);
}

.work-phase03-section .phase-card .card-copy {
  font-size: 0.95rem;
  line-height: 1.58;
}

.work-phase03-section .phase-card--accent .phase-card__icon {
  color: #e4c891;
}

.work-system-note {
  padding: calc(var(--space-l) + var(--space-xs));
  background: rgba(255, 255, 255, 0.52);
  border: 0;
  border-left: 3px solid var(--color-accent);
  box-shadow: none;
  border-radius: 0;
}

.work-system-note h3 {
  margin-bottom: var(--space-s);
  font-size: 1.45rem;
}

.work-system-note p {
  font-size: 0.98rem;
  line-height: 1.62;
}

.work-phase45-section .section-title {
  margin-bottom: var(--space-m);
}

body[data-page="como-trabajamos"] main {
  padding-bottom: 0;
}

.section-action {
  margin: var(--space-l) 0 0;
}

.inline-link {
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.inline-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.45rem;
}

.method-step {
  display: flex;
  gap: var(--space-l);
  align-items: flex-start;
}

.method-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  min-width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(141, 113, 81, 0.8);
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-size: 1.6rem;
}

.home-methodology .method-step {
  gap: var(--space-m);
}

.home-methodology .method-step__number {
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.home-methodology .method-step:hover .method-step__number {
  background: #e4c891;
  color: var(--color-contrast);
  border-color: #e4c891;
}

.method-step__title {
  margin: 0 0 var(--space-s);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.quote-panel,
.form-shell,
.contact-card {
  padding: var(--space-xl);
}

.quote-panel {
  background: rgba(255, 255, 255, 0.08);
  color: #f7f3ec;
  border-color: rgba(255, 255, 255, 0.14);
  text-align: center;
}

.company-quote-panel {
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.quote-line {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  max-width: 12ch;
  margin-inline: auto;
}

.company-quote-panel .quote-line {
  max-width: none;
  width: 100%;
  margin-inline: auto;
  font-size: clamp(2.2rem, 3.8vw, 4.15rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.company-quote-panel .quote-author {
  margin-top: var(--space-m);
  text-align: center;
}

.quote-author {
  margin: var(--space-l) 0 0;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.form-shell {
  background: rgba(255, 255, 255, 0.78);
}

.contact-main-section {
  background: var(--color-surface);
  padding-top: calc(var(--space-2xl) + var(--space-xs));
  padding-bottom: calc(var(--space-2xl) + var(--space-xs));
}

.contact-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(19rem, 0.76fr);
  align-items: start;
}

.contact-form-shell {
  padding: calc(var(--space-xl) + var(--space-xs));
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 38px -30px rgba(93, 86, 78, 0.32);
}

.contact-form-shell .section-title {
  margin-bottom: calc(var(--space-l) + var(--space-xs));
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}

.contact-form-shell .form-grid {
  gap: calc(var(--space-l) + var(--space-xs));
}

.contact-form-shell .field label {
  color: rgba(93, 86, 78, 0.74);
}

.contact-form-shell .field input,
.contact-form-shell .field textarea {
  padding: 0.1rem 0 0.85rem;
}

.contact-form-shell .field textarea {
  min-height: 8.8rem;
}

.contact-form-shell__button {
  min-width: 12.5rem;
}

.home-attributes .grid-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-l);
}

.home-attributes .card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-attributes .card-title {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.home-attributes .card-copy {
  font-size: 0.97rem;
  line-height: 1.6;
}

.attribute-icon {
  display: block;
  margin-bottom: var(--space-m);
  color: var(--color-accent);
  width: 2rem;
  height: 2rem;
}

.attribute-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-m);
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 0;
  border: 0;
  border-bottom: 1px solid var(--color-border-strong);
  background: transparent;
  color: var(--color-ink);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(93, 86, 78, 0.7);
}

.form-actions {
  margin-top: var(--space-l);
}

.form-privacy {
  margin: var(--space-m) 0 0;
  color: var(--color-ink-soft);
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.4rem;
  margin: var(--space-m) 0 0;
  color: var(--color-accent);
  font-size: 0.92rem;
}

.contact-email {
  margin: var(--space-m) 0 var(--space-xl);
}

.contact-stack {
  display: grid;
  gap: var(--space-m);
}

.contact-side-stack {
  gap: var(--space-l);
}

.contact-side-visual .media-panel {
  min-height: 18rem;
}

.contact-direct-card {
  display: grid;
  gap: var(--space-s);
  align-content: start;
  min-height: 15rem;
}

.contact-direct-card h3 {
  margin-bottom: var(--space-m);
}

.contact-direct-card__label {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-direct-card__value {
  margin: 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.contact-direct-card__icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--color-accent);
}

.contact-direct-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.contact-direct-card__tagline {
  margin-top: var(--space-m);
  color: var(--color-ink-soft);
}

.home-contact {
  background: var(--color-surface-alt);
  padding-bottom: var(--space-l);
  margin-bottom: 0;
}

.home-contact__grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(20rem, 0.96fr);
  align-items: start;
}

.home-contact__copy {
  max-width: 38rem;
  padding-top: var(--space-s);
}

.home-contact__copy .section-copy {
  margin-top: var(--space-m);
}

.home-contact__form {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 38px -30px rgba(93, 86, 78, 0.45);
}

.home-contact__form .form-grid {
  grid-template-columns: 1fr;
  gap: var(--space-l);
}

.home-contact__form .field {
  gap: 0.9rem;
}

.home-contact__form .field label {
  color: rgba(93, 86, 78, 0.72);
}

.home-contact__form .field input,
.home-contact__form .field textarea {
  padding: 0 0 0.8rem;
  font-size: 1.05rem;
}

.home-contact__form .field input::placeholder,
.home-contact__form .field textarea::placeholder {
  color: rgba(93, 86, 78, 0.34);
}

.home-contact__form .field textarea {
  min-height: 9rem;
}

.home-contact__form .form-actions {
  margin-top: var(--space-m);
}

.visual-anchor {
  position: relative;
}

.visual-anchor__copy {
  position: absolute;
  left: var(--space-l);
  right: var(--space-l);
  bottom: var(--space-l);
  padding: var(--space-l);
  border-radius: var(--radius-md);
  background: rgba(251, 248, 242, 0.88);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.visual-anchor__copy h3 {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.05;
}

.visual-anchor__copy p {
  margin: 0;
  color: var(--color-ink-soft);
}

.contact-visual-section {
  background: var(--color-surface);
  padding-top: 0;
  padding-bottom: calc(var(--space-2xl) + var(--space-xs));
}

.contact-visual-anchor {
  overflow: hidden;
}

.contact-visual-anchor__media {
  min-height: 25rem;
  position: relative;
  transition: transform 700ms ease;
  will-change: transform;
}

.contact-visual-anchor__copy {
  left: 50%;
  right: auto;
  bottom: var(--space-l);
  width: min(100% - 3rem, 21rem);
  text-align: center;
  transform: translateX(-50%);
}

.contact-visual-anchor__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 248, 242, 0.18), rgba(251, 248, 242, 0.3));
  pointer-events: none;
}

.contact-visual-anchor:hover .contact-visual-anchor__media {
  transform: scale(1.03);
}

.contact-visual-anchor__icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  margin-bottom: var(--space-xs);
  color: var(--color-accent);
}

.contact-visual-anchor__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

body[data-page="contacto"] main {
  padding-bottom: 0;
}

.value-list {
  display: grid;
  gap: calc(var(--space-l) + var(--space-xs));
  margin-top: calc(var(--space-l) + var(--space-xs));
}

.value-item {
  display: flex;
  gap: calc(var(--space-m) + var(--space-xs));
  align-items: flex-start;
}

.value-item__index {
  color: rgba(141, 113, 81, 0.5);
  font-family: var(--font-serif);
  font-size: 2.1rem;
  line-height: 1;
  transition: color 180ms ease, opacity 180ms ease;
}

.value-item__title {
  margin: 0 0 var(--space-xs);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.company-values-section .card-copy {
  font-size: 0.98rem;
  line-height: 1.58;
}

.company-values__rule {
  width: 5.5rem;
  height: 2px;
  margin-top: var(--space-m);
  margin-bottom: calc(var(--space-l) + var(--space-xs));
  background: var(--color-accent);
}

.value-item:hover .value-item__index {
  color: rgba(198, 164, 116, 0.92);
}

.split-grid--reverse .company-values-visual:hover {
  background-size: 102%;
  filter: grayscale(1) sepia(0.22) saturate(0.82) brightness(0.98);
}

.company-cta {
  align-items: center;
}

.company-cta .section-copy {
  max-width: 30rem;
}

.company-cta .section-action {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.company-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-inline: 2rem;
  border-radius: 0;
}

.company-cta__icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
  transition: color 180ms ease;
}

.company-cta__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.company-cta__link:hover {
  background: var(--color-accent);
  color: #f7f3ec;
}

.company-cta__link:hover .company-cta__icon {
  color: #f7f3ec;
}

.company-cta__link:hover .company-cta__icon svg {
  transform: translateX(0.2rem);
}

body[data-page="empresa"] .section {
  padding-top: calc(var(--space-2xl) + var(--space-s));
  padding-bottom: calc(var(--space-2xl) + var(--space-s));
}

.company-values-section {
  padding-top: calc(var(--space-2xl) + var(--space-xs));
  padding-bottom: calc(var(--space-2xl) + var(--space-xs));
}

.company-quote-section {
  padding-top: calc(var(--space-2xl) - var(--space-xs));
  padding-bottom: calc(var(--space-2xl) - var(--space-xs));
}

body[data-page="empresa"] .section--tight {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

body[data-page="empresa"] .media-panel,
body[data-page="empresa"] .media-block,
body[data-page="empresa"] .floating-card,
body[data-page="empresa"] .quote-panel,
body[data-page="empresa"] .card,
body[data-page="empresa"] .button-link {
  border-radius: 0;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-s);
}

.site-footer {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--color-ink-soft);
  text-decoration-thickness: 1px;
}

.footer-grid {
  grid-template-columns: auto minmax(20rem, 1fr) auto;
  align-items: center;
  gap: var(--space-l) var(--space-xl);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-brand-block {
  display: grid;
  align-items: center;
}

.footer-copyright {
  color: var(--color-ink-soft);
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: right;
  justify-self: end;
}

.footer-links {
  justify-content: center;
  gap: 0.35rem 2rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.98rem;
}

.footer-links a:hover {
  color: var(--color-ink);
}

.placeholder-note {
  margin-top: var(--space-s);
}

@media (max-width: 1180px) {
  .hero__grid,
  .services-hero,
  .work-hero,
  .contact-hero,
  .company-hero,
  .company-section-head,
  .contact-grid,
  .home-contact__grid {
    column-gap: var(--space-l);
    gap: var(--space-l);
  }

  .hero__grid,
  .services-hero,
  .work-hero,
  .contact-hero,
  .company-hero,
  .company-section-head {
    max-width: 64rem;
  }

  .services-hero {
    grid-template-columns: minmax(0, 1.62fr) minmax(16rem, 0.84fr);
  }

  .work-hero {
    grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.9fr);
  }

  .contact-hero {
    grid-template-columns: minmax(0, 1.42fr) minmax(15rem, 0.78fr);
  }

  .company-hero {
    grid-template-columns: minmax(0, 1.22fr) minmax(18rem, 0.9fr);
  }
}

@media (max-width: 980px) {
  .container,
  .container-wide {
    width: min(100% - 1.5rem, var(--container-main));
  }

  .hero__grid,
  .services-hero,
  .work-hero,
  .contact-hero,
  .legal-layout,
  .split-grid,
  .work-systems,
  .contact-grid,
  .cta-grid,
  .footer-grid,
  .grid-cards,
  .service-grid,
  .phase-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .floating-card {
    margin: var(--space-m) 0 0;
  }

  .hero-title,
  .home-hero .hero-title,
  .services-hero .hero-title,
  .work-hero .hero-title,
  .company-hero .hero-title,
  .contact-hero__title {
    max-width: 100%;
    font-size: clamp(2.6rem, 9vw, 4.8rem);
    line-height: 0.97;
  }

  .section-title,
  .work-phase01-section .section-title,
  .work-phase02-section .section-title,
  .work-phase03-head .section-title,
  .legal-summary h2,
  .legal-section h2 {
    max-width: 100%;
    font-size: clamp(1.95rem, 6vw, 3.15rem);
    line-height: 1.02;
  }

  .hero-copy,
  .section-copy,
  .card-copy,
  .placeholder-note,
  .contact-hero__body .hero-copy,
  .services-hero__support,
  .work-hero__side .hero-copy,
  .services-hero__side .hero-copy {
    font-size: 1rem;
    line-height: 1.62;
  }

  .footer-meta {
    justify-items: start;
  }

  .company-hero {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    padding: 7rem 0 3.5rem;
    align-items: end;
  }

  .home-hero .hero__grid,
  .home-methodology .split-grid,
  .home-attributes .grid-cards,
  .home-contact__grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-hero .hero__lead,
  .home-hero .hero__side {
    grid-column: auto;
  }

  .home-hero .hero__side {
    justify-self: start;
    max-width: 100%;
  }

  .services-hero__side,
  .work-hero__side,
  .contact-hero__body,
  .company-hero__body,
  .services-intro,
  .home-contact__copy,
  .contact-form-shell,
  .home-contact__form,
  .legal-body--wide {
    max-width: 100%;
  }

  .company-hero__body {
    margin-top: var(--space-l);
  }

  .company-hero__media,
  .home-about .media-panel,
  .contact-side-stack,
  .contact-side-visual,
  .visual-anchor,
  .work-phase02-visual {
    width: 100%;
  }

  .home-about .split-grid {
    grid-template-columns: 1fr;
  }

  .home-about-visual {
    width: min(100%, 19rem);
    aspect-ratio: 5 / 8;
  }

  .site-footer {
    padding: var(--space-l) 0;
  }

  .footer-grid {
    gap: var(--space-m);
    align-items: start;
  }

  .footer-brand-block,
  .footer-nav,
  .footer-copyright {
    justify-self: start;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1.25rem;
  }

  .footer-copyright {
    text-align: left;
    justify-self: start;
  }

  .company-highlight {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: var(--space-m);
  }

  .legal-sidebar {
    position: static;
  }

  .legal-meta-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="politica-cookies"] .legal-layout--cookies {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }

  body[data-page="politica-cookies"] .legal-sidebar,
  body[data-page="politica-cookies"] .legal-body {
    width: 100%;
    max-width: 100%;
  }

  .company-section-head,
  .work-phase03-head,
  .services-cta,
  .contact-hero,
  .work-hero,
  .services-hero {
    gap: var(--space-l);
  }

  .company-section-head {
    grid-template-columns: 1fr;
    margin-bottom: var(--space-xl);
  }

  .grid-cards,
  .service-grid,
  .phase-grid,
  .detail-grid,
  .home-attributes .grid-cards {
    gap: var(--space-m);
  }

  .service-card,
  .company-specialty,
  .work-phase03-section .phase-card {
    min-height: auto;
  }

  .work-phase03-section .phase-card {
    aspect-ratio: auto;
  }

  .contact-visual-anchor__media {
    min-height: 19rem;
  }

  .visual-anchor__copy,
  .contact-visual-anchor__copy {
    width: min(100% - 2rem, 22rem);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .legal-section,
  body[data-page="politica-cookies"] .legal-section {
    padding: var(--space-l);
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    min-height: 4.75rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 0 0.75rem 0.9rem;
    background: rgba(251, 248, 242, 0.96);
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-s);
    padding: 1rem 0 0;
  }

  .site-nav a {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding: var(--space-2xl) 0;
  }

  .section,
  .section--tight,
  .site-footer {
    padding: var(--space-2xl) 0;
  }

  .hero-title,
  .home-hero .hero-title,
  .services-hero .hero-title,
  .work-hero .hero-title,
  .company-hero .hero-title,
  .contact-hero__title {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
    letter-spacing: -0.035em;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.65rem);
  }

  .eyebrow,
  .section-kicker,
  .card-number,
  .phase-label,
  .mini-label {
    letter-spacing: 0.16em;
  }

  .site-brand {
    font-size: 1.2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero__grid,
  .services-hero,
  .work-hero,
  .contact-hero,
  .company-hero,
  .company-section-head {
    max-width: 100%;
  }

  .form-actions .button-link,
  .contact-form-shell__button,
  .company-cta__link,
  .services-cta__link {
    width: 100%;
  }

  .contact-form-shell,
  .home-contact__form,
  .legal-summary,
  .legal-section,
  .quote-panel,
  .contact-card,
  .form-shell {
    padding: var(--space-m);
  }

  .media-panel,
  .media-block,
  .visual-panel,
  .media-banner {
    min-height: 16rem;
  }

  .home-about-visual {
    width: min(100%, 17rem);
  }

  .company-hero-visual {
    min-height: 21rem;
  }

  .floating-card.company-highlight {
    max-width: 13rem;
    padding: var(--space-m);
    transform: translate(-10%, 22%);
  }

  .company-highlight p {
    font-size: 1.05rem;
  }

  .contact-direct-card__value {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .contact-visual-anchor__copy {
    position: relative;
    bottom: auto;
    margin: calc(-1 * var(--space-l)) auto 0;
    transform: none;
    left: auto;
    right: auto;
    width: calc(100% - 1.5rem);
  }

  .contact-visual-anchor__media {
    min-height: 15rem;
  }

  .footer-grid {
    gap: 0.9rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .footer-links a,
  .footer-copyright {
    font-size: 0.92rem;
  }
}

@media (max-width: 560px) {
  .container,
  .container-wide {
    width: min(100% - 1rem, var(--container-main));
  }

  .site-header__inner {
    min-height: 4.25rem;
    gap: 0.75rem;
  }

  .nav-toggle {
    padding: 0.6rem 0.75rem;
  }

  .section,
  .section--tight,
  .site-footer {
    padding: var(--space-xl) 0;
  }

  .hero {
    padding: calc(var(--space-2xl) - var(--space-xs)) 0;
  }

  .hero-title,
  .home-hero .hero-title,
  .services-hero .hero-title,
  .work-hero .hero-title,
  .company-hero .hero-title,
  .contact-hero__title {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1;
  }

  body[data-page="politica-cookies"] .legal-summary,
  body[data-page="politica-cookies"] .legal-section,
  body[data-page="politica-cookies"] .legal-note-block {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy,
  .section-copy,
  .card-copy,
  .legal-section p,
  .legal-list {
    font-size: 0.96rem;
  }

  .card-title,
  .phase-title,
  .stack-note h3,
  .contact-card h3 {
    font-size: 1.45rem;
  }

  .method-step {
    gap: 0.9rem;
  }

  .method-step__number {
    width: 2.8rem;
    min-width: 2.8rem;
    height: 2.8rem;
    font-size: 1.25rem;
  }

  .home-domains .card-title,
  .company-specialty .card-title,
  .work-phase03-section .phase-title,
  body[data-page="servicios"] .service-card .card-title {
    font-size: 1.4rem;
  }

  .home-domains .card-number,
  body[data-page="servicios"] .service-card__number,
  .value-item__index {
    font-size: 1.7rem;
  }

  .legal-summary h2,
  .legal-section h2 {
    font-size: 1.6rem;
  }
}
