/* ============================================================
   HAUSBOX — INNER PAGES SHARED STYLES
   Premium inner page components, animations, layouts
   ============================================================ */

/* --- Page Hero --- */
/* --- Page Hero --- */
.page-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050c14; /* Sleek dark-blue/black background */
  color: #fff;
  padding: 8rem 1.25rem 4rem;
}

.page-hero--light {
  background: var(--bg-beige);
  color: #000;
}

.page-hero--short {
  min-height: 55vh;
}

.page-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 80% 20%, rgba(13,163,226,0.15) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(123,47,190,0.1) 0%, transparent 50%);
  filter: blur(60px);
  pointer-events: none;
}

.page-hero--light .page-hero__glow {
  background: radial-gradient(circle at 80% 20%, rgba(13,163,226,0.08) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(6,214,160,0.06) 0%, transparent 40%);
}

.page-hero__grid {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .page-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.page-hero__content {
  max-width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-hero__visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.page-hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.02);
  transform: perspective(1000px) rotateY(-6deg) rotateX(4deg) rotateZ(-1deg);
  transition: transform 600ms var(--ease-out-expo), box-shadow 600ms var(--ease-out-expo);
  will-change: transform;
}

.page-hero--light .page-hero__image-wrap {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  background: #fff;
  transform: none;
}

.page-hero__image-wrap:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotateZ(0deg) scale(1.02);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

.page-hero__image-wrap img,
.page-hero__image-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 10rem 2.5rem 6rem;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
}

.page-hero--light .breadcrumbs {
  color: rgba(0,0,0,0.4);
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .bc-sep {
  font-size: 10px;
  opacity: 0.5;
}

/* Hero Title */
.page-hero__title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  max-width: 800px;
}

.page-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  max-width: 580px;
  opacity: 0.7;
}

/* Hero Badge */
.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(13,163,226,0.12);
  border: 1px solid rgba(13,163,226,0.25);
  margin-bottom: 1.5rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-hero--light .page-hero__badge {
  background: rgba(13,163,226,0.08);
}

/* --- Inner Section --- */
.inner-section {
  padding: 5rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.inner-section--dark {
  background: #000;
  color: #fff;
}

.inner-section--beige {
  background: var(--bg-beige);
  color: #000000;
}

.inner-section--white {
  background: #fff;
  color: #000;
}

.inner-section__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .inner-section {
    padding: 7rem 2.5rem;
  }
  .inner-section__container {
    padding: 0 2.5rem;
  }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header--left {
  text-align: left;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.inner-section--dark .section-label {
  color: var(--accent);
}

.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(0,0,0,0.55);
  max-width: 620px;
  margin: 1.25rem auto 0;
}

.inner-section--dark .section-header p {
  color: rgba(255,255,255,0.55);
}

.section-header--left p {
  margin-left: 0;
}

/* --- Split Layout --- */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.split-layout--reverse {
  direction: ltr;
}

@media (min-width: 768px) {
  .split-layout--reverse .split-visual {
    order: -1;
  }
}

.split-text h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

.split-text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.65;
}

.split-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-beige);
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 2rem 0;
}

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

.stat-item {
  padding: 1.5rem 0;
}

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.55;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(13,163,226,0.15);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-line-fill {
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 100ms linear;
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline-line-fill {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  padding: 0 0 3rem 56px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms var(--ease-out-expo), transform 600ms var(--ease-out-expo);
}

.timeline-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding: 0 3rem 3rem 0;
  }
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 3rem 3rem;
  }
}

.timeline-dot {
  position: absolute;
  left: 13px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(13,163,226,0.2);
  z-index: 2;
}

.inner-section--dark .timeline-dot {
  border-color: #000;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: auto;
    right: -8px;
  }
  .timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -8px;
  }
}

.timeline-year {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.6;
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

.team-card {
  text-align: center;
  perspective: 800px;
}

.team-card__inner {
  position: relative;
  padding: 2rem 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 400ms ease, box-shadow 400ms ease;
  will-change: transform;
}

.inner-section--white .team-card__inner,
.inner-section--beige .team-card__inner {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.team-card:hover .team-card__inner {
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent) 0%, #7B2FBE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.5;
  margin-bottom: 1rem;
}

.team-card__bio {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 400ms, max-height 400ms ease;
}

.team-card:hover .team-card__bio {
  opacity: 0.6;
  max-height: 120px;
}

/* --- Values / Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  grid-auto-flow: dense;
}

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

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-grid .bento-item--wide {
    grid-column: span 2;
  }
}

.bento-item {
  padding: 2.5rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 300ms ease, border-color 300ms ease;
}

.inner-section--white .bento-item,
.inner-section--beige .bento-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}

.bento-item:hover {
  transform: translateY(-4px);
  border-color: rgba(13,163,226,0.2);
}

.bento-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(13,163,226,0.1);
  color: var(--accent);
}

.bento-item__icon svg {
  width: 24px;
  height: 24px;
}

.bento-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.bento-item p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  opacity: 0.6;
}

/* SVG icon draw animation */
.bento-item__icon svg path,
.bento-item__icon svg circle,
.bento-item__icon svg polyline,
.bento-item__icon svg line,
.bento-item__icon svg rect {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 800ms var(--ease-out-expo);
}

.bento-item.revealed .bento-item__icon svg path,
.bento-item.revealed .bento-item__icon svg circle,
.bento-item.revealed .bento-item__icon svg polyline,
.bento-item.revealed .bento-item__icon svg line,
.bento-item.revealed .bento-item__icon svg rect,
[data-stagger].revealed .bento-item__icon svg path,
[data-stagger].revealed .bento-item__icon svg circle,
[data-stagger].revealed .bento-item__icon svg polyline,
[data-stagger].revealed .bento-item__icon svg line,
[data-stagger].revealed .bento-item__icon svg rect,
.revealed .bento-item__icon svg path,
.revealed .bento-item__icon svg circle,
.revealed .bento-item__icon svg polyline,
.revealed .bento-item__icon svg line,
.revealed .bento-item__icon svg rect {
  stroke-dashoffset: 0;
}

/* --- Case Study Cards --- */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.case-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: transform 400ms var(--ease-out-expo), box-shadow 400ms var(--ease-out-expo);
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}

.case-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-beige);
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out-expo);
}

.case-card:hover .case-card__image img {
  transform: scale(1.06);
}

.case-card__body {
  padding: 1.5rem;
}

.case-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(13,163,226,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.case-card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: #1f2025;
}

.case-card__desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(31,32,37,0.55);
}

.case-card__metric {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.case-card__metric-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}

.case-card__metric-label {
  font-size: 13px;
  color: rgba(31,32,37,0.5);
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.blog-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: transform 400ms var(--ease-out-expo), box-shadow 400ms ease, border-color 300ms;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px var(--hover-shadow, rgba(13, 163, 226, 0.15));
}

.blog-card[data-category="administracion"] { --hover-shadow: rgba(13, 163, 226, 0.18); }
.blog-card[data-category="finanzas"] { --hover-shadow: rgba(16, 185, 129, 0.18); }
.blog-card[data-category="tecnologia"] { --hover-shadow: rgba(139, 92, 246, 0.18); }
.blog-card[data-category="comunidad"] { --hover-shadow: rgba(249, 115, 22, 0.18); }

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-dark);
  position: relative;
}

.blog-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}

.blog-card__image img, .blog-card__image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out-expo);
}

.blog-card:hover .blog-card__image img, .blog-card:hover .blog-card__image svg {
  transform: scale(1.06) rotate(1deg);
}

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.blog-card__category {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  display: inline-block;
}

.blog-card[data-category="administracion"] .blog-card__category {
  background: rgba(13, 163, 226, 0.1);
  color: #0da3e2;
}
.blog-card[data-category="finanzas"] .blog-card__category {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.blog-card[data-category="tecnologia"] .blog-card__category {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}
.blog-card[data-category="comunidad"] .blog-card__category {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.blog-card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 0.5rem;
  transition: color 200ms;
}

.blog-card:hover .blog-card__title {
  color: var(--accent, #0DA3E2);
}

.blog-card__excerpt {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* Featured blog post */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  margin-bottom: 3.5rem;
  transition: all 400ms ease;
}

.blog-featured:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 55px rgba(13, 163, 226, 0.15);
}

@media (min-width: 768px) {
  .blog-featured {
    grid-template-columns: 1.2fr 1fr;
  }
}

.blog-featured__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-dark);
  position: relative;
}

@media (min-width: 768px) {
  .blog-featured__image {
    aspect-ratio: auto;
    min-height: 380px;
  }
}

.blog-featured__image img, .blog-featured__image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out-expo);
}

.blog-featured:hover .blog-featured__image img, .blog-featured:hover .blog-featured__image svg {
  transform: scale(1.03) rotate(0.5deg);
}

.blog-featured__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured__category {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1rem;
}

.blog-featured[data-category="administracion"] .blog-featured__category {
  background: rgba(13, 163, 226, 0.1);
  color: #0da3e2;
}
.blog-featured[data-category="finanzas"] .blog-featured__category {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.blog-featured[data-category="tecnologia"] .blog-featured__category {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}
.blog-featured[data-category="comunidad"] .blog-featured__category {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.blog-featured__body h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #ffffff;
  transition: color 200ms;
}

.blog-featured:hover h3 {
  color: var(--accent, #0DA3E2);
}

.blog-featured__body p {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Newsletter Section --- */
.newsletter-banner {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.newsletter-banner h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.newsletter-banner p {
  font-size: 15px;
  opacity: 0.55;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  height: 48px;
  padding: 0 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 200ms;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.35);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: opacity 200ms;
}

.newsletter-form button:hover {
  opacity: 0.85;
}

/* --- Event Cards --- */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.event-card {
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 2rem;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.event-card__date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.event-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2025;
}

.event-card__desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(31,32,37,0.55);
  margin-bottom: 1.5rem;
}

.event-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 200ms;
}

.event-card__cta:hover {
  gap: 10px;
}

/* --- Flip Cards (Pain Points) --- */
.flip-card {
  perspective: 1000px;
  height: 320px;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__front,
.flip-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.flip-card__front {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.flip-card__back {
  background: linear-gradient(135deg, var(--accent), #065f84);
  color: #fff;
  transform: rotateY(180deg);
  justify-content: center;
}

.flip-card__back h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.flip-card__back p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.85;
}

/* --- Animated Metrics Bar --- */
.metric-bar {
  margin-bottom: 1.5rem;
}

.metric-bar__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.metric-bar__label {
  font-size: 14px;
  font-weight: 500;
}

.metric-bar__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.metric-bar__track {
  height: 8px;
  border-radius: 4px;
  background: rgba(0,0,0,0.06);
  overflow: hidden;
}

.inner-section--dark .metric-bar__track {
  background: rgba(255,255,255,0.08);
}

.metric-bar__fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #06d6a0);
  width: 0;
  transition: width 1.2s var(--ease-out-expo);
}

.metric-bar__fill.animated {
  width: var(--target-width, 0%);
}

/* --- Page Reveal Animations --- */
.page-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--ease-out-expo), transform 800ms var(--ease-out-expo);
}

.page-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.page-reveal--left {
  transform: translateX(-40px);
}

.page-reveal--left.revealed {
  transform: translateX(0);
}

.page-reveal--right {
  transform: translateX(40px);
}

.page-reveal--right.revealed {
  transform: translateX(0);
}

.page-reveal--scale {
  transform: scale(0.92);
}

.page-reveal--scale.revealed {
  transform: scale(1);
}

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out-expo), transform 600ms var(--ease-out-expo);
}

[data-stagger].revealed > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].revealed > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].revealed > *:nth-child(2) { transition-delay: 80ms; }
[data-stagger].revealed > *:nth-child(3) { transition-delay: 160ms; }
[data-stagger].revealed > *:nth-child(4) { transition-delay: 240ms; }
[data-stagger].revealed > *:nth-child(5) { transition-delay: 320ms; }
[data-stagger].revealed > *:nth-child(6) { transition-delay: 400ms; }
[data-stagger].revealed > *:nth-child(7) { transition-delay: 480ms; }
[data-stagger].revealed > *:nth-child(8) { transition-delay: 560ms; }
[data-stagger].revealed > *:nth-child(9) { transition-delay: 640ms; }
[data-stagger].revealed > *:nth-child(10) { transition-delay: 720ms; }
[data-stagger].revealed > *:nth-child(11) { transition-delay: 800ms; }
[data-stagger].revealed > *:nth-child(12) { transition-delay: 880ms; }

@media (prefers-reduced-motion: reduce) {
  .page-reveal,
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- CTA Section (reusable inner) --- */
.inner-cta {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #000 0%, #0a0a1a 100%);
  border-radius: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.inner-cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.inner-cta p {
  font-size: 17px;
  opacity: 0.55;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.inner-cta .btn-cta-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2rem;
  height: 52px;
  border-radius: 9999px;
  background: var(--accent, #0DA3E2);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent, #0DA3E2) 20%, transparent);
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms cubic-bezier(0.34, 1.56, 0.64, 1), background 300ms, opacity 300ms;
}

.inner-cta .btn-cta-hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--accent, #0DA3E2) 45%, transparent);
  opacity: 1;
}

/* --- Filter Pills --- */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(0,0,0,0.04);
  color: rgba(31,32,37,0.65);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 200ms;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* --- Resource Download Cards --- */
.resource-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 200ms, box-shadow 200ms;
  cursor: pointer;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.resource-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,163,226,0.08);
  color: var(--accent);
}

.resource-card__info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
  color: #1f2025;
}

.resource-card__info p {
  font-size: 13px;
  color: rgba(31,32,37,0.5);
}

/* --- Floating Avatars (Community) --- */
@keyframes float-avatar {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(6px, -10px) rotate(2deg); }
  50% { transform: translate(-4px, -18px) rotate(-1deg); }
  75% { transform: translate(8px, -8px) rotate(1deg); }
}

.floating-avatars {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.floating-avatar {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  animation: float-avatar 6s ease-in-out infinite;
  opacity: 0.75;
  will-change: transform;
}

.floating-avatar:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; animation-duration: 5s; }
.floating-avatar:nth-child(2) { top: 25%; right: 15%; animation-delay: 1s; animation-duration: 7s; width: 36px; height: 36px; }
.floating-avatar:nth-child(3) { top: 60%; left: 20%; animation-delay: 2s; animation-duration: 6s; width: 40px; height: 40px; }
.floating-avatar:nth-child(4) { top: 40%; right: 25%; animation-delay: 0.5s; animation-duration: 8s; }
.floating-avatar:nth-child(5) { top: 70%; right: 10%; animation-delay: 1.5s; animation-duration: 5.5s; width: 32px; height: 32px; }
.floating-avatar:nth-child(6) { top: 20%; left: 40%; animation-delay: 3s; animation-duration: 7.5s; width: 28px; height: 28px; }
.team-bio-details {
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}
.team-bio-details summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent, #0DA3E2);
  list-style: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}
.team-bio-details summary::-webkit-details-marker {
  display: none;
}
.team-bio-details summary::after {
  content: '+';
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s ease;
}
.team-bio-details[open] summary::after {
  transform: rotate(45deg);
}
.team-bio-details summary:hover {
  opacity: 0.8;
}
.team-bio-details .team-card__bio {
  margin-top: 1rem;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ============================================================
   HAUSBOX AWWWARDS ADDITIONS
   Simulators, calculators, reveals, and interactive elements
   ============================================================ */

/* --- Gradient Flow Background --- */
.bg-gradient-shift {
  background: linear-gradient(-45deg, #000000, #0c1c2e, #0a263d, #030d1a);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Glassmorphism Cards --- */
.glass-card {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2) !important;
}

.inner-section--white .glass-card,
.inner-section--beige .glass-card {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.04) !important;
}

/* --- Text Reveal Splitting --- */
.text-reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.22em;
}

.text-reveal-word span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 800ms var(--ease-out-expo);
  will-change: transform;
}

.revealed .text-reveal-word span {
  transform: translateY(0);
  transition-delay: calc(var(--w-index, 0) * 35ms);
}

/* --- Magnetic buttons --- */
.magnetic-btn-wrap {
  display: inline-block;
  position: relative;
}

/* --- Before/After Metrics comparison slider --- */
.before-after-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(0,0,0,0.12);
  user-select: none;
}

.ba-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-panel--before {
  z-index: 1;
}

.ba-panel--after {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  transition: clip-path 100ms ease;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.ba-handle__circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  color: #fff;
  font-size: 16px;
  transition: transform 200ms var(--ease-out-expo);
}

.before-after-slider:hover .ba-handle__circle {
  transform: translate(-50%, -50%) scale(1.1);
}

.ba-label {
  position: absolute;
  bottom: 20px;
  padding: 8px 16px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 6px;
  z-index: 5;
  pointer-events: none;
}

.ba-label--before { right: 20px; }
.ba-label--after { left: 20px; }

/* --- Dynamic ROI Calculator --- */
.roi-calculator {
  border-radius: 24px;
  padding: 3rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.inner-section--dark .roi-calculator {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .roi-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.roi-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.roi-group__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roi-group__label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.inner-section--white .roi-group__label {
  color: #1f2025;
}

.roi-group__val {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.roi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(0,0,0,0.08);
  outline: none;
}

.inner-section--dark .roi-slider {
  background: rgba(255,255,255,0.12);
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: transform 150ms;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.roi-results {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  border-radius: 20px;
  background: var(--bg-beige);
  text-align: center;
}

.inner-section--dark .roi-results {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.roi-res-val {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.roi-res-val span {
  font-size: 0.45em;
  font-weight: 500;
  opacity: 0.8;
  margin-left: 0.25rem;
  vertical-align: middle;
}

.roi-res-label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.6;
  margin-bottom: 2rem;
}

.roi-sub-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 1.5rem;
}

.inner-section--dark .roi-sub-stats {
  border-color: rgba(255,255,255,0.08);
}

.roi-sub-val {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.roi-sub-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
  margin-top: 4px;
}

/* --- White Label Simulator --- */
.whitelabel-simulator {
  border-radius: 32px;
  background: linear-gradient(135deg, #050c14 0%, #0a192f 50%, #030d1a 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 3.5rem;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.wl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .wl-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.wl-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.wl-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wl-input-group label {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wl-input-field {
  height: 52px;
  padding: 0 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: all 250ms ease;
}

.wl-input-field:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.wl-input-field:focus {
  border-color: #0DA3E2;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(13, 163, 226, 0.15);
}

.wl-input-field::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.wl-colors {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.wl-color-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 150ms, border-color 150ms;
}

.wl-color-btn:hover {
  transform: scale(1.1);
}

.wl-color-btn.active {
  border-color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.wl-phone-container {
  display: flex;
  justify-content: center;
}

/* Smartphone Mockup Frame */
.phone-mockup {
  width: 290px;
  height: 580px;
  border-radius: 44px;
  background: #000;
  border: 12px solid #1e293b;
  box-shadow: 0 30px 60px rgba(0,0,0,0.65), inset 0 0 0 2px rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-mockup__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 18px;
  background: #000;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 10;
}

.phone-mockup__screen {
  flex: 1;
  background: #fcfcfc;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333;
  padding-top: 18px;
  transition: background 300ms;
}

.phone-mockup__header {
  padding: 1.25rem 1rem;
  color: #fff;
  text-align: center;
  transition: background-color 300ms;
  position: relative;
}

.phone-mockup__logo {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.phone-mockup__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  flex: 1;
}

.phone-card {
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-card__title {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
}

.phone-card__main {
  font-size: 18px;
  font-weight: 700;
}

.phone-card__sub {
  font-size: 11px;
  color: #059669;
  font-weight: 500;
}

.phone-pill-btn {
  height: 38px;
  border-radius: 19px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  margin-top: auto;
  transition: background-color 300ms;
  text-decoration: none;
}

/* --- Live Dashboard Simulator (Condominios) --- */
.dashboard-simulator {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 25px 60px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.inner-section--dark .dashboard-simulator {
  background: #0d0d0d;
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}

.db-window-header {
  height: 48px;
  background: #f7f8f9;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  gap: 1.5rem;
}

.inner-section--dark .db-window-header {
  background: #151515;
  border-color: rgba(255,255,255,0.06);
}

.db-dots {
  display: flex;
  gap: 6px;
}

.db-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.db-dot:nth-child(1) { background: #ff5f56; }
.db-dot:nth-child(2) { background: #ffbd2e; }
.db-dot:nth-child(3) { background: #27c93f; }

.db-tabs {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.db-tab {
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: transparent;
  color: rgba(0,0,0,0.5);
  transition: all 200ms;
}

.inner-section--dark .db-tab {
  color: rgba(255,255,255,0.5);
}

.db-tab:hover {
  background: rgba(0,0,0,0.03);
}

.inner-section--dark .db-tab:hover {
  background: rgba(255,255,255,0.03);
}

.db-tab.active {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  color: var(--accent);
}

.inner-section--dark .db-tab.active {
  background: #202020;
  color: var(--accent);
  box-shadow: none;
}

.db-content {
  min-height: 360px;
  padding: 2.5rem;
  background: #fff;
  position: relative;
}

.inner-section--dark .db-content {
  background: #0a0a0a;
}

.db-screen {
  display: none;
  animation: dbFadeIn 400ms var(--ease-out-expo);
  flex-direction: column;
  height: 100%;
}

.db-screen.active {
  display: flex;
}

@keyframes dbFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.db-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.db-widget {
  background: var(--bg-beige);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inner-section--dark .db-widget {
  background: #111;
}

.db-widget__title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.5;
}

.db-widget__val {
  font-size: 26px;
  font-weight: 700;
  color: #1f2025;
}

.inner-section--dark .db-widget__val {
  color: #fff;
}

.db-widget__desc {
  font-size: 11px;
  color: #059669;
  font-weight: 500;
}

/* Simulated QR switch */
.db-qr-sim {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(0,0,0,0.12);
  border-radius: 16px;
  padding: 2rem;
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
}

.inner-section--dark .db-qr-sim {
  border-color: rgba(255,255,255,0.12);
}

.db-qr-sim img {
  width: 140px;
  height: 140px;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.db-qr-btn {
  margin-top: 1.25rem;
  height: 38px;
  padding: 0 1.25rem;
  border-radius: 19px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}

.db-qr-status {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #666;
}

.db-qr-status.granted {
  color: #059669;
}

/* --- Registration Modal (Comunidad) --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 90%;
  max-width: 460px;
  border-radius: 24px;
  padding: 2.5rem;
  transform: scale(0.92);
  transition: transform 300ms var(--ease-out-expo);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  transition: background-color 200ms;
}

.modal-close:hover {
  background: rgba(255,255,255,0.12);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.modal-form input {
  height: 48px;
  padding: 0 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px;
  outline: none;
}

.modal-form input:focus {
  border-color: var(--accent);
}

.modal-form button {
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* Success Checkmark Animation */
.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid #4CAF50;
}

.check-icon::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
  z-index: 2;
}

.check-icon .icon-line {
  height: 5px;
  background-color: #4CAF50;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.check-icon .icon-line.line-tip {
  top: 43px;
  left: 19px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}

.check-icon .icon-line.line-long {
  top: 38px;
  right: 15px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}

.check-icon .icon-circle {
  top: -4px;
  left: -4px;
  position: absolute;
  box-sizing: content-box;
  width: 80px;
  height: 80px;
  border: 4px solid rgba(76, 175, 80, 0.5);
  border-radius: 50%;
  z-index: 1;
}

@keyframes icon-line-tip {
  0% { width: 0; left: 1px; top: 19px; }
  54% { width: 0; left: 1px; top: 19px; }
  70% { width: 50px; left: -8px; top: 37px; }
  84% { width: 17px; left: 21px; top: 48px; }
  100% { width: 25px; left: 19px; top: 43px; }
}

@keyframes icon-line-long {
  0% { width: 0; right: 46px; top: 54px; }
  65% { width: 0; right: 46px; top: 54px; }
  84% { width: 55px; right: 0px; top: 35px; }
  100% { width: 47px; right: 15px; top: 38px; }
}

/* --- Podcast Dashboard (Blog) --- */
.podcast-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .podcast-dashboard {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.podcast-playlist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.podcast-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  cursor: pointer;
  transition: all 300ms ease;
  backdrop-filter: blur(8px);
}

.podcast-track:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.podcast-track.active {
  background: rgba(13, 163, 226, 0.05);
  border-color: #0DA3E2;
  box-shadow: 0 10px 25px rgba(13, 163, 226, 0.1);
}

.track-number {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-serif);
  font-style: italic;
  transition: color 300ms;
}

.podcast-track.active .track-number {
  color: #0DA3E2;
}

.track-info {
  flex: 1;
}

.track-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: color 300ms;
}

.podcast-track.active .track-title {
  color: #0DA3E2;
}

.track-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.track-status-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  transition: all 300ms;
}

.podcast-track.active .track-status-icon {
  background: #0DA3E2;
  color: #fff;
  box-shadow: 0 0 10px rgba(13, 163, 226, 0.4);
}

/* Player Deck */
.podcast-player-deck {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.player-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(13, 163, 226, 0.15) 0%, transparent 70%);
  top: -50px;
  right: -50px;
  pointer-events: none;
  z-index: 0;
  transition: background 500ms ease;
}

.podcast-player-deck.playing .player-glow {
  background: radial-gradient(circle, rgba(13, 163, 226, 0.25) 0%, transparent 70%);
}

.player-cover {
  width: 140px;
  height: 140px;
  position: relative;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.cover-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 40%, #020617 80%, #000000 100%);
  border: 4px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 500ms ease;
}

.cover-disc::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.podcast-player-deck.playing .cover-disc {
  animation: spin 8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.disc-center {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #0DA3E2), #8b5cf6);
  border: 3px solid #000;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.disc-center::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
}

.player-controls {
  width: 100%;
  z-index: 1;
}

.player-current-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.player-current-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}

.player-scrubber-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
}

.player-scrubber-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.player-scrubber-fill {
  height: 100%;
  background: var(--accent, #0DA3E2);
  border-radius: 99px;
  width: 0;
  transition: width 100ms linear;
}

.player-deck-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.player-play-btn {
  height: 40px;
  padding: 0 1.25rem;
  border-radius: 99px;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 300ms ease;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.player-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 255, 255, 0.25);
}

.player-play-btn:active {
  transform: translateY(0);
}

.podcast-player-deck.playing .player-play-btn {
  background: var(--accent, #0DA3E2);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 163, 226, 0.25);
}

.player-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
  flex: 1;
  justify-content: flex-end;
}

.player-wave .ap-bar {
  width: 3px;
  height: 20%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  transition: all 200ms;
}

.podcast-player-deck.playing .player-wave .ap-bar {
  background: var(--accent, #0DA3E2);
  animation: apWavePulse 1.2s ease-in-out infinite alternate;
}

.podcast-player-deck.playing .player-wave .ap-bar:nth-child(2n) { animation-duration: 0.7s; }
.podcast-player-deck.playing .player-wave .ap-bar:nth-child(3n) { animation-duration: 1.3s; }
.podcast-player-deck.playing .player-wave .ap-bar:nth-child(4n) { animation-duration: 0.9s; }
.podcast-player-deck.playing .player-wave .ap-bar:nth-child(5n) { animation-duration: 1.1s; }

@keyframes apWavePulse {
  0% { height: 15%; }
  100% { height: 100%; }
}

/* --- Blog Search Bar --- */
.blog-search-bar-wrap {
  max-width: 600px;
  width: 100%;
  margin: 2rem auto 0;
}

.search-input-container {
  position: relative;
  width: 100%;
  height: 54px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  transition: all 300ms ease;
  backdrop-filter: blur(8px);
}

.search-input-container:focus-within {
  border-color: #0DA3E2;
  box-shadow: 0 0 20px rgba(13, 163, 226, 0.15), inset 0 0 10px rgba(13, 163, 226, 0.05);
  background: rgba(255, 255, 255, 0.04);
}

.search-input-container input {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 15px;
  outline: none;
  padding-left: 0.75rem;
}

.search-input-container input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 300ms;
}

.search-input-container:focus-within .search-icon {
  color: #0DA3E2;
}

/* ============================================================
   PLAYGROUNDS & SIMULATORS FOR FEATURE PAGES
   ============================================================ */

/* Simulator Grid */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .sim-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

/* Simulator Card (Form and Display) */
.sim-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.sim-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -0.01em;
}

/* Form inputs styling */
.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.sim-input,
.sim-select,
.sim-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  transition: all 250ms var(--ease-out-expo);
  outline: none;
}

.sim-input::placeholder,
.sim-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.sim-input:focus,
.sim-select:focus,
.sim-textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(13, 163, 226, 0.2);
}

/* Custom select chevron */
.sim-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.sim-select option {
  background: #050c14;
  color: #fff;
}

/* Tab Pills */
.tab-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 99px;
  padding: 0.5rem 1.25rem;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms;
  text-align: center;
}

.tab-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.tab-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 163, 226, 0.3);
}

/* Range input styling */
.sim-range {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  margin: 1rem 0;
}

.sim-range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(13, 163, 226, 0.25);
  transition: transform 150ms;
}

.sim-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Realistic Smartphone Mockup */
.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  border: 10px solid #1e2022;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 4px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: #f8fafc;
}

.phone-mockup__screen {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-mockup__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 16px;
  background: #1e2022;
  border-radius: 0 0 14px 14px;
  z-index: 100;
}

.phone-mockup__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px 4px;
  font-size: 11px;
  font-weight: 600;
  color: #0f172a;
  z-index: 10;
}

.phone-mockup__icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-mockup__app-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem 1rem;
}

.phone-mockup__app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.phone-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  background: #fee2e2;
  color: #ef4444;
  transition: all 0.3s ease;
}

.phone-qr-container {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
}

.phone-qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.phone-qr-placeholder svg {
  width: 60px;
  height: 60px;
  opacity: 0.45;
}

.phone-qr-result {
  width: 75%;
  height: 75%;
  animation: scaleUp 0.3s ease;
}

.phone-qr-result svg {
  width: 100%;
  height: 100%;
}

.phone-qr-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
  transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-qr-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.phone-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d1fae5;
  color: #06d6a0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(6, 214, 160, 0.2);
}

.phone-info {
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.phone-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.phone-info p {
  margin: 0;
}

/* Simulator Button Spinner / Loading state */
.btn-cta-nav.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-cta-nav.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-top: -8px;
  margin-left: -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: simSpinner 0.6s linear infinite;
}

@keyframes simSpinner {
  to { transform: rotate(360deg); }
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* --- Drag & Drop Matcher (Conciliacion) --- */
.match-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
}

.match-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem;
  font-size: 12px;
  cursor: pointer;
  transition: all 200ms;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.match-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.match-item.selected {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #10b981;
}

.match-item.matched {
  background: rgba(16, 185, 129, 0.04) !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
  color: rgba(255, 255, 255, 0.3) !important;
  cursor: default;
  pointer-events: none;
}

/* Ledger table contabilidad */
.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.ledger-table th,
.ledger-table td {
  padding: 0.5rem 0.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ledger-table th {
  color: rgba(0, 0, 0, 0.4);
  font-weight: 600;
}

/* Channel Delivery Status tracker */
.channel-bar-wrap {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
  margin-top: 0.25rem;
  width: 100%;
}

.channel-bar-fill {
  height: 100%;
  border-radius: 99px;
  width: 0%;
  transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.page-hero .btn-cta-nav {
  display: inline-flex;
  height: 48px;
  align-items: center;
  gap: 0.5rem;
  border-radius: 99px;
  background: #fff;
  color: #050c14 !important;
  padding: 0 2rem;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms cubic-bezier(0.34, 1.56, 0.64, 1), background 300ms;
}

.page-hero .btn-cta-nav:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--accent, #0DA3E2) 35%, transparent);
  background: #fff;
}

.page-hero .btn-cta-nav:active {
  transform: translateY(0);
}

/* Premium Simulator Action Button */
.btn-sim-action {
  display: inline-flex;
  height: 48px;
  align-items: center;
  gap: 0.5rem;
  border-radius: 12px;
  background: var(--accent, #0DA3E2);
  padding: 0 1.5rem;
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(13, 163, 226, 0.25);
  border: none;
  justify-content: center;
  cursor: pointer;
  transition: all 250ms ease;
  width: 100%;
}

.btn-sim-action:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 163, 226, 0.35);
}

.btn-sim-action:active {
  transform: translateY(0);
}

.sim-card .btn-cta-nav {
  display: inline-flex;
  height: 48px;
  align-items: center;
  gap: 0.5rem;
  border-radius: 12px;
  background: var(--accent, #0DA3E2);
  padding: 0 1.5rem;
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(13, 163, 226, 0.25);
  border: none;
  justify-content: center;
  cursor: pointer;
  transition: all 250ms ease;
  width: 100%;
}

.sim-card .btn-cta-nav:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 163, 226, 0.35);
}

.sim-card .btn-cta-nav:active {
  transform: translateY(0);
}

/* ============================================================
   HAUSBOX BLOG MODIFICATIONS & OVERRIDES (LIGHT THEME & REFINEMENTS)
   ============================================================ */

/* --- Category Pill Sizing --- */
.filter-pill {
  padding: 10px 22px !important;
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: rgba(0, 0, 0, 0.04);
  color: rgba(31, 32, 37, 0.65);
  border: 1px solid transparent;
  border-radius: 99px;
  cursor: pointer;
  transition: all 200ms ease;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

/* --- Search Bar Sizing & Hero Light --- */
.blog-search-bar-wrap {
  max-width: 640px !important;
  margin-top: 2.5rem !important;
}
.search-input-container {
  height: 58px !important;
  border-radius: 20px !important;
  padding: 0 1.5rem !important;
}
.search-input-container input {
  font-size: 16px !important;
  padding-left: 0.85rem !important;
}

/* --- Vinyl Disc Sizing --- */
.player-cover {
  width: 160px !important;
  height: 160px !important;
  margin-bottom: 2rem !important;
}

/* --- Typography Sizing --- */
.blog-card__title {
  font-size: 18px !important;
  line-height: 1.45 !important;
}
.blog-featured__body h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem) !important;
  line-height: 1.3 !important;
}

/* --- Light Mode overrides for .inner-section--white (Podcast & Cards) --- */
.inner-section--white .podcast-track {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.01) !important;
  color: #0f172a !important;
}
.inner-section--white .podcast-track:hover {
  background: #fafbfc !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03) !important;
}
.inner-section--white .podcast-track.active {
  background: rgba(13, 163, 226, 0.04) !important;
  border-color: #0DA3E2 !important;
  box-shadow: 0 10px 25px rgba(13, 163, 226, 0.06) !important;
}
.inner-section--white .track-number {
  color: rgba(15, 23, 42, 0.25) !important;
}
.inner-section--white .podcast-track.active .track-number {
  color: #0DA3E2 !important;
}
.inner-section--white .track-title {
  color: #0f172a !important;
}
.inner-section--white .podcast-track.active .track-title {
  color: #0DA3E2 !important;
}
.inner-section--white .track-meta {
  color: rgba(15, 23, 42, 0.5) !important;
}
.inner-section--white .track-status-icon {
  background: rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}
.inner-section--white .podcast-track.active .track-status-icon {
  background: #0DA3E2 !important;
  color: #fff !important;
}

.inner-section--white .podcast-player-deck {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.05) !important;
}
.inner-section--white .player-glow {
  background: radial-gradient(circle, rgba(13, 163, 226, 0.08) 0%, transparent 70%) !important;
}
.inner-section--white .podcast-player-deck.playing .player-glow {
  background: radial-gradient(circle, rgba(13, 163, 226, 0.12) 0%, transparent 70%) !important;
}
.inner-section--white .player-current-title {
  color: #0f172a !important;
}
.inner-section--white .player-current-meta {
  color: rgba(15, 23, 42, 0.5) !important;
}
.inner-section--white .player-scrubber-bar {
  background: rgba(15, 23, 42, 0.06) !important;
}
.inner-section--white #player-time-curr,
.inner-section--white #player-time-total {
  color: rgba(15, 23, 42, 0.5) !important;
}
.inner-section--white .player-play-btn {
  background: #0f172a !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}
.inner-section--white .player-play-btn:hover {
  background: #1e293b !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18) !important;
}
.inner-section--white .podcast-player-deck.playing .player-play-btn {
  background: var(--accent) !important;
  box-shadow: 0 8px 20px rgba(13, 163, 226, 0.2) !important;
}
.inner-section--white .player-wave .ap-bar {
  background: rgba(15, 23, 42, 0.1) !important;
}
.inner-section--white .podcast-player-deck.playing .player-wave .ap-bar {
  background: var(--accent) !important;
}

.inner-section--white .blog-featured {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04) !important;
}
.inner-section--white .blog-featured:hover {
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 25px 55px rgba(13, 163, 226, 0.08) !important;
}
.inner-section--white .blog-featured__body h3 {
  color: #0f172a !important;
}
.inner-section--white .blog-featured__body p {
  color: rgba(15, 23, 42, 0.6) !important;
}
.inner-section--white .blog-featured__category {
  color: var(--accent) !important;
}
.inner-section--white .blog-card__meta {
  color: rgba(15, 23, 42, 0.5) !important;
}

.inner-section--white .blog-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
}
.inner-section--white .blog-card:hover {
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 15px 35px var(--hover-shadow-light, rgba(13, 163, 226, 0.06)) !important;
}
.inner-section--white .blog-card[data-category="administracion"] { --hover-shadow-light: rgba(13, 163, 226, 0.1); }
.inner-section--white .blog-card[data-category="finanzas"] { --hover-shadow-light: rgba(16, 185, 129, 0.1); }
.inner-section--white .blog-card[data-category="tecnologia"] { --hover-shadow-light: rgba(139, 92, 246, 0.1); }
.inner-section--white .blog-card[data-category="comunidad"] { --hover-shadow-light: rgba(249, 115, 22, 0.1); }

.inner-section--white .blog-card__title {
  color: #0f172a !important;
}
.inner-section--white .blog-card__excerpt {
  color: rgba(15, 23, 42, 0.6) !important;
}
.inner-section--white .blog-card__meta {
  color: rgba(15, 23, 42, 0.5) !important;
}

.inner-section--white #search-empty-state h4 {
  color: #0f172a !important;
}
.inner-section--white #search-empty-state p {
  color: rgba(15, 23, 42, 0.5) !important;
}

/* --- Light Mode overrides for .inner-section--beige (Newsletter) --- */
.inner-section--beige .newsletter-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.5) 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03) !important;
  color: #0f172a !important;
  backdrop-filter: blur(8px);
  padding: 4rem 2rem;
  border-radius: 24px;
}
.inner-section--beige .newsletter-banner h3 {
  color: #0f172a !important;
}
.inner-section--beige .newsletter-banner p {
  color: rgba(15, 23, 42, 0.6) !important;
}
.inner-section--beige .newsletter-form input {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
  flex: 1;
  height: 48px;
  border-radius: 12px;
  padding: 0 1rem;
  outline: none;
  transition: border-color 200ms;
}
.inner-section--beige .newsletter-form input::placeholder {
  color: rgba(15, 23, 42, 0.4) !important;
}
.inner-section--beige .newsletter-form input:focus {
  border-color: var(--accent) !important;
}
.inner-section--beige .success-checkmark .check-icon {
  background: rgba(16, 185, 129, 0.06) !important;
  border-color: #10b981 !important;
  color: #10b981 !important;
}
.inner-section--beige #modal-success-content h4 {
  color: #0f172a !important;
}
.inner-section--beige #modal-success-content p {
  color: rgba(15, 23, 42, 0.6) !important;
}

/* --- Search Input Light Theme Override (under .page-hero--light) --- */
.page-hero--light .search-input-container {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}
.page-hero--light .search-input-container:focus-within {
  border-color: #0DA3E2 !important;
  box-shadow: 0 0 20px rgba(13, 163, 226, 0.12), inset 0 0 10px rgba(13, 163, 226, 0.02) !important;
  background: #ffffff !important;
}
.page-hero--light .search-input-container input {
  color: #0f172a !important;
}
.page-hero--light .search-input-container input::placeholder {
  color: rgba(15, 23, 42, 0.4) !important;
}
.page-hero--light .search-icon {
  color: rgba(15, 23, 42, 0.4) !important;
}
.page-hero--light .search-input-container:focus-within .search-icon {
  color: #0DA3E2 !important;
}/* ============================================================
   PRICING CALCULATOR — 2-Step Wizard + Floating Button
   ============================================================ */

/* --- Floating CTA Button --- */
.floating-calc-btn {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  height: 52px;
  border-radius: 99px;
  background: linear-gradient(135deg, #0DA3E2 0%, #0b7fb4 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(13, 163, 226, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.9);
  transition: opacity 300ms ease, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease, bottom 300ms ease;
}
.floating-calc-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: calcBtnPulse 3s ease-in-out infinite;
}
.floating-calc-btn.show:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 12px 36px rgba(13, 163, 226, 0.45);
  animation: none;
}
.floating-calc-btn:active { transform: scale(1) translateY(0); }
.floating-calc-btn svg { flex-shrink: 0; }

@keyframes calcBtnPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(13, 163, 226, 0.35), 0 0 0 0 rgba(13, 163, 226, 0.3); }
  50% { box-shadow: 0 8px 28px rgba(13, 163, 226, 0.35), 0 0 0 10px rgba(13, 163, 226, 0); }
}

@media (max-width: 767px) {
  .floating-calc-btn {
    bottom: 84px;
    right: 20px;
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .floating-calc-btn span {
    display: none;
  }
  .floating-calc-btn svg {
    width: 20px;
    height: 20px;
    margin: 0;
  }
}


/* --- Modal Overlay --- */
.calc-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 350ms ease, visibility 350ms ease;
}
.calc-modal-overlay.active { opacity: 1; visibility: visible; }

/* --- Modal Container --- */
.calc-modal {
  background: #ffffff;
  border-radius: 28px;
  width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: scale(0.92) translateY(20px);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.12) transparent;
}
.calc-modal::-webkit-scrollbar {
  width: 6px;
}
.calc-modal::-webkit-scrollbar-track {
  background: transparent;
}
.calc-modal::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.12);
  border-radius: 99px;
}
.calc-modal-overlay.active .calc-modal { transform: scale(1) translateY(0); }

.calc-modal__header { padding: 0 0 0.75rem; text-align: center; }
.calc-modal__header h3 { font-size: 24px; font-weight: 600; color: #0f172a; margin-bottom: 4px; }
.calc-modal__header p { font-size: 14px; color: rgba(15, 23, 42, 0.55); line-height: 1.5; }

.calc-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(15, 23, 42, 0.05); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: rgba(15, 23, 42, 0.5); transition: all 200ms; font-size: 18px;
}
.calc-modal__close:hover { background: rgba(15, 23, 42, 0.1); color: #0f172a; }

/* --- Step Progress Bar --- */
.calc-steps-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 1.5rem 1.5rem 0.25rem;
}
.calc-step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: #e2e8f0; color: rgba(15, 23, 42, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  transition: all 300ms ease; position: relative; flex-shrink: 0;
}
.calc-step-dot.active {
  background: linear-gradient(135deg, #0DA3E2, #0b7fb4);
  color: #fff; box-shadow: 0 4px 12px rgba(13, 163, 226, 0.3);
}
.calc-step-dot.completed {
  background: #059669; color: #fff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}
.calc-step-line {
  width: 80px; height: 3px; background: #e2e8f0;
  border-radius: 99px; overflow: hidden; margin: 0 8px;
}
.calc-step-line__fill {
  width: 0; height: 100%; background: linear-gradient(90deg, #0DA3E2, #059669);
  border-radius: 99px; transition: width 400ms ease;
}

/* --- Steps --- */
.calc-step {
  display: none; padding: 1rem 1.5rem 1.5rem;
  animation: calcFadeIn 350ms ease;
}
.calc-step.active { display: block; }

@keyframes calcFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Form --- */
.calc-form {
  display: flex; flex-direction: column; gap: 1rem;
}
.calc-form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 520px) {
  .calc-form__row { grid-template-columns: 1fr; }
}
.calc-form__group {
  display: flex; flex-direction: column; gap: 5px;
}
.calc-form__group label {
  font-size: 13px; font-weight: 600; color: #0f172a; letter-spacing: 0.01em;
}
.calc-form__group input[type="text"],
.calc-form__group input[type="email"],
.calc-form__group input[type="tel"],
.calc-form__group select {
  height: 48px; padding: 0 1rem; border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1); background: #f8fafc;
  color: #0f172a; font-size: 15px; outline: none;
  transition: border-color 200ms, box-shadow 200ms;
  -webkit-appearance: none; appearance: none;
}
.calc-form__group input:focus,
.calc-form__group select:focus {
  border-color: #0DA3E2;
  box-shadow: 0 0 0 3px rgba(13, 163, 226, 0.1);
}
.calc-form__group input:-webkit-autofill,
.calc-form__group input:-webkit-autofill:hover, 
.calc-form__group input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #f8fafc inset !important;
  -webkit-text-fill-color: #0f172a !important;
  transition: background-color 5000s ease-in-out 0s;
}
.calc-form__group input::placeholder { color: rgba(15, 23, 42, 0.35); }

/* --- Property Type Cards Grid --- */
.calc-prop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
@media (max-width: 520px) {
  .calc-prop-grid { grid-template-columns: repeat(2, 1fr); }
}

.calc-prop-card {
  position: relative; cursor: pointer;
  border-radius: 16px; overflow: hidden;
  border: 2px solid rgba(15, 23, 42, 0.06);
  background: #f8fafc;
  transition: all 250ms ease;
  display: flex; flex-direction: column;
}
.calc-prop-card:hover {
  border-color: rgba(13, 163, 226, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 163, 226, 0.1);
}
.calc-prop-card.selected {
  border-color: #0DA3E2;
  box-shadow: 0 0 0 3px rgba(13, 163, 226, 0.15), 0 8px 20px rgba(13, 163, 226, 0.12);
}
.calc-prop-card input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.calc-prop-card__img {
  width: 100%; aspect-ratio: 1.6; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background 250ms ease;
}
.calc-prop-card__img svg {
  width: 38px; height: 38px;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), stroke 250ms ease;
}
.calc-prop-card:hover .calc-prop-card__img svg {
  transform: scale(1.15) translateY(-2px);
}
.calc-prop-card.selected .calc-prop-card__img svg {
  transform: scale(1.1);
}

/* Individual card category gradients and colors */
.calc-prop-card[data-prop="condominio"] .calc-prop-card__img {
  background: linear-gradient(135deg, rgba(13, 163, 226, 0.06) 0%, rgba(6, 214, 160, 0.06) 100%);
}
.calc-prop-card[data-prop="condominio"] .calc-prop-card__img svg {
  stroke: #0da3e2;
}

.calc-prop-card[data-prop="vertical"] .calc-prop-card__img {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, rgba(99, 102, 241, 0.06) 100%);
}
.calc-prop-card[data-prop="vertical"] .calc-prop-card__img svg {
  stroke: #8b5cf6;
}

.calc-prop-card[data-prop="vacacional"] .calc-prop-card__img {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, rgba(244, 63, 94, 0.06) 100%);
}
.calc-prop-card[data-prop="vacacional"] .calc-prop-card__img svg {
  stroke: #f97316;
}

.calc-prop-card[data-prop="desarrollo"] .calc-prop-card__img {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(249, 115, 22, 0.06) 100%);
}
.calc-prop-card[data-prop="desarrollo"] .calc-prop-card__img svg {
  stroke: #d97706;
}

.calc-prop-card[data-prop="oficinas"] .calc-prop-card__img {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(6, 214, 160, 0.06) 100%);
}
.calc-prop-card[data-prop="oficinas"] .calc-prop-card__img svg {
  stroke: #10b981;
}

/* Selected state overrides for SVGs */
.calc-prop-card.selected[data-prop="condominio"] { border-color: #0da3e2; }
.calc-prop-card.selected[data-prop="vertical"] { border-color: #8b5cf6; }
.calc-prop-card.selected[data-prop="vacacional"] { border-color: #f97316; }
.calc-prop-card.selected[data-prop="desarrollo"] { border-color: #d97706; }
.calc-prop-card.selected[data-prop="oficinas"] { border-color: #10b981; }

.calc-prop-card.selected[data-prop="condominio"] .calc-prop-card__check { background: #0da3e2; }
.calc-prop-card.selected[data-prop="vertical"] .calc-prop-card__check { background: #8b5cf6; }
.calc-prop-card.selected[data-prop="vacacional"] .calc-prop-card__check { background: #f97316; }
.calc-prop-card.selected[data-prop="desarrollo"] .calc-prop-card__check { background: #d97706; }
.calc-prop-card.selected[data-prop="oficinas"] .calc-prop-card__check { background: #10b981; }

.calc-prop-card__label {
  display: block; padding: 6px 8px;
  font-size: 11px; font-weight: 600; color: #0f172a;
  text-align: center; line-height: 1.3;
}
.calc-prop-card__check {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #0DA3E2; color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.5);
  transition: all 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.calc-prop-card.selected .calc-prop-card__check {
  opacity: 1; transform: scale(1);
}

/* --- Range Slider --- */
.calc-slider-group { display: flex; flex-direction: column; gap: 10px; }
.calc-slider-group label { font-size: 13px; font-weight: 600; color: #0f172a; }
.calc-slider-header { display: flex; justify-content: space-between; align-items: baseline; }
.calc-slider-value {
  font-size: 28px; font-weight: 300; color: #0DA3E2;
  letter-spacing: -0.02em;
  font-family: var(--font-serif, 'Instrument Serif', serif); font-style: italic;
}
.calc-slider-value span {
  font-size: 14px; font-weight: 500;
  font-family: var(--font-sans, 'Inter', sans-serif); font-style: normal;
  color: rgba(15, 23, 42, 0.5);
}
input[type="range"].calc-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 99px;
  background: linear-gradient(to right, #0DA3E2 0%, #0DA3E2 var(--range-pct, 0%), #e2e8f0 var(--range-pct, 0%), #e2e8f0 100%);
  outline: none; cursor: pointer;
}
input[type="range"].calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #ffffff; border: 3px solid #0DA3E2;
  box-shadow: 0 2px 8px rgba(13, 163, 226, 0.25);
  cursor: pointer; transition: box-shadow 200ms, transform 200ms;
}
input[type="range"].calc-range::-webkit-slider-thumb:hover {
  box-shadow: 0 4px 14px rgba(13, 163, 226, 0.4); transform: scale(1.15);
}
input[type="range"].calc-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #ffffff; border: 3px solid #0DA3E2;
  box-shadow: 0 2px 8px rgba(13, 163, 226, 0.25); cursor: pointer;
}

/* --- Price Preview --- */
.calc-price-preview {
  text-align: center; padding: 1rem 1.25rem; border-radius: 16px;
  background: linear-gradient(135deg, rgba(13, 163, 226, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid rgba(13, 163, 226, 0.1);
}
.calc-price-preview .price-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: rgba(15, 23, 42, 0.5); margin-bottom: 4px;
}
.calc-price-preview .price-amount {
  font-size: 36px; font-weight: 300; color: #0DA3E2; letter-spacing: -0.03em;
}
.calc-price-preview .price-amount small {
  font-size: 14px; font-weight: 400; color: rgba(15, 23, 42, 0.5);
}

/* --- Buttons --- */
.calc-form__submit {
  height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, #0DA3E2 0%, #0b7fb4 100%);
  color: #fff; font-size: 16px; font-weight: 600;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 250ms ease;
  box-shadow: 0 6px 20px rgba(13, 163, 226, 0.25);
  margin-top: 0.25rem;
}
.calc-form__submit:hover {
  filter: brightness(1.08); transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 163, 226, 0.35);
}
.calc-form__submit:active { transform: translateY(0); }
.calc-form__submit:disabled {
  opacity: 0.45; cursor: not-allowed;
  filter: none; transform: none;
  box-shadow: none;
}

.calc-form__actions {
  display: flex; gap: 12px; margin-top: 0.25rem;
}
.calc-form__back {
  height: 52px; border-radius: 16px;
  background: rgba(15, 23, 42, 0.04); border: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.6); font-size: 14px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 1.25rem; transition: all 200ms; flex-shrink: 0;
}
.calc-form__back:hover {
  background: rgba(15, 23, 42, 0.08); color: #0f172a;
}
.calc-form__submit--quote { flex: 1; margin-top: 0; }

/* --- Results View --- */
.calc-results { padding: 2.5rem 2rem; text-align: center; display: none; }
.calc-results.active { display: block; animation: calcFadeIn 400ms ease; }

.calc-results__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 163, 226, 0.1), rgba(139, 92, 246, 0.08));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.calc-results__icon svg { width: 28px; height: 28px; color: #0DA3E2; }

.calc-results h3 { font-size: 22px; font-weight: 600; color: #0f172a; margin-bottom: 0.5rem; }
.calc-results .result-summary {
  font-size: 14px; color: rgba(15, 23, 42, 0.6); line-height: 1.6; margin-bottom: 1.5rem;
}

.calc-result-card {
  background: #f8fafc; border-radius: 20px; padding: 1.5rem;
  margin-bottom: 1.5rem; border: 1px solid rgba(15, 23, 42, 0.06);
  text-align: left;
}
.calc-result-card .result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; font-size: 14px;
}
.calc-result-card .result-row:not(:last-child) { border-bottom: 1px solid rgba(15, 23, 42, 0.05); }
.calc-result-card .result-row .rl { color: rgba(15, 23, 42, 0.6); }
.calc-result-card .result-row .rv { font-weight: 600; color: #0f172a; }
.calc-result-card .result-total {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 0.75rem; margin-top: 0.25rem;
  border-top: 2px solid rgba(13, 163, 226, 0.15);
}
.calc-result-card .result-total .rl { font-weight: 600; color: #0f172a; }
.calc-result-card .result-total .rv { font-size: 24px; font-weight: 600; color: #0DA3E2; }

.calc-results__wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; width: 100%; padding: 0 1.5rem; border-radius: 16px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all 250ms ease;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3); margin-bottom: 0.75rem;
}
.calc-results__wa-btn:hover {
  transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}
.calc-results__wa-btn svg { flex-shrink: 0; }

.calc-results__back {
  background: none; border: none; color: rgba(15, 23, 42, 0.5);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: color 200ms; padding: 0.5rem;
}
.calc-results__back:hover { color: #0DA3E2; }

/* ============================================================
   APP SCREEN SIMULATIONS FOR PHONE MOCKUPS (HOME) — PREMIUM WIDGETS
   ============================================================ */
.app-screen {
  width: 100%; height: 100%;
  background: #0b0f19; /* Ultra-deep dark premium slate */
  color: #f8fafc;
  display: flex; flex-direction: column;
  font-family: 'Inter', sans-serif;
  overflow: hidden; box-sizing: border-box;
  padding: 1.1rem 0.85rem; text-align: left;
  position: relative;
}
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 0.4rem;
}
.app-title {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #0da3e2;
  text-shadow: 0 0 10px rgba(13,163,226,0.3);
}
.app-signal {
  width: 6px; height: 6px; border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 8px #059669;
  animation: pulseGreen 1.8s infinite;
}
@keyframes pulseGreen {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}
.app-content {
  flex: 1; display: flex; flex-direction: column;
  justify-content: space-between; gap: 0.5rem;
}

/* ====================================
   SLIDE 0: PAYMENTS (SHIMMER CREDIT CARD & LIFECYCLE)
   ==================================== */
.shimmer-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 0.85rem; position: relative; overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; gap: 8px;
}
.shimmer-card__glow {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-100%);
  animation: cardShimmer 3s infinite;
}
@keyframes cardShimmer {
  100% { transform: translateX(100%); }
}
.shimmer-card__chip {
  width: 24px; height: 18px; border-radius: 4px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 1px solid rgba(255,255,255,0.1);
}
.shimmer-card__brand {
  position: absolute; top: 12px; right: 12px;
  width: 24px; height: 15px;
  background: radial-gradient(circle at 35% 50%, rgba(239,68,68,0.85) 40%, transparent 40%),
              radial-gradient(circle at 65% 50%, rgba(245,158,11,0.85) 40%, transparent 40%);
}
.shimmer-card__number {
  font-family: monospace; font-size: 11px;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.8);
  margin-top: 2px;
}
.shimmer-card__meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 4px;
}
.meta-lbl { font-size: 8px; color: rgba(255,255,255,0.4); display: block; text-transform: uppercase; }
.meta-val { font-size: 11px; font-weight: 500; }
.meta-amt { font-size: 16px; font-weight: 700; color: #fff; }
.meta-amt span { font-size: 9px; margin-left: 2px; color: rgba(255,255,255,0.5); }

.payment-lifecycle {
  display: flex; flex-direction: column; gap: 8px; margin-top: auto;
}
.status-indicator-badge {
  align-self: center; font-size: 9px; font-weight: 700;
  padding: 3px 10px; border-radius: 12px; text-transform: uppercase;
  background: rgba(245,158,11,0.12); color: #f59e0b;
  border: 1px solid rgba(245,158,11,0.2);
  animation: statusCycle 6s infinite;
}
.pay-lifecycle-btn {
  width: 100%; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, #0da3e2, #0b7fb4);
  color: #fff; font-weight: 600; font-size: 11px;
  border: none; cursor: pointer;
  box-shadow: 0 4px 15px rgba(13,163,226,0.3);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  animation: btnCycle 6s infinite;
}

/* Loop Animation for Payment Success Simulation */
@keyframes statusCycle {
  0%, 35% { background: rgba(245,158,11,0.12); color: #f59e0b; border-color: rgba(245,158,11,0.2); }
  36%, 44% { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.1); }
  45%, 90% { background: rgba(16,185,129,0.12); color: #10b981; border-color: rgba(16,185,129,0.2); }
  91%, 100% { background: rgba(245,158,11,0.12); color: #f59e0b; border-color: rgba(245,158,11,0.2); }
}

.status-indicator-badge::after {
  content: "Pendiente";
  animation: statusTextCycle 6s infinite;
}
@keyframes statusTextCycle {
  0%, 35% { content: "Pendiente"; }
  36%, 44% { content: "Procesando..."; }
  45%, 90% { content: "✓ Pagado"; }
  91%, 100% { content: "Pendiente"; }
}

.pay-lifecycle-btn .btn-text::after {
  content: "Confirmar Pago";
  animation: btnTextCycle 6s infinite;
}
@keyframes btnTextCycle {
  0%, 35% { content: "Confirmar Pago"; }
  36%, 44% { content: ""; }
  45%, 90% { content: "¡Pago Realizado!"; }
  91%, 100% { content: "Confirmar Pago"; }
}

.pay-lifecycle-btn .btn-spinner {
  position: absolute; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.25); border-top-color: #fff;
  border-radius: 50%; opacity: 0;
  animation: spinnerCycle 6s infinite linear;
}
@keyframes spinnerCycle {
  0%, 35% { opacity: 0; transform: rotate(0deg); }
  36%, 44% { opacity: 1; transform: rotate(360deg); }
  45%, 100% { opacity: 0; transform: rotate(0deg); }
}
@keyframes btnCycle {
  0%, 35% { background: linear-gradient(135deg, #0da3e2, #0b7fb4); box-shadow: 0 4px 15px rgba(13,163,226,0.3); }
  36%, 44% { background: #334155; box-shadow: none; cursor: not-allowed; pointer-events: none; }
  45%, 90% { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 4px 15px rgba(16,185,129,0.3); }
  91%, 100% { background: linear-gradient(135deg, #0da3e2, #0b7fb4); box-shadow: 0 4px 15px rgba(13,163,226,0.3); }
}

/* ====================================
   SLIDE 1: EXPENSES (LINE VECTOR CHART & GLASSMOPHISM)
   ==================================== */
.chart-wrapper {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 0.75rem; position: relative;
  display: flex; flex-direction: column; overflow: hidden;
}
.chart-val-lbl { font-size: 8px; color: rgba(255,255,255,0.4); text-transform: uppercase; }
.chart-val { font-size: 18px; font-weight: 700; color: #fff; }
.chart-val::after {
  content: "$28,100";
  animation: expenseTextCycle 6s infinite;
}
@keyframes expenseTextCycle {
  0%, 15% { content: "$19,200"; }
  45%, 85% { content: "$28,100"; }
  90%, 100% { content: "$19,200"; }
}
.chart-svg { width: 100%; height: 70px; margin-top: 4px; overflow: visible; }

.chart-line-path {
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: drawPath 6s ease-in-out infinite;
}
@keyframes drawPath {
  0% { stroke-dashoffset: 1000; }
  15%, 85% { stroke-dashoffset: 0; }
  90%, 100% { stroke-dashoffset: 1000; }
}
.ping-node {
  transform-origin: 200px 15px;
  animation: radarPulse 1.8s infinite ease-out;
}
@keyframes radarPulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.chart-sweep-line {
  position: absolute; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(244,63,94,0.4), transparent);
  box-shadow: 0 0 10px rgba(244,63,94,0.6);
  left: 0;
  animation: chartSweep 6s ease-in-out infinite;
}
@keyframes chartSweep {
  0% { left: 0%; opacity: 0; }
  5% { opacity: 1; }
  15%, 85% { left: 100%; opacity: 0; }
  90%, 100% { left: 0%; opacity: 0; }
}

.expense-list-glow {
  display: flex; flex-direction: column; gap: 6px;
}
.expense-row {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  padding: 6px 8px; border-radius: 8px;
}
.exp-icon-box {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font-size: 11px;
}
.exp-icon-box.orange { background: rgba(245,158,11,0.12); }
.exp-icon-box.green { background: rgba(16,185,129,0.12); }
.exp-details { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.exp-lbl { font-size: 10px; font-weight: 600; color: #fff; }
.exp-sub { font-size: 8px; color: rgba(255,255,255,0.4); }
.exp-amt { font-size: 11px; font-weight: 700; }

/* ====================================
   SLIDE 2: ACCOUNTING (CIRCULAR RADIAL PROGRESS & GLASS FUNDS & DROPDOWN NOTIFS)
   ==================================== */
.accounting-widget {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 0.75rem;
}
.ring-container {
  width: 44px; height: 44px; position: relative; display: flex;
  align-items: center; justify-content: center;
}
.circular-chart { width: 100%; height: 100%; transform: rotate(-90deg); }
.circle-bg { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 2.8; }
.circle {
  fill: none; stroke: #06d6a0; stroke-width: 2.8; stroke-linecap: round;
  stroke-dasharray: 0, 100;
  animation: fillRing 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 0 3px rgba(6,214,160,0.5));
}
@keyframes fillRing {
  0%, 15% { stroke-dasharray: 45, 100; }
  35%, 85% { stroke-dasharray: 82, 100; }
  90%, 100% { stroke-dasharray: 45, 100; }
}
.ring-val {
  position: absolute; font-size: 10px; font-weight: 700; color: #06d6a0;
}
.ring-val::after {
  content: "45%";
  animation: ringTextCycle 6s infinite;
}
@keyframes ringTextCycle {
  0%, 15% { content: "45%"; }
  35%, 85% { content: "82%"; }
  90%, 100% { content: "45%"; }
}
.ring-info { display: flex; flex-direction: column; gap: 2px; }
.ring-lbl { font-size: 11px; font-weight: 600; color: #fff; }
.ring-sub { font-size: 8px; color: rgba(255,255,255,0.45); }

.funds-wrapper { display: flex; gap: 8px; }
.fund-box {
  flex: 1; padding: 0.5rem 0.65rem; border-radius: 10px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 1px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.fund-lbl { font-size: 8px; color: rgba(255,255,255,0.4); text-transform: uppercase; }
.fund-val { font-size: 13px; font-weight: 700; color: #fff; }
.fund-val.green-glow::after {
  content: "$143,300";
  animation: fundTextCycle 6s infinite;
}
@keyframes fundTextCycle {
  0%, 15% { content: "$143,300"; }
  35%, 85% { content: "$145,800"; }
  90%, 100% { content: "$143,300"; }
}
.fund-val.green-glow {
  color: #06d6a0; text-shadow: 0 0 10px rgba(6,214,160,0.3);
}

.transaction-list {
  display: flex; flex-direction: column; gap: 5px;
  margin-top: 2px;
}
.tx-item {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.02); padding: 5px 8px;
  border-radius: 8px; font-size: 9px;
  border: 1px solid transparent;
  transition: all 0.4s ease;
}
.tx-item--new {
  animation: txAppear 6s ease-in-out infinite;
}
@keyframes txAppear {
  0%, 15% { opacity: 0; transform: translateY(-10px); height: 0; padding: 0; margin: 0; border: none; overflow: hidden; }
  25%, 85% { opacity: 1; transform: translateY(0); height: auto; padding: 5px 8px; border: 1px solid rgba(16,185,129,0.12); background: rgba(16,185,129,0.04); }
  90%, 100% { opacity: 0; transform: translateY(-10px); height: 0; padding: 0; margin: 0; border: none; overflow: hidden; }
}
.tx-dot { width: 5px; height: 5px; border-radius: 50%; }
.tx-dot--in { background: #06d6a0; }
.tx-dot--out { background: #f43f5e; }
.tx-desc { flex: 1; color: rgba(255,255,255,0.7); }
.tx-val { font-weight: 600; }
.font-green { color: #06d6a0; }
.font-red { color: #f43f5e; }

/* ====================================
   SLIDE 3: RESIDENTS (3D FLOATING CARD & SUCCESS RADAR SCANNER)
   ==================================== */
.qr-perspective-card {
  perspective: 600px; display: flex; justify-content: center;
  align-items: center; margin: 0.35rem 0;
}
.qr-glow-back {
  position: absolute; width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(13,163,226,0.3) 0%, transparent 70%);
  filter: blur(8px);
  animation: glowFloat 3s ease-in-out infinite;
}
@keyframes glowFloat {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.9; }
}
.qr-card-body {
  width: 96px; height: 96px; background: #fff; border-radius: 12px;
  padding: 6px; box-sizing: border-box; display: flex;
  align-items: center; justify-content: center; position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
  transform: rotateX(12deg) rotateY(-12deg) rotateZ(2deg);
  animation: cardFloat 4s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes cardFloat {
  0%, 100% { transform: rotateX(12deg) rotateY(-12deg) rotateZ(2deg) translateY(0px); }
  50% { transform: rotateX(14deg) rotateY(-8deg) rotateZ(3deg) translateY(-6px); }
}
.qr-svg-code { width: 100%; height: 100%; color: #0f172a; transition: opacity 0.3s; }
.qr-scanner-line {
  position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #0da3e2, transparent);
  box-shadow: 0 0 8px #0da3e2, 0 0 2px #0da3e2;
  animation: qrScan 2.2s infinite ease-in-out;
}
@keyframes qrScan {
  0% { top: 0; }
  50% { top: 100%; }
  100% { top: 0; }
}
.qr-success-overlay {
  position: absolute; inset: 0; background: rgba(5,150,105,0.9);
  color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: 0.05em; display: flex; align-items: center;
  justify-content: center; opacity: 0;
  animation: qrSuccessFlash 4.4s infinite ease-in-out;
  border-radius: 12px;
}
@keyframes qrSuccessFlash {
  0%, 45% { opacity: 0; transform: scale(0.9); }
  50%, 75% { opacity: 1; transform: scale(1); }
  80%, 100% { opacity: 0; transform: scale(1.1); }
}

.qr-user-profile {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  padding: 6px 8px; border-radius: 8px;
  margin-top: auto;
}
.avatar-ring {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #0da3e2, #7c3aed);
  font-size: 8px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 8px rgba(13,163,226,0.3);
}
.user-meta { display: flex; flex-direction: column; gap: 1px; }
.user-name { font-size: 10px; font-weight: 600; color: #fff; }
.user-role {
  font-size: 7px; color: #06d6a0; font-weight: 500; text-transform: uppercase;
  animation: roleTextCycle 4.4s infinite;
}
@keyframes roleTextCycle {
  0%, 45% { color: #06d6a0; content: "Acceso Express QR Autorizado"; }
  50%, 75% { color: #059669; }
  80%, 100% { color: #06d6a0; }
}
.user-role::after {
  content: "Acceso Express QR";
  animation: roleString 4.4s infinite;
}
@keyframes roleString {
  0%, 45% { content: "Código QR Generado"; }
  50%, 75% { content: "✓ Escaneado en Caseta"; }
  80%, 100% { content: "Código QR Generado"; }
}

/* --- Calculator Currency Toggle & Promo badge --- */
.calc-currency-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.currency-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}
.currency-toggle-group {
  display: flex;
  background: #f1f5f9;
  border-radius: 99px;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.currency-btn {
  border: none;
  background: transparent;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 200ms ease;
}
.currency-btn.active {
  background: #ffffff;
  color: #0DA3E2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.price-promo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(6, 214, 160, 0.08);
  color: #059669;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(6, 214, 160, 0.15);
  animation: pulsePromo 2.5s infinite ease-in-out;
}
@keyframes pulsePromo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* --- Wix Chat Auto-stack Overrides --- */
.floating-whatsapp-container {
  transition: bottom 300ms ease !important;
}

body.wix-chat-active .floating-whatsapp-container {
  bottom: 96px;
}
body.wix-chat-active .floating-calc-btn {
  bottom: 172px;
}

@media (max-width: 767px) {
  body.wix-chat-active .floating-whatsapp-container {
    bottom: 84px;
  }
  body.wix-chat-active .floating-calc-btn {
    bottom: 148px;
  }
}

/* ============================================================
   PRICING PAGE STYLES (precios.html)
   ============================================================ */
.pricing-hero {
  position: relative;
  padding: 6rem 1.5rem 8rem;
  background: #fafbfc;
}

.pricing-hero__glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 600px;
  background: radial-gradient(circle at 50% 0%, rgba(13,163,226,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pricing-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4.5rem;
}

.pricing-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(13, 163, 226, 0.08);
  color: #0DA3E2;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(13, 163, 226, 0.12);
}

.pricing-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.15;
  color: #0c0d12;
  margin-bottom: 1.5rem;
}

.pricing-header p {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: #4a5568;
  line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
}

@media (max-width: 1023px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.pricing-panel {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 20px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 3.5rem;
}

.panel-title {
  font-size: 20px;
  font-weight: 600;
  color: #0c0d12;
  margin-bottom: 0.5rem;
}

.panel-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 2rem;
}

/* Currency Toggle */
.pricing-currency-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1.5rem;
}

.currency-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.currency-toggle-group {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 99px;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Prop Type Grid */
.pricing-prop-selector {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1.5rem;
}

.prop-selector-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 1rem;
}

.pricing-prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.pricing-prop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  cursor: pointer;
  transition: all 250ms ease;
  text-align: center;
}

.pricing-prop-card:hover {
  border-color: rgba(13, 163, 226, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.pricing-prop-card.selected {
  border-color: #0DA3E2;
  background: rgba(13, 163, 226, 0.04);
  box-shadow: 0 0 0 1px #0DA3E2;
}

.prop-card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: color 250ms ease;
}

.pricing-prop-card:hover .prop-card-icon {
  color: #0da3e2;
}

.pricing-prop-card.selected .prop-card-icon {
  color: #0DA3E2;
}

.prop-card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prop-card-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.pricing-prop-card.selected .prop-card-label {
  color: #0DA3E2;
}

/* Units Slider */
.pricing-slider-group {
  margin-bottom: 2rem;
}

.pricing-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pricing-slider-header label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.pricing-slider-value {
  font-size: 18px;
  font-weight: 700;
  color: #0DA3E2;
}

.pricing-slider-value span {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

input[type="range"].pricing-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 99px;
  outline: none;
  background-image: linear-gradient(#0DA3E2, #0DA3E2);
  background-size: var(--range-pct, 0%) 100%;
  background-repeat: no-repeat;
}

input[type="range"].pricing-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #0DA3E2;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(13, 163, 226, 0.3);
  transition: transform 150ms;
}

input[type="range"].pricing-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Price Preview */
.pricing-price-preview {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
}

.pricing-price-preview .price-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 4px;
}

.pricing-price-preview .price-amount {
  font-size: 32px;
  font-weight: 700;
  color: #0c0d12;
}

.pricing-price-preview .price-amount small {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

.btn-scroll-to-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1.5rem;
  min-height: 44px;
  padding: 0.625rem 1.5rem;
  border-radius: 99px;
  background: linear-gradient(135deg, #0DA3E2 0%, #0b7fb4 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(13, 163, 226, 0.25);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.btn-scroll-to-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13, 163, 226, 0.4);
}

.btn-scroll-to-quote:active {
  transform: translateY(0);
}

.btn-scroll-to-quote svg {
  flex-shrink: 0;
  transition: transform 250ms ease;
}

.btn-scroll-to-quote:hover svg {
  transform: translateY(2px);
}

/* Advantages Section */
.advantages-section {
  margin-bottom: 4rem;
}

.advantages-section h3 {
  font-size: 24px;
  font-weight: 600;
  color: #0c0d12;
  margin-bottom: 0.5rem;
}

.advantages-section .section-intro {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 2rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 639px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.advantage-card {
  display: flex;
  gap: 1rem;
}

.adv-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.advantage-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.advantage-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
}

/* Features Checklist */
.features-checklist {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.04);
}

.features-checklist h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0c0d12;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 0.75rem;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

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

.checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #475569;
}

.checklist-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Right Sticky Column Form */
.pricing-right-col {
  position: relative;
}

.pricing-sticky-card {
  position: sticky;
  top: 110px;
  z-index: 10;
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02), 0 20px 40px rgba(0,0,0,0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.sticky-card-header {
  margin-bottom: 1.75rem;
}

.sticky-card-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0c0d12;
  margin-bottom: 0.25rem;
}

.sticky-card-header p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.4;
}

.sticky-quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sticky-quote-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sticky-quote-form label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.sticky-quote-form input,
.sticky-quote-form select {
  height: 44px;
  padding: 0 1rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  outline: none;
  transition: all 200ms;
}

.sticky-quote-form input:-webkit-autofill,
.sticky-quote-form input:-webkit-autofill:hover, 
.sticky-quote-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  -webkit-text-fill-color: #0f172a !important;
  transition: background-color 5000s ease-in-out 0s;
}

.sticky-quote-form input:focus,
.sticky-quote-form select:focus {
  border-color: #0DA3E2;
  box-shadow: 0 0 0 3px rgba(13, 163, 226, 0.12);
}

.sticky-quote-form .form-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.form-price-summary {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0,0,0,0.04);
  margin-top: 0.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #475569;
}

.summary-row strong {
  font-size: 16px;
  font-weight: 700;
  color: #0DA3E2;
}

.btn-quote-submit {
  width: 100%;
  height: 48px;
  border-radius: 99px;
  border: none;
  background: linear-gradient(135deg, #0DA3E2 0%, #0b7fb4 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(13, 163, 226, 0.25);
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
}

.btn-quote-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 163, 226, 0.4);
}

.btn-quote-submit:active {
  transform: translateY(0);
}

/* Success View */
.quote-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.quote-success-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0c0d12;
  margin-bottom: 0.5rem;
}

.success-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.success-wa-btn {
  width: 100%;
  height: 46px;
  border-radius: 99px;
  border: none;
  background: #25D366;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  margin-bottom: 1rem;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
}

.success-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.success-back-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}

.success-back-btn:hover {
  color: #0f172a;
}


