/* ========================
   GOOGLE FONTS
   ======================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500&display=swap');

/* ========================
   DESIGN TOKENS
   ======================== */

:root {
  --ink: #0D0F14;
  --surface: #171A21;
  --surface-2: #1F232C;
  --line: rgba(237,239,245,0.08);
  --line-strong: rgba(237,239,245,0.14);
  --violet: #5B6EF5;
  --violet-soft: rgba(91,110,245,0.16);
  --gold: #F0B94A;
  --gold-soft: rgba(240,185,74,0.14);
  --text: #EDEFF5;
  --muted: #9AA0AE;

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-badge: 6px;
  --radius-container: 20px;
}

/* ========================
   RESET & BASE
   ======================== */

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: underline; }
a:hover { opacity: 0.72; }

ul, ol { list-style: none; }

button { font: inherit; border: none; background: none; cursor: pointer; }

/* ========================
   TYPOGRAPHY
   ======================== */

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
}

h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  font-family: 'Inter', system-ui, sans-serif;
}

p {
  margin-bottom: 1.2rem;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

/* Eyebrow / label text */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ========================
   LAYOUT
   ======================== */

.container {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container--text {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
}

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

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

/* ========================
   NAVIGATION
   ======================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

/* Logo lockup */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 40px;
}

.nav-logo:hover { opacity: 0.75; }

.nav-logo svg { display: block; }

.nav-logo-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-logo-lab {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 2px 6px;
  border: 1px solid rgba(240,185,74,0.35);
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--muted);
  padding: 4px 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}

.nav-item > a.nav-link {
  cursor: pointer;
}

.nav-link:hover {
  color: var(--text);
  opacity: 1;
}

/* Dropdown arrow */
.has-dropdown > .nav-link::after {
  content: '↓';
  font-size: 0.6em;
  opacity: 0.45;
  margin-top: 1px;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  min-width: 260px;
  padding: 10px 0 6px;
  display: none;
  border-radius: var(--radius-card);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: var(--line);
  color: var(--text);
  opacity: 1;
}

.nav-dropdown-sep {
  height: 1px;
  background: var(--line);
  margin: 4px 12px;
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  padding: 8px;
  font-size: 1.375rem;
  line-height: 1;
  color: var(--text);
  margin-left: auto;
}

/* ========================
   BUTTONS
   ======================== */

.btn {
  display: inline-block;
  padding: 11px 22px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  line-height: 1.3;
  border: 1.5px solid transparent;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Gold / primary */
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: #e8b040;
  border-color: #e8b040;
  opacity: 1;
}

/* Violet / secondary */
.btn-secondary {
  background: var(--violet-soft);
  color: var(--violet);
  border-color: var(--violet);
}

.btn-secondary:hover {
  background: rgba(91,110,245,0.25);
  opacity: 1;
}

/* Outline on dark (text-colored border) */
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--muted);
  opacity: 1;
}

/* Light (for dark section CTAs) */
.btn-light {
  background: var(--text);
  color: var(--ink);
  border-color: var(--text);
}

.btn-light:hover {
  background: #d4d8e8;
  border-color: #d4d8e8;
  opacity: 1;
}

.btn-ghost-light {
  background: transparent;
  color: var(--text);
  border-color: rgba(237,239,245,0.3);
}

.btn-ghost-light:hover {
  border-color: rgba(237,239,245,0.7);
  opacity: 1;
}

/* ========================
   HE BOX (step numerator)
   ======================== */

.he-box {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.he-box--muted {
  border-color: rgba(240,185,74,0.3);
  color: rgba(240,185,74,0.4);
  border-style: dashed;
}

/* ========================
   HE SEPARATOR
   ======================== */

.he-separator {
  display: flex;
  align-items: center;
  margin: 48px 0;
}

.he-separator svg {
  display: block;
}

/* ========================
   IA CON CRITERIO BLOCK
   ======================== */

.criterio-block {
  background: var(--gold-soft);
  border-left: 2px solid var(--gold);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 var(--radius-badge) var(--radius-badge) 0;
}

.criterio-block p {
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* ========================
   HERO
   ======================== */

.hero {
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================
   QUE HACEMOS
   ======================== */

.services-intro {
  margin-bottom: 52px;
}

.services-intro h2 {
  margin-bottom: 16px;
}

.services-intro p {
  color: var(--muted);
  max-width: 680px;
  font-size: 1.0625rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.service-block {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  padding: 36px;
  border-radius: var(--radius-card);
}

.service-block h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: var(--text);
}

.service-tagline {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 28px;
  line-height: 1.55;
}

.service-questions {
  margin-bottom: 24px;
}

.service-questions li {
  padding: 9px 0;
  font-size: 0.9375rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

.service-questions li:first-child {
  border-top: 1px solid var(--line);
}

.service-close {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 20px;
  line-height: 1.55;
}

.service-keywords {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
  text-transform: uppercase;
}

/* ========================
   COMO TRABAJAMOS
   ======================== */

.steps-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 56px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 680px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

.step-body strong {
  color: var(--text);
  font-weight: 600;
}

/* Dashed divider before optional step */
.step-divider--dashed {
  border: none;
  border-top: 1px dashed var(--line-strong);
  margin: 8px 0;
  max-width: 680px;
}

.step--optional .he-box {
  border-color: rgba(240,185,74,0.3);
  color: rgba(240,185,74,0.4);
  border-style: dashed;
}

.step--optional .step-body p {
  color: rgba(154,160,174,0.7);
}

.step-lockup-note {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
  font-style: italic;
  max-width: 680px;
}

/* ========================
   QUE RESOLVEMOS (home case cards)
   ======================== */

.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  color: var(--muted);
  max-width: 540px;
  font-size: 1rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.case-card {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: var(--radius-card);
}

.case-category {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-card h3 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  color: var(--text);
}

.case-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin: 0;
}

.case-card .case-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--violet);
  margin-top: 4px;
}

.case-card .case-link:hover {
  opacity: 0.8;
}

.cases-footer {
  text-align: right;
}

/* ========================
   QUIENES SOMOS (home snippet)
   ======================== */

.who-block {
  max-width: 640px;
}

.who-block h2 {
  margin-bottom: 24px;
}

.who-block p {
  color: var(--muted);
}

.who-block .btn {
  margin-top: 32px;
}

/* ========================
   CTA FINAL
   ======================== */

.cta-final-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.cta-final-inner h2 {
  color: var(--text);
  margin-bottom: 18px;
  font-size: 1.875rem;
}

.cta-final-inner p {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* ========================
   PAGE HEADER (inner pages)
   ======================== */

.page-header {
  padding-top: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.page-header .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  max-width: 720px;
}

.page-header .subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ========================
   CASE BADGES
   ======================== */

.case-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: 5px 10px;
  background: var(--surface-2);
  border-radius: var(--radius-badge);
  text-transform: uppercase;
}

/* ========================
   CASE PAGE CONTENT
   ======================== */

.case-content {
  padding-top: 64px;
  padding-bottom: 96px;
}

.case-section {
  max-width: 720px;
  margin-bottom: 0;
}

.case-section + .case-section {
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.case-section h2 {
  font-size: 1.1875rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--text);
}

.case-section p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.case-applications {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.case-application h4 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
  color: var(--text);
}

.case-application p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.case-cta {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

/* ========================
   SERVICE PAGES
   ======================== */

.service-page-body {
  padding-top: 64px;
  padding-bottom: 96px;
}

.service-page-section {
  max-width: 720px;
  margin-bottom: 0;
}

.service-page-section + .service-page-section {
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.service-page-section h2 {
  font-size: 1.1875rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--text);
}

.service-page-section h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.service-page-section p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.models-group {
  margin: 20px 0;
}

.models-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  margin-top: 18px;
  display: block;
}

.models-list {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Three forms blocks */
.form-block {
  border-left: 2px solid var(--violet);
  padding-left: 20px;
  margin: 28px 0;
}

.form-block h3 {
  margin-top: 0;
  color: var(--text);
}

.service-keywords-block {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 10px 0;
  line-height: 1.7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 16px 0;
  text-transform: uppercase;
}

.service-ctas {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Consultoría link inline */
.consultoria-link-block {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.consultoria-link-block p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ========================
   FAQ PAGE
   ======================== */

.faq-body {
  padding-top: 64px;
  padding-bottom: 96px;
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
}

details.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 4px 0 24px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-answer p {
  margin-bottom: 0.8rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-section-title {
  margin-top: 56px;
  margin-bottom: 8px;
}

/* ========================
   NOSOTROS PAGE
   ======================== */

.nosotros-body {
  padding-top: 72px;
  padding-bottom: 96px;
}

.nosotros-section {
  max-width: 720px;
}

.nosotros-section + .nosotros-section {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.nosotros-section h2 {
  margin-bottom: 24px;
}

.nosotros-section p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.nosotros-section p + p {
  margin-top: 0;
}

.commitments {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.commitment {
  padding-left: 20px;
  border-left: 2px solid var(--violet);
}

.commitment h4 {
  margin-bottom: 6px;
  color: var(--text);
}

.commitment p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.photo-placeholder {
  margin-top: 40px;
  border: 1px dashed var(--line-strong);
  background: var(--surface-2);
  padding: 48px 32px;
  max-width: 480px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  border-radius: var(--radius-card);
}

.photo-placeholder .placeholder-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.nosotros-cta {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}

/* ========================
   CONTACTO PAGE
   ======================== */

.contacto-layout {
  padding-top: 64px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contacto-info h2 {
  margin-bottom: 20px;
}

.contacto-info p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.form-field .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  font: inherit;
  font-size: 0.9375rem;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 6px;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--violet);
}

.form-field textarea {
  resize: vertical;
  min-height: 128px;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ========================
   CASOS INDEX PAGE
   ======================== */

.casos-index-body {
  padding-top: 56px;
  padding-bottom: 96px;
}

.casos-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.caso-card {
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: var(--radius-card);
}

.caso-card .category {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.caso-card h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  color: var(--text);
}

.caso-card .description {
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1;
  margin: 0;
  line-height: 1.55;
}

.caso-card .cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--violet);
  text-decoration: none;
}

.caso-card .cta:hover {
  opacity: 0.8;
}

/* ========================
   PLACEHOLDER PAGES
   ======================== */

.placeholder-body {
  padding-top: 88px;
  padding-bottom: 120px;
  text-align: center;
}

.placeholder-tag {
  display: inline-block;
  background: var(--surface-2);
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-badge);
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
}

.placeholder-body h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.placeholder-body p {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto;
  font-size: 0.9375rem;
}

/* ========================
   CONSULTORÍA PAGE
   ======================== */

.consultoria-body {
  padding-top: 64px;
  padding-bottom: 96px;
}

.consultoria-section {
  max-width: 720px;
  margin-bottom: 0;
}

.consultoria-section + .consultoria-section {
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.consultoria-section h2 {
  font-size: 1.1875rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--text);
}

.consultoria-section p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.consultoria-section h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text);
}

.consultoria-deliverables {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.consultoria-deliverable {
  padding-left: 20px;
  border-left: 2px solid var(--line-strong);
}

.consultoria-deliverable h4 {
  color: var(--text);
  margin-bottom: 4px;
}

.consultoria-deliverable p {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
}

.consultoria-ctas {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}

/* ========================
   FOOTER
   ======================== */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-logo:hover { opacity: 0.72; }

.footer-logo-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
  opacity: 1;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(154,160,174,0.5);
  width: 100%;
  margin-top: 8px;
  font-family: 'IBM Plex Mono', monospace;
}

/* ========================
   RESPONSIVE
   ======================== */

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

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

  .contacto-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .consultoria-link-block {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  html { font-size: 16px; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface-2);
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .nav-links.is-open .has-dropdown .nav-dropdown {
    position: static;
    display: flex;
    flex-direction: column;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: unset;
    background: transparent;
  }

  .nav-links.is-open .nav-cta {
    display: block;
    margin-top: 12px;
    margin-left: 0;
  }

  .hero { padding-top: 64px; padding-bottom: 64px; }
  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1.0625rem; }

  .section { padding-top: 64px; padding-bottom: 64px; }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.5rem; }

  .page-header h1 { font-size: 2rem; }
  .cta-final-inner h2 { font-size: 1.625rem; }
}

@media (max-width: 560px) {
  .cases-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .service-ctas { flex-direction: column; }
}
