/* ============================================================
   HAUSBOX DESIGN SYSTEM
   Premium landing page for condominium management SaaS
   ============================================================ */

/* --- CSS Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ol,
ul,
menu {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

/* --- Custom Properties --- */
:root {
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', 'Georgia', serif;

  --bg: #000000;
  --fg: #ffffff;
  --bg-light: #ffffff;
  --fg-light: #000000;
  --bg-beige: #F0F7FC;
  --bg-dark: #0a0a0a;
  --accent: #0DA3E2;
  --cta-text: #000000;

  --radius-section: 48px;
  --radius-section-lg: 64px;

  --max-w: 80rem;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-lift: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  :root {
    --radius-section: 64px;
  }
}

/* --- Typography --- */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.text-display {
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  line-height: 1.02;
}

/* --- Noise Overlay --- */
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Ken Burns Animation --- */
@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.08) translate(-1%, -0.5%);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

.animate-kenburns {
  animation: kenburns 25s ease-in-out infinite;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.5rem 0 0;
  transition: transform 900ms var(--ease-out-expo), padding 300ms ease, background-color 300ms ease, backdrop-filter 300ms ease, -webkit-backdrop-filter 300ms ease, box-shadow 300ms ease;
  transform: translateY(0);
}

.site-nav.visible {
  transform: translateY(0);
  padding: 0.75rem 0 0.75rem;
}

.site-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 300ms ease;
  display: none !important;
}

.site-nav.visible::before {
  opacity: 0 !important;
  display: none !important;
}

.site-nav[data-theme="dark"]::before {
  display: none !important;
}

.site-nav[data-theme="light"]::before {
  display: none !important;
}

/* Light theme nav — pill bg on logo only (no full-width stripe) */
.site-nav.visible[data-theme="light"] .nav-logo {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav.visible[data-theme="dark"] .nav-logo {
  background-color: rgba(0, 0, 0, 0.55);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Mobile CTA pill bg in light mode */
.site-nav.visible[data-theme="light"] .nav-mobile-cta .btn-cta-nav {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.site-nav .nav-inner {
  margin: 0 auto;
  width: 100%;
  max-width: var(--max-w);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .site-nav .nav-inner {
    padding: 0 2.5rem;
  }
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  justify-self: start;
  padding: 8px 22px;
  border-radius: 9999px;
  transition: color 300ms, background-color 300ms ease, box-shadow 300ms ease;
}

.nav-logo img {
  height: 49px !important;
  width: auto !important;
  transition: opacity 300ms ease;
}

@media (min-width: 768px) {
  .nav-logo img {
    height: 56px !important;
  }
}

/* Logo Light/Dark toggling based on nav theme */
.logo-light {
  display: block !important;
}
.logo-dark {
  display: none !important;
}
.logo-mobile {
  display: none !important;
}

.site-nav[data-theme="dark"] .logo-light {
  display: block !important;
}
.site-nav[data-theme="dark"] .logo-dark {
  display: none !important;
}
.site-nav[data-theme="light"] .logo-light {
  display: none !important;
}
.site-nav[data-theme="light"] .logo-dark {
  display: block !important;
}

/* Mobile Nav Logo (Sphere Icon) */
@media (max-width: 767px) {
  .site-nav .logo-light,
  .site-nav .logo-dark,
  .site-nav[data-theme="dark"] .logo-light,
  .site-nav[data-theme="dark"] .logo-dark,
  .site-nav[data-theme="light"] .logo-light,
  .site-nav[data-theme="light"] .logo-dark {
    display: none !important;
  }

  .site-nav .logo-mobile {
    display: block !important;
    height: 38px !important;
    width: auto !important;
  }
}

/* Nav pills (floating circular menu container) */
.nav-pills {
  display: none;
  position: relative;
  align-items: center;
  gap: 0.125rem;
  padding: 0.25rem 0.25rem 0.25rem 1rem;
  font-size: 14px;
  background-color: #ffffff !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  border-radius: 9999px;
  transition: all 300ms ease;
}

@media (min-width: 1024px) {
  .nav-pills {
    display: flex;
  }
}

.nav-pills a {
  display: inline-flex;
  height: 40px;
  align-items: center;
  border-radius: 9999px;
  padding: 0 0.875rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  color: rgba(31, 32, 37, 0.75) !important;
  transition: background-color 150ms, color 150ms;
  white-space: nowrap;
}

.nav-pills a:hover {
  color: #000000 !important;
  background-color: rgba(0, 0, 0, 0.04) !important;
}

/* Dropdowns inside Nav Pills */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0 0.875rem;
  font-weight: 500;
  font-size: 14px;
  color: rgba(31, 32, 37, 0.75) !important;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 150ms, color 150ms;
  white-space: nowrap;
}

.nav-dropdown-trigger:hover {
  color: #000000 !important;
  background-color: rgba(0, 0, 0, 0.04) !important;
}

.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 250ms ease;
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
  min-width: 210px;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  z-index: 1000;
  margin-top: 0.5rem;
}

/* Invisible bridge to keep hover alive across the gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  height: auto;
  padding: 0.625rem 1rem !important;
  font-size: 14px;
  color: rgba(31, 32, 37, 0.8) !important;
  text-decoration: none;
  transition: background-color 150ms, color 150ms;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background-color: rgba(0, 0, 0, 0.04) !important;
  color: #000000 !important;
}

/* ---- Mega Menu (Funcionalidades) ---- */
.nav-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 1.25rem;
  min-width: 540px;
  display: flex;
  gap: 0;
  z-index: 1000;
  margin-top: 0.5rem;
  transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Invisible bridge to keep hover alive across the gap */
.nav-mega-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown--mega:hover .nav-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.5rem;
}

.mega-divider {
  width: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 0 0.25rem;
  align-self: stretch;
}

.mega-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(31, 32, 37, 0.4);
  padding: 0.5rem 0.625rem 0.625rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 0.25rem;
}

.mega-col-header svg {
  opacity: 0.45;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem;
  border-radius: 12px;
  text-decoration: none !important;
  transition: background-color 150ms ease;
  cursor: pointer;
}

.mega-item:hover {
  background-color: rgba(0, 0, 0, 0.03) !important;
}

.mega-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent, #0DA3E2) 10%, transparent);
  color: var(--accent, #0DA3E2);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.mega-item:hover .mega-icon {
  background: color-mix(in srgb, var(--accent, #0DA3E2) 15%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #0DA3E2) 20%, transparent);
}

.mega-icon svg {
  stroke: var(--accent, #0DA3E2);
}

.mega-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #1f2025;
  line-height: 1.3;
}

.mega-desc {
  font-size: 12px;
  font-weight: 400;
  color: rgba(31, 32, 37, 0.5);
  line-height: 1.35;
  margin-top: 1px;
}

/* Nav Divider */
.nav-divider {
  width: 1px;
  height: 18px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 0 0.5rem;
  display: inline-block;
  flex-shrink: 0;
}

/* Iniciar Sesión / Ingresar */
.btn-login-nav {
  color: rgba(31, 32, 37, 0.75) !important;
  font-weight: 500;
  margin-right: 0.25rem;
}

.btn-login-nav:hover {
  color: #000000 !important;
  background-color: rgba(0, 0, 0, 0.04) !important;
}

/* Solicitar Demo */
.nav-pills .btn-cta-nav {
  display: inline-flex;
  height: 34px;
  align-items: center;
  border-radius: 9999px;
  background-color: #000000 !important;
  padding: 0 1.125rem;
  font-size: 14px;
  line-height: 1;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 500;
  box-shadow: none;
  white-space: nowrap;
  transition: opacity 150ms;
  margin-right: 0.125rem;
}

.nav-pills .btn-cta-nav:hover {
  opacity: 0.85;
}

/* Nav theme logo overrides */
.site-nav[data-theme="dark"] .nav-logo {
  color: #ffffff;
}

.site-nav[data-theme="light"] .nav-logo {
  color: #000000;
}

/* Mobile Precios Link Styling & Theme overrides */
.nav-link-mobile-precios {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 300ms ease;
}

.site-nav[data-theme="dark"] .nav-link-mobile-precios {
  color: rgba(255, 255, 255, 0.8) !important;
}

.site-nav[data-theme="dark"] .nav-link-mobile-precios:hover {
  color: #ffffff !important;
}

.site-nav[data-theme="light"] .nav-link-mobile-precios {
  color: rgba(31, 32, 37, 0.8) !important;
}

.site-nav[data-theme="light"] .nav-link-mobile-precios:hover {
  color: #000000 !important;
}

/* Mobile CTA Button */
.btn-cta-nav {
  display: inline-flex;
  height: 42px;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: #000;
  padding: 0 1.375rem;
  font-size: 15px;
  line-height: 1;
  color: #fff !important;
  text-decoration: none;
  font-weight: 500;
  box-shadow: var(--shadow-lift);
  white-space: nowrap;
}

.btn-cta-nav svg {
  width: 16px;
  height: 16px;
}

/* Mobile CTA */
.nav-mobile-cta {
  display: none !important;
}

.nav-spacer {
  display: none;
  justify-self: end;
}

@media (min-width: 1024px) {
  .nav-spacer {
    display: block;
  }
}

/* ============================================================
   ROLLING TEXT ANIMATION (Button hover letter cascade)
   ============================================================ */
.rolling-text {
  display: inline-flex;
}

.rolling-char {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  height: 1.25em;
  line-height: 1.25;
}

.rolling-char .char-top,
.rolling-char .char-bottom {
  display: inline-block;
  transition: transform 500ms var(--ease-smooth);
}

.rolling-char .char-bottom {
  position: absolute;
  left: 0;
  top: 100%;
}

.group:hover .rolling-char .char-top,
.group:hover .rolling-char .char-bottom {
  transform: translateY(-100%);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100dvh;
  width: 100%;
  padding: 0 5vw;
  padding-bottom: 4rem;
  text-align: center;
}

/* Hero background */
.hero-bg {
  position: absolute;
  inset: 0;
  top: 0;
  bottom: -120px;
  overflow: hidden;
  background-color: #000;
  pointer-events: none;
}

.hero-bg-zoom {
  position: absolute;
  inset: 0;
  transition: transform 1800ms var(--ease-out-expo);
}

.hero-bg-kenburns {
  position: absolute;
  inset: -5%;
}

.hero-bg-kenburns img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero gradient overlay */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.88) 100%);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

/* Text reveal animation */
.text-reveal-wrap {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.text-reveal-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1100ms var(--ease-out-expo);
}

.text-reveal-inner.revealed {
  transform: translateY(0);
}

/* Hero subtitle & CTA fade */
.hero-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms var(--ease-in-out),
    transform 900ms var(--ease-in-out);
}

.hero-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero CTA button */
.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  background-color: #fff;
  padding: 0.875rem 1.875rem;
  font-size: 1.25rem;
  color: var(--cta-text);
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
  box-shadow: var(--shadow-lift);
  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-color 300ms;
}

.btn-cta-hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(13, 163, 226, 0.35);
}

.btn-cta-hero:active {
  transform: translateY(0);
}

.btn-cta-hero svg {
  width: 24px;
  height: 24px;
}

/* Secondary Hero Button */
.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  height: 48px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0 1.75rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 200ms, border-color 200ms, transform 200ms;
}

.btn-secondary-hero:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.btn-secondary-hero:active {
  transform: translateY(0);
}

/* Subtle Links for features and sections */
.subtle-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent); /* blue */
  text-decoration: none;
  transition: opacity 150ms ease, transform 150ms ease;
  width: fit-content;
}

.subtle-link:hover {
  opacity: 0.85;
  transform: translateX(2px);
}

.subtle-link svg {
  width: 14px;
  height: 14px;
  transition: transform 150ms ease;
}

.subtle-link:hover svg {
  transform: translateX(1px);
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  position: relative;
  z-index: 10;
  background-color: #fff;
  color: #000;
  border-top-left-radius: var(--radius-section);
  border-top-right-radius: var(--radius-section);
}

/* Desktop layout */
.features-desktop {
  display: none;
  margin: 0 auto;
  max-width: var(--max-w);
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .features-desktop {
    display: block;
    padding: 0 2.5rem;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .features-grid {
    gap: 4rem;
  }
}

.features-col {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.feature-slot {
  display: flex;
  height: 80svh;
  align-items: center;
  justify-content: flex-start;
}

.feature-text {
  max-width: 24rem;
  text-align: left;
}

.feature-text h2 {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

@media (min-width: 768px) {
  .feature-text h2 {
    font-size: 40px;
    line-height: 1.05;
  }
}

.feature-text p {
  margin-top: 1rem;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.625;
  color: rgba(0, 0, 0, 0.65);
}

@media (min-width: 768px) {
  .feature-text p {
    font-size: 17px;
  }
}

/* Reveal animation for features */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--ease-in-out),
    transform 800ms var(--ease-out-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Phone column (center, sticky) */
.features-phone-col {
  position: relative;
}

.features-phone-sticky {
  position: sticky;
  top: 0;
  display: flex;
  height: 100svh;
  align-items: center;
  justify-content: center;
  padding: 10svh 0;
}

/* Subtle gradient behind phone */
.features-gradient-bg {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;
  height: 100%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  border-top-left-radius: var(--radius-section);
  border-top-right-radius: var(--radius-section);
  background:
    radial-gradient(ellipse 80% 75% at 18% 28%, rgba(238, 228, 250, 0.55), transparent 72%),
    radial-gradient(ellipse 90% 85% at 82% 70%, rgba(218, 232, 248, 0.6), transparent 72%);
  mask-image: linear-gradient(to bottom, black 0%, black 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 68%, transparent 100%);
}

/* Phone mockup */
.phone-wrapper {
  position: relative;
  z-index: 10;
}

.phone-shadow {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 140%;
  height: 140px;
  transform: translateX(-50%) translateY(-30%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.08) 45%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.phone-device {
  position: relative;
  height: 58vh;
  min-height: 400px;
  max-height: 620px;
  aspect-ratio: 1380 / 2880;
}

@media (min-width: 768px) {
  .phone-device {
    height: 72vh;
    max-height: 820px;
  }
}

/* Phone body (dark background behind frame) */
.phone-body {
  position: absolute;
  background: #000;
  top: 1.4%;
  bottom: 1.4%;
  left: 3%;
  right: 3%;
  border-radius: 16% / 7.5%;
}

/* Phone screen area */
.phone-screen {
  position: absolute;
  overflow: hidden;
  background: #000;
  top: 2.5%;
  bottom: 2.5%;
  left: 4.3%;
  right: 4.3%;
  border-radius: 14% / 6.5%;
}

.phone-screen-slide {
  position: absolute;
  inset: 0;
  transition: opacity 900ms var(--ease-in-out);
}

.phone-screen-slide img,
.phone-screen-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.phone-screen-slide.active {
  opacity: 1;
}

.phone-screen-slide:not(.active) {
  opacity: 0;
}

/* Phone glare */
.phone-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 28% 12%,
      rgba(220, 220, 220, 0.08) 0%,
      rgba(220, 220, 220, 0.02) 40%,
      rgba(220, 220, 220, 0) 70%);
}

/* Phone frame overlay */
.phone-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
}

/* Mobile features carousel */
.features-mobile {
  position: relative;
  height: auto;
  padding: 4.5rem 0 3.5rem;
}

@media (min-width: 768px) {
  .features-mobile {
    display: none;
  }
}

.features-mobile-sticky {
  position: relative;
  top: auto;
  display: flex;
  height: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1.25rem;
  background-color: #ffffff;
  transition: background-color 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 24px;
}

.features-mobile-sticky.bg-slide-0 {
  background-color: #f4fafd; /* Very soft ocean/sky blue */
}

.features-mobile-sticky.bg-slide-1 {
  background-color: #fdf5fd; /* Very soft royal orchid purple */
}

.features-mobile-sticky.bg-slide-2 {
  background-color: #f5fdf8; /* Very soft emerald green */
}

.features-mobile-sticky.bg-slide-3 {
  background-color: #fffaf0; /* Very soft amber/beige gold */
}

/* Mobile Features progress dots & arrows */
.mobile-features-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  top: auto;
  z-index: 10;
  margin-bottom: 0.5rem;
}

.mobile-features-progress .progress-dot {
  width: 12px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.12);
  transition: background-color 300ms ease, width 300ms ease;
  cursor: pointer;
}

.mobile-features-progress .progress-dot.active {
  background-color: #0DA3E2;
  width: 24px;
}

/* Arrow Navigation */
.mobile-features-arrow {
  border: none;
  background: rgba(0, 0, 0, 0.05);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  cursor: pointer;
  transition: background 200ms, transform 150ms;
}
.mobile-features-arrow:active {
  background: rgba(0, 0, 0, 0.12);
  transform: scale(0.92);
}
.mobile-features-arrow svg {
  display: block;
}

.features-mobile-phone {
  transform-origin: center;
  transform: scale(0.78);
}

@media (min-width: 640px) {
  .features-mobile-phone {
    transform: scale(0.85);
  }
}

.features-mobile-text {
  text-align: center;
  max-width: 320px;
}

.features-mobile-text h2 {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.features-mobile-text p {
  margin-top: 0.75rem;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.625;
  color: rgba(0, 0, 0, 0.65);
}

/* ============================================================
   HIGHLIGHTS, PRIVACY, AND REVIEWS SECTIONS
   ============================================================ */

/* --- Highlights Scroller --- */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

[data-highlights-scroller="true"] {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.highlight-card-wrapper {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.highlight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  width: calc(100vw - 80px);
  aspect-ratio: 3 / 4;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
  background-size: cover;
  background-position: center;
}

@media (min-width: 768px) {
  .highlight-card {
    aspect-ratio: 11 / 10;
    height: calc(80vh - 32px);
    max-height: 820px;
    min-height: 520px;
    width: auto;
    border-radius: 30px;
  }
}

/* EQ animations */
.voice-bar-capsule {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 50vw;
  background-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  --bar-min: 4px;
  --bar-max: clamp(40px, 5.2vw, 56px);
  --pill-py: clamp(8px, 1.6vw, 14px);
  padding: var(--pill-py) clamp(14px, 2.4vw, 22px);
  height: calc(var(--bar-max) + var(--pill-py) * 2);
}

.voice-bar-capsule span[data-bar="true"] {
  display: block;
  width: clamp(3px, 0.55vw, 6px);
  border-radius: 50vw;
  background-color: currentColor;
  height: var(--bar-min);
  transform-origin: bottom;
}

/*EQ animation delays and loops*/
.voice-bar-capsule span[data-bar="true"]:nth-child(odd) {
  animation: equalize 1.2s ease-in-out infinite;
}

.voice-bar-capsule span[data-bar="true"]:nth-child(even) {
  animation: equalize 0.8s ease-in-out infinite;
  animation-delay: 0.15s;
}

.voice-bar-capsule span[data-bar="true"]:nth-child(3n) {
  animation-duration: 1.5s;
  animation-delay: 0.3s;
}

.voice-bar-capsule span[data-bar="true"]:nth-child(4n) {
  animation-duration: 1s;
  animation-delay: 0.05s;
}

@keyframes equalize {

  0%,
  100% {
    height: var(--bar-min);
  }

  50% {
    height: var(--bar-max);
  }
}

/* Card 3 priorities list */
/* Card 3 priorities list */
.priority-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.priority-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  position: relative;
  transition: all 400ms var(--ease-out-expo);
  user-select: none;
}

.priority-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.priority-item:active {
  transform: scale(0.98);
}

.priority-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  transition: all 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  background: transparent;
}

.priority-checkbox svg {
  width: 65%;
  height: 65%;
}

.priority-checkbox polyline {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.priority-text {
  margin-left: 12px;
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  transition: color 400ms ease, opacity 400ms ease;
}

/* Pen line-through animation */
.priority-text::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.4);
  transition: width 450ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.priority-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  border-radius: 50vw;
  font-size: 11px;
  padding: 4px 8px;
  gap: 4px;
  font-weight: 600;
  transition: opacity 400ms ease;
  flex-shrink: 0;
}

.priority-badge span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: currentColor;
}

/* Completed State */
.priority-item.completed {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.03);
  transform: scale(0.97);
}

.priority-item.completed .priority-checkbox {
  background: rgba(6, 214, 160, 0.2) !important;
  border-color: #06d6a0 !important;
  border-style: solid !important;
  box-shadow: 0 0 12px rgba(6, 214, 160, 0.4);
}

.priority-item.completed .priority-checkbox polyline {
  stroke-dashoffset: 0;
}

.priority-item.completed .priority-text {
  opacity: 0.35;
  color: rgba(255, 255, 255, 0.7);
}

.priority-item.completed .priority-text::after {
  width: 100%;
}

.priority-item.completed .priority-badge {
  opacity: 0.4;
}

/* Sparkle Particle styles */
@keyframes spark-burst {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

.sparkle-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  animation: spark-burst 650ms cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

/* Desktop navigation arrows scroller container */
.scroller-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50vw;
  box-shadow: inset 1px 1px 1px 0px rgba(255, 255, 255, 0.6), inset -1px -1px 1px 0px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.scroller-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: rgba(0, 0, 0, 0.7);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

.scroller-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #000;
}

.scroller-btn:disabled {
  opacity: 0.3;
  cursor: default;
  background-color: transparent;
  color: rgba(0, 0, 0, 0.7);
}

/* --- Privacy Section --- */
.privacy-card {
  --mx: 50%;
  --my: -50%;
  --spotlight: 0;
}

.privacy-dot-grid {
  background-image: radial-gradient(circle at 50% 0%, rgba(242, 254, 128, 0) 35%, rgba(242, 254, 128, 0.10) 80%, rgba(242, 254, 128, 0.25) 100%);
}

.privacy-spotlight {
  background-image: radial-gradient(rgba(255, 255, 255, 0.85) 1px, transparent 1.2px);
  background-size: 16px 16px;
  opacity: var(--spotlight);
  mask-image: radial-gradient(circle 260px at var(--mx) var(--my), #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx) var(--my), #000 0%, transparent 70%);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mix-blend-mode: overlay;
  pointer-events: none;
  transition: opacity 0.5s ease-out;
}

/* --- Reviews Section --- */
.animate-marquee {
  will-change: transform;
  animation: 60s linear infinite marquee;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.review-card {
  background-color: #ffffff;
  border-radius: 40px;
  padding: 32px;
  min-height: 320px;
  box-shadow: 0 -4px 32px -12px rgba(0, 0, 0, 0.035), 0 1px 2px rgba(0, 0, 0, 0.025), 0 12px 36px -14px rgba(0, 0, 0, 0.05), 0 28px 60px -24px rgba(0, 0, 0, 0.045);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  position: relative;
  z-index: 10;
  background-color: var(--bg-beige);
  color: #000;
  padding: 6rem 1.25rem 5rem;
}

@media (min-width: 768px) {
  .faq-section {
    padding: 8rem 2.5rem 8rem;
  }
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header .label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}

.faq-header h2 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.1;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .faq-header h2 {
    font-size: 40px;
  }
}

/* FAQ accordion items */
.faq-item {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  gap: 1rem;
}

.faq-question:hover {
  color: rgba(0, 0, 0, 0.7);
}

.faq-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.faq-icon span {
  position: absolute;
  background-color: currentColor;
  transition: transform 300ms var(--ease-in-out);
}

.faq-icon .icon-h {
  width: 17px;
  height: 1.5px;
}

.faq-icon .icon-v {
  width: 1.5px;
  height: 17px;
}

.faq-item.open .faq-icon .icon-v {
  transform: rotate(90deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms var(--ease-in-out);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding-bottom: 1.5rem;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.625;
  color: rgba(0, 0, 0, 0.6);
  max-width: 42rem;
}

/* ============================================================
   CTA & FOOTER WRAPPER
   ============================================================ */
.cta-footer-wrap {
  position: relative;
  z-index: 10;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.85)), url('../assets/images/footer-bg.png');
  background-size: cover;
  background-position: center;
  border-top-left-radius: var(--radius-section);
  border-top-right-radius: var(--radius-section);
  margin-top: calc(var(--radius-section) * -1);
  overflow: hidden;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  z-index: 20;
  background: transparent;
  color: #fff;
  padding: 8rem 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 10rem 2.5rem;
  }
}

.cta-section .cta-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(100, 60, 180, 0.15), transparent 70%),
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(60, 100, 220, 0.12), transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 48px;
  }
}

.cta-content p {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.7);
}

.cta-content .btn-cta-hero {
  margin-top: 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 20;
  background: #050c14;
  color: #fff;
  padding: 3.5rem 1.25rem;
  padding-bottom: max(env(safe-area-inset-bottom), 1.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .site-footer {
    padding: 3rem 2.5rem;
  }
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-logo svg {
  height: 18px;
  width: auto;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 200ms;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 200ms;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flex-1 {
  flex: 1;
}

.w-full {
  width: 100%;
}


/* ============================================================
   ADDITIONAL LAYOUT, TYPOGRAPHY AND BUG FIXES
   ============================================================ */

/* --- Scroller Layout & Typography --- */
#highlights {
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  color: #000000;
  /* height set dynamically by JS to create scroll room */
}

@media (max-width: 767px) {
  #highlights {
    display: none !important;
  }
}

.highlights-scroller-container {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .highlights-scroller-container {
    padding: 0 2.5rem;
  }
}

.highlights-scroller-inner {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}

@media (min-width: 1024px) {
  .highlights-scroller-inner {
    gap: 1.5rem;
  }
}

/* Card layout on desktop */
@media (min-width: 768px) {
  .highlight-card {
    width: calc((80vh - 32px) * 1.1) !important;
    max-width: 880px !important;
    min-width: 580px !important;
  }
}

/* Typography styles inside highlights scroller cards */
.highlight-card .relative.z-20 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-card h3 {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}

.highlight-card h3 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .highlight-card h3 {
    font-size: 36px;
    line-height: 1.05;
  }
}

.highlight-card p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  opacity: 0.85;
}

@media (min-width: 1024px) {
  .highlight-card p {
    font-size: 18px;
  }
}

/* --- Privacy Section Layout & Typography --- */
#privacy {
  position: relative;
  z-index: 20;
  background-color: #ffffff;
  color: #000000;
  padding: 4rem 1.25rem;
}

@media (min-width: 768px) {
  #privacy {
    padding: 6rem 2.5rem;
  }

  .privacy-card {
    border-radius: 30px !important;
  }
}

.privacy-card h2 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}

.privacy-card h2 .serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

@media (min-width: 768px) {
  .privacy-card h2 {
    font-size: 48px;
  }
}

.privacy-card p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 768px) {
  .privacy-card p {
    font-size: 18px;
  }
}

/* --- Security Features Grid --- */
.security-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0 4%;
}

@media (min-width: 640px) {
  .security-features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .security-features-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
  }
}

.security-feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.security-feature-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.security-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.security-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  background: radial-gradient(circle at center, var(--accent, #0DA3E2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(8px);
}

.security-feature-card:hover .security-icon-wrap::after {
  opacity: 0.25;
}

.security-card-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.security-card-content p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Trust badges */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-badge span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
}

@media (max-width: 767px) {
  .trust-badge span {
    font-size: 11px;
  }

  .security-card-content h4 {
    font-size: 14px;
  }
}

/* --- Reviews Section Layout & Typography --- */
#reviews {
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  color: #000000;
  padding-top: 6rem;
}

@media (min-width: 768px) {
  #reviews {
    padding-top: 8rem;
  }
}

#reviews h2 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-align: center;
  margin: 0;
}

#reviews h2 .serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

@media (min-width: 768px) {
  #reviews h2 {
    font-size: 48px;
  }
}

#reviews p.mx-auto {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
  margin-top: 1.25rem;
  color: rgba(0, 0, 0, 0.55);
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
}

@media (min-width: 768px) {
  #reviews p.mx-auto {
    font-size: 18px;
  }
}

.reviews-marquee-container {
  margin-top: 4rem;
  overflow-x: clip;
  padding-bottom: 6rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

@media (min-width: 768px) {
  .reviews-marquee-container {
    padding-bottom: 8rem;
  }
}

.reviews-marquee-inner {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

/* Review Card width adjustments */
.review-card {
  width: 340px;
  flex-shrink: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .review-card {
    width: 420px;
  }
}

/* ========== CRAFTED / BEVEL EXACT REPLICA ========== */
.crafted-section {
  padding-top: clamp(5rem, 7.143vw + 3.571rem, 10rem);
  padding-bottom: 0;
  overflow: hidden;
  background-color: #ffffff;
  position: relative;
  z-index: 10;
}

/* Craft Container (mosaic outer) */
.craft_container {
  width: calc(100% + -2 * clamp(1rem, 1.429vw + 0.714rem, 2rem));
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(11%);
}

/* Row & Col grid (Bevel-style) */
.bevel-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-1 * clamp(1rem, 1.429vw + 0.714rem, 2rem) / 2);
  margin-right: calc(-1 * clamp(1rem, 1.429vw + 0.714rem, 2rem) / 2);
}

.bevel-row-center {
  justify-content: center;
}

.bevel-col {
  flex: 1;
  padding-left: calc(clamp(1rem, 1.429vw + 0.714rem, 2rem) / 2);
  padding-right: calc(clamp(1rem, 1.429vw + 0.714rem, 2rem) / 2);
}

.bevel-col-lg-11 {
  flex-basis: 91.6667%;
  max-width: 91.6667%;
}

.bevel-col-lg-6 {
  flex-basis: 50%;
  max-width: 50%;
}

/* Utility flex classes */
.bevel-hflex-center-stretch {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: stretch;
}

.bevel-hgap-16 {
  column-gap: 1rem;
}

.bevel-vflex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bevel-vgap-16 {
  row-gap: 1rem;
}

.bevel-flex-grow {
  flex-grow: 1;
}

.bevel-hflex-center {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
}

.bevel-hflex-top {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: flex-start;
}

/* Crafted frame (image containers) - EXACT Bevel values */
.crafted_frame {
  border-radius: clamp(1.25rem, 1.071vw + 1.036rem, 2rem);
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.crafted_frame img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  display: block;
}

.crafted_frame.cc-small {
  height: 10.375rem;
}

.crafted_frame.cc-medium {
  height: 14.375rem;
}

.crafted_frame.cc-large {
  height: 22.25rem;
}

/* Bevel container (heading + marquee) */
.bevel-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 1.429vw + 0.714rem, 2rem);
  padding-right: clamp(1rem, 1.429vw + 0.714rem, 2rem);
  margin-top: -1.5rem; /* Subirlo muy poquito */
}

.bevel-vflex-stretch {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.bevel-vgap-80-40 {
  row-gap: clamp(2.5rem, 3.571vw + 1.786rem, 5rem);
}

.bevel-vflex-center-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.bevel-align-center {
  text-align: center;
}

/* Heading (h2 + subtitle) */
.bevel-h2 {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(2.4rem, 4vw + 1.4rem, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #1f2025;
}

.bevel-h2 .serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.bevel-p-md {
  font-size: clamp(1rem, 0.357vw + 0.929rem, 1.25rem);
  line-height: 1.6;
  font-weight: 400;
  padding-bottom: 80px;
}

.bevel-color-secondary {
  color: rgba(31, 32, 37, 0.55);
}

/* Marquee */
.bevel-marquee {
  overflow: clip;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 1%, #000 99%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 1%, #000 99%, transparent 100%);
}

.bevel-marquee.cc-cards {
  padding-bottom: clamp(2.5rem, 3.571vw + 1.786rem, 5rem);
}

.bevel-marquee_row {
  display: flex;
  gap: clamp(1rem, 1.429vw + 0.714rem, 2rem);
  width: max-content;
  will-change: transform;
  animation: bevel-marquee-scroll 60s linear infinite;
}

.bevel-marquee_row:hover {
  animation-play-state: paused;
}

@keyframes bevel-marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.bevel-marquee-track {
  display: flex;
  gap: clamp(1rem, 1.429vw + 0.714rem, 2rem);
  flex-shrink: 0;
}

/* Marquee card */
.bevel-marquee_card {
  border-radius: 2rem;
  background-color: #ebf0f8;
  width: 24rem;
  height: 100%;
  padding: 2rem;
  flex-shrink: 0;
}

.bevel-vflex-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.bevel-vgap-12 {
  row-gap: 0.75rem;
}

.bevel-hflex-left {
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.125rem;
}

.bevel-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2025;
  line-height: 1.3;
}

.bevel-card-body {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(31, 32, 37, 0.75);
  margin: 0;
}

.bevel-card-author {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(31, 32, 37, 0.4);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Mobile: hide mosaic, adapt cols */
@media (max-width: 767px) {
  .craft_container {
    display: none;
  }

  .bevel-col-lg-6,
  .bevel-col-lg-11 {
    flex-basis: 100%;
    max-width: 100%;
  }

  .bevel-marquee_card {
    width: 18rem;
    padding: 1.5rem;
  }

  .bevel-h2 {
    font-size: 2.25rem;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .bevel-col-lg-6 {
    flex-basis: 66.6667%;
    max-width: 66.6667%;
  }

  .bevel-col-lg-11 {
    flex-basis: 100%;
    max-width: 100%;
  }

  [craft-col="mid"] {
    display: none;
  }

  .crafted_frame.cc-small {
    height: 7.5rem;
  }

  .crafted_frame.cc-medium {
    height: 10rem;
  }

  .crafted_frame.cc-large {
    height: 16rem;
  }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.floating-whatsapp-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  transition: bottom 300ms ease, opacity 300ms ease, transform 300ms ease;
}

.floating-whatsapp {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: whatsapp-pulse 2s infinite;
  pointer-events: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover svg {
  transform: rotate(8deg) scale(1.05);
}

.whatsapp-tooltip {
  pointer-events: auto;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-tooltip.visible {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(10, 10, 10, 0.85);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .floating-whatsapp-container {
    bottom: 20px;
    right: 20px;
    gap: 8px;
  }
  
  .floating-whatsapp {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-tooltip {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* --- Reviews Scroll Lateral --- */
.bevel-marquee_row.lateral-scroll {
  animation: none !important;
  will-change: transform;
}

/* ============================================================
   RESIDENT VS ADMIN TABS SECTION
   ============================================================ */
.roles-tabs-section {
  position: relative;
  background-color: #050505;
  color: #ffffff;
  padding: 6rem 1.25rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .roles-tabs-section {
    padding: 8rem 2rem;
  }
}

.roles-container {
  max-width: 80rem;
  margin: 0 auto;
}

.roles-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.roles-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.roles-tabs-section h2 {
  font-size: clamp(2rem, 3.5vw + 1.2rem, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.roles-tabs-section h2 .serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.roles-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  max-width: 38rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tabs Switcher Pill */
.tabs-selector-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.tabs-selector {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  padding: 6px;
  width: 100%;
  max-width: 440px;
}

.tab-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 99px;
  transition: color 0.3s ease;
}

.tab-btn.active {
  color: #050505;
}

.tab-btn svg {
  opacity: 0.7;
}

.tab-btn.active svg {
  opacity: 1;
}

.active-pill-bg {
  position: absolute;
  top: 6px;
  left: 6px;
  bottom: 6px;
  width: calc(50% - 6px);
  background: var(--accent);
  border-radius: 99px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
  box-shadow: 0 4px 12px rgba(13, 163, 226, 0.3);
}

.tabs-selector[data-active="admin"] .active-pill-bg {
  transform: translateX(100%);
}

/* Panels */
.tabs-panels {
  position: relative;
  min-height: 520px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .panel-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }
  
  .panel-grid.cc-reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* Left Column Info */
.panel-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.role-icon-header {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.role-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(13, 163, 226, 0.1);
  color: var(--accent);
  border: 1px solid rgba(13, 163, 226, 0.2);
  flex-shrink: 0;
}

.role-icon-header h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.role-icon-header p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.role-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .role-features-list {
    grid-template-columns: 1fr 1fr;
  }
}

.role-feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent);
}

.role-feature-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px;
}

.role-feature-item p {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* Right Column Visual (Phone and Mockups) */
.panel-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.role-phone {
  width: 310px;
  height: 610px;
  max-width: 100%;
}

/* Resident App Mockup Inside Phone Screen */
.resident-app-mockup {
  position: absolute;
  inset: 0;
  background: #0d0d0d;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  overflow: hidden;
  box-sizing: border-box;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.app-logo {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #a1a1a1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-bell {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.app-welcome-card {
  margin-bottom: 22px;
}

.user-greeting {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.user-condo {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* QR scan card */
.qr-scan-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  margin-bottom: 22px;
}

.qr-scan-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.qr-scan-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

/* QR Wrapper & Animations */
.qr-wrapper {
  position: relative;
  width: 144px;
  height: 144px;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-svg {
  width: 100%;
  height: 100%;
}

.qr-bracket {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--accent);
  border-style: solid;
  pointer-events: none;
  animation: bracket-pulse 2s infinite alternate;
}

.qr-bracket.top-left {
  top: -4px;
  left: -4px;
  border-width: 3px 0 0 3px;
  border-top-left-radius: 6px;
}

.qr-bracket.top-right {
  top: -4px;
  right: -4px;
  border-width: 3px 3px 0 0;
  border-top-right-radius: 6px;
}

.qr-bracket.bottom-left {
  bottom: -4px;
  left: -4px;
  border-width: 0 0 3px 3px;
  border-bottom-left-radius: 6px;
}

.qr-bracket.bottom-right {
  bottom: -4px;
  right: -4px;
  border-width: 0 3px 3px 0;
  border-bottom-right-radius: 6px;
}

/* Laser scan bar animation */
.qr-laser-line {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 12px 2px var(--accent);
  z-index: 5;
  border-radius: 50%;
  pointer-events: none;
  animation: qr-scan-laser 2.5s infinite ease-in-out;
}

@keyframes qr-scan-laser {
  0% {
    top: 10px;
    opacity: 0.1;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 130px;
    opacity: 0.1;
  }
}

@keyframes bracket-pulse {
  0% {
    transform: scale(0.96);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.02);
    opacity: 1;
    box-shadow: 0 0 8px rgba(13, 163, 226, 0.4);
  }
}

.qr-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 18px;
}

.pulse-green-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #06d6a0;
  box-shadow: 0 0 6px #06d6a0;
  animation: green-dot-pulse 1.5s infinite;
}

@keyframes green-dot-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

/* Amenities list preview */
.app-amenities-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ap-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.ap-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px 12px;
}

.ap-icon {
  font-size: 14px;
}

.ap-name {
  font-size: 12px;
  font-weight: 500;
  flex: 1;
}

.ap-time {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
}

/* ADMIN PANEL DE CONTROL MOCKUP */
.admin-dashboard-mockup {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  min-height: 420px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-sizing: border-box;
}

.adm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 16px;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.adm-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

.adm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.adm-search {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 16px;
  border-radius: 8px;
  flex-grow: 1;
  max-width: 220px;
}

.adm-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.adm-stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 16px;
}

.adm-card-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.adm-card-value {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.adm-card-change {
  font-size: 10px;
  font-weight: 500;
}

.adm-card-change.pos {
  color: #06d6a0;
}

.adm-card-change.neg {
  color: #38bdf8;
}

.adm-table-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
}

.adm-table-header {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.adm-table-row {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 1fr 1.1fr;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.adm-table-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.atm-depto {
  font-weight: 600;
  color: #ffffff;
}

.atm-user {
  color: rgba(255, 255, 255, 0.7);
}

.atm-amount {
  font-weight: 700;
  color: #ffffff;
  text-align: right;
  padding-right: 12px;
}

.atm-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  text-align: center;
  width: fit-content;
}

.atm-badge.tag-ok {
  background: rgba(6, 214, 160, 0.15);
  color: #06d6a0;
}

.atm-badge.tag-pending {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.adm-notif-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 163, 226, 0.05);
  border: 1px solid rgba(13, 163, 226, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
}

.anp-icon {
  font-size: 16px;
}

.anp-text {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   FUNCIONALIDADES GRID SECTION
   ============================================================ */
.funcionalidades-section {
  position: relative;
  background-color: #ffffff;
  color: #1f2025;
  padding: 6rem 1.25rem;
}

@media (min-width: 768px) {
  .funcionalidades-section {
    padding: 8rem 2rem;
  }
}

.func-container {
  max-width: 80rem;
  margin: 0 auto;
}

.func-header {
  text-align: center;
  margin-bottom: 4rem;
}

.func-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.funcionalidades-section h2 {
  font-size: clamp(2rem, 3.5vw + 1.2rem, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #1f2025;
}

.funcionalidades-section h2 .serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.func-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 400;
  color: rgba(31, 32, 37, 0.6);
  max-width: 38rem;
  margin: 0 auto;
  line-height: 1.6;
}

.func-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 576px) {
  .func-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .func-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.func-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.func-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  border-color: rgba(13, 163, 226, 0.4);
}

.func-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(13, 163, 226, 0.08);
  color: var(--accent);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(13, 163, 226, 0.15);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.func-card:hover .func-icon {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.05);
}

.func-icon svg {
  width: 24px;
  height: 24px;
}

.func-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2025;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.func-card p {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(31, 32, 37, 0.6);
  margin: 0;
}

/* ============================================================
   CTA FINAL SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: 6rem 1.25rem;
  text-align: center;
  overflow: hidden;
  background: transparent;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(13,163,226,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(2rem, 3.5vw + 1rem, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.cta-section h2 .serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.cta-section p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 34rem;
  margin: 0 auto 2.5rem;
}

/* ============================================================
   MULTI-STEP FORM SECTION
   ============================================================ */
.multistep-section {
  position: relative;
  padding: 8rem 1.25rem 9rem; /* Increased padding to separate from CTA */
  overflow: hidden;
  background-color: var(--bg-beige);
}

.multistep-container {
  max-width: 60rem; /* Made wider for split pane */
  margin: 0 auto;
}

.multistep-header {
  text-align: center;
  margin-bottom: 4rem;
}

.multistep-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.multistep-section h2 {
  font-size: clamp(2rem, 3vw + 1.2rem, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #0f172a; /* Dark text for light section */
}

.multistep-section h2 .serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.multistep-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: #475569; /* Slate-600 for light section */
  max-width: 34rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Split Layout Form Card */
.multistep-card.split-layout {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  .multistep-card.split-layout {
    flex-direction: row;
    min-height: 560px;
  }
}

/* Left Sidebar Pane */
.multistep-sidebar {
  background: linear-gradient(135deg, #091e3a 0%, #050d1a 100%);
  color: #ffffff;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .multistep-sidebar {
    width: 42%;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
  }
}

.sidebar-brand {
  margin-bottom: 0.5rem;
}

.sidebar-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(13, 163, 226, 0.15);
  color: var(--accent);
  font-weight: bold;
  font-size: 13px;
  flex-shrink: 0;
  border: 1px solid rgba(13, 163, 226, 0.3);
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.benefit-text strong {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.benefit-text span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.sidebar-quote {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  margin-top: auto;
}

.sidebar-quote p {
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px;
}

.quote-author {
  display: flex;
  flex-direction: column;
}

.quote-author strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.quote-author span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

/* Right Content Pane */
.multistep-content {
  padding: 3rem 2.5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .multistep-content {
    width: 58%;
  }
}

@media (max-width: 575px) {
  .multistep-sidebar,
  .multistep-content {
    padding: 2rem 1.5rem;
  }
}

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.indicator-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  width: 70px;
}

.indicator-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.4s ease;
}

.indicator-text {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  transition: color 0.4s ease;
}

.indicator-step.active .indicator-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #050505;
  box-shadow: 0 0 16px rgba(13, 163, 226, 0.4);
}

.indicator-step.active .indicator-text {
  color: var(--accent);
  font-weight: 600;
}

.indicator-step.completed .indicator-num {
  background: rgba(13, 163, 226, 0.2);
  border-color: var(--accent);
  color: var(--accent);
}

.indicator-step.completed .indicator-text {
  color: rgba(255, 255, 255, 0.8);
}

.indicator-line {
  flex-grow: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 22px;
  position: relative;
}

.indicator-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.4s ease;
}

.indicator-line.completed::after {
  width: 100%;
}

/* Form steps layout */
.form-step {
  display: none;
  opacity: 0;
  transform: translateX(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.form-group-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .form-group-row.col-2 {
    flex-direction: row;
  }
  .form-group-row.col-2 .form-field {
    flex: 1;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.form-field input,
.form-field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 12px rgba(13, 163, 226, 0.15);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Validations errors */
.form-field.error input,
.form-field.error textarea {
  border-color: #f43f5e;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.15);
}

.error-msg {
  display: none;
  font-size: 11px;
  color: #f43f5e;
  font-weight: 500;
  margin-top: 2px;
}

.form-field.error .error-msg {
  display: block;
}

/* Navigation buttons inside form */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.75rem;
}

.btn-step-prev {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-step-prev:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-step-next,
.btn-step-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  font-size: 14px;
  cursor: pointer;
}

.btn-step-submit {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-step-submit .rolling-char span {
  color: #050505;
}

.btn-step-submit svg {
  color: #050505;
}

/* Success state styles */
.success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0 1rem;
}

.success-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(6, 214, 160, 0.1);
  border: 2px solid #06d6a0;
  color: #06d6a0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 0 24px rgba(6, 214, 160, 0.3);
  animation: success-pulse 2s infinite;
}

@keyframes success-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.4);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(6, 214, 160, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 214, 160, 0);
  }
}

.success-screen h3 {
  font-size: 26px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 12px;
}

.success-screen p {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  max-width: 28rem;
  margin: 0 0 2.5rem;
}

.success-action-divider {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.btn-success-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-success-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

/* ============================================================
   SIMPLE JOSEPJA-STYLE FORM COMPONENTS
   ============================================================ */

/* Gradient progress bar */
.simple-progress-wrap {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.simple-progress {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

.simple-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #06d6a0);
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.22,1,0.36,1);
}

.form-step-indicator {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-align: right;
  letter-spacing: 0.02em;
}

/* Step number nav */
.simple-steps-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.simple-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  background: rgba(0, 0, 0, 0.04);
  color: #64748b;
}

.simple-step-num.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 163, 226, 0.2);
}

.simple-step-num.completed {
  background: rgba(13,163,226,0.1);
  color: var(--accent);
  border: 1px solid rgba(13,163,226,0.2);
}

.simple-step-num.completed::after {
  content: '✓';
  font-size: 13px;
}

.simple-step-num.completed span { display: none; }

/* Step accent line */
.simple-step-accent {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #06d6a0);
  border-radius: 4px;
  margin: 0 auto 2rem;
}

/* Step titles */
.simple-step-title {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
  font-weight: 500;
  color: #0f172a;
  text-align: center;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.simple-step-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: #64748b;
  text-align: center;
  margin: 0 0 2.5rem;
}

/* Single clean input */
.simple-input-wrap {
  margin-bottom: 1.5rem;
}

.simple-input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #e2e8f0;
  border-radius: 0;
  padding: 16px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: #0f172a;
  outline: none;
  transition: border-color 0.3s ease;
}

.simple-input:focus {
  border-bottom-color: var(--accent);
}

.simple-input::placeholder {
  color: #94a3b8;
  font-style: italic;
}

.simple-input-wrap .error-msg {
  display: none;
  margin-top: 6px;
}

.simple-input-wrap.error .error-msg {
  display: block;
}

.simple-input-wrap.error .simple-input {
  border-bottom-color: #f43f5e;
}

/* Property type grid */
.property-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .property-type-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.property-type-card {
  cursor: pointer;
}

.property-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ptc-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.ptc-inner:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.property-type-card input[type="radio"]:checked + .ptc-inner {
  background: rgba(13,163,226,0.08);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(13,163,226,0.1);
}

.ptc-icon {
  font-size: 28px;
  line-height: 1;
}

.ptc-label {
  font-size: 14px;
  font-weight: 500;
  color: #475569;
}

.property-type-card input[type="radio"]:checked + .ptc-inner .ptc-label {
  color: #0f172a;
  font-weight: 600;
}

#property-error {
  display: none;
  margin-bottom: 1rem;
}

#property-error.visible {
  display: block;
}

/* Simple form navigation */
.simple-form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
}

.btn-simple-prev {
  background: none;
  border: none;
  color: #64748b;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  padding: 12px 0;
  transition: color 0.3s ease;
}

.btn-simple-prev:hover {
  color: #0f172a;
}

.btn-simple-next {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.35s ease;
}

.btn-simple-next:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}

.btn-simple-submit {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #ffffff !important;
}

.btn-simple-submit:hover {
  filter: brightness(1.15);
  color: #ffffff !important;
}

/* APP BADGES IN FOOTER */
.footer-apps {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .footer-apps {
    margin-top: 0;
  }
}

.btn-store {
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.btn-store:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.store-svg {
  display: block;
  height: 40px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.btn-store:hover .store-svg rect {
  stroke: rgba(13, 163, 226, 0.6);
}

/* --- Hide floating buttons at footer --- */
.floating-whatsapp-container.hide-for-footer,
.floating-calc-btn.hide-for-footer {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) scale(0.9) !important;
}

/* ============================================================
   MOBILE HEADER IMPROVEMENTS (Imagotipo, Hamburger & Drawer)
   ============================================================ */
@media (max-width: 991px) {
  .nav-logo {
    display: inline-flex !important;
    align-items: center !important;
  }
}

.nav-mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
  margin-left: 12px;
}

@media (min-width: 1024px) {
  .nav-mobile-toggle {
    display: none;
  }
}

.nav-mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 99px;
  transition: all 300ms ease;
}

.site-nav[data-theme="dark"] .nav-mobile-toggle .bar {
  background-color: #ffffff;
}
.site-nav[data-theme="light"] .nav-mobile-toggle .bar {
  background-color: #0f172a;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: flex-end;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  width: 100%;
  max-width: 320px;
  background: #090e17;
  height: 100%;
  box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  overflow-y: auto;
  position: relative;
  transform: translateX(50px);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms;
}

.mobile-menu-close:hover {
  background: rgba(255,255,255,0.1);
}

.mobile-menu-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-section h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.mobile-menu-section a {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 6px 0;
  font-weight: 500;
  transition: color 200ms;
}

.mobile-menu-section a:hover {
  color: #0DA3E2;
}

.mobile-menu-section .menu-highlight {
  font-size: 18px;
  color: #ffffff;
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.mobile-menu-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-login-btn {
  height: 44px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  background: rgba(255,255,255,0.05);
  transition: background 200ms;
  border: 1px solid rgba(255,255,255,0.08);
}

.mobile-login-btn:hover {
  background: rgba(255,255,255,0.1);
}

.mobile-cta-btn {
  height: 44px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  background: linear-gradient(135deg, #0DA3E2 0%, #0b7fb4 100%);
  box-shadow: 0 4px 12px rgba(13, 163, 226, 0.2);
  transition: transform 200ms;
}

.mobile-cta-btn:hover {
  transform: translateY(-1px);
}

/* ============================================================
   MOBILE FLOATING CTA BUTTON (Replaces WhatsApp on mobile)
   ============================================================ */
@media (max-width: 1023px) {
  .floating-whatsapp-container.mobile-cta-floating {
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999 !important;
    width: auto !important;
    height: auto !important;
  }
  .floating-whatsapp-container.mobile-cta-floating .floating-whatsapp {
    width: auto !important;
    height: 42px !important;
    padding: 0 1.375rem !important;
    border-radius: 9999px !important;
    background: #000000 !important; /* Premium black background */
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: transform 200ms !important;
  }
  .floating-whatsapp-container.mobile-cta-floating .floating-whatsapp::before {
    display: none !important;
    content: none !important;
    animation: none !important;
  }
  .floating-whatsapp-container.mobile-cta-floating .floating-whatsapp:active {
    transform: scale(0.95) !important;
  }
  .floating-whatsapp-container.mobile-cta-floating .floating-whatsapp svg {
    width: 16px !important;
    height: 16px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.5 !important;
  }
  .floating-whatsapp-container.mobile-cta-floating .whatsapp-tooltip {
    display: none !important; /* Hide to avoid clutter */
  }
}

/* ============================================================
   CUSTOM COUNTRY PHONE INPUT PICKER
   ============================================================ */
.phone-input-group {
  display: flex;
  position: relative;
  align-items: center;
  width: 100%;
}

/* Homepage simple design (border-bottom only) */
.simple-input-wrap .phone-input-group {
  border-bottom: 2px solid #e2e8f0;
  transition: border-color 0.3s ease;
}
.simple-input-wrap .phone-input-group .simple-input {
  border-bottom: none !important;
  padding-left: 10px !important;
  margin: 0 !important;
  flex: 1;
}

.simple-input-wrap.error .phone-input-group {
  border-bottom-color: #f43f5e;
}

/* Pricing page boxed design */
.sticky-quote-form .phone-input-group {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  overflow: visible; /* so dropdown list isn't clipped */
  transition: border-color 200ms, box-shadow 200ms;
}
.sticky-quote-form .phone-input-group:focus-within {
  border-color: #0DA3E2;
  box-shadow: 0 0 0 3px rgba(13, 163, 226, 0.12);
}
.sticky-quote-form .phone-input-group.error {
  border-color: #f43f5e;
}
.sticky-quote-form .phone-input-group input {
  border: none !important;
  height: 100% !important;
  padding: 0 10px !important;
  flex: 1;
  background: transparent !important;
  box-shadow: none !important;
}

/* Picker itself */
.country-picker {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  user-select: none;
  z-index: 10;
}

.country-picker-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  color: inherit;
  font-family: inherit;
  font-size: 15px;
  transition: background-color 0.2s;
}

.simple-input-wrap .country-picker-trigger {
  padding: 16px 8px 16px 0;
  color: #0f172a;
}

.country-picker-trigger:hover {
  background: rgba(0, 0, 0, 0.03);
}

.simple-input-wrap .country-picker-trigger:hover {
  background: rgba(0, 0, 0, 0.01);
}

.country-picker-flag {
  font-size: 18px;
  line-height: 1;
}

.country-picker-code {
  font-weight: 500;
  color: #64748b;
  font-size: 14px;
}

.simple-input-wrap .country-picker-code {
  color: #0f172a;
  font-weight: 300;
  font-size: 16px;
}

.country-picker-arrow {
  color: #94a3b8;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.country-picker-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  width: 280px;
  max-height: 250px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1000;
}

.country-picker-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background-color 0.15s;
  font-size: 13.5px;
  color: #334155;
  text-align: left;
}

.country-option:hover {
  background-color: #f1f5f9;
}

.country-option.active {
  background-color: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
}

.option-flag {
  font-size: 18px;
  line-height: 1;
}

.option-name {
  flex: 1;
}

.option-code {
  font-weight: 500;
  color: #64748b;
}

.country-option.active .option-code {
  color: #0369a1;
}

.picker-flag-img {
  width: 20px !important;
  height: 14px !important;
  object-fit: cover !important;
  border-radius: 2px !important;
  display: inline-block !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}

.picker-flag-globe {
  width: 16px !important;
  height: 16px !important;
  stroke: #64748b !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}

/* Calculator modal boxed design */
.calc-form__group .phone-input-group {
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  overflow: visible;
  transition: border-color 200ms, box-shadow 200ms;
}
.calc-form__group .phone-input-group:focus-within {
  border-color: #0DA3E2;
  box-shadow: 0 0 0 3px rgba(13, 163, 226, 0.1);
}
.calc-form__group .phone-input-group.error {
  border-color: #ef4444 !important;
}
.calc-form__group .phone-input-group input {
  border: none !important;
  height: 100% !important;
  padding: 0 10px !important;
  flex: 1;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-style: normal !important;
}