/* ===========================================================================
   AISellerate — sitio corporativo
   Sitio de una sola página con la marca
   AISellerate: azul marino + dorado.
   =========================================================================== */

:root {
  /* Paleta canónica — AISellerate Brand Book v1 */
  --navy-900: #0a162c;   /* Navy profundo */
  --navy-850: #0a1a35;
  --navy-800: #0e2044;   /* Navy del ícono */
  --navy-750: #12294f;
  --navy-700: #1e2761;   /* Navy texto */
  --line-dark: #22406e;
  --bg-light: #f4f6fb;
  --text-dark: #16233b;
  --text-light: #e9eef7;
  --muted: #9fb0cc;
  --muted-light: #5b6b86;
  --gold: #c9a227;       /* Dorado de marca */
  --gold-lt: #f1d591;
  --gold-dim: #a97f2e;
  --steel: #5a6d99;      /* Azul acero */
  --blue: #3f78c4;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--navy-850);
  color: var(--text-light);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

section { scroll-margin-top: 78px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* Tipografía de títulos (contraste fino / grueso) */
.t-thin  { font-weight: 300; letter-spacing: -.01em; }
.t-heavy { font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(90deg, var(--gold-lt), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent; }

.font-display { font-family: "Sora", "Inter", sans-serif; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Navbar ---------- */
.navbar-main {
  background-color: rgba(8, 20, 40, .85) !important;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(63,120,196,.15);
  transition: background-color .3s ease;
  min-height: 78px;
}
.navbar-logo { height: 34px; width: auto; display: block; }
.navbar-main .nav-link {
  color: #c6d3e8 !important;
  font-size: .95rem; font-weight: 500;
  padding: .4rem .9rem !important;
  transition: color .2s ease;
}
.navbar-main .nav-link:hover, .navbar-main .nav-link.active { color: #fff !important; }
.navbar-main .nav-link.active { position: relative; }
.navbar-main .nav-link.active::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .1rem; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt)); border-radius: 2px;
}
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold-lt) !important;
  border-radius: 999px; padding: .4rem 1.1rem !important; margin-left: .4rem;
}
.nav-cta:hover { background: var(--gold); color: var(--navy-900) !important; }
.navbar-toggler { border-color: rgba(255,255,255,.25); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(203,162,76,.35); }
@media (max-width: 767.98px) {
  .navbar-main .navbar-collapse {
    background-color: rgba(8,20,40,.98); margin: 0 -12px; padding: 12px 24px 18px;
    border-top: 1px solid rgba(63,120,196,.15);
  }
  .nav-cta { display: inline-block; margin: .5rem 0 0; }
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 640px at 80% -10%, #17427a 0%, transparent 55%),
    radial-gradient(900px 640px at 6% 108%, #10305c 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
}
.hero-section::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(63,120,196,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63,120,196,.06) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  opacity: .5;
}
.hero-section::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: 2.6px;
  text-transform: uppercase; color: var(--gold-lt);
  padding: 7px 16px; border: 1px solid rgba(203,162,76,.35); border-radius: 999px;
  background: rgba(203,162,76,.06); margin-bottom: 26px;
}
.hero-tagline {
  font-family: "Sora", sans-serif; font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(2.1rem, 5.4vw, 3.9rem); line-height: 1.06; margin: 0 0 1.1rem;
}
.hero-tagline .accent {
  background: linear-gradient(90deg, var(--gold-lt), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtagline {
  font-size: clamp(1rem, 2.3vw, 1.32rem); color: #cdd9ec; max-width: 720px; margin: 0 0 2rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cue {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 26px; z-index: 2;
  color: rgba(255,255,255,.55); font-size: 1.6rem; animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- Botones ---------- */
.btn-gold {
  background: linear-gradient(90deg, var(--gold-lt), var(--gold));
  color: var(--navy-900); font-weight: 600; border: none; border-radius: 999px;
  padding: .8rem 1.7rem; box-shadow: 0 12px 30px -12px rgba(203,162,76,.6);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(203,162,76,.7); color: var(--navy-900); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px;
  padding: .8rem 1.7rem; font-weight: 500; transition: border-color .2s ease, background .2s ease;
}
.btn-ghost:hover { border-color: var(--gold); color: #fff; background: rgba(203,162,76,.08); }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; position: relative; }
.section-light { background-color: var(--bg-light); color: var(--text-dark); }
.section-dark  { background-color: var(--navy-900); }
.section-title {
  font-family: "Sora", sans-serif; font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.12; margin: 0 0 .5rem;
}
.section-subtitle { font-size: 1.05rem; color: var(--muted); margin-bottom: .5rem; }
.section-light .section-subtitle { color: var(--muted-light); }
.section-body { font-size: 1.15rem; line-height: 1.75; color: #d7e0ef; }
.section-light .section-body { color: #33415c; }
.lead-max { max-width: 820px; margin-inline: auto; }

/* ---------- Banda tipográfica (experiencia / pilares) ---------- */
.band { margin-top: 56px; text-align: center; }
.band-label {
  font-size: .78rem; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 18px;
}
.section-light .band-label { color: var(--gold-dim); }
.band-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.band-list span {
  font-family: "Sora", sans-serif; font-size: clamp(1.05rem, 2.4vw, 1.6rem); line-height: 1.2;
}
.band-list .b-thin { font-weight: 300; color: var(--muted-light); }
.band-list .b-reg  { font-weight: 600; color: var(--text-dark); }
.section-dark .band-list .b-thin, .section:not(.section-light) .band-list .b-thin { color: var(--muted); }
.section-dark .band-list .b-reg,  .section:not(.section-light) .band-list .b-reg  { color: #e9eef7; }

/* ---------- Problemas (numerado) ---------- */
.why-item { padding: 6px 0; }
.why-num {
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 2.6rem;
  background: linear-gradient(90deg, var(--gold-lt), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent; display: block; line-height: 1;
}
.why-title { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.3rem; margin: .7rem 0 .5rem; }
.why-text { color: var(--muted); margin: 0; }

/* ---------- Servicios (cards) ---------- */
.service-card {
  height: 100%; background: linear-gradient(180deg, #ffffff, #eef2f9);
  border: 1px solid #e0e6f1; border-radius: 20px; padding: 34px 30px;
  box-shadow: 0 24px 60px -40px rgba(16,35,91,.4);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -38px rgba(16,35,91,.5); border-color: var(--gold); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-750), var(--navy-900)); color: var(--gold-lt);
  font-size: 1.6rem; margin-bottom: 18px;
}
.service-title { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--text-dark); margin: 0 0 .35rem; }
.service-pitch { color: var(--gold-dim); font-weight: 600; margin: 0 0 1rem; }
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li {
  position: relative; padding: 6px 0 6px 26px; color: #3a496a; font-size: .97rem;
  border-top: 1px solid #e6ebf4;
}
.service-list li:first-child { border-top: none; }
.service-list li::before {
  content: "\2197"; position: absolute; left: 0; top: 6px; color: var(--gold-dim); font-weight: 700;
}

/* ---------- Metodología (fases) ---------- */
.phase-item { text-align: center; padding: 10px; }
.phase-num {
  display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--gold-lt);
  border: 1.5px solid rgba(203,162,76,.45); background: rgba(203,162,76,.06); margin-bottom: 18px;
}
.phase-title { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.25rem; margin: 0 0 .5rem; }
.phase-text { color: var(--muted); margin: 0; font-size: .98rem; }
.phase-connector { position: relative; }
@media (min-width: 992px) {
  .phase-connector::after {
    content: ""; position: absolute; top: 33px; right: -18px; width: 36px; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
  }
}

/* ---------- Equipo ---------- */
.team-member {
  height: 100%; background: linear-gradient(180deg, var(--navy-750), var(--navy-850));
  border: 1px solid var(--line-dark); border-radius: 22px; padding: 34px 30px;
}
.team-top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.team-avatar {
  flex: 0 0 auto; width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem;
  color: var(--navy-900); background: linear-gradient(140deg, var(--gold-lt), var(--gold));
  box-shadow: 0 10px 26px -12px rgba(203,162,76,.6);
}
.team-photo {
  flex: 0 0 auto; width: 92px; height: 115px; border-radius: 14px; object-fit: cover; object-position: 50% 22%;
  border: 1px solid rgba(203,162,76,.5);
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.7);
}
.team-name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.35rem; margin: 0; }
.team-role { color: var(--gold-lt); font-weight: 500; font-size: .95rem; margin: .15rem 0 0; }
.team-bio { color: var(--muted); font-size: .98rem; margin: 0 0 20px; }
.team-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-chip {
  text-align: center; padding: 12px 8px; border-radius: 14px;
  background: rgba(63,120,196,.1); border: 1px solid var(--line-dark);
}
.stat-num { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--gold-lt); line-height: 1; }
.stat-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-top: 6px; }

/* ---------- Contacto ---------- */
.contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(203,162,76,.1); color: var(--gold-lt); font-size: 1.25rem; border: 1px solid rgba(203,162,76,.25);
}
.contact-item a, .contact-item span { color: #dbe4f2; }
.contact-item a:hover { color: var(--gold-lt); }
.form-label { color: #c6d3e8; font-size: .9rem; margin-bottom: .35rem; }
.form-control-navy {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); color: #fff;
  border-radius: 12px; padding: .7rem .9rem; width: 100%; transition: border-color .2s ease, background .2s ease;
}
.form-control-navy::placeholder { color: #6f83a3; }
.form-control-navy:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.06); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line-dark); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 26px; }
.footer-copy { color: #6f83a3; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cue { animation: none; }
}
