/* Fuentes alojadas aquí: más rápidas y sin mandar a Google la IP de cada visita. */
@font-face {
  font-family: "Sora";
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fuentes/sora-400.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fuentes/sora-500.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fuentes/sora-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fuentes/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fuentes/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fuentes/inter-600.woff2") format("woff2");
}
:root {
  --ink: #080b0b;
  --ivory: #e8e4da;
  --jade: #006b5b;
  --electric: #22f7a6;
  --stone: #686f6a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--electric);
  outline-offset: 5px;
}
header {
  height: 94px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: var(--ivory);
  border-bottom: 1px solid #ffffff20;
}
.brand img {
  width: 215px;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
}
.pill {
  border: 1px solid #e8e4da70;
  border-radius: 30px;
  padding: 9px 24px;
}
.menu {
  display: none;
}
.dark {
  background: var(--ink);
  color: var(--ivory);
}
.hero {
  min-height: 720px;
  padding: 68px 6% 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.eyebrow,
.section-label,
.art-line,
.hero-bottom,
.product-top,
.steps article > span,
.signature {
  font-size: 12px;
  letter-spacing: 1.8px;
}
.eyebrow {
  color: var(--electric);
  margin: 0 0 28px;
}
h1,
h2,
h3 {
  font-family: Sora, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.1;
  margin: 0;
}
h1 {
  font-size: clamp(58px, 6.5vw, 100px);
}
em {
  font-style: normal;
  color: var(--electric);
}
.intro {
  font-size: 18px;
  max-width: 470px;
  color: #d2d3cc;
  margin: 28px 0 32px;
}
.actions {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--ink);
  color: var(--ivory);
  padding: 15px 23px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.4;
}
.button:hover {
  filter: brightness(1.15);
}
.electric {
  background: var(--electric);
  color: var(--ink);
}
.text-link {
  font-size: 14px;
  border-bottom: 1px solid #797f78;
  padding-bottom: 4px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse, #006b5b35 0%, transparent 65%);
}
.hero-art img {
  width: 100%;
  max-width: 560px;
  filter: drop-shadow(0 35px 35px #000);
}
.art-line {
  position: absolute;
  color: #a2aaa2;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.art-line.top {
  top: 30px;
}
.art-line.bottom {
  bottom: 62px;
}
.hero-bottom {
  grid-column: 1/-1;
  border-top: 1px solid #ffffff25;
  padding-top: 20px;
  margin-top: 52px;
  display: flex;
  justify-content: space-between;
  color: #9ba69d;
}
.section {
  padding: 78px 6% 90px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  padding-bottom: 27px;
  border-bottom: 1px solid #686f6a50;
  margin-bottom: 52px;
}
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 8%;
}
h2 {
  font-size: clamp(38px, 4.2vw, 62px);
}
h2 span {
  color: var(--stone);
}
.large {
  font-size: 23px;
  line-height: 1.5;
  margin: 0 0 22px;
}
.split p:not(.large) {
  color: var(--stone);
}
.solutions {
  padding-top: 0;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 52px;
}
.solution-grid article {
  padding: 27px 26px 10px;
  border-left: 1px solid #686f6a55;
}
.solution-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}
.number {
  display: block;
  font-size: 14px;
  color: var(--jade);
  margin-bottom: 30px;
}
h3 {
  font-size: 27px;
  letter-spacing: -0.045em;
}
.solution-grid p {
  font-size: 15px;
  color: #545b56;
  min-height: 126px;
}
.solution-grid a {
  font-size: 14px;
  color: var(--jade);
  border-bottom: 1px solid #006b5b55;
}
.method .section-label,
.contact .section-label {
  border-color: #ffffff30;
  color: #a5afa7;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 65px;
}
.steps article {
  border-top: 1px solid #ffffff40;
  padding-top: 25px;
}
.steps article > span {
  color: var(--electric);
}
.steps h3 {
  font-size: 24px;
  margin: 22px 0;
}
.steps p {
  color: #b4beb5;
}
.about {
  padding-top: 90px;
  padding-bottom: 110px;
}
.about em {
  color: var(--jade);
}
.signature {
  margin-top: 40px;
  color: var(--jade);
}
.products {
  background: #dcd8ce;
}
.products-heading {
  display: flex;
  gap: 12%;
  align-items: end;
  justify-content: space-between;
}
.products-heading p {
  max-width: 380px;
  margin: 0;
  color: #505952;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 45px;
}
.product-grid article {
  background: var(--ivory);
  border-top: 3px solid var(--jade);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.product-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--jade);
  letter-spacing: 1px;
  margin-bottom: 35px;
}
.product-grid h3 {
  font-size: 31px;
}
.product-grid p {
  font-size: 16px;
}
.product-grid ul {
  padding-left: 18px;
  font-size: 14px;
  line-height: 2;
}
.product-grid .audience {
  color: #58615b;
  font-size: 14px;
  margin-bottom: 28px;
}
.product-grid .button {
  margin-top: auto;
}
.contact p {
  max-width: 440px;
  color: #b5bfb5 !important;
}
.contact .outline {
  background: transparent;
  border: 1px solid #e8e4da80;
  margin-top: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: block;
  font-size: 14px;
  margin-bottom: 20px;
}
label span {
  color: #9ba69d;
}
input,
select,
textarea {
  width: 100%;
  display: block;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ffffff50;
  border-radius: 0;
  color: var(--ivory);
  padding: 10px 0;
  resize: vertical;
}
select {
  background: var(--ink);
}
form .button {
  width: 100%;
  margin-top: 8px;
}
#form-status {
  font-size: 14px;
  min-height: 24px;
}
footer {
  background: var(--ink);
  color: #b5bfb5;
  border-top: 1px solid #ffffff25;
  padding: 30px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  gap: 25px;
}
footer img {
  width: 170px;
  display: block;
}
dialog {
  border: 0;
  background: var(--ivory);
  color: var(--ink);
  padding: 32px;
  max-width: 480px;
  width: calc(100% - 40px);
}
dialog::backdrop {
  background: #000b;
}
dialog h3 {
  font-size: 25px;
}
@media (min-width: 1600px) {
  header,
  .section,
  .hero,
  footer {
    padding-left: max(6%, calc((100vw - 1400px) / 2));
    padding-right: max(6%, calc((100vw - 1400px) / 2));
  }
}
@media (max-width: 950px) {
  nav {
    gap: 20px;
  }
  .hero {
    min-height: 620px;
  }
  .hero-art img {
    width: 115%;
  }
  .solution-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .solution-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .solution-grid p {
    min-height: 0;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-grid article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 35px;
  }
  .product-top {
    grid-column: 1/-1;
    margin-bottom: 20px;
  }
  .product-grid ul {
    grid-column: 2;
    grid-row: 2/4;
  }
  .product-grid .button {
    grid-column: 2;
    grid-row: 4;
  }
  .steps {
    gap: 25px;
  }
  .products-heading {
    gap: 35px;
  }
  .large {
    font-size: 20px;
  }
}
@media (max-width: 650px) {
  header {
    height: 78px;
    padding: 0 6%;
    position: relative;
    z-index: 5;
  }
  .brand img {
    width: 174px;
  }
  .menu {
    display: block;
    background: transparent;
    color: var(--ivory);
    border: 1px solid #ffffff50;
    padding: 7px 13px;
    font-size: 14px;
  }
  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 25px 6%;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid #ffffff40;
  }
  nav.open {
    display: flex;
  }
  .pill {
    text-align: center;
  }
  .hero {
    padding-top: 40px;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: clamp(49px, 12vw, 72px);
  }
  .intro {
    font-size: 16px;
    margin: 25px 0;
  }
  .actions {
    gap: 22px;
  }
  .hero-art {
    min-height: 300px;
    margin-top: 24px;
  }
  .hero-art img {
    max-width: 330px;
    width: 100%;
  }
  .art-line.top {
    top: 5px;
  }
  .art-line.bottom {
    bottom: 4px;
  }
  .hero-bottom {
    margin-top: 30px;
    font-size: 10px;
    letter-spacing: 0.6px;
  }
  .section {
    padding: 52px 6%;
  }
  .section-label {
    margin-bottom: 34px;
    font-size: 10px;
    letter-spacing: 1px;
    gap: 20px;
  }
  .section-label span:last-child {
    display: none;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  h2 {
    font-size: 39px;
  }
  .large {
    font-size: 20px;
  }
  .solutions {
    padding-top: 8px;
  }
  .solution-grid {
    margin-top: 30px;
    gap: 25px 20px;
  }
  .solution-grid article {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid #686f6a55;
  }
  .solution-grid h3 {
    font-size: 23px;
  }
  .solution-grid p {
    font-size: 14px;
  }
  .number {
    margin-bottom: 20px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 35px;
  }
  .steps h3 {
    font-size: 25px;
    margin: 16px 0;
  }
  .steps p {
    margin-bottom: 8px;
  }
  .products-heading {
    display: block;
  }
  .products-heading p {
    margin-top: 25px;
  }
  .product-grid {
    margin-top: 30px;
  }
  .product-grid article {
    display: flex;
    padding: 26px;
  }
  .product-top {
    font-size: 10px;
  }
  .product-grid h3 {
    font-size: 30px;
  }
  .product-grid ul {
    margin: 8px 0;
  }
  .product-grid .button {
    margin-top: 0;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  footer {
    flex-wrap: wrap;
    font-size: 12px;
  }
  footer a:first-child {
    width: 100%;
  }
  footer img {
    width: 170px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Formulario: trampa para bots, errores por campo y texto legal. */
.trampa {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.error {
  display: block;
  min-height: 1.2em;
  color: #ff8a80;
  font-size: 13px;
}
.legal {
  font-size: 13px;
  opacity: 0.75;
}
.legal a {
  text-decoration: underline;
}
#contact-form button[disabled] {
  opacity: 0.6;
  cursor: progress;
}
