/* =========================================================
   SolutionWeb — Tema oscuro/azul (branding SolutionWeb)
   Base clara tipo Figma adaptada a fondo oscuro + azul
   ========================================================= */

:root {
  color-scheme: dark;
  /* Fondos */
  --bg: #060a12;
  --bg-2: #0a111d;
  --card: #0c1524;
  --card-2: #101c30;

  /* Texto */
  --ink: #ffffff;
  --ink-2: #a6b6cf;
  --ink-3: #6d7f9c;

  /* Líneas */
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);

  /* Azul de marca */
  --blue: #2b7fff;
  --blue-2: #37b6ff;
  --blue-deep: #1656d6;
  --blue-tint: rgba(43, 127, 255, 0.14);
  --grad: linear-gradient(120deg, #1e6bff 0%, #37b6ff 100%);

  --wa: #25d366;

  /* Tipografía */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radios */
  --r-sm: 8px;
  --r-lg: 16px;
  --r-pill: 50px;

  /* Sombras */
  --glow: 0 24px 70px rgba(43, 127, 255, 0.22);
  --shadow-soft: 0 16px 50px rgba(0, 0, 0, 0.45);

  --maxw: 1200px;
  --section-y: clamp(72px, 9vw, 120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Tipografía ---------------- */

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-2);
}

.head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.head__title {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.head__lead {
  margin: 16px 0 0;
  font-size: 18px;
  color: var(--ink-2);
}

/* ---------------- Botones ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(43, 127, 255, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(43, 127, 255, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
  border-radius: var(--r-sm);
}

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

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------------- Navbar ---------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 18, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav__mark {
  height: 34px;
  width: auto;
}

.nav__word {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.nav__word b,
.footer__logo b {
  color: var(--blue-2);
  font-weight: 700;
}

.nav__links {
  display: none;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--ink-2);
}

.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: #fff;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--grad);
  transition: width 0.25s ease;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: #fff;
  cursor: pointer;
}

.nav__mobile {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.nav__mobile ul {
  list-style: none;
  margin: 0;
  padding: 8px 24px 16px;
}

.nav__mobile a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(43, 127, 255, 0.28) 0%, rgba(6, 10, 18, 0) 55%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  margin: 20px 0 0;
  font-size: clamp(40px, 7.2vw, 82px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
}

.hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}

.hero__lead {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--ink-2);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.hero__banner {
  width: min(980px, 100%);
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: calc(var(--r-lg) + 6px);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--glow);
}

.hero__banner img {
  width: 100%;
  border-radius: var(--r-lg);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(620px, 100%);
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
}

.hero__stats div {
  text-align: center;
}

.hero__stats dt {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero__stats dd {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

/* ---------------- Secciones y grid ---------------- */

.section {
  padding: var(--section-y) 0;
}

.section--panel {
  background: var(--bg-2);
}

.grid {
  display: grid;
  gap: 24px;
}

/* ---------------- Cards ---------------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 127, 255, 0.5);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.card h3 {
  margin: 18px 0 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.card p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 16px;
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--blue-tint);
  color: var(--blue-2);
}

.icon-tile--sm {
  width: 40px;
  height: 40px;
  flex: none;
}

/* ---------------- Card destacada ---------------- */

.card--accent {
  background: linear-gradient(160deg, #12213c 0%, #0c1626 100%);
  border-color: rgba(43, 127, 255, 0.45);
}

.card--accent h3 {
  margin-top: 0;
}

.card--accent .btn {
  margin-top: 22px;
}

/* ---------------- Sobre mí ---------------- */

.about {
  display: grid;
  gap: 48px;
  align-items: center;
}

.about__text .head__title {
  margin-bottom: 18px;
}

.about__text p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 17px;
}

.about__list {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.about__list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2337b6ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

.about__panel {
  background: linear-gradient(160deg, #0f1a2e 0%, #0a1220 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.about__panel img {
  height: 96px;
  width: auto;
  margin: 0 auto;
}

.about__tagline {
  margin: 24px 0 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
}

.about__facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.about__facts span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--blue-2);
}

/* ---------------- Proceso ---------------- */

.steps .card h3 {
  margin-top: 6px;
}

.step__num {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.18);
  transition: color 0.2s ease;
}

.card:hover .step__num {
  color: var(--blue-2);
}

/* ---------------- Precios ---------------- */

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.plan h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.plan__desc {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.plan__price {
  margin: 22px 0 0;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
}

.plan__features {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}

.plan__features li {
  position: relative;
  padding-left: 26px;
}

.plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2337b6ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

.plan__btn {
  margin-top: 28px;
  width: 100%;
}

.plan--featured {
  border: 1px solid rgba(43, 127, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(43, 127, 255, 0.15), var(--glow);
  position: relative;
}

.plan__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--r-pill);
}

/* ---------------- Contacto ---------------- */

.contact {
  display: grid;
  gap: 48px;
}

.contact__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--ink);
}

.contact__list a {
  transition: color 0.2s ease;
}

.contact__list a:hover {
  color: var(--blue-2);
}

.form {
  display: grid;
  gap: 16px;
  padding: 32px;
}

.form__field {
  display: grid;
  gap: 7px;
}

.form__field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: var(--ink-3);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 127, 255, 0.2);
}

.form__field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.04);
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2337b6ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.form__field select option {
  background: #0c1524;
  color: #fff;
}

.form__field textarea {
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__btn {
  margin-top: 6px;
  width: 100%;
}

.form-msg {
  margin: 0;
  font-size: 14px;
}

.form-msg.ok {
  color: #4ade80;
}

.form-msg.err {
  color: #f87171;
}

/* ---------------- Footer ---------------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  background: var(--bg);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__logo img {
  height: 30px;
  width: auto;
}

.footer__logo span {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer__tagline {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.footer__top {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-2);
}

.footer__copy {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__copy p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
}

.footer__copy p + p {
  margin-top: 8px;
}

.footer__copy a {
  color: var(--ink-3);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.footer__copy a:hover {
  color: var(--blue-2);
}

/* ---------------- WhatsApp flotante ---------------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55);
}

/* ---------------- Responsive ---------------- */

@media (min-width: 640px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }
  .nav__burger {
    display: none;
  }
  .contact {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .about {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
