/* Micronics Alquileres — opción 01 v2: premium dark + realtor */
:root {
  --bg: #06070c;
  --bg-elev: #0e1018;
  --bg-card: #13151f;
  --bg-card-2: #181b27;
  --text: #f4f5fa;
  --muted: #9aa0b4;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --red: #e2272d;
  --red-2: #ff4750;
  --red-soft: rgba(226, 39, 45, 0.14);
  --red-glow: rgba(226, 39, 45, 0.45);
  --green: #27c46b;
  --radius: 18px;
  --radius-sm: 12px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-card: 0 12px 40px -18px rgba(0, 0, 0, 0.55);
  --shadow-hover: 0 20px 48px -16px rgba(226, 39, 45, 0.28);
  --glass: rgba(14, 16, 24, 0.72);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: 6.5rem;
}

html.is-smooth-scrolling {
  scroll-behavior: auto !important;
  overflow-anchor: none;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-bg__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: blur(7px) saturate(1.08) brightness(0.72);
  -webkit-filter: blur(7px) saturate(1.08) brightness(0.72);
  transform: scale(1.03);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 7, 12, 0.92) 0%, rgba(6, 7, 12, 0.78) 42%, rgba(6, 7, 12, 0.55) 68%, rgba(6, 7, 12, 0.72) 100%),
    radial-gradient(900px 600px at 82% 28%, rgba(226, 39, 45, 0.18), transparent 62%),
    radial-gradient(700px 500px at 12% 80%, rgba(39, 196, 107, 0.06), transparent 55%);
}

@media (prefers-reduced-motion: reduce) {
  .page-bg__art {
    filter: blur(5px) saturate(1.05) brightness(0.75);
    -webkit-filter: blur(5px) saturate(1.05) brightness(0.75);
  }
}

.page-wrap {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Brand / logo */
.brand {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  align-items: center;
  text-decoration: none;
}

.brand__img {
  display: block;
  height: 52px;
  width: auto;
  background: transparent;
}

.brand--footer .brand__img {
  height: 40px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 0;
  background: rgba(6, 7, 12, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav__product {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-2);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 39, 45, 0.35);
  background: rgba(226, 39, 45, 0.1);
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  font-size: 0.92rem;
}

.nav__links a:not(.btn) {
  color: #cfd3e4;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.82;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.nav__links a:not(.btn):hover {
  opacity: 1;
  color: var(--text);
}

.nav__links a.btn--primary,
.nav__links a.btn--primary:hover {
  color: #fff;
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.2rem;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(180deg, #ff3a40 0%, #d11820 100%);
  color: #fff;
  box-shadow: 0 8px 22px -8px var(--red-glow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px var(--red-glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.btn--large {
  padding: 0.78rem 1.65rem;
  font-size: 1rem;
}

.btn__icon {
  flex-shrink: 0;
}

.btn--whatsapp {
  background: linear-gradient(145deg, #2fe06d, #25d366);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.45);
}

.btn--whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(37, 211, 102, 0.5);
}

@media (max-width: 720px) {
  .nav__links a:not(.btn) {
    display: none;
  }
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 8vw, 4.5rem) 0 clamp(3rem, 7vw, 4.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--red-2);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.hero__badge::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--red-2);
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 2rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__aside {
  position: relative;
}

/* Sections */
section {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.section-head {
  max-width: 36rem;
  margin: 0 0 2.5rem;
}

.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 39, 45, 0.28);
  box-shadow: var(--shadow-hover);
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--red-2);
  background: var(--red-soft);
  border: 1px solid rgba(226, 39, 45, 0.2);
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Spotlight IPC */
.spotlight {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.spotlight__card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius) + 4px);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow-card);
}

.spotlight__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.spotlight__badge {
  display: inline-block;
  color: var(--red-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.spotlight__head h2 {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.spotlight__lead {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.65;
}

.spotlight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.25rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 720px) {
  .spotlight__grid {
    grid-template-columns: 1fr;
  }
}

.spotlight__sub {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.spotlight__steps {
  margin: 0;
  padding: 0 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.spotlight__steps li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
}

.spotlight__steps li::marker {
  color: var(--red-2);
  font-weight: 700;
}

.spotlight__perks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.spotlight__perks li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.spotlight__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.55rem;
  height: 0.32rem;
  border-left: 2.5px solid var(--red-2);
  border-bottom: 2.5px solid var(--red-2);
  transform: rotate(-45deg);
}

.spotlight__summary {
  margin: 0;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(226, 39, 45, 0.08);
  border: 1px solid rgba(226, 39, 45, 0.2);
}

.spotlight__summary blockquote {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 0.98rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text);
  line-height: 1.55;
  text-align: center;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.plan {
  position: relative;
  padding: 1.65rem 1.4rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.plan--featured {
  border-color: rgba(226, 39, 45, 0.4);
  background: linear-gradient(165deg, rgba(226, 39, 45, 0.1) 0%, var(--bg-card) 45%);
  box-shadow: 0 16px 40px -16px var(--red-glow);
  transform: scale(1.02);
  z-index: 2;
}

@media (max-width: 1024px) {
  .plan--featured {
    transform: none;
  }
}

.plan__tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: linear-gradient(180deg, #ff3a40 0%, #d11820 100%);
  color: #fff;
  box-shadow: 0 6px 16px -6px var(--red-glow);
}

.plan h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.plan__contracts {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 0.15rem;
}

.plan__contracts small {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.25rem;
  text-transform: none;
  letter-spacing: 0;
}

.plan__price {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1.2rem;
}

.plan__price strong {
  color: var(--red-2);
  font-size: 1.25rem;
  font-weight: 700;
}

.plan ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  flex: 1;
}

.plan li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.plan .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  margin: 2rem 0 0;
  padding: clamp(2.25rem, 5vw, 3.25rem);
  border-radius: calc(var(--radius) + 4px);
  text-align: center;
  background:
    radial-gradient(600px 220px at 80% 0%, rgba(226, 39, 45, 0.16), transparent 70%),
    var(--bg-card);
  border: 1px solid rgba(226, 39, 45, 0.22);
  box-shadow: var(--shadow-card);
}

.cta-band h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

/* Contact modal */
.contact-modal {
  padding: 0;
  margin: auto;
  max-width: calc(100vw - 1.5rem);
  width: min(26rem, 100%);
  border: none;
  background: transparent;
  box-shadow: none;
}

.contact-modal::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-modal__panel {
  position: relative;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.65);
}

.contact-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  background: var(--bg-elev);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-modal__close:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.contact-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 2.25rem 0.35rem 0;
  color: var(--text);
}

.contact-modal__lead {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.contact-modal__plan {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-2);
}

.contact-modal__msg {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.4;
}

.contact-modal__msg--error {
  color: #ffb4b4;
  background: rgba(226, 39, 45, 0.12);
  border: 1px solid rgba(226, 39, 45, 0.28);
}

.contact-modal__msg--ok {
  color: #8ee8b0;
  background: rgba(39, 196, 107, 0.12);
  border: 1px solid rgba(39, 196, 107, 0.28);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.contact-form__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form__label--hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  resize: vertical;
  min-height: 2.5rem;
}

.contact-form__textarea {
  min-height: 6rem;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: 2px solid rgba(226, 39, 45, 0.45);
  outline-offset: 1px;
}

.contact-form__submit {
  margin-top: 0.35rem;
  width: 100%;
}

.contact-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* WhatsApp FAB */
.wa-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #2fe06d, #25d366);
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-fab:hover {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab {
    transition: none;
  }

  .wa-fab:hover {
    transform: none;
  }
}

/* Footer */
.footer {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  background: rgba(6, 7, 12, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.footer__copy {
  color: var(--muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer a:hover {
  color: var(--red-2);
}
