/* Nicolás Gallego — prototipo v0.1 */

:root {
  --paper: #0b0c10;
  --paper-deep: #1f2833;
  --ink: #f3f4f6;
  --muted: #c5c6c7;
  --line: #40505f;
  --pitch: #66fcf1;
  --pitch-deep: #66fcf1;
  --lime: #66fcf1;
  --tech: #66fcf1;
  --tech-deep: #66fcf1;
  --white: #1f2833;
  --max: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--tech);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--pitch);
  outline-offset: 3px;
}

a:hover {
  color: var(--pitch-deep);
}

.wrap {
  width: min(100% - 2rem, 58rem);
  margin-inline: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.1rem 0 0.4rem;
}

.brand {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--pitch);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--pitch);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  padding: 2.5rem 0 1.5rem;
}

.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pitch);
}

h1,
h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 18ch;
}

.lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.palette {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.palette li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.swatch {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px rgba(243, 244, 246, 0.24);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.chips li:nth-child(1),
.chips li:nth-child(2) { border-color: var(--pitch); color: var(--pitch); background: var(--paper-deep); }
.chips li:nth-child(3) { border-color: var(--pitch); color: #0b0c10; background: var(--lime); }

section {
  padding: 2.4rem 0;
  border-top: 1px dashed var(--line);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.facts article {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--pitch);
  padding: 1.1rem 1.15rem;
  border-radius: 0.85rem;
  box-shadow: 4px 5px 0 rgba(102, 252, 241, 0.16);
}

.facts article:nth-child(2) { border-top-color: var(--tech); box-shadow: 4px 5px 0 rgba(102, 252, 241, 0.16); }
.facts article:nth-child(3) { border-top-color: var(--lime); box-shadow: 4px 5px 0 rgba(102, 252, 241, 0.24); }
.facts article:nth-child(4) { border-top-color: var(--pitch-deep); }

.facts h3 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pitch);
}

.facts article:nth-child(2) h3 { color: var(--tech); }
.facts article:nth-child(3) h3 { color: var(--pitch); }

.facts p {
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
}

.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tech);
  margin-bottom: 0.5rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.note {
  max-width: var(--max);
  color: var(--muted);
}

.note strong {
  color: var(--ink);
}

.section-heading {
  max-width: 38rem;
}

.section-heading .kicker {
  margin-bottom: 0.45rem;
}

.section-heading h2 {
  margin-bottom: 0.7rem;
}

.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: 1.1rem;
  align-items: start;
  margin-top: 1.4rem;
}

.process-panel,
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.25rem;
}

.process-panel {
  border-top: 4px solid var(--tech);
}

.form-panel {
  border-top: 4px solid var(--pitch);
  box-shadow: 5px 6px 0 rgba(102, 252, 241, 0.16);
}

.panel-label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.7rem;
  counter-increment: process;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--tech-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.process-list strong,
.process-list span {
  grid-column: 2;
}

.process-list strong {
  margin-top: 0.1rem;
}

.process-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.support-note {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--lime);
  background: var(--paper-deep);
}

.support-note strong {
  color: var(--ink);
}

.support-note p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--pitch);
  color: #0b0c10;
}

.btn-primary:hover {
  background: var(--white);
  color: #0b0c10;
}

.btn-ghost {
  background: var(--paper-deep);
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--pitch);
  color: var(--pitch);
}

.placeholder {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 0.5rem;
  margin-top: 0;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.7rem 0.8rem;
  background: var(--paper-deep);
  color: var(--ink);
  font: inherit;
  margin-bottom: 0.45rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(102, 252, 241, 0.3);
  border-color: var(--pitch);
}

.contact-form button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
  max-width: var(--max);
}

.steps li {
  margin-bottom: 0.55rem;
}

.includes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.85rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.includes li {
  background: var(--white);
  border-left: 4px solid var(--pitch);
  border-radius: 0 0.8rem 0.8rem 0;
  padding: 0.75rem 0.9rem;
}

.includes li:nth-child(2) { border-left-color: var(--tech); }
.includes li:nth-child(3) { border-left-color: var(--lime); }

.team {
  display: grid;
  gap: 0.75rem;
}

.team div {
  background: var(--white);
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
}

.team div:nth-child(1) { border-color: var(--pitch); }
.team div:nth-child(2) { border-color: var(--tech); }

.team strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.andres-profile {
  border-color: var(--tech) !important;
  background: var(--paper-deep);
}

.profile-heading {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.profile-heading > div {
  display: grid;
  gap: 0.1rem;
}

.profile-heading > div > span {
  color: var(--muted);
  font-size: 0.86rem;
}

.profile-mark {
  display: grid;
  flex: 0 0 2.8rem;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--tech);
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.andres-profile p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.profile-link {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.profile-link span {
  transition: transform 160ms ease;
}

.profile-link:hover span {
  transform: translateX(0.2rem);
}

footer {
  border-top: 3px solid var(--pitch);
  padding: 1.4rem 0 2.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

footer p {
  margin: 0 0 0.4rem;
}

footer .legal {
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  h1 {
    max-width: none;
  }

  .start-grid {
    grid-template-columns: 1fr;
  }
}
