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

body {
  background: #FDF9F5;
  color: #1E1B18;
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, .display, .brand, .prod-name, .vcell h3, .stat .n {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.bg-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

nav {
  position: sticky;
  top: 20px;
  z-index: 60;
  margin: 0 24px;
  background: rgba(253, 249, 245, 0.94);
  backdrop-filter: blur(14px);
  border-radius: 80px;
  border: 1px solid #E9DFD4;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 28px;
}

.brand {
  font-family: "Source Serif 4", serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1E1B18;
}

.brand .mark {
  width: 8px;
  height: 8px;
  background: #C2592D;
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  color: #4A3B2F;
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.nav-links a:hover {
  color: #C2592D;
  border-bottom-color: #E2C7B1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 550;
  border-radius: 60px;
  padding: 12px 28px;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  text-decoration: none;
  background: none;
  border: 1px solid;
  cursor: pointer;
}

.btn-primary {
  background: #1E1B18;
  color: #FDF9F5;
  border: 1px solid #1E1B18;
}

.btn-primary:hover {
  background: #C2592D;
  border-color: #C2592D;
  transform: translateY(-3px);
  box-shadow: 0 12px 22px -12px rgba(194, 89, 45, 0.35);
}

.btn-ghost {
  border: 1px solid #D6C8BC;
  color: #2C2824;
  background: rgba(255, 255, 245, 0.5);
}

.btn-ghost:hover {
  background: #F3EBE3;
  border-color: #C2592D;
  color: #C2592D;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #1E1B18;
  border-radius: 2px;
}

.hero {
  padding: 88px 0 80px;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F2EAE2;
  border-radius: 60px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #E2D4C8;
  margin-bottom: 32px;
  color: #4F3F30;
}

.hero-tag .dot-pulse {
  width: 6px;
  height: 6px;
  background: #27AE60;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.hl {
  color: #C2592D;
}

.hero h1 .hl {
  font-style: italic;
  font-weight: 700;
}

.hero-sub {
  font-size: 1.2rem;
  color: #4A3E34;
  max-width: 58ch;
  margin: 24px 0 12px;
  line-height: 1.55;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 44px;
}

.role {
  background: #FFFFFF;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #E2D4C8;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.role b {
  color: #C2592D;
  font-weight: 700;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.5, 0.2, 1), transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

section {
  padding: 96px 0;
  position: relative;
  z-index: 2;
}

.sec-head {
  max-width: 60ch;
  margin-bottom: 56px;
}

.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: #B1623E;
  display: inline-block;
  margin-bottom: 14px;
  background: #F1E7DF;
  padding: 5px 14px;
  border-radius: 40px;
}

.value {
  background: #1E1B18;
  color: #FCF7F2;
  border-radius: 48px;
  margin: 0 24px;
  overflow: hidden;
}

.value .wrap {
  padding: 72px 32px;
}

.value h2 {
  color: #FFF4EC;
}

.value .eyebrow {
  background: #3A3029;
  color: #EBDBCE;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(230, 210, 190, 0.2);
  border-radius: 32px;
  overflow: hidden;
}

.vcell {
  background: #1E1B18;
  padding: 38px 36px;
  transition: all 0.2s;
}

.vcell:hover {
  background: #2A2622;
}

.vcell .num {
  font-family: "Source Serif 4", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #E28A5E;
  margin-bottom: 14px;
}

.vcell p {
  color: #C5B7AA;
  font-size: 0.95rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 36px 30px;
  border: 1px solid #EBDFD4;
  transition: all 0.25s;
  box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.04);
}

.card:hover {
  transform: translateY(-6px);
  border-color: #D0BBA8;
  box-shadow: 0 24px 36px -20px rgba(80, 55, 35, 0.2);
}

.card .ic {
  width: 52px;
  height: 52px;
  background: #F4EBE3;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: #C2592D;
}

.card .ic svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.products {
  background: #F6EFE8;
  border-radius: 48px;
  margin: 0 0 20px;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.prod {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 32px;
  border: 1px solid #E2D2C2;
  transition: all 0.2s;
}

.prod.featured {
  background: #1E1B18;
  color: #FDF9F5;
  border-color: #3E332A;
}

.prod.featured .prod-name {
  color: #F5DBCA;
}

.prod.featured .badge.beta {
  background: #7A5A44;
  color: #FCE9DA;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 40px;
}

.badge.live {
  background: #E5D9CF;
  color: #5F4A36;
}

.badge.beta {
  background: #F0E2D6;
  color: #AF6A3D;
}

.ai-chip {
  background: #F0E4DA;
  color: #B65224;
  padding: 6px 16px;
  border-radius: 60px;
  font-size: 0.75rem;
  font-weight: 600;
  width: fit-content;
  margin-top: 20px;
}

.prod-foot a {
  color: #C26739;
  font-weight: 600;
  text-decoration: none;
}

.trust {
  background: #F2EAE2;
  border-radius: 48px;
  margin: 24px;
  padding: 64px 0;
}

.trust-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.trust-card {
  background: #FFFCF9;
  border-radius: 32px;
  padding: 36px;
  border: 1px solid #E2CFBF;
}

.stats {
  display: flex;
  gap: 56px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.stat .n {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1E1B18;
}

.stat .n span {
  color: #C2592D;
}

.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.ccard {
  background: #FFFFFF;
  border-radius: 36px;
  border: 1px solid #E5D6C8;
  overflow: hidden;
}

.crow {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  transition: background 0.15s;
  text-decoration: none;
  color: #1E1B18;
}

.crow:hover {
  background: #FDF7F2;
}

.crow .ci {
  background: #F4EAE1;
  width: 52px;
  height: 52px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C2592D;
}

.crow .ci svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

footer {
  background: #1E1B18;
  color: #C7BCB0;
  border-radius: 48px 48px 0 0;
  margin-top: 20px;
  padding: 60px 0 36px;
}

.foot-brand {
  font-family: "Source Serif 4", serif;
  font-size: 1.7rem;
  font-weight: 600;
}

hr.custom {
  margin: 24px 0 16px;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, #DCC9B5, transparent);
}

.signature-line {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  font-size: 0.85rem;
  opacity: 0.75;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F0E6DE;
  padding: 6px 16px;
  border-radius: 60px;
  margin-top: 32px;
}

.dot-sep {
  width: 3px;
  height: 3px;
  background: #C2592D;
  border-radius: 50%;
}

::selection {
  background: #E3D3C4;
  color: #1E1B18;
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 84px;
    left: 24px;
    right: 24px;
    background: #FDF9F5;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-radius: 32px;
    border: 1px solid #E2D4C8;
    padding: 20px 24px;
    transform: translateY(-150%);
    transition: transform 0.25s ease;
    z-index: 55;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid #EFE2D4;
  }

  .nav-toggle {
    display: flex;
  }

  .cards, .value-grid, .prod-grid, .trust-flex, .contact .wrap {
    grid-template-columns: 1fr;
  }

  .value-grid {
    gap: 1px;
  }

  section {
    padding: 64px 0;
  }

  .stats {
    flex-direction: column;
    gap: 28px;
  }

  .trust {
    margin: 16px;
  }

  .value {
    margin: 0 16px;
  }
}

/* ── Hero CTA ── */
.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ── Nav button compacto ── */
.btn-nav {
  padding: 8px 20px;
}

/* ── Card CTA ("¿Tienes algo distinto en mente?") ── */
.card-cta {
  background: #FDF7F2;
  border-color: #E8D9CC;
}

.card-cta h3 {
  font-size: 1.35rem;
}

.card-cta p {
  margin-top: 12px;
}

.card-cta a {
  font-weight: 600;
  color: #C2592D;
  display: inline-block;
  margin-top: 20px;
}

/* ── Producto: cabecera y pie ── */
.prod-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.prod.featured .prod-foot {
  margin-top: 24px;
}

.platform {
  margin-left: 14px;
}

/* ── Trust card internals ── */
.trust-card .label {
  font-weight: 600;
  color: #C2592D;
}

.trust-card .org {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 8px 0 6px;
}

.trust-card .cert {
  font-size: 0.85rem;
}

.trust .signature-line {
  margin-top: 48px;
  background: #E5D7CC;
}

/* ── Contacto ── */
.contact-sub {
  margin-top: 20px;
}

.k {
  font-size: 0.7rem;
  color: #8F7C6B;
}

.v {
  font-weight: 600;
}

/* ── Footer ── */
.foot-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.foot-brand span {
  color: #C2592D;
}

.foot-brand p {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  margin-top: 12px;
  max-width: 380px;
  font-weight: 400;
}

.foot-links {
  display: flex;
  gap: 20px;
}

.foot-links a {
  color: #C7BCB0;
  text-decoration: none;
  transition: color 0.2s;
}

.foot-links a:hover {
  color: #E28A5E;
}

.foot-bottom {
  margin-top: 42px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.8rem;
}
