:root {
  --bg: #F6F7F9;
  --white: #FFFFFF;
  --dark: #0B1220;
  --text: #111827;
  --muted: #64748B;
  --line: #E2E8F0;
  --teal: #0F766E;
  --teal-dark: #115E59;
  --teal-soft: #CCFBF1;
  --blue-soft: #DBEAFE;
  --card: #F8FAFC;
  --amber: #F59E0B;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
a strong { color: var(--teal); }

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: var(--teal);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334155;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active { color: var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
  transition: .18s ease;
}

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 10px 25px rgba(15, 118, 110, .22);
}

.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-secondary {
  background: white;
  color: var(--text);
  border-color: #CBD5E1;
}

.btn-secondary:hover { background: #F8FAFC; transform: translateY(-1px); }

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, var(--teal-soft), transparent 34%),
    radial-gradient(circle at bottom right, var(--blue-soft), transparent 32%);
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.homepage { padding: 0px 0 96px !important; }
.hero-grid { padding: 88px 0 96px; }
.page-hero { padding: 82px 0 92px; }

.breadcrumbs {
  color: #475569;
  font-size: 14px;
  margin-bottom: 28px;
  font-weight: 650;
}

.breadcrumbs a { color: var(--teal); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid #99F6E4;
  color: var(--teal);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

h1 {
  margin: 22px 0 0;
  max-width: 850px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: .98;
  letter-spacing: -0.055em;
  color: #020617;
}

.hero p,
.hero-text {
  margin: 24px 0 0;
  max-width: 720px;
  color: #475569;
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
  max-width: 710px;
}

.benefit {
  background: rgba(255,255,255,.82);
  border-radius: 18px;
  padding: 14px 16px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(15, 23, 42, .06);
}

.photo-card,
.hero-panel {
  position: relative;
  background: white;
  border-radius: 34px;
  padding: 12px;
  box-shadow: var(--shadow);
  border: 1px solid white;
}

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
  background: #E2E8F0;
}

.photo-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, .15);
}

.photo-note strong { display: block; color: #020617; }
.photo-note span { display: block; margin-top: 5px; color: #475569; font-size: 14px; line-height: 1.45; }

.hero-panel { padding: 28px; overflow: hidden; }

.mini-label {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 18px;
}

.flow { display: grid; gap: 12px; position: relative; }

.flow-step {
  border: 1px solid var(--line);
  background: #F8FAFC;
  border-radius: 22px;
  padding: 18px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

.flow-step span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--teal);
  font-weight: 900;
  font-size: 14px;
}

.flow-step strong { display: block; color: #020617; margin-bottom: 4px; }
.flow-step small { color: #64748B; line-height: 1.5; display: block; font-size: 14px; }

section { padding: 86px 0; }
.white { background: white; }

.section-head {
  max-width: 800px;
  margin-bottom: 42px;
}

.kicker {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 12px;
}

h2 {
  margin: 0;
  color: #020617;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-head p,
.center p {
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.card.soft { background: var(--card); box-shadow: none; }
.card:hover { transform: translateY(-2px); transition: .18s ease; }

.num { color: var(--teal); font-weight: 900; font-size: 14px; }

.icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: #ECFDF5;
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 23px;
  margin-bottom: 18px;
}

h3 {
  margin: 10px 0 0;
  color: #020617;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.card p,
.card li {
  color: #64748B;
  line-height: 1.7;
}

.card p { margin: 13px 0 0; }

ul.clean {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

ul.clean li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

ul.clean li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 900;
  margin-top: 1px;
}

.dark {
  background: var(--dark);
  color: white;
}

.dark h2,
.dark h3 { color: white; }
.dark .kicker { color: #5EEAD4; }
.dark p { color: #CBD5E1; }

.dark .card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
  box-shadow: none;
}

.dark .card p,
.dark .card li { color: #CBD5E1; }

.usecases {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

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

.case {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius: 24px;
  padding: 20px;
  line-height: 1.65;
}

.case::before {
  content: "✓";
  color: #5EEAD4;
  font-weight: 900;
  margin-right: 8px;
}

.center {
  max-width: 760px;
  text-align: center;
  margin: 0 auto 48px;
}

.step-badge {
  display: inline-flex;
  background: var(--teal);
  color: white;
  font-size: 14px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.note-box {
  border-left: 5px solid var(--amber);
  background: #FFFBEB;
  border-radius: 22px;
  padding: 24px;
  color: #78350F;
  line-height: 1.7;
  font-weight: 650;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.related a {
  display: block;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.related a:hover {
  border-color: #99F6E4;
  transform: translateY(-2px);
  transition: .18s ease;
}

.related strong {
  display: block;
  color: #020617;
  font-size: 19px;
  margin-bottom: 8px;
}

.related span {
  display: block;
  color: #64748B;
  line-height: 1.55;
}

.cta-box {
  background: linear-gradient(135deg, var(--teal), var(--dark));
  color: white;
  border-radius: 34px;
  padding: 46px 10px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr .88fr;
  gap: 46px;
  align-items: center;
}

.cta-box h2 { color: white; }
.cta-box p { color: #ECFEFF; line-height: 1.75; }

form {
  background: white;
  color: var(--text);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .20);
}

.privacheck {
    width: auto;
}
label.form-consent {
    display: flex;
}
p.form-note {
    color: cornflowerblue !important;
    font-size: larger;
}

label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
}

input, textarea, select {
  width: 100%;
  border: 1px solid #CBD5E1;
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  margin-bottom: 15px;
  background: white;
}

textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--teal); }

.form-note {
  margin: 12px 0 0;
  color: #64748B !important;
  font-size: 12px;
  line-height: 1.5 !important;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: 34px 0;
  color: #64748B;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a:hover { color: var(--teal); }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .hero-grid, .page-hero-grid, .usecases, .cta-box { grid-template-columns: 1fr; }
  .benefits, .three, .grid-2, .grid-3, .grid-4, .related, .case-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 64px 0; }
  .page-hero { padding: 56px 0 68px; }
  section { padding: 64px 0; }
}


/* Enlazado interno y footer ampliado */
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 26px;
}

.footer-col h4 {
  margin: 0 0 12px;
  color: #020617;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.footer-col p {
  margin: 0;
  line-height: 1.7;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  color: #64748B;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

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

.link-card {
  display: block;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.link-card:hover {
  border-color: #99F6E4;
  transform: translateY(-2px);
  transition: .18s ease;
}

.link-card strong {
  display: block;
  color: #020617;
  font-size: 19px;
  margin-bottom: 8px;
}

.link-card span {
  display: block;
  color: #64748B;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .footer-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }
}


/* Menú móvil */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  cursor: pointer;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #0F172A;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
}

.mobile-menu-inner {
  padding-top: 14px;
  padding-bottom: 18px;
  display: grid;
  gap: 6px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 16px;
  color: #334155;
  font-weight: 750;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: #ECFDF5;
  color: var(--teal);
}

.mobile-menu .mobile-cta {
  margin-top: 8px;
  justify-content: center;
  background: var(--teal);
  color: white;
  box-shadow: 0 10px 25px rgba(15, 118, 110, .22);
}

.mobile-menu .mobile-cta:hover {
  background: var(--teal-dark);
  color: white;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu.is-open {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }
  
  .photo-note span, .photo-note strong {
    font-size: smaller;
  }
}
