/* === Design tokens === */
:root {
  --bg: #f6f4ef;
  --bg-2: #efece4;
  --ink: #1a1a2e;
  --ink-soft: #3a3a52;
  --muted: #6b6b80;
  --line: #d8d4c8;
  --line-soft: #e7e3d8;
  --violet: #6c6db0;
  --violet-deep: #4f508c;
  --violet-soft: #d8d4e8;
  --cream: #faf8f3;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: 'Apercu Condensed', 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.serif { font-family: 'Ufficio Display', Georgia, serif; font-weight: 400; letter-spacing: -0.015em; }
.serif-italic { font-family: 'Ufficio Display', Georgia, serif; font-style: italic; font-weight: 400; }
.mono { font-family: 'JetBrains Mono', 'Geist Mono', ui-monospace, monospace; }

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--violet-deep);
}

/* === Header === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(246, 244, 239, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
  padding: 14px 40px;
}
.site-header.cover-mode { color: #fff; }
.site-header.cover-mode .nav a { color: rgba(255,255,255,0.85); }
.site-header.cover-mode .nav a:hover { color: #fff; }
.site-header.cover-mode .lang button { color: rgba(255,255,255,0.7); }
.site-header.cover-mode .lang button.active { color: #fff; }
.site-header.cover-mode .brand-text { color: #fff; }

.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand-mark { width: 44px; height: 26px; display: block; }
.brand-text {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-text .last { font-style: italic; }

.nav {
  display: flex; align-items: center; gap: 36px;
}
.nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav a:hover { color: var(--violet-deep); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header-right { display: flex; align-items: center; gap: 24px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 12px; letter-spacing: 0.08em; }
.lang button {
  padding: 4px 6px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}
.lang button.active { color: var(--ink); }
.lang .sep { color: var(--muted); opacity: 0.5; }

.cta-mini {
  padding: 9px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  transition: background 0.25s, color 0.25s;
}
.cta-mini:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cover-mode .cta-mini:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* === Cover === */
.cover {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
}
.cover-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('assets/avion-ciudad.jpeg');
  will-change: transform;
  animation: slowZoom 18s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.08); }
}
.cover-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,25,0.45) 0%, rgba(10,10,25,0.15) 30%, rgba(10,10,25,0.35) 65%, rgba(10,10,25,0.85) 100%);
}
.cover-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  padding: 140px 56px 56px;
}

.cover-meta {
  display: flex; justify-content: space-between; align-items: flex-start;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.cover-meta .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #b8e986; margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 12px rgba(184, 233, 134, 0.6);
}

.cover-bottom {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 80px;
  align-items: end;
}
.cover-logo-block {
  display: flex; align-items: center; gap: 18px;
}
.cover-logo-block .mark { width: 80px; height: 48px; }
.cover-logo-block .name {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
}
.cover-logo-block .name .last { font-style: italic; opacity: 0.85; display: block; }
.cover-logo-block .tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  font-weight: 500;
}

.cover-text {
  max-width: 720px;
}
.cover-text h1 {
  font-family: 'Ufficio Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.cover-text h1 em {
  font-style: italic;
  color: var(--violet-soft);
}
.cover-text p {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  font-weight: 300;
}

.cover-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}
.cover-cta:hover { background: var(--violet); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(108,109,176,0.45); }
.cover-cta .arrow { transition: transform 0.3s; }
.cover-cta:hover .arrow { transform: translateX(4px); }

.cover-scroll {
  position: absolute;
  bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.cover-scroll .line {
  width: 1px; height: 36px; background: rgba(255,255,255,0.4);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* === Section base === */
section { position: relative; }
.section {
  padding: 120px 56px;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.section-head .label {
  display: flex; align-items: center; gap: 12px;
}
.section-head .label .num {
  font-family: 'Ufficio Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--violet);
}
.section-head h2 {
  font-family: 'Ufficio Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.section-head h2 em { font-style: italic; color: var(--violet-deep); }

/* === About === */
.about {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--violet) 0%, var(--violet-deep) 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 80px -30px rgba(79, 80, 140, 0.5);
}
.about-portrait::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(26,26,46,0.4), transparent 60%);
}
.about-portrait .mark-big {
  position: relative;
  z-index: 2;
  width: 60%;
  opacity: 0.95;
}
.about-portrait .corner {
  position: absolute;
  bottom: 24px; left: 24px;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.about-portrait .corner.tr {
  bottom: auto; top: 24px; left: auto; right: 24px;
}

.about-copy h3 {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 18px 0 28px;
  text-wrap: balance;
}
.about-copy h3 em { font-style: italic; color: var(--violet-deep); }
.about-copy p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 540px;
}

.signature {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
}
.signature-name {
  font-family: 'Ufficio Display', Georgia, serif;
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
}
.signature-role {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* === Values === */
.values {
  background: var(--bg-2);
  padding: 120px 56px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value {
  background: var(--bg-2);
  padding: 44px 36px 48px;
  display: flex; flex-direction: column; gap: 18px;
  transition: background 0.3s, transform 0.3s;
  cursor: default;
}
.value:hover { background: var(--cream); }
.value-num {
  font-family: 'Ufficio Display', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--violet);
}
.value h4 {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.value p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.value-icon { width: 28px; height: 28px; color: var(--violet); }

/* === Solutions === */
.solutions {
  background: var(--bg);
  padding: 120px 56px;
}
.tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
}
.tab {
  padding: 18px 0;
  margin-right: 56px;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--muted);
  position: relative;
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 10px;
  transition: color 0.25s;
}
.tab .tab-num {
  font-family: 'Ufficio Display', Georgia, serif;
  font-style: italic;
  font-size: 12px;
  color: var(--violet);
  opacity: 0.6;
}
.tab.active { color: var(--ink); }
.tab.active .tab-num { opacity: 1; }
.tab::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.tab.active::after { transform: scaleX(1); }
.tab:hover { color: var(--ink); }

.tab-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: start;
}
.tab-intro h3 {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.tab-intro h3 em { font-style: italic; color: var(--violet-deep); }
.tab-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -20px rgba(26,26,46,0.18);
  border-color: var(--violet-soft);
}
.service-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.service-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,26,46,0.25) 100%);
}
.service-body {
  padding: 28px 26px 30px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.service-eye {
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--violet);
  font-weight: 500;
}
.service h4 {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.service p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}
.service-arrow {
  margin-top: 8px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--violet-deep);
  transition: gap 0.3s;
}
.service:hover .service-arrow { gap: 14px; }

/* === Why International === */
.why {
  background: var(--ink);
  color: var(--bg);
  padding: 130px 56px;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(108,109,176,0.18), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(108,109,176,0.08), transparent 50%);
  pointer-events: none;
}
.why-inner { position: relative; z-index: 2; }
.why .section-head h2 { color: var(--bg); }
.why .section-head h2 em { color: var(--violet-soft); }
.why .section-head .label .num { color: var(--violet-soft); }
.why .eyebrow { color: var(--violet-soft); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}
.why-item {
  background: var(--ink);
  padding: 40px 32px 44px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.3s;
}
.why-item:hover { background: #232340; }
.why-item .num {
  font-family: 'Ufficio Display', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: var(--violet-soft);
  margin-bottom: 6px;
}
.why-item h4 {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--bg);
}
.why-item p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(246,244,239,0.6);
}

/* === Contact === */
.contact {
  background: var(--bg);
  padding: 0;
  position: relative;
}
.contact-banner {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 56px 110px;
  position: relative;
  overflow: hidden;
}
.contact-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(108,109,176,0.22), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(108,109,176,0.10), transparent 50%);
  pointer-events: none;
}
.contact-banner-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: end;
  max-width: 1400px;
  margin: 0 auto;
}
.contact-banner .eyebrow { color: var(--violet-soft); display: block; margin-bottom: 18px; }
.contact-banner h2 {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: clamp(44px, 5.5vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--bg);
  text-wrap: balance;
}
.contact-banner h2 em { font-style: italic; color: var(--violet-soft); }
.contact-banner .lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(246,244,239,0.7);
  max-width: 520px;
  font-weight: 300;
  margin-top: 4px;
}

.contact-body {
  padding: 100px 56px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-card {
  display: flex; flex-direction: column;
  background: var(--bg);
}
.contact-card .eyebrow { display: block; margin-bottom: 16px; }
.contact-card h3 {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.contact-card h3 em { font-style: italic; color: var(--violet-deep); }
.contact-card .intro {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
}

.margarita-card {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(216,212,232,0.35), rgba(246,244,239,0.4));
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  margin-bottom: 36px;
}
.margarita-card .avatar {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 10px 24px -8px rgba(79,80,140,0.4);
}
.margarita-card .avatar svg { width: 42px; height: 26px; }
.margarita-card .info { flex: 1; min-width: 0; }
.margarita-card .name {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.margarita-card .role {
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--violet-deep);
  margin-top: 4px;
  font-weight: 500;
}
.margarita-card .creds {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.5;
}

.quick-contacts {
  display: flex; flex-direction: column;
}
.qc-row {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 16px 18px 0;
  border-top: 1px solid var(--line);
  transition: padding 0.3s, background 0.3s, border-color 0.3s;
  position: relative;
}
.qc-row:last-child { border-bottom: 1px solid var(--line); }
.qc-row:hover { padding-left: 14px; background: var(--cream); border-color: var(--violet-soft); }
.qc-row .ico {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}
.qc-row:hover .ico { background: var(--violet); color: #fff; }
.qc-row .ico svg { width: 16px; height: 16px; }
.qc-row .text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.qc-row .label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.qc-row .value {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.15;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.qc-row .value.email { font-size: 16px; }
.qc-row .arrow { color: var(--muted); transition: transform 0.3s, color 0.3s; flex-shrink: 0; }
.qc-row:hover .arrow { transform: translateX(4px); color: var(--violet-deep); }

.response-note {
  margin-top: 28px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.response-note .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6db07d;
  box-shadow: 0 0 0 0 rgba(109, 176, 125, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(109, 176, 125, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(109, 176, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 176, 125, 0); }
}

/* Form */
.contact-form {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 36px 32px;
}
.contact-form .eyebrow { margin-bottom: 10px; display: block; }
.contact-form h3 {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 14.5px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 0 10px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
  resize: none;
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); }
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 14px, calc(100% - 7px) 14px; background-size: 5px 5px; background-repeat: no-repeat; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.btn-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.3s, transform 0.3s;
}
.btn-submit:hover { background: var(--violet-deep); transform: translateY(-1px); }

.success-card {
  text-align: center;
  padding: 40px 20px;
}
.success-card .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet-deep);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.success-card h4 {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 10px;
}
.success-card p { color: var(--ink-soft); font-size: 14px; }

/* === Footer === */
.footer {
  background: var(--ink);
  color: rgba(246,244,239,0.7);
  padding: 60px 56px 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h5 {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer-mark { width: 72px; height: 42px; margin-bottom: 22px; opacity: 0.92; }
.footer-brand .name {
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: 22px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.footer-brand .name em { font-style: italic; opacity: 0.8; }
.footer-brand p { font-size: 13.5px; max-width: 360px; line-height: 1.55; }
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom .mono { letter-spacing: 0.05em; }

/* === Animations === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* === Responsive === */
@media (max-width: 1100px) {
  .section, .values, .solutions, .why, .contact { padding-left: 32px; padding-right: 32px; }
  .site-header, .site-header.scrolled { padding-left: 24px; padding-right: 24px; }
  .cover-inner { padding: 120px 32px 40px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .contact-body { grid-template-columns: 1fr; gap: 60px; }
  .contact-banner { padding: 80px 32px 90px; }
  .contact-banner-inner { grid-template-columns: 1fr; gap: 30px; }
  .contact-body { padding: 70px 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cover-bottom { grid-template-columns: 1fr; gap: 40px; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .tabs { overflow-x: auto; }
  .tab { margin-right: 32px; white-space: nowrap; }
  .tab-intro { grid-template-columns: 1fr; gap: 24px; }
}

/* ════════════════════════════════════════════════════════════
   v2 — Fluid spacing, mobile menu, responsive overhaul
   These rules come after the originals so they cascade win.
   ════════════════════════════════════════════════════════════ */

/* ── Fluid section padding (clamp keeps it sane across viewports) ── */
.section,
.values,
.solutions,
.why { padding: clamp(64px, 9vw, 130px) clamp(20px, 4.5vw, 56px); }
.contact-banner { padding: clamp(56px, 8vw, 110px) clamp(20px, 4.5vw, 56px) clamp(64px, 9vw, 120px); }
.contact-body { padding: clamp(56px, 8vw, 100px) clamp(20px, 4.5vw, 56px); }
.footer { padding: clamp(40px, 6vw, 64px) clamp(20px, 4.5vw, 56px) clamp(24px, 3vw, 36px); }
.site-header { padding: clamp(14px, 2vw, 22px) clamp(20px, 4.5vw, 40px); }
.site-header.scrolled { padding: clamp(10px, 1.4vw, 14px) clamp(20px, 4.5vw, 40px); }
.cover-inner { padding: clamp(90px, 13vw, 140px) clamp(20px, 4.5vw, 56px) clamp(36px, 5vw, 56px); }

/* ── Cover height: use small viewport unit to dodge mobile chrome ── */
.cover {
  height: 100vh;
  height: 100svh;
  min-height: clamp(560px, 92vh, 880px);
}

/* ── Smooth scroll behavior fallback for browsers without Lenis ── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ── Gate hover-only effects to devices that actually hover ── */
@media (hover: none) {
  .service:hover { transform: none; box-shadow: none; border-color: var(--line-soft); }
  .service:hover .service-arrow { gap: 8px; }
  .value:hover { background: var(--bg-2); }
  .why-item:hover { background: var(--ink); }
  .qc-row:hover { padding-left: 0; background: transparent; border-color: var(--line); }
  .qc-row:hover .ico { background: var(--violet-soft); color: var(--violet-deep); }
  .qc-row:hover .arrow { transform: none; color: var(--muted); }
  .cover-cta:hover { background: #fff; color: var(--ink); transform: none; box-shadow: none; }
  .btn-submit:hover { background: var(--ink); transform: none; }
  .nav a:hover::after { transform: scaleX(0); }
}

/* ── Touch target sizing on small screens ── */
@media (max-width: 768px) {
  .qc-row { padding: 22px 16px 22px 0; }
  .lang button { padding: 8px 8px; }
  .cta-mini { padding: 11px 20px; }
}

/* ── Mobile menu toggle (hamburger) ── */
.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  margin-left: 4px;
  border-radius: 50%;
  transition: background 0.25s;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease;
  transform-origin: center;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; width: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Slide-in mobile nav ── */
.mobile-nav {
  position: fixed; inset: 0;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 90;
  display: flex;
  align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav nav {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 24px 32px;
  width: 100%; max-width: 480px;
}
.mobile-nav a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: 'Ufficio Display', Georgia, serif;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open a { opacity: 1; transform: translateY(0); }
.mobile-nav a .num {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--violet-soft);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  min-width: 28px;
}
.mobile-nav .mobile-cta {
  margin-top: 18px;
  padding: 16px 24px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  font-family: 'Apercu Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none;
  justify-content: center;
}
.mobile-nav .mobile-cta .num { display: none; }

/* ── Misc niceties for very small phones ── */
@media (max-width: 480px) {
  .brand-text { display: none; }
  .cover-meta { font-size: 9.5px; }
  .cover-meta > div + div { display: none; }
  .cover-logo-block .mark { width: 64px; height: 38px; }
  .cover-logo-block .name { font-size: 22px; }
  .cover-text h1 { font-size: clamp(30px, 9vw, 44px); }
  .cover-cta { padding: 14px 22px; font-size: 12.5px; }
  .section-head { margin-bottom: 48px; gap: 16px; }
  .about { padding-top: 70px; padding-bottom: 70px; }
  .about-portrait { aspect-ratio: 1/1; max-width: 360px; margin: 0 auto; }
  .signature { margin-top: 24px; padding-top: 20px; }
  .contact-banner h2 { font-size: clamp(36px, 11vw, 48px); }
  .contact-card h3 { font-size: 26px; }
  .contact-form { padding: 28px 22px; }
  .quick-contacts .qc-row .value { font-size: 17px; }
  .quick-contacts .qc-row .value.email { font-size: 13.5px; }
  .margarita-card { padding: 20px 20px; gap: 16px; }
  .margarita-card .avatar { width: 56px; height: 56px; }
  .margarita-card .avatar svg { width: 34px; height: 22px; }
  .margarita-card .name { font-size: 19px; }
  .footer-mark { width: 60px; height: 36px; }
  .footer-brand .name { font-size: 19px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; text-align: left; }
}

/* ── Tablet portrait ── */
@media (min-width: 641px) and (max-width: 900px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

/* ── Tablet landscape / small laptop: hide desktop nav, show hamburger ── */
@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .cta-mini { display: none; }
  .header-right { gap: 14px; }
  .cover-bottom { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .cover-bottom .cover-cta { justify-self: start; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .contact-banner-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-body { grid-template-columns: 1fr; gap: 56px; }
  .form-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .tabs { gap: 0; padding-bottom: 4px; }
  .tab { margin-right: 28px; padding: 16px 0; font-size: 13.5px; }
  .signature { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── Large desktop polish: wider content rails ── */
@media (min-width: 1600px) {
  .section, .values, .solutions, .why { padding-left: clamp(56px, 6vw, 120px); padding-right: clamp(56px, 6vw, 120px); }
  .contact-banner, .contact-body { max-width: 1600px; }
}

/* ── Tilt cards need transform-style ── */
.service { transform-style: preserve-3d; will-change: transform; }
.service-img { transition: transform 0.5s ease; }

/* ── Lenis: html lock-up rules (recommended) ── */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }


/* ════════════════════════════════════════════════════════════
   v3 — SISTEMA DE MARCA OFICIAL (BrandBook Margarita Sanmartín)
   Tipografía: Ufficio Display (títulos) + Apercu Condensed (UI)
   Paleta: primaria + secundaria del manual de identidad
   ════════════════════════════════════════════════════════════ */

/* WOFF2 (render limpio + ~50KB) — fuentes EXACTAS del brandbook */
@font-face {
  font-family: 'Ufficio Display';
  src: url('assets/fonts/UfficioDisplay-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Ufficio Display';
  src: url('assets/fonts/UfficioDisplay-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Ufficio Display';
  src: url('assets/fonts/UfficioDisplay-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Apercu Condensed';
  src: url('assets/fonts/ApercuCondensed-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Apercu Condensed';
  src: url('assets/fonts/ApercuCondensed-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Apercu Condensed';
  src: url('assets/fonts/ApercuCondensed-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Abel';
  src: url('assets/fonts/Abel-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ── Tokens de marca (mismos nombres → cascada gana sobre los originales) ── */
:root {
  --bg:          #f4efe9;   /* nude aclarado (familia #e9dbd4) */
  --bg-2:        #ece3d8;
  --ink:         #222a1e;   /* primaria · verde-tinta (Acompañamiento real) */
  --ink-soft:    #41463a;
  --muted:       #8a8073;
  --line:        #dbd1c3;
  --line-soft:   #e8dfd1;
  --violet:      #706aa9;   /* primaria · periwinkle */
  --violet-deep: #54508a;
  --violet-soft: #d7d4e9;   /* secundaria · lavanda (Claridad financiera) */
  --cream:       #faf6ee;
  --white:       #ffffff;
  /* Tokens nuevos del manual */
  --brand:       #5d1b13;   /* primaria · vino (Protección estratégica) — color hero */
  --brand-soft:  #8a3a2e;
  --mint:        #cce2d6;   /* primaria · menta (Visión a largo plazo) */
  --gold:        #f2c04a;   /* primaria · dorado */
  --nude:        #e9dbd4;   /* secundaria · nude */
}

/* ── SISTEMA TIPOGRÁFICO EXACTO DEL BRANDBOOK (pp. 49–50) ──
   Primaria   Ufficio Display  → títulos/logotipo (Bold/Semi-Bold)
   Secundaria Apercu Condensed → servicios/taglines/labels (Medium, UPPERCASE)
   Texto corrido  Abel Regular → párrafos (legibilidad) ──            */
body {
  font-family: 'Abel', 'Apercu Condensed', -apple-system, sans-serif;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Secundaria — Apercu Condensed Pro Medium en acentos/labels/taglines */
.eyebrow, .cover-meta, .service-eye, .field label, .qc-row .label,
.footer h5, .signature-role, .margarita-card .role, .tab,
.cta-mini, .cover-cta, .btn-submit, .mobile-nav .mobile-cta,
.cover-scroll, .about-portrait .corner, .cover-logo-block .tag,
.lang, .response-note, .footer-bottom .mono, .footer-bottom {
  font-family: 'Apercu Condensed', sans-serif;
  font-weight: 500;
}

/* Texto corrido — Abel Regular, interlínea cómoda (manual: legibilidad) */
p, .nav a, .field input, .field select, .field textarea,
.qc-row .value, .footer ul a, .footer-brand p,
.contact-banner .lede, .contact-card .intro {
  font-family: 'Abel', sans-serif;
}
p { line-height: 1.6; }
.nav a, .field input, .field select, .field textarea { letter-spacing: 0.01em; }

/* Brandbook = tipo MONOCROMO sobre paneles de color (sin palabras de
   otro color dentro del título). Énfasis = mismo color, peso Bold. */
.serif, .serif-italic { font-family: 'Ufficio Display', Georgia, serif; font-style: normal; }
h1 em, h2 em, h3 em,
.cover-text h1 em, .section-head h2 em, .about-copy h3 em,
.tab-intro h3 em, .contact-banner h2 em, .contact-card h3 em {
  font-style: normal;
  color: inherit;
  font-weight: 700;
}

/* Acentos numéricos → upright Ufficio */
.section-head .label .num,
.value-num, .tab .tab-num, .why-item .num,
.signature-name { font-style: normal; }
.signature-name { font-family: 'Ufficio Display', Georgia, serif; font-weight: 600; }

/* Eyebrows/labels — Apercu Condensed, tono sobrio (no resaltan sobre el título) */
.eyebrow { color: var(--ink-soft); font-family: 'Apercu Condensed', sans-serif; font-weight: 500; }
.why .eyebrow, .contact-banner .eyebrow { color: var(--mint); }
.section-head .label .num { color: var(--ink-soft); }
.why .section-head .label .num { color: var(--mint); }

/* Títulos: peso Semi-Bold predominante (lineamiento del manual) */
.cover-text h1, .section-head h2, .about-copy h3, .tab-intro h3,
.contact-banner h2, .contact-card h3, .contact-form h3,
.value h4, .service h4, .why-item h4, .success-card h4,
.brand-text, .cover-logo-block .name, .footer-brand .name {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cover-text h1, .contact-banner h2 { font-weight: 700; }

/* ── Logo oficial: ratio real ≈ 4:1 (antes el monograma era 1.7:1) ── */
.brand-mark   { width: 116px; height: 29px; }
.cover-logo-block .mark { width: 168px; height: 42px; }
.footer-mark  { width: 150px; height: 38px; opacity: 0.95; }
.about-portrait .mark-big { width: 62%; height: auto; }
.avatar .avatar-mark { width: 46px; height: auto; }

/* La paleta de valores ahora son 3 (no 4) */
.values-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }

/* Acento de marca en interacciones */
.nav a:hover { color: var(--brand); }
.service:hover { border-color: var(--brand-soft); }
.cover-cta:hover { background: var(--brand); box-shadow: 0 14px 40px rgba(93,27,19,0.4); }
.btn-submit:hover { background: var(--brand); }
.qc-row:hover .ico { background: var(--brand); }
.about-portrait { background: linear-gradient(160deg, var(--brand) 0%, #3c130d 100%); }
.margarita-card .avatar { background: linear-gradient(135deg, var(--brand) 0%, #3c130d 100%); }
.margarita-card { background: linear-gradient(135deg, rgba(215,212,233,0.4), rgba(204,226,214,0.35)); }

/* ════════════════════════════════════════════════════════════
   v4 — Display font: UFFICIO DISPLAY (brandbook, WOFF2)
   Margarita pidió fidelidad estricta al manual → títulos en
   la tipografía primaria oficial, ya optimizada a WOFF2.
   ════════════════════════════════════════════════════════════ */
:root {
  --font-display: 'Ufficio Display', Georgia, sans-serif;
}

.serif, .serif-italic,
.brand-text, .cover-logo-block .name, .footer-brand .name,
.cover-text h1, .section-head h2, .section-head .label .num,
.about-copy h3, .signature-name,
.value-num, .value h4, .tab .tab-num, .tab-intro h3,
.service h4, .why-item .num, .why-item h4,
.contact-banner h2, .contact-card h3, .contact-form h3,
.success-card h4, .margarita-card .name {
  font-family: var(--font-display);
  font-style: normal;
}

/* Schibsted Grotesk tiene más cuerpo → afinamos peso/tracking display */
.cover-text h1, .contact-banner h2 { font-weight: 700; letter-spacing: -0.025em; }
.section-head h2, .about-copy h3, .tab-intro h3 { font-weight: 600; letter-spacing: -0.02em; }
.value h4, .service h4, .why-item h4, .contact-card h3,
.contact-form h3, .success-card h4 { font-weight: 600; letter-spacing: -0.015em; }
.brand-text, .cover-logo-block .name, .footer-brand .name { font-weight: 600; }

/* Cover: énfasis MONOCROMO (brandbook) — mismo blanco, peso Bold */
.cover-text h1 em { color: inherit; font-weight: 700; }

/* ════════════════════════════════════════════════════════════
   v5 — Logotipo oficial (wordmark PNG, ratio ≈ 2.73:1)
   Reemplaza imagotipo+texto en header, cover, footer, retrato.
   ════════════════════════════════════════════════════════════ */
.wordmark { display: block; height: auto; width: auto; user-select: none; -webkit-user-drag: none; }

/* Header: swap negro↔blanco según modo (cover vs scrolled) */
.brand { position: relative; }
.brand-logo {
  height: clamp(20px, 2.4vw, 26px); width: auto;
  transition: opacity 0.35s ease;
}
.brand-logo--light { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.site-header .brand-logo--dark  { opacity: 1; }   /* fondo claro → logo negro */
.site-header .brand-logo--light { opacity: 0; }   /* blanco oculto */
.site-header.cover-mode .brand-logo--dark  { opacity: 0; }
.site-header.cover-mode .brand-logo--light { opacity: 1; }  /* sobre foto → blanco */

/* Cover: wordmark blanco arriba, tagline debajo */
.cover-logo-block { flex-direction: column; align-items: flex-start; gap: 12px; }
.cover-wordmark { width: clamp(180px, 20vw, 280px); }
.cover-logo-block .tag { margin-top: 0; }

/* Retrato "Quiénes somos": wordmark blanco centrado */
.about-portrait .mark-big {
  width: min(70%, 320px); height: auto;
  object-fit: contain;
}

/* Footer: wordmark blanco */
.footer-wordmark { width: clamp(170px, 16vw, 220px); margin-bottom: 20px; }

@media (max-width: 480px) {
  .brand-logo { height: 19px; }
  .cover-wordmark { width: 200px; }
  .footer-wordmark { width: 170px; }
}

/* ════════════════════════════════════════════════════════════
   v6 — Ajustes cover (feedback Margarita, screenshot)
   ════════════════════════════════════════════════════════════ */
/* 1 · Logo del header más grande */
.brand-logo { height: clamp(32px, 3.6vw, 46px); }
@media (max-width: 480px) { .brand-logo { height: 28px; } }

/* 2 · Cover-meta: solo "Medellín · Latam · Global" a la derecha */
.cover-meta { justify-content: flex-end; }
.cover-meta-right { text-align: right; }

/* 3 · Texto del inicio + subtexto + CTA centrados y centrados vertical */
.cover-bottom {
  margin-top: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.cover-text {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.cover-text p {
  margin: 0 auto;
  max-width: 620px;
}
.cover-text .cover-cta { margin-top: 34px; }

/* 4 · Headline un poco más grande */
.cover-text h1 {
  font-size: clamp(42px, 5vw, 76px);
  margin-bottom: 26px;
}

/* 5 · "compañías globales." destacado en dorado de marca #F2C04A */
.cover-text h1 em { color: #f2c04a; font-weight: 700; }

/* ════════════════════════════════════════════════════════════
   v7 — Ajustes finos (feedback Margarita)
   ════════════════════════════════════════════════════════════ */
/* Logo del header aún más grande */
.brand-logo { height: clamp(40px, 4.4vw, 58px); }
@media (max-width: 480px) { .brand-logo { height: 32px; } }

/* Letra del menú más grande */
.nav a { font-size: 15px; }

/* Subtexto bajo "compañías globales" un poco más grande */
.cover-text p { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════
   v8 — "compañías globales." en cursiva + sombra para legibilidad
   ════════════════════════════════════════════════════════════ */
.cover-text h1 em {
  font-style: italic;
  color: #f2c04a;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4);
}

/* v9 — quitar sombra de "compañías globales." (decisión Margarita) */
.cover-text h1 em { text-shadow: none; }

/* ════════════════════════════════════════════════════════════
   v10 — Títulos con gradiente sutil de marca (brandbook)
   Fondos claros: verde-tinta → vino (cálido, casi monocromo)
   Fondos oscuros: crema → lavanda/menta
   ════════════════════════════════════════════════════════════ */
.section-head h2,
.about-copy h3,
.tab-intro h3,
.contact-card h3 {
  background: linear-gradient(115deg, #222a1e 0%, #3c2018 45%, #5d1b13 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* el énfasis hereda el mismo gradiente del título (monocromo de marca) */
.section-head h2 em,
.about-copy h3 em,
.tab-intro h3 em,
.contact-card h3 em {
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Secciones oscuras: gradiente claro para mantener contraste */
.why .section-head h2,
.contact-banner h2 {
  background: linear-gradient(115deg, #faf6ee 0%, #d7d4e9 60%, #cce2d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.why .section-head h2 em,
.contact-banner h2 em {
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ════════════════════════════════════════════════════════════
   v11 — Sin gradients · acentos por sección · eyebrows + grandes
          · párrafos Apercu · tabs dinámicas
   ════════════════════════════════════════════════════════════ */

/* 1a · Reset gradiente → títulos sólidos */
.section-head h2, .about-copy h3, .tab-intro h3, .contact-card h3,
.contact-form h3, .value h4, .service h4, .success-card h4 {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--ink);
}
.why .section-head h2, .contact-banner h2 {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--cream);
}

/* 1b · Palabra de acento por sección — un color del brandbook por sección */
.about .section-head h2 em, .about-copy h3 em { color:#706aa9; -webkit-text-fill-color:#706aa9; }   /* periwinkle */
.values .section-head h2 em                    { color:#5d1b13; -webkit-text-fill-color:#5d1b13; }   /* vino */
.solutions .section-head h2 em, .tab-intro h3 em { color:#706aa9; -webkit-text-fill-color:#706aa9; } /* periwinkle */
.why .section-head h2 em                       { color:#cce2d6; -webkit-text-fill-color:#cce2d6; }   /* menta */
.contact-banner h2 em                          { color:#f2c04a; -webkit-text-fill-color:#f2c04a; }   /* dorado */
.contact-card h3 em                            { color:#706aa9; -webkit-text-fill-color:#706aa9; }   /* periwinkle */
.section-head h2 em, .about-copy h3 em, .tab-intro h3 em,
.contact-banner h2 em, .contact-card h3 em { font-style: normal; font-weight: 700; }

/* 2 · Eyebrows ("Quiénes somos", "Nuestra propuesta"…) más grandes */
.eyebrow { font-size: 13.5px; letter-spacing: 0.18em; }

/* 3 · Párrafos en Apercu Condensed (pedido del cliente) */
p, .nav a, .field input, .field select, .field textarea,
.qc-row .value, .footer ul a, .footer-brand p,
.contact-banner .lede, .contact-card .intro {
  font-family: 'Apercu Condensed', 'Inter', sans-serif;
}
p, .footer-brand p, .contact-card .intro, .contact-banner .lede {
  letter-spacing: 0.012em;
  line-height: 1.6;
}

/* 4 · Tabs de Soluciones — afordancia clara de "haz clic" */
.tabs-hint {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Apercu Condensed', sans-serif;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.tabs-hint-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #f2c04a;
  box-shadow: 0 0 0 0 rgba(216,93,50,0.5);
  animation: pulse 2s infinite;
}
.tabs {
  display: flex; flex-wrap: wrap; gap: 12px;
  border-bottom: none;
  margin-bottom: 56px;
}
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: 'Apercu Condensed', sans-serif;
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .25s, box-shadow .3s;
}
.tab::after { display: none; }
.tab .tab-num {
  font-family: 'Apercu Condensed', sans-serif; font-style: normal;
  font-size: 12px; opacity: .55;
}
.tab .tab-arrow {
  display: inline-flex; width: 0; opacity: 0; overflow: hidden;
  transition: width .3s ease, opacity .3s ease;
}
.tab:hover {
  background: #fff;
  border-color: var(--violet);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -14px rgba(34,42,30,0.4);
}
.tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tab.active .tab-num { opacity: .8; color: var(--mint); }
.tab.active .tab-arrow { width: 16px; opacity: 1; }

/* contenido del tab entra con animación al cambiar */
.tab-intro, .services { animation: tabIn .55s cubic-bezier(0.16,1,0.3,1); }
@keyframes tabIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .tabs { gap: 8px; }
  .tab { padding: 12px 18px; font-size: 14px; }
}

/* v12 — Título "Más de 30 años…" en Apercu Condensed (no Ufficio) */
.about-copy h3 {
  font-family: 'Apercu Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* v13 — "Por qué internacional": subtítulos en Apercu + eyebrow más grande */
.why-item h4 {
  font-family: 'Apercu Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: -0.003em;
}
.why .eyebrow { font-size: 17px; letter-spacing: 0.14em; }

/* ════════════════════════════════════════════════════════════
   v14 — TODOS los subtítulos en Apercu Condensed
   (los títulos display grandes — cover h1, section-head h2,
    contact-banner h2 — siguen en Ufficio Display del brandbook)
   ════════════════════════════════════════════════════════════ */
.about-copy h3,
.tab-intro h3,
.value h4,
.service h4,
.why-item h4,
.contact-card h3,
.contact-form h3,
.success-card h4,
.signature-name,
.margarita-card .name {
  font-family: 'Apercu Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: -0.003em;
}

/* ════════════════════════════════════════════════════════════
   v15 — SOLO paleta PRIMARIA (captura Margarita)
   Permitidos: #cce2d6 #222a1e #f2c04a #361d13 #5d1b13 #706aa9
   Fuera: naranja #d85d32, verde #6db07d/#b8e986, rust #8a3a2e
   ════════════════════════════════════════════════════════════ */
:root { --brand-soft: #5d1b13; }

/* Soluciones: acento naranja → periwinkle (primario) */
.solutions .section-head h2 em,
.tab-intro h3 em {
  color: #706aa9;
  -webkit-text-fill-color: #706aa9;
}

/* Punto guía de tabs: naranja → dorado (primario) */
.tabs-hint-pulse {
  background: #f2c04a;
  box-shadow: 0 0 0 0 rgba(242,192,74,0.5);
}
.tabs-hint-pulse { animation: pulseGold 2s infinite; }
@keyframes pulseGold {
  0%   { box-shadow: 0 0 0 0 rgba(242,192,74,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(242,192,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,192,74,0); }
}

/* Indicador "Disponible esta semana": verde → periwinkle (primario) */
.response-note .pulse {
  background: #706aa9;
  box-shadow: 0 0 0 0 rgba(112,106,169,0.5);
  animation: pulsePeri 2s infinite;
}
@keyframes pulsePeri {
  0%   { box-shadow: 0 0 0 0 rgba(112,106,169,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(112,106,169,0); }
  100% { box-shadow: 0 0 0 0 rgba(112,106,169,0); }
}

/* Punto del cover-meta (por si se reactiva): verde → menta */
.cover-meta .dot { background: #cce2d6; box-shadow: 0 0 12px rgba(204,226,214,0.6); }

/* Borde hover de tarjetas de servicio → vino (primario) */
.service:hover { border-color: #5d1b13; }

/* ════════════════════════════════════════════════════════════
   v16 — Ronda Margarita: morado vivo, sin numeraciones, etc.
   ════════════════════════════════════════════════════════════ */

/* Morado vivo para acentos de texto (fuera del brandbook, autorizado) */
.about .section-head h2 em, .about-copy h3 em,
.contact-card h3 em,
.solutions .section-head h2 em, .tab-intro h3 em {
  color: #7c3aed;
  -webkit-text-fill-color: #7c3aed;
}

/* Eyebrow de tarjetas de servicio (Salud Internacional, Viajes, …) más grande */
.service-eye {
  font-size: 13.5px;
  letter-spacing: 0.18em;
  font-weight: 600;
}

/* Hide leftover numerations en cascada (defensivo) */
.section-head .label .num,
.value-num,
.tab .tab-num,
.why-item .num,
.mobile-nav a .num {
  display: none !important;
}

/* Anchors invisibles para nav: sitúan el scroll en el top de la sección */
.anchor-target {
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  height: 1px; width: 1px;
  pointer-events: none;
  visibility: hidden;
}
.solutions { position: relative; }

/* Imagotipo decorativo (Por qué Internacional) */
.section-imagotipo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.section-imagotipo {
  width: clamp(140px, 14vw, 200px);
  height: auto;
  opacity: 0.92;
}

/* Tabs: ya no hay tab-num, el aria-selected + estilo activo guían */
.tab { font-size: 16px; }
.tab.active { letter-spacing: 0; }
