/* 
 * Design System - Chaclacayo Real Estate
 */

:root {
  /* Colors */
  --color-primary: #1B4332;
  --color-primary-light: #2D6A4F;
  --color-accent: #D4A843;
  --color-accent-hover: #C09530;
  --color-bg-dark: #0A0F0D;
  --color-bg-card: #111A15;
  --color-bg-glass: rgba(27,67,50,0.15);
  --color-text: #F1F1F1;
  --color-text-muted: #A3B8A8;
  --color-white: #FFFFFF;
  --color-danger: #F05260;
  --color-success: #52B788;
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-full: 999px;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 20px rgba(212,168,67,0.3);
  
  /* Animation */
  --transition: all 0.3s ease;
  
  /* Layout */
  --max-width: 1280px;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Defensa: nada se sale del viewport */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block;
}

iframe {
  max-width: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

img, video {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

/* Value Section - extra breathing room */
#value {
  padding-top: 6rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-primary-light);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-bg-dark);
  box-shadow: var(--shadow-glow);
}

.btn--accent:hover {
  background-color: var(--color-accent-hover);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--color-bg-glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0;
}

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

.header__logo {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  max-width: 22rem;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-toggle {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  transition: var(--transition);
}

.lang-toggle:hover {
  color: var(--color-white);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Offset for header */
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Using WhatsApp Image 2026-04-27 at 15.54.13.jpeg for Hero */
  background-image: url('../FOTOS/WhatsApp\\ Image\\ 2026-04-27\\ at\\ 15.54.13.jpeg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Slim vignette: dark only behind the headline column + bottom CTAs,
     keep the photo visible everywhere else so the hero feels like a poster. */
  background:
    linear-gradient(180deg, rgba(10,15,13,0.55) 0%, rgba(10,15,13,0.25) 38%, rgba(10,15,13,0.75) 100%),
    radial-gradient(120% 80% at 20% 60%, rgba(10,15,13,0.45) 0%, rgba(10,15,13,0) 60%);
  z-index: -1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
}

.hero__kicker {
  display: none;
  margin: 0;
  color: var(--color-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: rgba(212, 168, 67, 0.1);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-white);
  margin-bottom: 0;
}

.hero__subheadline {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--color-text);
  font-weight: 500;
}

.hero__subline {
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  color: var(--color-success);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Floating Elements */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Background Utils */
.bg-card {
  background-color: var(--color-bg-card);
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--color-bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.value-card__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.9rem;
  /* No background / padding / border-radius: the source PNG already has its
     own rounded blue card and drop shadow baked in. Wrapping it in another
     white tile created a double-framed look on small screens. */
  background: transparent;
  display: block;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212,168,67,0.3);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--color-accent);
}

.value-card p {
  color: var(--color-text-muted);
}

/* Gallery */
.gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.gallery-nav:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

.gallery-nav.prev { left: 1rem; }
.gallery-nav.next { right: 1rem; }

.gallery-expand {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.gallery-expand:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

.gallery-thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-bg-dark);
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 6px;
}
.gallery-thumbnails::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}
.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

.thumbnail {
  flex: 0 0 100px;
  height: 70px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
  border: 2px solid transparent;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 2px);
}

.thumbnail.active {
  opacity: 1;
  border-color: var(--color-accent);
}

.thumbnail:hover {
  opacity: 1;
}

/* Video Wrapper */
.video-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16/9;
  background: #000;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  outline: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10,15,13,0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Lifestyle Grid */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.life-card {
  background: var(--color-bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
}

.life-time {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════════════════
 * HEADER NAVIGATION (extended)
 * ═══════════════════════════════════════════════════════ */
.header.scrolled {
  background: rgba(10, 15, 13, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header__nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.header__nav-links a {
  color: var(--color-text-muted);
  position: relative;
}

.header__nav-links a:hover {
  color: var(--color-white);
}

.header__nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.header__nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

@media (max-width: 900px) {
  .header__nav-links {
    position: fixed;
    inset: calc(64px + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(10, 15, 13, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 1.5rem 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    list-style: none;
    margin: 0;
  }
  .header__nav-links.open {
    transform: translateY(0);
  }
  .header__nav-links li {
    width: 100%;
  }
  .header__nav-links a {
    display: block;
    padding: 0.6rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  .menu-toggle {
    display: inline-flex;
  }
}

/* ═══════════════════════════════════════════════════════
 * HERO refinements (ken-burns + scroll cue)
 * ═══════════════════════════════════════════════════════ */
.hero__bg {
  background-image: url('../FOTOS/WhatsApp%20Image%202026-04-27%20at%2015.54.13.jpeg');
  animation: kenburns 20s ease-out forwards;
}

@keyframes kenburns {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
}

.hero__scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
}

.hero__scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
 * §5 DETAILS
 * ═══════════════════════════════════════════════════════ */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem 2.5rem;
  max-width: 960px;
  margin: 0 auto 3rem;
}

.spec {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spec__icon {
  font-size: 1.4rem;
  line-height: 1;
}

.spec__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.spec__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-white);
  font-weight: 700;
}

.spec--price .spec__value {
  color: var(--color-accent);
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--color-text);
  transition: var(--transition);
}

.chip:hover {
  border-color: var(--color-accent);
  color: var(--color-white);
}

.chip--legal {
  border-color: rgba(82, 183, 136, 0.3);
  color: var(--color-success);
  background: rgba(82, 183, 136, 0.06);
}

.subtitle {
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 4rem;
}

.section__intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: var(--color-text-muted);
}

.section-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  margin: 3rem auto;
  max-width: 600px;
}

/* ═══════════════════════════════════════════════════════
 * UPeU FEATURED BLOCK — el activo de inversión #1
 * ═══════════════════════════════════════════════════════ */
.upeu-feature {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 2.5rem 2.5rem 2rem;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(212, 168, 67, 0.08),
      transparent 50%
    ),
    linear-gradient(
      135deg,
      rgba(27, 67, 50, 0.4),
      rgba(10, 15, 13, 0.8)
    );
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.upeu-feature::before {
  content: "🎓";
  position: absolute;
  top: -10px;
  right: 1.5rem;
  font-size: 6rem;
  opacity: 0.06;
  pointer-events: none;
  filter: grayscale(1);
}

.upeu-feature__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  color: var(--color-accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.upeu-feature__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.upeu-feature__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  /* No extra wrapper styling: the PNG already has its own rounded card. */
  background: transparent;
  display: block;
}

.upeu-feature__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-white);
  margin-bottom: 0;
  line-height: 1.2;
}

.upeu-feature__sub {
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  max-width: 720px;
  line-height: 1.6;
}

.upeu-feature__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1.25rem 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.upeu-feature__stat {
  text-align: center;
  padding: 0.25rem 0.5rem;
}

.upeu-feature__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.upeu-feature__stat span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.upeu-feature__why {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(212, 168, 67, 0.06);
  border-left: 3px solid var(--color-accent);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.55;
}

.upeu-feature__why::before {
  content: "💡";
  flex-shrink: 0;
  font-size: 1.1rem;
}

.upeu-feature__why strong {
  color: var(--color-accent);
  font-weight: 600;
}

.upeu-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(212, 168, 67, 0.3);
}

.upeu-feature__link:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

@media (max-width: 640px) {
  .upeu-feature {
    padding: 1.75rem 1.5rem 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════
 * §6 LOCATION + Map
 * ═══════════════════════════════════════════════════════ */
.address-callout {
  text-align: center;
  margin-bottom: 2.5rem;
}

.address-callout__pin {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.address-callout__line {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.address-callout__sub {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.distance-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.distance-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid rgba(212, 168, 67, 0.2);
  font-size: 0.85rem;
  color: var(--color-text);
}

.distance-chip strong {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

.poi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.poi {
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--color-accent);
  transition: var(--transition);
}

.poi:hover {
  border-left-color: var(--color-white);
  transform: translateX(2px);
}

.poi__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.poi ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.poi ul li {
  padding: 0.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.poi ul li:first-child { border-top: 0; }

.poi ul li strong {
  color: var(--color-text);
  font-weight: 500;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.advantages-grid li {
  padding: 0.5rem 0;
  color: var(--color-text-muted);
  display: flex;
  gap: 0.5rem;
}

.advantages-grid li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
 * §7 INVESTMENT + ROI Calculator
 * ═══════════════════════════════════════════════════════ */
.investment-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.investment-bullet {
  text-align: center;
}

.investment-bullet__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.investment-bullet__label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

.roi-calc {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.roi-calc__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.roi-calc__lead {
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.roi-calc__inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.roi-calc__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.roi-calc__group label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}

.roi-calc__group input[type="number"] {
  padding: 0.7rem 0.9rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.roi-calc__group input[type="number"]:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

.roi-calc__results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.roi-result {
  text-align: center;
  padding: 1rem 0.5rem;
}

.roi-result__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.roi-result__value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-accent);
  font-weight: 700;
}

.roi-calc__note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 1.25rem;
  font-style: italic;
}

.payment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 900px;
  margin: 3rem auto 0;
}

/* ═══════════════════════════════════════════════════════
 * §8 OWNER LETTER
 * ═══════════════════════════════════════════════════════ */
.owner-letter {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.owner-letter__photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--color-primary-light),
    var(--color-primary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-accent);
  border: 1px solid rgba(212, 168, 67, 0.3);
  filter: grayscale(0.4) contrast(1.05);
}

.owner-letter__body p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 400;
}

.owner-letter__sign {
  display: block;
  font-family: 'Playfair Display', cursive;
  font-size: 2rem;
  color: var(--color-accent);
  margin-top: 1.5rem;
  font-style: italic;
}

.owner-letter__contact {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-style: normal;
}

@media (max-width: 720px) {
  .owner-letter {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .owner-letter__photo {
    margin: 0 auto;
    width: 160px;
    height: 160px;
    font-size: 3.5rem;
  }
  .owner-letter__body p {
    font-size: 1.1rem;
  }
}

/* ═══════════════════════════════════════════════════════
 * §9 TESTIMONIALS / SOCIAL PROOF
 * ═══════════════════════════════════════════════════════ */
.activity-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding: 1.25rem 1.5rem;
  background: rgba(82, 183, 136, 0.04);
  border: 1px solid rgba(82, 183, 136, 0.15);
  border-radius: var(--radius-md);
  max-width: 900px;
  margin-inline: auto;
}

.activity-stat {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.activity-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-success);
  font-weight: 700;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial {
  padding: 1.75rem;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 1.25rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-accent);
  line-height: 1;
}

.testimonial__quote {
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-white);
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════
 * §10 FAQ
 * ═══════════════════════════════════════════════════════ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text);
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 1.25rem 2rem 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
  position: relative;
}

.faq-item__q:hover { color: var(--color-accent); }

.faq-item__q::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.faq-item.open .faq-item__a {
  max-height: 400px;
  padding: 0 0 1.5rem;
}

/* ═══════════════════════════════════════════════════════
 * §11 LEAD MAGNET
 * ═══════════════════════════════════════════════════════ */
.lead-magnet {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem;
  background: linear-gradient(
    135deg,
    rgba(212, 168, 67, 0.08),
    rgba(27, 67, 50, 0.15)
  );
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 168, 67, 0.15);
}

.lead-magnet__cover {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)),
    url('../FOTOS/WhatsApp%20Image%202026-04-27%20at%2015.55.46.jpeg') center/cover;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.lead-magnet__cover::before {
  content: "PDF";
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.lead-magnet__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.lead-magnet__sub {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.lead-magnet__form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lead-magnet__form input {
  flex: 1 1 160px;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

.lead-magnet__form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

@media (max-width: 720px) {
  .lead-magnet {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .lead-magnet__cover {
    max-width: 220px;
    margin: 0 auto;
  }
}

/* ═══════════════════════════════════════════════════════
 * §12 CONTACT
 * ═══════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.contact-info__item:first-of-type { border-top: 0; }

.contact-info__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info__item a {
  color: var(--color-text);
}

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

.contact-info__cta-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

.form-field textarea {
  min-height: 120px;
}

.form-field--error input,
.form-field--error textarea {
  border-color: var(--color-danger);
}

.form-error {
  color: var(--color-danger);
  font-size: 0.8rem;
  display: none;
}

.form-field--error .form-error {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  pointer-events: none;
  opacity: 0;
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(2rem);
  padding: 1rem 1.5rem;
  background: var(--color-bg-card);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-success);
  box-shadow: var(--shadow-card);
  font-size: 0.95rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast--error {
  border-color: var(--color-danger);
}

@media (max-width: 720px) {
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
 * §13 CLOSING
 * ═══════════════════════════════════════════════════════ */
.closing {
  text-align: center;
  padding: 6rem 1.5rem;
  background:
    linear-gradient(
      135deg,
      rgba(10, 15, 13, 0.85),
      rgba(27, 67, 50, 0.6)
    ),
    url('../FOTOS/WhatsApp%20Image%202026-04-27%20at%2015.55.28.jpeg') center/cover;
  position: relative;
}

.closing__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto 1rem;
}

.closing__text {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--color-text);
  font-size: 1.1rem;
}

.closing__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
 * FOOTER
 * ═══════════════════════════════════════════════════════ */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

.footer__col ul li {
  padding: 0.25rem 0;
}

.footer__col ul a {
  color: var(--color-text-muted);
}

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

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer__bottom {
    flex-direction: column;
  }
}

/* Utility spacing */
.mt-lg { margin-top: 4rem; }
.mt-sm { margin-top: 0.75rem; }
.mb-lg { margin-bottom: 3rem; }

/* ═══════════════════════════════════════════════════════
 * GLOBAL FOCUS STATES + UTILITIES
 * ═══════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

button { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 10000;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
}

/* ═══════════════════════════════════════════════════════
 * DETAILS & LOCATION SECTIONS
 * ═══════════════════════════════════════════════════════ */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.details-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-bg-dark);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
}

.details-icon {
  font-size: 2rem;
}

.details-info {
  display: flex;
  flex-direction: column;
}

.details-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.details-value {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-white);
}

.details-value.highlight {
  color: var(--color-accent);
}

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

@media (max-width: 768px) {
  .location-wrapper {
    grid-template-columns: 1fr;
  }
}

.location-map {
  width: 100%;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.125rem;
  color: var(--color-text);
}

.benefits-list .check {
  color: var(--color-success);
  font-weight: bold;
}

/* ═══════════════════════════════════════════════════════
 * iOS / MOBILE SAFE DEFAULTS
 * ═══════════════════════════════════════════════════════ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Prevents iOS Safari zoom on input focus (16px minimum) */
input, textarea, select {
  font-size: max(16px, 1rem);
}

/* ═══════════════════════════════════════════════════════
 * RESPONSIVE — TABLET & MOBILE
 * ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .header__inner {
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  /* Header — fix overflowing logo + cramped CTA */
  .container {
    padding: 0 1rem;
  }
  .header {
    /* Garantizamos un mínimo de 0.75rem aunque env() no esté soportado,
       y respetamos el notch del iPhone cuando viewport-fit=cover está activo */
    padding: 0.5rem 0;
    padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
  }
  .header__inner {
    justify-content: flex-end;
    gap: 0.4rem;
    min-height: 34px; /* impide que el logo quede más alto que el contenedor flex */
  }
  .header__logo {
    display: none;
  }
  .header__nav {
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .header__nav .btn--accent {
    display: none; /* CTA visible via WhatsApp FAB + mobile menu instead */
  }
  .lang-toggle {
    font-size: 0.72rem;
    padding: 0.2rem 0.25rem;
    white-space: nowrap;
  }
  .menu-toggle {
    font-size: 1.25rem;
    padding: 0.2rem 0.25rem;
  }
  /* Hero — poster-style on mobile: brand → headline → 1 fact → CTAs.
     Everything redundant (kicker, subline, trust row) is pushed below the fold. */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(54px + env(safe-area-inset-top, 0px));
    padding-bottom: 5rem;
    align-items: flex-end; /* anchor headline to lower half over the photo */
  }
  .hero__bg {
    animation: none;
    transform: scale(1.05);
  }
  .hero__content {
    gap: 1rem;
  }
  .hero__kicker {
    display: none; /* redundant with .hero__badge on mobile */
  }
  .hero__badge {
    font-size: 0.62rem;
    padding: 0.3rem 0.7rem;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-align: left;
    max-width: max-content;
    white-space: nowrap;
    background: rgba(212, 168, 67, 0.14);
    border-color: rgba(212, 168, 67, 0.55);
  }
  .hero__title {
    font-size: clamp(2.4rem, 12vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
  }
  .hero__subheadline {
    font-size: 1rem;
    line-height: 1.45;
    color: rgba(241, 241, 241, 0.92);
  }
  .hero__subline {
    display: none; /* redundant with .hero__subheadline on mobile */
  }
  .hero__actions {
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
  }
  .hero__actions .btn {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }
  .hero__trust {
    display: none; /* repeated in the value section below */
  }
  .hero__scroll-cue {
    display: none;
  }

  /* Floating WhatsApp — keep clear of safe areas */
  .fab-whatsapp {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 52px;
    height: 52px;
  }

  /* Section spacing */
  .section { padding: 4rem 0; }
  .section-title { margin-bottom: 2rem; }

  /* UPeU featured */
  .upeu-feature {
    padding: 1.75rem 1.25rem 1.5rem;
  }
  .upeu-feature__title {
    font-size: 1.4rem;
  }
  .upeu-feature__stat strong {
    font-size: 1.2rem;
  }

  /* Distance chips — single column easier to scan */
  .distance-chips {
    flex-direction: column;
    align-items: stretch;
  }
  .distance-chip {
    justify-content: space-between;
  }

  /* ROI Calc */
  .roi-calc { padding: 1.5rem 1.25rem; }
  .roi-result__value { font-size: 1.4rem; }

  /* Address callout */
  .address-callout__line {
    font-size: 1.05rem;
    word-break: break-word;
  }

  /* Map height */
  .map-wrapper {
    aspect-ratio: 4/5;
  }

  /* Forms — full-width on mobile */
  .lead-magnet__form {
    flex-direction: column;
  }
  .lead-magnet__form input,
  .lead-magnet__form button {
    width: 100%;
  }

  /* Closing — tighter padding */
  .closing {
    padding: 4.5rem 1.25rem;
  }

  /* Footer brand wraps cleanly */
  .footer__brand {
    font-size: 1.1rem;
    line-height: 1.3;
  }
}

/* ═══════════════════════════════════════════════════════
 * MOBILE — defensas extras: forzar 1 columna, evitar overflow
 * ═══════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  /* Hero — más compacto vertical */
  .hero {
    padding-bottom: 5rem;
  }

  /* Forzar 1 columna en TODAS las cuadrículas que podrían apretarse */
  .value-grid,
  .lifestyle-grid,
  .investment-bullets,
  .poi-grid,
  .testimonials-grid,
  .details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* UPeU stats: 2 columnas (no 4) */
  .upeu-feature__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* ROI calc: 1 columna de inputs y de results */
  .roi-calc__inputs,
  .roi-calc__results {
    grid-template-columns: 1fr;
  }

  /* Galería: thumbnails más chicos y limitar gallery height */
  .gallery-main {
    aspect-ratio: 4 / 3;
  }
  .thumbnail {
    flex: 0 0 70px;
    height: 50px;
  }

  /* Video: ratio más cómodo en mobile */
  .video-wrapper {
    aspect-ratio: 9 / 16;
    max-height: 70vh;
    max-height: 70svh;
  }
  .video-wrapper video {
    object-fit: cover;
  }

  /* Section title más compacto */
  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  /* Section intro más compacto */
  .section__intro {
    font-size: 0.95rem;
  }

  /* Owner letter: full-width text */
  .owner-letter__body p {
    font-size: 1rem;
  }

  /* Activity strip stacks gracefully */
  .activity-strip {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  /* Footer: better stacked layout */
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  /* Closing block tighter */
  .closing__title {
    font-size: clamp(1.7rem, 6.5vw, 2.4rem);
  }

  /* Skip-link offset for safe area */
  .skip-link:focus {
    top: calc(0.5rem + env(safe-area-inset-top, 0px));
  }
}

/* iPhone SE / very narrow */
@media (max-width: 380px) {
  .header__nav { gap: 0.4rem; }
  .lang-toggle {
    font-size: 0.66rem;
    padding: 0.18rem 0.2rem;
  }
  .hero__badge { font-size: 0.6rem; padding: 0.35rem 0.65rem; }
  .hero__title { font-size: clamp(2rem, 12vw, 2.6rem); }

  /* UPeU: 1 columna en stats */
  .upeu-feature__stats {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
 * COMMENTS / FORUM SECTION
 * ===================================================================== */
.comments .section__intro {
  max-width: 720px;
  margin-bottom: 2rem;
}

.comments-form {
  background: var(--color-bg-card);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
}

.comments-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .comments-form .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.comments-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.comments-form label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.comments-form input,
.comments-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.comments-form input:focus,
.comments-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.06);
}
.comments-form textarea {
  resize: vertical;
  min-height: 90px;
}

.comments-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1rem;
}
.comments-form__hint {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  flex: 1 1 200px;
}
.comments-form__error {
  color: var(--color-danger);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.comments-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.comments-count {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.comments-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-thread {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.comment {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.comment:hover {
  border-color: rgba(212, 168, 67, 0.18);
}

.comment--new {
  animation: commentPulse 1.6s ease-out;
}
.comment--pending {
  opacity: 0.72;
}
@keyframes commentPulse {
  0%   { box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.55); border-color: var(--color-accent); }
  100% { box-shadow: 0 0 0 12px rgba(212, 168, 67, 0); border-color: rgba(255,255,255,0.04); }
}

.comment__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0;
}

.comment__body {
  flex: 1;
  min-width: 0;
}
.comment__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.comment__name {
  font-weight: 600;
  color: var(--color-text);
}
.comment__time {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.comment__message {
  color: var(--color-text);
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.comment__reply {
  border: 1px solid rgba(212, 168, 67, 0.24);
  border-radius: var(--radius-full);
  background: rgba(212, 168, 67, 0.08);
  color: var(--color-accent);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  transition: var(--transition);
}

.comment__reply:hover,
.comment__reply:focus-visible {
  outline: none;
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

.comment__replies {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0 0 0 1.65rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(212, 168, 67, 0.36);
}

.comment--reply {
  background: rgba(27, 67, 50, 0.18);
  border-color: rgba(212, 168, 67, 0.12);
  padding: 0.9rem 1rem;
}

.comments-form__replying {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0.25rem 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.comments-form__replying button {
  border: none;
  background: transparent;
  color: var(--color-accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.comments-load-more {
  display: block;
  width: fit-content;
  margin: 1.2rem auto 0;
  border: 1px solid rgba(212, 168, 67, 0.28);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.7rem 1.05rem;
  cursor: pointer;
  transition: var(--transition);
}

.comments-load-more:hover,
.comments-load-more:focus-visible {
  outline: none;
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

.comments-load-more:disabled {
  cursor: wait;
  opacity: 0.55;
}

.comments-empty {
  position: relative;
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  color: var(--color-text-muted);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.comments-empty::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--color-bg-card), var(--color-bg-card)) padding-box,
    linear-gradient(135deg, var(--color-accent), var(--color-primary-light)) border-box;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 8px rgba(212, 168, 67, 0.08);
}

@media (max-width: 639px) {
  .comment__replies {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .comment--new,
  .comment__reply,
  .comments-load-more,
  .chat-msg__retry {
    animation: none;
    transition: none;
  }
}

/* =====================================================================
 * CHATBOT WIDGET
 * ===================================================================== */
.chatbot-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  background: var(--color-primary);
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.chatbot-fab:hover,
.chatbot-fab:focus-visible {
  transform: translateY(-2px);
  background: var(--color-primary-light);
  outline: none;
}
.chatbot-fab__label {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .chatbot-fab {
    /* Sit at the bottom-left, mirroring the WhatsApp FAB on the right.
       Frees the lower hero area so it doesn't compete with the CTAs. */
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
    gap: 0.4rem;
  }
}

.chatbot-panel {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1100;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 48px);
  background: var(--color-bg-card);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.chatbot-panel--open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 480px) {
  .chatbot-panel {
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
  }
}

.chatbot-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-bottom: 1px solid rgba(212, 168, 67, 0.25);
  flex-shrink: 0;
}
.chatbot-panel__title-wrap {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.chatbot-panel__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.chatbot-panel__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin: 0;
  color: var(--color-white);
  line-height: 1.2;
}
.chatbot-panel__sub {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.2;
}
.chatbot-panel__lang {
  margin-left: auto;
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: var(--radius-full);
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.3rem 0.45rem;
}
.chatbot-panel__close {
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.chatbot-panel__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.chatbot-panel__settings {
  background: transparent;
  border: 1px solid rgba(212, 168, 67, 0.35);
  color: var(--color-accent);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  margin: 0 0.3rem 0 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chatbot-panel__settings:hover,
.chatbot-panel__settings[aria-expanded="true"] {
  background: rgba(212, 168, 67, 0.15);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.chatbot-panel__settings-panel {
  padding: 0.9rem 1rem;
  background: rgba(10, 15, 13, 0.7);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(241, 241, 241, 0.9);
}
.chatbot-panel__settings-intro {
  margin: 0;
  line-height: 1.4;
}
.chatbot-panel__settings-status {
  font-size: 0.78rem;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(212, 168, 67, 0.3);
  color: rgba(255, 255, 255, 0.75);
  align-self: flex-start;
}
.chatbot-panel__settings-status.is-connected {
  background: rgba(27, 67, 50, 0.4);
  border-style: solid;
  border-color: rgba(212, 168, 67, 0.6);
  color: var(--color-accent);
}
.chatbot-panel__settings-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.chatbot-panel__settings-actions .btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
}
.chatbot-panel__settings-manual {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.55rem;
}
.chatbot-panel__settings-manual summary {
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--color-accent);
  padding: 0.1rem 0;
}
.chatbot-panel__settings-label {
  display: block;
  font-size: 0.75rem;
  margin: 0.5rem 0 0.25rem;
  color: rgba(255, 255, 255, 0.75);
}
.chatbot-panel__settings-row {
  display: flex;
  gap: 0.4rem;
}
.chatbot-panel__settings-row input {
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 168, 67, 0.25);
  color: var(--color-white);
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.78rem;
}
.chatbot-panel__settings-row input:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}
.btn.btn--small {
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
}
.chatbot-panel__settings-note {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

/* Connected-state hint on the FAB */
.chatbot-fab--byok::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-bg-dark);
}

.chatbot-panel__messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background:
    radial-gradient(circle at 30% 0%, rgba(212, 168, 67, 0.04), transparent 60%),
    var(--color-bg-card);
}

.chat-msg {
  display: flex;
  max-width: 85%;
}
.chat-msg--user {
  align-self: flex-end;
  justify-content: flex-end;
}
.chat-msg--assistant {
  align-self: flex-start;
}
.chat-msg__bubble {
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-msg--user .chat-msg__bubble {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.chat-msg--assistant .chat-msg__bubble {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom-left-radius: 4px;
}
.chat-msg__bubble p {
  margin: 0;
}
.chat-msg__bubble p + p,
.chat-msg__bubble ul + p,
.chat-msg__bubble p + ul {
  margin-top: 0.5rem;
}
.chat-msg__bubble ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
}
.chat-msg__bubble li + li {
  margin-top: 0.25rem;
}
.chat-msg__bubble strong {
  color: var(--color-white);
  font-weight: 800;
}
.chat-msg__bubble a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

/* Inline action links: render the WhatsApp/email shortcut as a clean,
   tappable pill instead of an underlined URL. */
.chat-msg__link--wa,
.chat-msg__link--email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(212, 168, 67, 0.45);
  border-radius: var(--radius-full);
  background: rgba(212, 168, 67, 0.1);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.chat-msg__link--wa:hover,
.chat-msg__link--wa:focus-visible,
.chat-msg__link--email:hover,
.chat-msg__link--email:focus-visible {
  background: rgba(212, 168, 67, 0.18);
  border-color: var(--color-accent);
  transform: translateY(-1px);
  outline: none;
}

.chat-msg__link--wa::before {
  content: "💬";
  font-size: 0.95em;
  line-height: 1;
}

.chat-msg__link--email::before {
  content: "✉";
  font-size: 0.95em;
  line-height: 1;
}
.chat-msg--error .chat-msg__bubble {
  border-color: rgba(230, 57, 70, 0.35);
}
.chat-msg__retry {
  align-self: flex-start;
  margin-top: 0.35rem;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: var(--radius-full);
  background: rgba(212, 168, 67, 0.08);
  color: var(--color-accent);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}
.chat-msg__retry:hover,
.chat-msg__retry:focus-visible {
  outline: none;
  background: var(--color-accent);
  color: var(--color-bg-dark);
}

.chat-msg--typing {
  align-self: flex-start;
  gap: 4px;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.chat-msg--typing .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text-muted);
  animation: chatDot 1.2s infinite ease-in-out;
}
.chat-msg--typing .dot:nth-child(2) { animation-delay: 0.15s; }
.chat-msg--typing .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1;   }
}

.chatbot-panel__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.15);
}
.chip-quick {
  background: rgba(212, 168, 67, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
}
.chip-quick:hover,
.chip-quick:focus-visible {
  background: rgba(212, 168, 67, 0.2);
  outline: none;
}

.chatbot-panel__form {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--color-bg-card);
  flex-shrink: 0;
}
.chatbot-panel__form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.92rem;
  min-width: 0;
}
.chatbot-panel__form input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
}
.chatbot-panel__send {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.chatbot-panel__send:hover {
  background: var(--color-accent-hover);
  transform: scale(1.05);
}
.chatbot-panel__send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.chatbot-handoff {
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  background: #25D366;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}
.chatbot-handoff:hover {
  background: #1ebe5d;
  color: var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
  .chatbot-panel,
  .chat-msg--typing .dot,
  .chatbot-fab,
  .chatbot-panel__send {
    transition: none;
    animation: none;
  }
}
