/* ==========================================================================
   Sixto Fernández Mac-Clure — Premium UI/UX CSS
   Reescritura exclusiva de CSS. No requiere cambios en HTML.
   Objetivo: web corporativa premium, responsive, sin overflow horizontal.
   ========================================================================== */

:root {
  --navy-950: #020711;
  --navy-900: #06111f;
  --navy-850: #071827;
  --navy-800: #0b1b31;
  --navy-700: #0d2337;
  --ink: #0f1724;
  --ink-soft: #243044;
  --muted: #657386;
  --muted-2: #8a98aa;
  --white: #ffffff;
  --off-white: #fbfcfe;
  --soft: #f3f7fb;
  --soft-blue: #eef5fa;
  --line: rgba(18, 31, 50, .10);
  --line-strong: rgba(18, 31, 50, .16);
  --gold: #c89b3c;
  --gold-2: #e8c36a;
  --gold-soft: rgba(200, 155, 60, .14);
  --teal: #2bb9b0;
  --teal-soft: rgba(43, 185, 176, .12);
  --shadow-xs: 0 .35rem 1.2rem rgba(6, 17, 31, .07);
  --shadow-sm: 0 .75rem 2.25rem rgba(6, 17, 31, .10);
  --shadow-md: 0 1.25rem 4.5rem rgba(6, 17, 31, .14);
  --shadow-dark: 0 1.5rem 5rem rgba(0, 0, 0, .30);
  --radius-sm: .875rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.25rem;
  --max: 1200px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --section-y: clamp(5.25rem, 8vw, 8rem);
  --header-h: clamp(4.25rem, 5.5vw, 4.875rem);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

/* Reset / Base ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--off-white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(.98rem, .92rem + .2vw, 1.05rem);
  line-height: 1.6;
  letter-spacing: -.011em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
}

main,
section,
header,
footer {
  max-width: 100%;
  overflow-x: clip;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -10rem;
  left: var(--gutter);
  z-index: 999;
  padding: .8rem 1rem;
  border-radius: 999px;
  background: var(--gold-2);
  color: var(--navy-950);
  font-weight: 900;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.skip-link:focus {
  top: 1rem;
  outline: none;
}

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 1.65vw, 1.4rem);
  padding: clamp(.65rem, 1.1vw, .9rem) clamp(1rem, 3vw, 2.4rem);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(2, 7, 17, .92), rgba(2, 7, 17, .74));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 .65rem 2.1rem rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px) saturate(120%);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(2, 7, 17, .95);
  box-shadow: 0 1.1rem 3rem rgba(0, 0, 0, .26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(.65rem, 1vw, .9rem);
  flex: 1 1 auto;
  min-width: 0;
  transition: var(--transition);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: clamp(2.35rem, 4vw, 2.875rem);
  height: clamp(2.35rem, 4vw, 2.875rem);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: .95rem;
  border: 1px solid rgba(200, 155, 60, .55);
  color: var(--gold-2);
  background: rgba(255, 255, 255, .035);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.brand-copy {
  display: grid;
  gap: .12rem;
  min-width: 0;
}

.brand-copy strong {
  font-size: clamp(.83rem, .75rem + .22vw, .96rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy em {
  font-style: normal;
  color: rgba(231, 238, 246, .72);
  font-size: clamp(.56rem, .5rem + .18vw, .68rem);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.65rem, 1.45vw, 1.35rem);
  flex: 0 1 auto;
  font-size: clamp(.78rem, .72rem + .18vw, .88rem);
  font-weight: 850;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: .35rem 0;
  color: rgba(255, 255, 255, .88);
  white-space: nowrap;
  transition: var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .15rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  transition: var(--transition);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-2);
  transform: translateY(-1px);
  outline: none;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  right: 0;
}

.nav-cta {
  padding: .55rem .85rem !important;
  border: 1px solid rgba(200, 155, 60, .54);
  border-radius: 999px;
  background: rgba(200, 155, 60, .08);
}

.nav-cta:hover {
  background: rgba(200, 155, 60, .16);
  box-shadow: 0 .65rem 1.4rem rgba(200, 155, 60, .10);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .75);
  font-size: clamp(.74rem, .68rem + .15vw, .85rem);
  font-weight: 900;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  cursor: pointer;
  font-weight: 900;
  padding: .35rem .2rem;
  transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--gold-2);
  transform: translateY(-1px);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 2.875rem;
  height: 2.875rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .32rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: .95rem;
  background: rgba(255, 255, 255, .055);
  cursor: pointer;
  transition: var(--transition);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(200, 155, 60, .52);
  outline: none;
}

.menu-toggle span {
  width: 1.35rem;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--white);
  transition: var(--transition);
}

/* Home / Hero image ------------------------------------------------------- */
.hero.hero-final-image {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 20%, rgba(200, 155, 60, .08), transparent 35%),
    var(--navy-950);
}

.hero.hero-final-image > img {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 64rem;
  min-height: 40rem;
  object-fit: cover;
  object-position: center top;
  background: var(--navy-950);
  filter: saturate(1.02) contrast(1.02);
}

.hero-hotspot {
  position: absolute;
  z-index: 6;
  display: block;
  background: transparent;
  border-radius: .75rem;
  transition: var(--transition);
}

.hero-hotspot:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 4px;
  background: rgba(200, 155, 60, .08);
}

.hotspot-work {
  left: 6.25%;
  top: 79.85%;
  width: 19.25%;
  height: 8.95%;
}

/* Home Metrics ------------------------------------------------------------ */
.home-metrics {
  position: relative;
  background:
    linear-gradient(180deg, #030814 0%, #06111f 100%);
  padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(2.3rem, 4.5vw, 3.5rem);
  border-top: 1px solid rgba(255, 255, 255, .04);
  overflow: hidden;
}

.home-metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(43, 185, 176, .10), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(200, 155, 60, .12), transparent 32%);
  pointer-events: none;
}

.home-metrics-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.9rem, 1.55vw, 1.35rem);
  align-items: stretch;
}

.home-metric-card {
  min-height: clamp(7.25rem, 11vw, 9.35rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.15rem, 2vw, 1.75rem);
  border: 1px solid rgba(200, 155, 60, .32);
  border-radius: clamp(1.1rem, 1.8vw, 1.55rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)),
    rgba(3, 8, 20, .72);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.home-metric-card:hover {
  transform: translateY(-.22rem);
  border-color: rgba(232, 195, 106, .62);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .28);
}

.home-metric-card strong {
  color: var(--gold-2);
  font-size: clamp(2rem, 3.25vw, 2.65rem);
  line-height: .95;
  letter-spacing: -.035em;
  font-weight: 950;
}

.home-metric-card span {
  margin-top: .65rem;
  color: rgba(239, 245, 250, .94);
  font-size: clamp(.9rem, 1.05vw, 1rem);
  line-height: 1.36;
  font-weight: 850;
}

.home-profile-card .profile-eyebrow {
  margin: 0 0 .85rem;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: clamp(.7rem, .85vw, .8rem);
  font-weight: 950;
}

.home-profile-card strong {
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.82rem);
  line-height: 1.12;
  letter-spacing: -.03em;
}

/* Sections --------------------------------------------------------------- */
.section {
  padding: var(--section-y) 0;
}

.white {
  background:
    linear-gradient(180deg, var(--white), var(--off-white));
}

.dark,
.dark-panel,
.proof-section,
.contact {
  color: var(--white);
}

.dark {
  background:
    radial-gradient(circle at 15% 8%, rgba(43, 185, 176, .12), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(200, 155, 60, .10), transparent 30%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700) 58%, #062927);
}

.dark-panel {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 155, 60, .11), transparent 32%),
    radial-gradient(circle at 88% 42%, rgba(43, 185, 176, .10), transparent 30%),
    linear-gradient(180deg, #06111f 0%, #081827 100%);
  overflow: hidden;
}

.proof-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(200, 155, 60, .11), transparent 32%),
    linear-gradient(180deg, #07111f 0%, #0c2135 100%);
}

.contact {
  background:
    radial-gradient(circle at 15% 12%, rgba(43, 185, 176, .13), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(200, 155, 60, .12), transparent 32%),
    linear-gradient(135deg, #06111f, #04101c 100%);
}

.section-heading {
  max-width: min(54rem, 100%);
  margin: 0 auto clamp(2.35rem, 4vw, 3.5rem);
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: clamp(.72rem, .65rem + .16vw, .82rem);
  line-height: 1.4;
  font-weight: 950;
}

.eyebrow.teal,
.teal {
  color: var(--teal);
}

.eyebrow.gold,
.gold {
  color: var(--gold-2);
}

.section-heading h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 4.25vw, 3.65rem);
  line-height: 1.045;
  letter-spacing: -.052em;
  font-weight: 900;
}

.section-heading p:not(.eyebrow) {
  margin: clamp(1rem, 1.4vw, 1.2rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.72;
}

.dark .section-heading p:not(.eyebrow),
.dark-panel .section-heading p:not(.eyebrow),
.proof-section .section-heading p:not(.eyebrow),
.contact .section-heading p:not(.eyebrow) {
  color: rgba(220, 230, 239, .88);
}

/* Flexible Layouts -------------------------------------------------------- */
.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, .98fr);
  gap: clamp(2.5rem, 5vw, 4.25rem);
  align-items: center;
}

.convince-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.2rem);
}

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.9rem, 1.6vw, 1.15rem);
}

.problem-list,
.faq-list,
.case-stack {
  display: grid;
  gap: clamp(.9rem, 1.45vw, 1.1rem);
}

/* Cards / Components ------------------------------------------------------ */
.problem-list article,
.convince-card,
.service-card,
.timeline-item,
.proof-shot,
.contact-card,
details {
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.problem-list article {
  position: relative;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: 0 1rem 3.4rem rgba(0, 0, 0, .16);
  overflow: hidden;
}

.problem-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-2), transparent);
  opacity: .65;
}

.problem-list article:hover {
  transform: translateY(-.3rem);
  border-color: rgba(232, 195, 106, .42);
  box-shadow: var(--shadow-dark);
}

.problem-list span,
.convince-card span,
.service-card i,
.timeline-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 2rem;
  margin-bottom: 1rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(200, 155, 60, .11);
  border: 1px solid rgba(200, 155, 60, .22);
  font-size: .78rem;
  font-weight: 950;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.problem-list strong {
  display: block;
  margin: .2rem 0 .55rem;
  color: var(--white);
  font-size: clamp(1.1rem, 1.45vw, 1.42rem);
  line-height: 1.2;
  font-weight: 880;
  letter-spacing: -.02em;
}

.problem-list p {
  margin: 0;
  color: rgba(220, 230, 239, .88);
  font-size: clamp(.94rem, 1.05vw, 1rem);
  line-height: 1.68;
}

.convince-card,
.service-card {
  position: relative;
  padding: clamp(1.35rem, 2.3vw, 1.9rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,254,.98));
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.convince-card::after,
.service-card::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,155,60,.38), transparent);
  opacity: 0;
  transition: var(--transition);
}

.convince-card:hover,
.service-card:hover {
  transform: translateY(-.35rem);
  border-color: rgba(200, 155, 60, .24);
  box-shadow: var(--shadow-md);
}

.convince-card:hover::after,
.service-card:hover::after {
  opacity: 1;
}

.convince-card h3,
.service-card h3 {
  margin: .2rem 0 .75rem;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
  line-height: 1.14;
  letter-spacing: -.035em;
  font-weight: 900;
}

.convince-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(.95rem, 1.05vw, 1rem);
  line-height: 1.68;
}

/* Timeline / Experience --------------------------------------------------- */
.timeline-item {
  position: relative;
  min-height: 24rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.35rem, 2vw, 1.65rem) clamp(1rem, 1.35vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, .11);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025));
  box-shadow: 0 1.3rem 4rem rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}

.timeline-item:hover {
  transform: translateY(-.35rem);
  border-color: rgba(232, 195, 106, .46);
  box-shadow: var(--shadow-dark);
}

.timeline-item > span {
  margin-inline: auto;
}

.timeline-item img {
  width: clamp(5.3rem, 7.5vw, 7rem);
  height: clamp(5.3rem, 7.5vw, 7rem);
  object-fit: contain;
  margin: .25rem auto 1rem;
  padding: .35rem;
}

.timeline-item img.worldcup-logo {
  border-radius: 1rem;
  background: rgba(255, 255, 255, .95);
}

.timeline-item img.anfp-logo {
  padding: 0;
}

.timeline-item img.imov-timeline-logo {
  width: clamp(6.8rem, 9vw, 8.5rem);
  height: clamp(4.8rem, 7vw, 6rem);
}

.timeline-item h3 {
  min-height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: .2rem 0 .75rem;
  color: var(--gold-2);
  font-size: clamp(.98rem, 1.12vw, 1.08rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
  color: rgba(220, 230, 239, .88);
  font-size: clamp(.88rem, .98vw, .96rem);
  line-height: 1.62;
}

/* Proof gallery ----------------------------------------------------------- */
.proof-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 1.2rem 3.6rem rgba(0, 0, 0, .18);
}

.proof-shot:hover {
  transform: translateY(-.35rem);
  border-color: rgba(232, 195, 106, .40);
  box-shadow: var(--shadow-dark);
}

.proof-shot img {
  width: 100%;
  height: clamp(11rem, 17vw, 13rem);
  object-fit: cover;
  filter: saturate(.98) contrast(1.03);
  transition: var(--transition);
}

.proof-shot:hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.06);
}

.proof-shot figcaption {
  display: grid;
  gap: .32rem;
  padding: 1rem;
}

.proof-shot strong {
  color: var(--gold-2);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.proof-shot span {
  color: rgba(225, 234, 243, .90);
  font-size: .92rem;
  line-height: 1.42;
}

/* Contact ---------------------------------------------------------------- */
.contact-grid {
  align-items: center;
}

.contact h2 {
  margin: 0;
  max-width: 58rem;
  color: var(--white);
  font-size: clamp(2.15rem, 5vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 900;
}

.contact-card {
  display: grid;
  gap: .85rem;
  padding: clamp(1.35rem, 2.25vw, 1.9rem);
  border: 1px solid rgba(255, 255, 255, .13);
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: var(--shadow-dark);
}

.contact-card a:not(.btn) {
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  color: rgba(231, 238, 246, .92);
  font-weight: 850;
  word-break: break-word;
  transition: var(--transition);
}

.contact-card a:not(.btn):hover,
.contact-card a:not(.btn):focus-visible {
  color: var(--gold-2);
  transform: translateX(.2rem);
  outline: none;
}

.btn {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .9rem 1.35rem;
  border-radius: .9rem;
  border: 1px solid transparent;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-.18rem);
  outline: none;
}

.btn-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 .9rem 2rem rgba(200, 155, 60, .22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 1.25rem 2.9rem rgba(200, 155, 60, .32);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .045);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(232, 195, 106, .75);
  background: rgba(255, 255, 255, .08);
}

.btn.full,
.full {
  width: 100%;
}

/* FAQ / legacy sections if present --------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

details {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

details:hover {
  box-shadow: var(--shadow-sm);
}

summary {
  min-height: 3.65rem;
  padding: 1.25rem 1.45rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  transition: var(--transition);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: .9;
}

details[open] summary {
  color: var(--gold);
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0;
  padding: 0 1.45rem 1.45rem;
  color: var(--muted);
}

/* Footer ----------------------------------------------------------------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem var(--gutter);
  color: rgba(220, 230, 239, .72);
  background: #030814;
  font-size: .85rem;
}

.footer a {
  transition: var(--transition);
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--gold-2);
  outline: none;
}

/* Reveal / Motion --------------------------------------------------------- */
.reveal,
[data-animate] {
  opacity: 0;
  transform: translateY(1.25rem) scale(.985);
  transition:
    opacity .75s var(--ease),
    transform .75s var(--ease);
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Breakpoints ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-header {
    padding-inline: 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + .5rem);
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius-lg);
    background: rgba(2, 7, 17, .97);
    box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .36);
    backdrop-filter: blur(18px);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    min-height: 2.9rem;
    padding: .75rem .85rem;
    border-radius: .8rem;
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: rgba(255, 255, 255, .055);
  }

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

  .convince-grid,
  .service-grid,
  .proof-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.left {
    text-align: center;
    margin-inline: auto;
  }

  .timeline-item {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --section-y: clamp(4.25rem, 12vw, 5.5rem);
  }

  .container {
    width: min(1200px, calc(100% - 32px));
  }

  .brand-copy {
    display: none;
  }

  .site-header {
    min-height: 4.5rem;
  }

  .hero.hero-final-image {
    min-height: 100svh;
  }

  .hero.hero-final-image > img {
    height: 100svh;
    min-height: 34rem;
    object-fit: cover;
    object-position: center top;
  }

  .home-metrics-grid,
  .timeline,
  .convince-grid,
  .service-grid,
  .proof-gallery {
    grid-template-columns: 1fr;
  }

  .home-metric-card {
    min-height: 7rem;
  }

  .section-heading h2 {
    font-size: clamp(1.85rem, 7.5vw, 2.65rem);
  }

  .contact h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1200px, calc(100% - 28px));
  }

  .site-header {
    padding-inline: .9rem;
  }

  .language-switch {
    gap: .25rem;
  }

  .hero.hero-final-image > img {
    width: 145%;
    max-width: none;
    margin-left: -22%;
    object-fit: cover;
  }

  .hotspot-work {
    display: none;
  }

  .home-metrics {
    padding-block: 1.65rem 1.9rem;
  }

  .home-metric-card {
    padding: 1rem 1.1rem;
    min-height: 6.4rem;
  }

  .home-metric-card strong {
    font-size: 1.95rem;
  }

  .home-profile-card strong {
    font-size: 1.3rem;
  }

  .problem-list article,
  .convince-card,
  .service-card,
  .timeline-item,
  .contact-card {
    padding: 1.1rem;
  }

  .proof-shot img {
    height: 12.5rem;
  }
}

/* Accessibility ----------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ==========================================================================
   HOME REBUILT — premium responsive hero with editable multilingual content
   ========================================================================== */

.hero.hero-premium {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #05101d;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.hero.hero-premium .hero-media,
.hero.hero-premium .hero-overlay {
  position: absolute;
  inset: 0;
}

.hero.hero-premium .hero-media {
  z-index: -3;
  background-image: url("assets/home-hero-background-clean.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transform: scale(1.005);
}

.hero.hero-premium .hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 8, 20, .88) 0%, rgba(3, 8, 20, .78) 18%, rgba(3, 8, 20, .54) 36%, rgba(3, 8, 20, .12) 58%, rgba(3, 8, 20, .10) 100%),
    linear-gradient(180deg, rgba(3, 8, 20, .38) 0%, rgba(3, 8, 20, .18) 35%, rgba(3, 8, 20, .56) 100%);
}

.hero.hero-premium::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 9rem;
  background: linear-gradient(180deg, rgba(5,16,29,0) 0%, rgba(5,16,29,.25) 40%, rgba(3,8,20,.88) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.25rem);
}

.hero-content {
  width: min(100%, 42rem);
  display: grid;
  gap: clamp(1rem, 1.6vw, 1.25rem);
}

.hero-kicker {
  margin-bottom: 0;
  color: var(--gold-2);
  text-wrap: balance;
}

.hero.hero-premium h1 {
  margin: 0;
  max-width: 12.5ch;
  color: var(--white);
  font-size: clamp(2.85rem, 5.8vw, 6rem);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 950;
  text-wrap: balance;
  text-shadow: 0 .6rem 2rem rgba(0,0,0,.34);
}

.hero.hero-premium .hero-lead {
  margin: 0;
  max-width: 36rem;
  color: rgba(244, 248, 252, .92);
  font-size: clamp(1.04rem, 1.18vw, 1.3rem);
  line-height: 1.6;
  letter-spacing: -.015em;
  font-weight: 500;
  text-shadow: 0 .4rem 1.6rem rgba(0,0,0,.24);
}

.hero.hero-premium .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: .35rem;
}

.hero.hero-premium .btn.btn-primary {
  min-height: 3.35rem;
  padding-inline: 1.35rem;
  border-radius: 1rem;
  font-size: .98rem;
  box-shadow: 0 1rem 2.6rem rgba(200, 155, 60, .24);
}

.hero.hero-premium .btn.btn-primary:hover,
.hero.hero-premium .btn.btn-primary:focus-visible {
  transform: translateY(-.18rem);
  box-shadow: 0 1.35rem 3.2rem rgba(200, 155, 60, .32);
}

.home-metrics {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .hero.hero-premium .hero-media {
    background-position: 62% center;
  }

  .hero.hero-premium .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 8, 20, .92) 0%, rgba(3, 8, 20, .84) 30%, rgba(3, 8, 20, .52) 55%, rgba(3, 8, 20, .15) 100%),
      linear-gradient(180deg, rgba(3, 8, 20, .35) 0%, rgba(3, 8, 20, .18) 35%, rgba(3, 8, 20, .60) 100%);
  }

  .hero.hero-premium h1 {
    max-width: 11.5ch;
    font-size: clamp(2.55rem, 6.4vw, 4.95rem);
  }

  .hero.hero-premium .hero-lead {
    max-width: 33rem;
  }
}

@media (max-width: 768px) {
  .hero-shell {
    width: min(1200px, calc(100% - 32px));
    align-items: end;
    padding-top: calc(var(--header-h) + 1.75rem);
    padding-bottom: 2.4rem;
  }

  .hero.hero-premium .hero-media {
    background-position: 68% center;
  }

  .hero.hero-premium .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 8, 20, .56) 0%, rgba(3, 8, 20, .32) 30%, rgba(3, 8, 20, .62) 100%),
      linear-gradient(90deg, rgba(3, 8, 20, .82) 0%, rgba(3, 8, 20, .58) 45%, rgba(3, 8, 20, .30) 100%);
  }

  .hero-content {
    width: min(100%, 34rem);
    gap: .9rem;
  }

  .hero.hero-premium h1 {
    max-width: 11ch;
    font-size: clamp(2.2rem, 9vw, 3.9rem);
    line-height: .98;
  }

  .hero.hero-premium .hero-lead {
    font-size: 1rem;
    max-width: 30rem;
  }

  .hero.hero-premium .btn.btn-primary {
    width: auto;
  }
}

@media (max-width: 480px) {
  .hero-shell {
    width: min(1200px, calc(100% - 28px));
    padding-bottom: 1.9rem;
  }

  .hero.hero-premium {
    min-height: 100svh;
  }

  .hero.hero-premium .hero-media {
    background-position: 73% center;
    background-size: cover;
  }

  .hero.hero-premium .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 8, 20, .55) 0%, rgba(3, 8, 20, .24) 28%, rgba(3, 8, 20, .74) 100%),
      linear-gradient(90deg, rgba(3, 8, 20, .90) 0%, rgba(3, 8, 20, .66) 40%, rgba(3, 8, 20, .25) 100%);
  }

  .hero-content {
    gap: .8rem;
  }

  .hero.hero-premium h1 {
    max-width: 10.5ch;
    font-size: clamp(2rem, 10.5vw, 3.1rem);
  }

  .hero.hero-premium .hero-lead {
    font-size: .98rem;
    line-height: 1.55;
  }

  .hero.hero-premium .btn.btn-primary {
    width: 100%;
  }
}


/* ==========================================================================
   HOME FULL-VIEW FIT — hero + metrics visible on initial desktop/laptop load.
   Keeps the current background image and removes no content.
   ========================================================================== */

:root {
  --home-metrics-h: clamp(10.4rem, 22vh, 13rem);
}

.hero.hero-premium {
  min-height: calc(100vh - var(--home-metrics-h)) !important;
  min-height: calc(100dvh - var(--home-metrics-h)) !important;
}

.hero-shell {
  min-height: calc(100vh - var(--home-metrics-h)) !important;
  min-height: calc(100dvh - var(--home-metrics-h)) !important;
  padding-top: calc(var(--header-h) + clamp(.9rem, 2.6vh, 2.2rem)) !important;
  padding-bottom: clamp(.75rem, 2.1vh, 1.45rem) !important;
  align-items: center !important;
}

.hero-content {
  width: min(100%, 40rem) !important;
  gap: clamp(.58rem, 1.15vh, .95rem) !important;
}

.hero-kicker {
  font-size: clamp(.68rem, .95vw, .84rem) !important;
  letter-spacing: .18em !important;
  line-height: 1.35 !important;
}

.hero.hero-premium h1 {
  max-width: 13.2ch !important;
  font-size: clamp(2.35rem, 4.8vw, 4.85rem) !important;
  line-height: .985 !important;
  letter-spacing: -.055em !important;
}

.hero.hero-premium .hero-lead {
  max-width: 35rem !important;
  font-size: clamp(.96rem, 1.08vw, 1.16rem) !important;
  line-height: 1.52 !important;
}

.hero.hero-premium .hero-actions {
  margin-top: .15rem !important;
}

.hero.hero-premium .btn.btn-primary {
  min-height: clamp(2.8rem, 5.3vh, 3.2rem) !important;
  padding: .78rem 1.2rem !important;
  font-size: clamp(.84rem, .92vw, .96rem) !important;
}

/* Metrics fit below hero in the same initial viewport */
.home-metrics {
  min-height: var(--home-metrics-h) !important;
  display: flex !important;
  align-items: center !important;
  padding: clamp(.8rem, 1.7vh, 1.15rem) 0 !important;
}

.home-metrics-grid {
  width: min(1200px, calc(100% - 40px)) !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(.8rem, 1.45vw, 1.35rem) !important;
}

.home-metric-card {
  min-height: clamp(6.6rem, 14.5vh, 8.7rem) !important;
  padding: clamp(1rem, 1.55vw, 1.4rem) !important;
  border-radius: clamp(1rem, 1.5vw, 1.35rem) !important;
}

.home-metric-card strong {
  font-size: clamp(1.95rem, 2.7vw, 2.55rem) !important;
  line-height: .95 !important;
}

.home-metric-card span {
  margin-top: .5rem !important;
  font-size: clamp(.82rem, .98vw, .96rem) !important;
  line-height: 1.25 !important;
}

.home-profile-card .profile-eyebrow {
  margin-bottom: .55rem !important;
  font-size: clamp(.66rem, .82vw, .78rem) !important;
  letter-spacing: .18em !important;
}

.home-profile-card strong {
  font-size: clamp(1.15rem, 1.72vw, 1.56rem) !important;
  line-height: 1.12 !important;
}

/* Laptop-height refinement */
@media (min-width: 1025px) and (max-height: 820px) {
  :root {
    --home-metrics-h: clamp(9.25rem, 21vh, 11.4rem);
  }

  .hero.hero-premium h1 {
    font-size: clamp(2.15rem, 4.3vw, 4.35rem) !important;
  }

  .hero.hero-premium .hero-lead {
    font-size: clamp(.9rem, 1vw, 1.06rem) !important;
    line-height: 1.45 !important;
  }

  .home-metric-card {
    min-height: clamp(5.8rem, 13vh, 7.2rem) !important;
  }
}

/* Tablet: keep all blocks compact and centered */
@media (max-width: 1024px) {
  :root {
    --home-metrics-h: clamp(13.5rem, 31vh, 17rem);
  }

  .hero.hero-premium {
    min-height: calc(100dvh - var(--home-metrics-h)) !important;
  }

  .hero-shell {
    min-height: calc(100dvh - var(--home-metrics-h)) !important;
    align-items: end !important;
    padding-top: calc(var(--header-h) + 1rem) !important;
    padding-bottom: 1.05rem !important;
  }

  .hero.hero-premium h1 {
    max-width: 12ch !important;
    font-size: clamp(2rem, 6vw, 3.8rem) !important;
  }

  .hero.hero-premium .hero-lead {
    max-width: 31rem !important;
    font-size: .96rem !important;
  }

  .home-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .8rem !important;
  }

  .home-profile-card {
    grid-column: 1 / -1;
  }

  .home-metric-card {
    min-height: 5.75rem !important;
    padding: .95rem 1rem !important;
  }
}

/* Mobile: no horizontal scroll, compact stacked first impression */
@media (max-width: 768px) {
  :root {
    --home-metrics-h: clamp(17.5rem, 38vh, 21rem);
  }

  .hero-shell {
    width: min(1200px, calc(100% - 32px)) !important;
    padding-bottom: .85rem !important;
  }

  .hero.hero-premium h1 {
    max-width: 11ch !important;
    font-size: clamp(1.85rem, 7.9vw, 3rem) !important;
  }

  .hero.hero-premium .hero-lead {
    font-size: .9rem !important;
    line-height: 1.42 !important;
    max-width: 27rem !important;
  }

  .hero-kicker {
    font-size: .64rem !important;
  }

  .home-metrics {
    padding: .7rem 0 !important;
  }

  .home-metrics-grid {
    width: min(1200px, calc(100% - 32px)) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .65rem !important;
  }

  .home-metric-card {
    min-height: 5.25rem !important;
    padding: .78rem .85rem !important;
  }

  .home-metric-card strong {
    font-size: 1.65rem !important;
  }

  .home-metric-card span {
    font-size: .78rem !important;
  }

  .home-profile-card strong {
    font-size: 1.05rem !important;
  }
}

@media (max-width: 480px) {
  :root {
    --home-metrics-h: clamp(17.2rem, 40vh, 21rem);
  }

  .hero-shell {
    width: min(1200px, calc(100% - 28px)) !important;
  }

  .hero.hero-premium h1 {
    font-size: clamp(1.72rem, 8.5vw, 2.55rem) !important;
  }

  .hero.hero-premium .hero-lead {
    font-size: .84rem !important;
  }

  .hero.hero-premium .btn.btn-primary {
    width: auto !important;
    min-height: 2.65rem !important;
    font-size: .82rem !important;
  }

  .home-metrics-grid {
    width: min(1200px, calc(100% - 28px)) !important;
  }
}


/* ==========================================================================
   HOME HERO REFRAME FIX
   - Shows the portrait more completely in the Home background.
   - Slightly reduces the main title size so the hero feels less saturated.
   - No other sections modified.
   ========================================================================== */

.hero.hero-premium .hero-media {
  /* Keep the current background image, but frame it more carefully so the head
     is not cut. Using contain on desktop preserves the full portrait while the
     dark base color fills the left side naturally. */
  background-size: auto 100% !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
  background-color: #05101d !important;
}

.hero.hero-premium .hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 8, 20, .90) 0%, rgba(3, 8, 20, .80) 17%, rgba(3, 8, 20, .54) 35%, rgba(3, 8, 20, .18) 58%, rgba(3, 8, 20, .10) 100%),
    linear-gradient(180deg, rgba(3, 8, 20, .28) 0%, rgba(3, 8, 20, .14) 32%, rgba(3, 8, 20, .52) 100%) !important;
}

.hero.hero-premium h1 {
  font-size: clamp(2.1rem, 4.35vw, 4.35rem) !important;
  max-width: 13.6ch !important;
  line-height: .99 !important;
}

.hero.hero-premium .hero-lead {
  max-width: 34rem !important;
}

@media (max-width: 1280px) {
  .hero.hero-premium .hero-media {
    background-size: auto 98% !important;
    background-position: 78% center !important;
  }
}

@media (max-width: 1024px) {
  .hero.hero-premium h1 {
    font-size: clamp(1.95rem, 5.5vw, 3.55rem) !important;
  }

  .hero.hero-premium .hero-media {
    background-size: auto 96% !important;
    background-position: 82% center !important;
  }
}

@media (max-width: 768px) {
  .hero.hero-premium .hero-media {
    /* On tablet/mobile, switch back closer to cover to avoid excessive empty
       space, but keep the framing focused on the full face/head. */
    background-size: cover !important;
    background-position: 70% center !important;
  }

  .hero.hero-premium h1 {
    font-size: clamp(1.8rem, 7vw, 2.85rem) !important;
    max-width: 11.5ch !important;
  }
}

@media (max-width: 480px) {
  .hero.hero-premium .hero-media {
    background-size: cover !important;
    background-position: 72% center !important;
  }

  .hero.hero-premium h1 {
    font-size: clamp(1.62rem, 8vw, 2.35rem) !important;
    max-width: 11.2ch !important;
  }
}


/* ==========================================================================
   CONTACT ICONS + ALIGNMENT
   Solo agrega iconos visuales a correo, LinkedIn y web; no modifica contenido.
   ========================================================================== */

.contact-card a:not(.btn) {
  display: grid !important;
  grid-template-columns: 2.35rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: .85rem !important;
  min-height: 2.75rem !important;
  padding: .48rem .55rem !important;
  border-radius: 1rem !important;
  color: rgba(231, 238, 246, .94) !important;
  line-height: 1.25 !important;
}

.contact-card a:not(.btn)::before {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: .86rem;
  border: 1px solid rgba(200, 155, 60, .32);
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    rgba(200,155,60,.08);
  color: var(--gold-2, #e8c36a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  font-weight: 950;
  font-size: .95rem;
  line-height: 1;
  flex: 0 0 auto;
}

.contact-card a[href^="mailto:"]::before {
  content: "@";
  font-size: 1.05rem;
}

.contact-card a[href*="linkedin.com"]::before {
  content: "in";
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: .92rem;
  letter-spacing: -.04em;
}

.contact-card a[href*="imov.cl"]::before {
  content: "↗";
  font-size: 1.05rem;
}

.contact-card a:not(.btn):hover,
.contact-card a:not(.btn):focus-visible {
  transform: translateX(.18rem) !important;
  background: rgba(255,255,255,.045) !important;
  color: var(--gold-2, #e8c36a) !important;
}

  .hero.hero-premium h1 {
  font-size: clamp(1.65rem, 3.25vw, 3.25rem) !important;
  line-height: 1.02 !important;
  max-width: 14.5ch !important;
}
