/* ============ RentingParaEmpresas — estilos ============ */
:root {
  --ink: #0b1f18;
  --ink-soft: #3d5249;
  --emerald: #0e3a2f;
  --emerald-deep: #092b22;
  --accent: #37b878;
  --accent-strong: #0e7a4f;
  --accent-bright: #78faae;
  --bg: #ffffff;
  --tint: #f3f7f5;
  --line: #e2eae6;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(9, 43, 34, 0.10);
  --shadow-lg: 0 24px 80px rgba(9, 43, 34, 0.18);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(9,43,34,0.06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--emerald); }
.logo__mark { display: inline-flex; color: var(--accent-strong); }
.logo__text { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.logo__text strong { font-weight: 800; }
.logo--light { color: #fff; }
.logo--light .logo__mark { color: var(--accent-bright); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); transition: color 0.2s; }
.nav a:hover { color: var(--accent-strong); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--emerald); color: #fff; box-shadow: 0 6px 20px rgba(14, 58, 47, 0.25); }
.btn--primary:hover { background: var(--emerald-deep); }
.btn--ghost { background: transparent; color: var(--emerald); border-color: var(--emerald); }
.btn--ghost:hover { background: var(--tint); }
.btn--accent { background: var(--accent-bright); color: var(--emerald-deep); }
.btn--accent:hover { background: #8cffbc; }
.btn--sm { padding: 10px 20px; font-size: 0.88rem; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Tipografía secciones ---------- */
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-strong); margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent-bright); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.accent { color: var(--accent-strong); }
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__sub { margin-top: 14px; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 104px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; top: -320px; right: -320px; width: 720px; height: 720px;
  border-radius: 50%; background: radial-gradient(circle, rgba(120, 250, 174, 0.18) 0%, rgba(120, 250, 174, 0) 70%);
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero__sub { margin-top: 20px; color: var(--ink-soft); font-size: 1.1rem; max-width: 540px; }
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero__stats dt { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; color: var(--emerald); }
.hero__stats dd { font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; }
.hero__panel { position: relative; }
.hero__panel-card {
  background: var(--emerald-deep); color: #cfe3d8; border-radius: 24px;
  padding: 36px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero__panel-card::after {
  content: ""; position: absolute; bottom: -120px; right: -120px; width: 280px; height: 280px;
  border-radius: 50%; border: 2px solid rgba(120, 250, 174, 0.25); pointer-events: none;
}
.hero__panel-label {
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent-bright); margin-bottom: 18px;
}
.hero__panel-list { list-style: none; display: grid; gap: 12px; }
.hero__panel-list li { padding-left: 30px; position: relative; font-size: 0.95rem; font-weight: 600; color: #e8f4ee; }
.hero__panel-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%; background: rgba(120, 250, 174, 0.16);
  color: var(--accent-bright); font-size: 0.72rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero__panel-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.85rem; font-weight: 700; color: var(--accent-bright); }

/* ---------- Todo incluido ---------- */
.grid-included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.inc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform 0.25s, box-shadow 0.25s; }
.inc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.inc__num { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; color: var(--accent-strong); margin-bottom: 14px; }
.inc h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.inc p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- A tu medida ---------- */
.section--dark { background: var(--emerald-deep); color: #fff; }
.section--dark h2 { color: #fff; }
.section--dark .section__sub { color: #b9d4c8; }
.measure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.measure {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 32px 28px; transition: transform 0.25s, border-color 0.25s;
}
.measure:hover { transform: translateY(-6px); border-color: rgba(120, 250, 174, 0.5); }
.measure__big { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; color: var(--accent-bright); margin-bottom: 14px; }
.measure h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.measure p { font-size: 0.9rem; color: #cfe3d8; }
.ev-cta { text-align: center; margin-top: 44px; }

/* ---------- Pasos ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--tint);
  color: var(--accent-strong); font-weight: 800; font-size: 1.05rem; margin-bottom: 16px;
}
.step h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 0.87rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq summary {
  padding: 20px 24px; font-weight: 800; font-size: 1rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent-strong); transition: transform 0.25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Contacto / formulario ---------- */
.section--contact { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.checklist { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.checklist li { padding-left: 32px; position: relative; font-weight: 600; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent-bright);
  color: var(--emerald-deep); font-size: 0.8rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.form { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field__label { font-size: 0.82rem; font-weight: 800; color: var(--ink); }
.field input {
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: 0.95rem; color: var(--ink); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field input:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(14, 122, 79, 0.12); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button {
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-family: var(--font); font-weight: 700; font-size: 0.85rem; color: var(--ink-soft);
  cursor: pointer; transition: 0.15s;
}
.pills button:hover { border-color: var(--accent-strong); color: var(--accent-strong); }
.pills button.is-active { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.82rem; color: var(--ink-soft); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--accent-strong); width: 16px; height: 16px; flex-shrink: 0; }
.consent a { color: var(--accent-strong); font-weight: 700; }
.form__note { text-align: center; font-size: 0.8rem; color: var(--ink-soft); }
.form__error { color: #d64545; font-size: 0.85rem; font-weight: 600; }
.form__success {
  position: absolute; inset: 0; background: #fff; border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px; gap: 10px;
}
.form__success[hidden] { display: none; }
.form__success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent-bright);
  color: var(--emerald-deep); font-size: 1.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.form__success p { color: var(--ink-soft); max-width: 340px; }

/* ---------- Footer ---------- */
.footer { background: var(--emerald-deep); color: #cfe3d8; padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__brand p { margin-top: 14px; font-size: 0.9rem; max-width: 320px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.footer__col a { text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--accent-bright); }
.footer__legal { padding-top: 28px; display: grid; gap: 14px; }
.footer__legal p { font-size: 0.72rem; line-height: 1.7; color: #8fb3a4; }

/* ---------- Pop-up cookies ---------- */
.cookies { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.cookies[hidden] { display: none; }
.cookies__backdrop { position: absolute; inset: 0; background: rgba(9, 31, 24, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cookies__panel {
  position: relative; background: #fff; border-radius: 20px; width: min(440px, 100%);
  padding: 36px 32px 32px; text-align: center; box-shadow: var(--shadow-lg);
  animation: cookiesIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes cookiesIn { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
.cookies__icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--tint);
  font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.cookies__panel h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.cookies__panel p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 24px; }
.cookies a { color: var(--accent-strong); font-weight: 700; }
.cookies__actions { display: flex; gap: 12px; justify-content: center; }
.cookies__actions .btn { flex: 1; }

/* ---------- Animaciones reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .measure-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-included { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .grid-included { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 6%; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero__stats { gap: 28px; }
}
