/* ============================================================
   web-hosting.css — estilos exclusivos de la landing Web Hosting
   Extiende style.css. Variables base vienen de ahí.
============================================================ */

/* ── Nav activo ─────────────────────────────────────────── */
.nav__item--active { color: var(--clr-secondary) !important; }


/* ============================================================
   HERO WEB HOSTING
============================================================ */
.wh-hero {
  min-height: 100vh;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wh-hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.wh-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}
.wh-hero__orb--1 {
  width: 650px; height: 650px;
  background: rgba(255,106,0,.13);
  top: -200px; left: -160px;
  animation: floatA 12s ease-in-out infinite;
}
.wh-hero__orb--2 {
  width: 480px; height: 480px;
  background: rgba(57,255,20,.05);
  bottom: -120px; right: -100px;
  animation: floatB 15s ease-in-out infinite;
}
.wh-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,106,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,106,0,.03) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 100%);
}
.wh-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
}
.wh-hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 1.2rem;
}
.wh-hero__sub {
  color: var(--muted);
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.wh-hero__ctas  { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.wh-hero__proof { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }


/* ── Evolution Panel Mockup ─────────────────────────────── */
.evo-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: var(--shadow), 0 0 60px rgba(255,106,0,.07);
  max-width: 480px;
  margin-left: auto;
  position: relative;
}
.evo-mockup__bar {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.evo-mockup__title {
  font-size: .72rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-left: .4rem;
}
.evo-mockup__body {
  display: flex;
  min-height: 260px;
}
.evo-sidebar {
  width: 130px;
  background: #1a1a1a;
  border-right: 1px solid var(--border);
  padding: .8rem .5rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  flex-shrink: 0;
}
.evo-sidebar__item {
  font-size: .7rem;
  color: var(--muted);
  padding: .4rem .6rem;
  border-radius: 5px;
  cursor: default;
  transition: background .2s;
  white-space: nowrap;
  overflow: hidden;
}
.evo-sidebar__item--active { background: rgba(255,106,0,.12); color: var(--clr-secondary); }
.evo-sidebar__item:hover:not(.evo-sidebar__item--active) { background: rgba(255,255,255,.04); }

.evo-content { flex: 1; padding: 1rem; }
.evo-content__header {
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: .8rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.evo-stats { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .9rem; }
.evo-stat__bar {
  height: 5px;
  background: rgba(255,255,255,.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: .2rem;
}
.evo-stat__fill {
  height: 100%;
  width: var(--w);
  background: var(--grad);
  border-radius: 3px;
}
.evo-stat__label {
  font-size: .68rem;
  color: var(--muted2);
  display: flex;
  justify-content: space-between;
}
.evo-stat__label em { color: var(--clr-secondary); font-style: normal; }

.evo-tiles {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .4rem;
  margin-bottom: .8rem;
}
.evo-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .5rem .3rem;
  text-align: center;
}
.evo-tile__val {
  display: block;
  font-size: .85rem;
  font-weight: 900;
  margin-bottom: .1rem;
}
.evo-tile__val--green { color: #39ff14; }
.evo-tile__lbl { font-size: .6rem; color: var(--muted2); }

.evo-apps__label { font-size: .65rem; font-weight: 700; color: var(--muted2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.evo-apps__list  { display: flex; flex-wrap: wrap; gap: .3rem; }
.evo-app {
  font-size: .65rem;
  background: rgba(255,106,0,.08);
  border: 1px solid rgba(255,106,0,.2);
  color: var(--clr-secondary);
  padding: .18rem .5rem;
  border-radius: 4px;
}

.evo-mockup__badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface2);
  border: 1px solid var(--border-accent);
  color: var(--clr-secondary);
  font-size: .75rem;
  font-weight: 700;
  padding: .4rem 1.2rem;
  border-radius: 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}


/* ============================================================
   PERFILES (para quién es)
============================================================ */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: all .25s;
  position: relative;
}
.profile-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(255,106,0,.1);
}
.profile-card--highlight {
  border-color: var(--clr-primary);
  background: linear-gradient(160deg, #1a0d00, #120800);
}
.profile-card__icon { font-size: 2rem; margin-bottom: .9rem; display: block; }
.profile-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.3; }
.profile-card p  { color: var(--muted); font-size: .85rem; line-height: 1.65; margin-bottom: 1rem; }
.profile-card__link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--clr-primary);
  transition: color .2s;
}
.profile-card__link:hover { color: var(--clr-secondary); }


/* ============================================================
   PLANES — 3 columnas
============================================================ */
#wh-plans-grid { grid-template-columns: repeat(3,1fr); max-width: 1000px; }


/* ============================================================
   PANEL EVOLUTION — sección
============================================================ */
.wh-evolution__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.evo-features { display: flex; flex-direction: column; gap: 1.3rem; margin-top: 2rem; }
.evo-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.evo-feature__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,106,0,.07);
  border: 1px solid rgba(255,106,0,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.evo-feature h4 { font-size: .9rem; font-weight: 700; margin-bottom: .25rem; }
.evo-feature p  { color: var(--muted); font-size: .84rem; line-height: 1.6; }

/* Apps grid visual */
.evo-apps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .8rem;
  margin-bottom: 1rem;
}
.evo-app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem .8rem;
  text-align: center;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.evo-app-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.evo-app-card--wp { border-color: rgba(33,117,155,.4); background: rgba(33,117,155,.05); }
.evo-app-card--more { border-color: var(--border-accent); background: rgba(255,106,0,.05); }
.evo-app-card__icon {
  font-size: 1.3rem;
  font-weight: 900;
  display: block;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.evo-app-card__name { font-size: .75rem; font-weight: 700; color: var(--text); }
.evo-app-card__action { font-size: .65rem; color: var(--muted); }

.evo-trust-strip {
  display: flex;
  justify-content: space-around;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1rem;
}
.evo-trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--muted);
}
.evo-trust-item span { font-size: 1rem; }


/* ============================================================
   POR QUÉ — 4 cards
============================================================ */
.why-hosting-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}
.why-hosting-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  transition: all .25s;
}
.why-hosting-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255,106,0,.09);
}
.why-hosting-card__icon { font-size: 1.8rem; margin-bottom: .8rem; display: block; }
.why-hosting-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .45rem; }
.why-hosting-card p  { color: var(--muted); font-size: .84rem; line-height: 1.65; }


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .why-hosting-grid { grid-template-columns: repeat(2,1fr); }
  #wh-plans-grid    { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 900px) {
  .wh-hero__inner    { grid-template-columns: 1fr; text-align: center; padding-top: 4rem; }
  .wh-hero__ctas     { justify-content: center; }
  .wh-hero__sub      { margin: 0 auto 2rem; }
  .wh-hero__proof    { justify-content: center; }
  .evo-mockup        { margin: 0 auto; max-width: 420px; }
  .profiles-grid     { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .wh-evolution__grid{ grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
  .why-hosting-grid  { grid-template-columns: 1fr; }
  .evo-apps-grid     { grid-template-columns: repeat(2,1fr); }
  .evo-trust-strip   { flex-wrap: wrap; gap: .5rem; justify-content: flex-start; padding: .8rem; }
}