@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --radius: .125rem;
  --ink: oklch(0.16 0.005 60);
  --cream: oklch(0.965 0.008 85);
  --brand-yellow: oklch(0.78 0.14 92);
  --brand-teal: oklch(0.62 0.09 205);
  --brand-orange: oklch(0.68 0.19 42);
  --hairline: color-mix(in oklab, var(--ink) 14%, transparent);
  --background: var(--cream);
  --foreground: var(--ink);
  --secondary: oklch(0.955 0.006 85);
  --muted-foreground: oklch(0.48 0.008 60);
  --border: var(--hairline);
  --font-sans: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: "Barlow Condensed", "Barlow", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

::selection {
  background: var(--brand-yellow);
  color: var(--ink);
}

h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: .95;
  text-transform: uppercase;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: .98;
  text-transform: uppercase;
}

.label-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .6875rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted-foreground);
}

.muted-soft {
  color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
}

.opacity-60 {
  opacity: .6;
}

.opacity-70 {
  opacity: .7;
}

.bg-yellow {
  background-color: var(--brand-yellow);
}

.bg-teal {
  background-color: var(--brand-teal);
}

.bg-orange {
  background-color: var(--brand-orange);
}

.card-teal {
  background: var(--brand-teal);
  color: var(--ink);
}

.card-yellow {
  background: var(--brand-yellow);
  color: var(--ink);
}

.card-orange {
  background: var(--brand-orange);
  color: var(--ink);
}

.highlight-yellow,
.highlight-teal,
.highlight-orange {
  color: var(--ink);
  padding: 0 .05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.highlight-yellow {
  background: var(--brand-yellow);
}

.highlight-teal {
  background: var(--brand-teal);
}

.highlight-orange {
  background: var(--brand-orange);
}

.section-border {
  border-bottom: 1px solid var(--border);
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--foreground);
  background: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(8px);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .5rem 2rem;
  border-bottom: 1px solid var(--border);
  font-size: .75rem;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted-foreground);
}

.icon-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color .2s ease;
}

.icon-link:hover {
  color: var(--foreground);
}

.icon-link svg {
  width: .875rem;
  height: .875rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted-foreground);
}

.header-social a {
  transition: color .2s ease;
}

.header-social a:hover {
  color: var(--foreground);
}

.header-social svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-social .fill-current {
  fill: currentColor;
  stroke: none;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.brand-logo {
  height: 3rem;
  width: auto;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  position: relative;
  padding: .25rem 0;
  color: var(--muted-foreground);
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.25rem;
  width: 0;
  height: 1px;
  background: var(--foreground);
  transition: width .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: .5rem 2rem;
}

.mobile-menu a {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}


/* =====================================================
   HERO
===================================================== */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 2rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.hero-meta-left {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hero-bars {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hero-bar {
  display: inline-block;
  width: 2px;
  height: .75rem;
  opacity: .3;
  transition: opacity .3s ease;
}

.hero-bar.active {
  opacity: 1;
}

.hero-title {
  margin-top: 4rem;
  max-width: 20ch;
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.hero-description {
  margin-top: 2.5rem;
  max-width: 32rem;
  font-size: .95rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.hero-actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 2rem;
  row-gap: 1rem;
}

.btn-ink {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: var(--foreground);
  color: var(--background);
  padding: .625rem 1.25rem;
  transition: gap .2s ease, background .2s ease;
}

.btn-ink:hover {
  gap: 1rem;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--foreground);
}

.text-cta span {
  transition: transform .2s ease;
}

.text-cta:hover span {
  transform: translateX(2px);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--secondary);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .5rem;
  mix-blend-mode: difference;
}

.hero-dot {
  width: 1rem;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.6);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}

.hero-dot.active {
  width: 2rem;
}


/* =====================================================
   SECCIONES GENERALES
===================================================== */

.section-shell {
  padding-left: 2rem;
  padding-right: 2rem;
}

.section-shell.roomy {
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.section-heading-row {
  margin-bottom: 3.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.section-heading-row.single {
  justify-content: flex-start;
}


/* =====================================================
   ÁREAS
===================================================== */

.areas-grid {
  display: grid;
  gap: 1.5rem;
}

.area-card {
  position: relative;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  overflow: hidden;
  padding: 2rem;
  transition: transform .5s ease;
}

.area-card:hover {
  transform: translateY(-.25rem);
}

.area-hover-line {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 0;
  background: var(--ink);
  transition: height .5s ease;
}

.area-card:hover .area-hover-line {
  height: .5rem;
}

.area-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.area-card h3 {
  position: relative;
  margin-top: 4rem;
  font-size: 1.875rem;
  line-height: 1;
  transition: transform .5s ease;
}

.area-card:hover h3 {
  transform: translateY(-.25rem);
}

.area-card p {
  position: relative;
  margin-top: 1.5rem;
  max-width: 32ch;
  font-size: .875rem;
  line-height: 1.625;
  opacity: .8;
}

.area-footer {
  position: relative;
  margin-top: auto;
  padding-top: 2.5rem;
}

.area-cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: .25rem;
  border-bottom: 2px solid currentColor;
}

.area-cta span {
  transition: transform .3s ease;
}

.area-card:hover .area-cta span {
  transform: translateX(.5rem);
}

.g-corner {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  opacity: .9;
  transition: transform .5s ease;
}

.g-corner span {
  width: 2px;
  height: 1rem;
  background: currentColor;
}

.g-corner b {
  margin: 0 .25rem;
}

.area-card:hover .g-corner {
  transform: scale(1.1);
}


/* =====================================================
   MANIFIESTO
===================================================== */

.manifesto-grid {
  display: grid;
  gap: 0;
  padding: 0 2rem;
}

.stat-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 2.5rem;
}

.stat-copy {
  position: relative;
  margin-top: 2.5rem;
}

.stat-number {
  font-size: 6rem;
  line-height: .9;
}

.stat-number span {
  vertical-align: top;
  font-size: 2.25rem;
}

.stat-text {
  margin-top: 2rem;
  max-width: 22ch;
  font-size: 1.125rem;
  line-height: 1.375;
}

.manifesto-copy {
  position: relative;
  padding: 2.5rem;
  border-top: 1px solid var(--border);
}

.manifesto-text {
  margin-top: 2.5rem;
  font-size: 1.5rem;
  line-height: 1.25;
}

.manifesto-sign {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted-foreground);
}

.manifesto-sign > span:first-child {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: .4;
}


/* =====================================================
   CÓMO TRABAJAMOS
===================================================== */

.values-grid {
  display: grid;
  gap: 3rem;
}

.value-number {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.value-number > span {
  font-size: 2.25rem;
}

.value-number i {
  width: 2px;
  height: 1.5rem;
  background: var(--foreground);
}

.value-card h3 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}

.value-card p {
  margin-top: 1rem;
  font-size: .875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}


/* =====================================================
   PROYECTOS
===================================================== */

.projects-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.projects-heading h2 {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 2.25rem;
  line-height: 1;
}

.project-list > li {
  border-bottom: 1px solid var(--border);
}

.project-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
}

.project-tag {
  display: none;
  align-items: center;
  gap: .75rem;
}

.project-tag i {
  display: inline-block;
  width: 3px;
  height: 1rem;
}

.project-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

.project-info small {
  display: block;
  margin-top: .5rem;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.project-arrow {
  font-size: 1.5rem;
  color: color-mix(in oklab, var(--muted-foreground) 50%, transparent);
  transition: color .2s ease, transform .2s ease;
}

.project-row:hover .project-arrow {
  color: var(--foreground);
  transform: translateX(.25rem);
}

.mobile-project-all {
  display: inline-block;
  margin-top: 2rem;
}

.desktop-only {
  display: none;
}


/* =====================================================
   CTA FINAL
===================================================== */

.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta-inner {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.final-cta-grid {
  display: grid;
  gap: 3rem;
}

.final-cta h2 {
  margin-top: 2rem;
  max-width: 48rem;
  font-size: 2.25rem;
  line-height: .95;
}

.final-cta > .section-shell p,
.final-cta-grid > div:first-child > p {
  margin-top: 2.5rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.625;
  opacity: .8;
}

.thick-underline {
  text-decoration: underline;
  text-decoration-thickness: 6px;
  text-underline-offset: .25rem;
}

.demo-form {
  margin-top: 2.5rem;
  max-width: 36rem;
  width: 100%;
}

.demo-form-grid {
  display: grid;
  gap: 1rem;
}

.demo-form input {
  width: 100%;
  padding: .75rem 0;
  border: 0;
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 30%, transparent);
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: .875rem;
  transition: border-color .2s ease;
}

.demo-form input::placeholder {
  color: color-mix(in oklab, var(--ink) 50%, transparent);
}

.demo-form input:focus {
  border-color: var(--ink);
}

.demo-form .wide {
  grid-column: 1 / -1;
}

.demo-form .button-fit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.demo-note {
  margin-top: 1rem !important;
  font-size: .75rem !important;
  line-height: 1.625 !important;
  opacity: .7 !important;
}

.demo-status {
  margin-top: .75rem !important;
  font-size: .875rem !important;
}

.final-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.text-cta.thick {
  border-bottom-width: 2px;
  border-color: color-mix(in oklab, var(--ink) 60%, transparent);
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer-shell {
  padding: 5rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 4rem;
}

.footer-symbol img {
  height: 5rem;
  width: auto;
}

.footer-intro {
  margin-top: 2rem;
  max-width: 24rem;
  font-size: .875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.footer-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  font-size: .875rem;
}

.footer-list a {
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.footer-list a:hover {
  border-color: var(--foreground);
  color: var(--foreground);
}

.footer-social {
  display: flex;
  gap: 1rem;
  padding-top: .5rem;
  color: var(--muted-foreground);
}

.startup-row {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.startup-row img {
  height: 2.25rem;
  width: auto;
  opacity: .6;
  filter: grayscale(1);
  transition: opacity .5s ease, filter .5s ease;
}

.startup-row img:hover {
  opacity: 1;
  filter: grayscale(0);
}

.startup-row p {
  max-width: 20rem;
  font-size: .75rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--muted-foreground) 80%, transparent);
}

.footer-bottom {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  color: var(--muted-foreground);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-style: italic;
}

.brand-bars {
  display: flex;
  align-items: center;
  gap: .375rem;
}

.brand-bars span {
  width: 1px;
  height: .75rem;
}


/* =====================================================
   ANIMACIONES
===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 700ms cubic-bezier(.22,1,.36,1),
    transform 700ms cubic-bezier(.22,1,.36,1);

  transition-delay: var(--reveal-delay,0ms);
}

.reveal.reveal-in {
  opacity: 1;
  transform: none;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (min-width: 640px) {

  .demo-form-grid {
    grid-template-columns: 1fr 1fr;
  }

}


@media (min-width: 768px) {

  .brand-logo {
    height: 3.5rem;
  }

  .desktop-nav {
    display: flex;
  }

  .mobile-menu-button,
  .mobile-menu {
    display: none !important;
  }

  .hero-title {
    font-size: 3rem;
  }

  .areas-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .area-card h3 {
    font-size: 2.25rem;
  }

  .manifesto-grid {
    grid-template-columns: repeat(5, minmax(0,1fr));
  }

  .stat-card {
    grid-column: span 2;
  }

  .stat-number {
    font-size: 8rem;
  }

  .stat-number span {
    font-size: 3rem;
  }

  .manifesto-copy {
    grid-column: span 3;
    border-top: 0;
    border-left: 1px solid var(--border);
  }

  .manifesto-text {
    font-size: 1.75rem;
  }

  .values-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  .projects-heading h2 {
    font-size: 3rem;
  }

  .desktop-only {
    display: inline;
  }

  .mobile-project-all {
    display: none;
  }

  .project-row {
    grid-template-columns: 80px 200px 1fr auto;
    gap: 2.5rem;
  }

  .project-tag {
    display: flex;
  }

  .project-info strong {
    font-size: 1.875rem;
  }

  .final-cta-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .final-cta h2 {
    font-size: 3.75rem;
  }

  .final-cta-grid > div:first-child > p {
    font-size: 1.125rem;
  }

  .final-links {
    align-items: flex-end;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-symbol img {
    height: 6rem;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }

}


@media (min-width: 1024px) {

  .header-top {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .header-main {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .hero-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    padding-left: 4rem;
    padding-right: 0;
  }

  .hero-copy {
    padding-top: 6rem;
    padding-bottom: 5rem;
    padding-right: 3rem;
    border-right: 1px solid var(--border);
  }

  .hero-title {
    margin-top: 6rem;
    font-size: 3.25rem;
  }

  .hero-visual {
    min-height: 720px;
  }

  .section-shell {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .section-shell.roomy {
    padding-top: 7rem;
    padding-bottom: 6rem;
  }

  .area-card {
    padding: 2.5rem;
  }

  .stat-card {
    padding: 3.5rem;
  }

  .manifesto-copy {
    padding: 4rem;
  }

  .final-cta-inner {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .footer-shell {
    padding: 5rem 4rem;
  }

}


@media (min-width: 1280px) {

  .hero-copy {
    padding-right: 4rem;
  }

}


@media (max-width: 639px) {

  .email-link {
    display: none;
  }

  .hero-location {
    display: none;
  }

  .section-heading-row > :last-child:not(:first-child) {
    display: none;
  }

}
/* Consentimiento de formularios */

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.form-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: #111;
}