/* =========================================================
   ISA Digital Agency — Landing premium
   Paleta:
   - Negro profundo: #0B0B0B
   - Blanco cálido:  #F7F4EF
   - Gris grafito:   #3A3A3A
   - Gris suave:     #E7E2DA
   - Dorado:         #C8A96A
   ========================================================= */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: #3A3A3A;
  background: #F7F4EF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #0B0B0B;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

::selection { background: #C8A96A; color: #0B0B0B; }

/* ---------- Tokens ---------- */
:root {
  --c-black: #0B0B0B;
  --c-cream: #F7F4EF;
  --c-graphite: #3A3A3A;
  --c-soft: #E7E2DA;
  --c-gold: #C8A96A;
  --c-gold-soft: rgba(200, 169, 106, 0.18);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 18px rgba(11,11,11,0.06);
  --shadow-md: 0 18px 50px rgba(11,11,11,0.10);

  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow { max-width: 880px; }

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section--dark {
  background: #0B0B0B;
  color: #E7E2DA;
}
.section--dark h2,
.section--dark h3 { color: #F7F4EF; }
.section--soft { background: #EFEAE2; }

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: left;
}
.section__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  margin: 14px 0 18px;
}
.section__lead {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: #5a5a5a;
  max-width: 680px;
}
.section--dark .section__lead { color: #b9b3a8; }
.section__lead--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #C8A96A;
  font-weight: 500;
  position: relative;
  padding-left: 36px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 1px;
  background: #C8A96A;
}
.eyebrow--light { color: #C8A96A; }
.eyebrow--muted { color: #9a958c; }
.eyebrow--muted::before { background: #9a958c; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease),
              background .35s var(--ease),
              color .35s var(--ease),
              border-color .35s var(--ease),
              box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: #0B0B0B;
  color: #F7F4EF;
  border-color: #0B0B0B;
}
.btn--primary:hover {
  background: #C8A96A;
  border-color: #C8A96A;
  color: #0B0B0B;
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: #0B0B0B;
  border-color: rgba(11,11,11,0.18);
}
.btn--ghost:hover {
  border-color: #0B0B0B;
  background: #0B0B0B;
  color: #F7F4EF;
  transform: translateY(-2px);
}
.btn--gold {
  background: #C8A96A;
  color: #0B0B0B;
  border-color: #C8A96A;
}
.btn--gold:hover {
  background: #F7F4EF;
  border-color: #F7F4EF;
  color: #0B0B0B;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(200,169,106,0.35);
}
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 18px 34px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.header.is-scrolled {
  background: rgba(247, 244, 239, 0.92);
  border-bottom-color: rgba(11,11,11,0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  position: relative;
}
.logo__mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.5em;
  color: #0B0B0B;
  padding-right: 0.5em; /* compensar letter-spacing final */
}
.logo__sub {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-top: 6px;
}
.logo__line {
  display: block;
  width: 18px;
  height: 1px;
  background: #C8A96A;
  margin-top: 6px;
  transition: width .4s var(--ease);
}
.logo:hover .logo__line { width: 36px; }

.logo--footer .logo__mark { color: #F7F4EF; }
.logo--footer .logo__sub { color: #b9b3a8; }

/* ---------- Nav ---------- */
.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 14px;
  color: #3A3A3A;
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: #C8A96A;
  transition: width .35s var(--ease);
}
.nav__link:hover { color: #0B0B0B; }
.nav__link:hover::after { width: 100%; }

/* ---------- Language toggle ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(11, 11, 11, 0.15);
  border-radius: 999px;
  padding: 2px;
  background: rgba(11, 11, 11, 0.04);
  flex-shrink: 0;
}
.lang-toggle__btn {
  background: transparent;
  border: 0;
  color: #6b6b6b;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
  font-family: inherit;
  line-height: 1.2;
}
.lang-toggle__btn:hover { color: #0B0B0B; }
.lang-toggle__btn[aria-pressed="true"] {
  background: #0B0B0B;
  color: #F7F4EF;
}
.lang-toggle__btn:focus-visible {
  outline: 2px solid #C8A96A;
  outline-offset: 2px;
}
.lang-toggle--chat {
  border-color: rgba(247, 244, 239, 0.2);
  background: rgba(247, 244, 239, 0.08);
}
.lang-toggle--chat .lang-toggle__btn { color: rgba(247, 244, 239, 0.6); }
.lang-toggle--chat .lang-toggle__btn:hover { color: #F7F4EF; }
.lang-toggle--chat .lang-toggle__btn[aria-pressed="true"] {
  background: #C8A96A;
  color: #0B0B0B;
}
.lang-toggle--mobile { margin-bottom: 16px; }

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: #0B0B0B;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #F7F4EF;
  border-top: 1px solid rgba(11,11,11,0.08);
  padding: 24px var(--gutter) 32px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu a {
  font-size: 18px;
  color: #0B0B0B;
  font-family: 'Playfair Display', serif;
}
.mobile-menu .btn { font-family: 'Inter', sans-serif; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(140px, 18vw, 200px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 80% 20%, rgba(200,169,106,0.10), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 22px 0 24px;
}
.hero__title em {
  font-style: italic;
  color: #C8A96A;
  font-weight: 500;
}
.hero__subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: #4d4d4d;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__micro {
  margin-top: 22px;
  font-size: 0.85rem;
  color: #6b6b6b;
  max-width: 420px;
}


/* Dashboard visual */
.hero__visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dashboard {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
}
.dashboard__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dashboard__ring {
  position: absolute;
  width: 78%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px dashed rgba(11,11,11,0.18);
  animation: spin 60s linear infinite;
}
.dashboard__core {
  position: relative;
  width: 46%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #0B0B0B;
  color: #F7F4EF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.dashboard__brand {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  letter-spacing: 0.5em;
  padding-right: 0.5em;
}
.dashboard__line {
  display: block;
  width: 30px;
  height: 1px;
  background: #C8A96A;
  margin: 10px 0;
}
.dashboard__tag {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #b9b3a8;
}
.dashboard__chip {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid rgba(11,11,11,0.06);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #0B0B0B;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  animation: floaty 6s ease-in-out infinite;
  z-index: 3;
}
.dashboard__chip--1 { top: 4%;  left: 6%;  animation-delay: 0s;   }
.dashboard__chip--2 { top: 8%;  right: 4%; animation-delay: 1s;   background: #0B0B0B; color: #F7F4EF; border-color: #0B0B0B; }
.dashboard__chip--3 { top: 50%; left: 0;  transform: translateY(-50%); animation-delay: 2s; }
.dashboard__chip--4 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 3s; background: #0B0B0B; color: #F7F4EF; border-color: #0B0B0B; }
.dashboard__chip--5 { bottom: 4%; left: 50%; transform: translateX(-50%); animation-delay: 1.5s; }
.dashboard__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #0B0B0B;
}
.dashboard__dot--gold { background: #C8A96A; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.dashboard__chip--3 { animation-name: floatyX; }
.dashboard__chip--4 { animation-name: floatyX; }
@keyframes floatyX {
  0%, 100% { transform: translate(0, -50%); }
  50% { transform: translate(0, calc(-50% - 8px)); }
}

/* Trust strip */
.trust {
  margin-top: clamp(60px, 8vw, 100px);
  padding: 22px 0;
  border-top: 1px solid rgba(11,11,11,0.08);
  border-bottom: 1px solid rgba(11,11,11,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #5a5a5a;
}
.trust__sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #C8A96A;
}

/* ---------- Grid + Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #FFFFFF;
  border: 1px solid rgba(11,11,11,0.05);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,169,106,0.4);
}
.card--dark {
  background: #131313;
  border-color: rgba(255,255,255,0.06);
  color: #E7E2DA;
}
.card--dark:hover { border-color: rgba(200,169,106,0.5); }
.card--dark .card__title { color: #F7F4EF; }

.card__num {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: #C8A96A;
  margin-bottom: 28px;
}
.card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(11,11,11,0.92);
  color: #C8A96A;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  box-shadow: 0 0 12px rgba(200,169,106,0.35), 0 0 4px rgba(200,169,106,0.6), inset 0 0 8px rgba(200,169,106,0.15);
  border: 1px solid rgba(200,169,106,0.4);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.card__icon svg {
  width: 22px; height: 22px;
  filter: drop-shadow(0 0 3px rgba(200,169,106,0.8));
}
.card:hover .card__icon {
  box-shadow: 0 0 20px rgba(200,169,106,0.5), 0 0 8px rgba(200,169,106,0.8), inset 0 0 12px rgba(200,169,106,0.25);
  transform: scale(1.06);
}
.card__title {
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 12px;
}
.card__text { color: #5a5a5a; font-size: 0.97rem; }
.card--dark .card__text { color: #b9b3a8; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.step {
  padding: 36px 28px 8px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.step:last-child { border-right: 0; }
.step__num {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #C8A96A;
}
.step__title {
  font-size: 1.5rem;
  margin: 18px 0 10px;
}
.step__text { color: #b9b3a8; font-size: 0.97rem; }

/* ---------- Solutions ---------- */
.solution {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 26px 28px;
  color: #0B0B0B;
  border: 1px solid rgba(11,11,11,0.05);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.solution:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.solution__bar {
  display: block;
  width: 28px; height: 2px;
  background: #C8A96A;
  margin-bottom: 16px;
}
.solution__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 4px;
}
.solution__tag {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C8A96A;
  font-weight: 500;
  margin-bottom: 12px;
}
.solution__text {
  font-size: 0.95rem;
  color: #5a5a5a;
  line-height: 1.6;
}
.solution--featured {
  border-color: rgba(200,169,106,0.5);
  box-shadow: 0 0 0 1px rgba(200,169,106,0.25) inset;
}
.solution--featured:hover { border-color: rgba(200,169,106,0.7); }

/* ---------- Projects ---------- */
.project {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid rgba(11,11,11,0.05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #C8A96A;
  margin-bottom: 18px;
}
.project__title {
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.project__list { display: flex; flex-direction: column; gap: 10px; }
.project__list li {
  font-size: 0.95rem;
  color: #4d4d4d;
  padding-left: 18px;
  position: relative;
}
.project__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 1px;
  background: #C8A96A;
}
.project__list strong { color: #0B0B0B; font-weight: 600; }

/* ---------- Differentiator ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}
.diff-grid > div {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #E7E2DA;
  font-size: 1rem;
}
.diff-grid__num {
  color: #C8A96A;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

/* ---------- Final CTA ---------- */
.cta {
  background: #0B0B0B;
  color: #F7F4EF;
  padding: clamp(100px, 14vw, 160px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 40% at 20% 20%, rgba(200,169,106,0.10), transparent 70%),
    radial-gradient(40% 40% at 80% 80%, rgba(200,169,106,0.08), transparent 70%);
  pointer-events: none;
}
.cta__title {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.15;
  color: #F7F4EF;
  max-width: 820px;
  margin: 0 auto 22px;
}
.cta__text {
  color: #b9b3a8;
  max-width: 620px;
  margin: 0 auto 36px;
}

/* ---------- Footer ---------- */
.footer {
  background: #070707;
  color: #b9b3a8;
  padding: 56px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer__tag {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #8a857c;
}
.footer__nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.footer__nav a {
  font-size: 13px;
  color: #E7E2DA;
  transition: color .25s var(--ease);
}
.footer__nav a:hover { color: #C8A96A; }
.footer__copy {
  font-size: 12px;
  color: #6b6760;
  text-align: right;
}

/* ---------- Plans ---------- */
.plan { display: flex; flex-direction: column; }
.plan__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #0B0B0B;
  margin-bottom: 8px;
}
.plan__badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0B0B0B;
  background: #C8A96A;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.plan__who {
  font-size: 0.92rem;
  color: #6b6b6b;
  margin-bottom: 24px;
  min-height: 2.6em;
}
.plan__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.plan__features li {
  position: relative;
  padding-left: 24px;
  color: #3a3a3a;
  font-size: 0.95rem;
}
.plan__features li::before {
  content: "✓";
  position: absolute;
  left: 0; top: -1px;
  color: #C8A96A;
  font-weight: 600;
}
.plan__price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #0B0B0B;
  margin-bottom: 4px;
}
.plan__cadence {
  font-size: 0.85rem;
  color: #6b6b6b;
  margin-bottom: 24px;
}
.plan__cta { margin-top: auto; }
.plan--featured {
  border-color: rgba(200, 169, 106, 0.55);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgba(200,169,106,0.25) inset;
  pointer-events: none;
}
.plans__note {
  margin-top: 36px;
  text-align: center;
  color: #5a5a5a;
  font-size: 0.97rem;
}
.plans__note a {
  color: #C8A96A;
  font-weight: 500;
  border-bottom: 1px solid rgba(200,169,106,0.4);
}

/* ---------- CTA extras ---------- */
.cta__contact {
  margin-top: 18px;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #E7E2DA;
}
.cta__contact a { color: #C8A96A; border-bottom: 1px solid rgba(200,169,106,0.4); }
.cta__micro {
  margin-top: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #8a857c;
}

/* ---------- Footer extras ---------- */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #b9b3a8;
}
.footer__contact a { color: #E7E2DA; }
.footer__contact a:hover { color: #C8A96A; }
.footer__social { display: flex; gap: 18px; }
.footer__social a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E7E2DA;
}
.footer__social a:hover { color: #C8A96A; }
.footer__legal {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 8px;
}
.footer__legal a { font-size: 12px; color: #6b6760; }
.footer__legal a:hover { color: #C8A96A; }
.footer__tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #E7E2DA;
  margin-top: 10px;
}

/* ---------- Hero centered (5-section architecture) ---------- */
.hero--center .hero__grid {
  grid-template-columns: 1fr;
  max-width: 820px;
  text-align: center;
}
.hero--center .hero__cta { justify-content: center; }
.hero--center .hero__subtitle { margin-left: auto; margin-right: auto; }

.hero--center .hero__title { text-align: center; }
.hero__eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #9a958c;
  margin-bottom: 18px;
}

/* ---------- Section head center ---------- */
.section__head--center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow--center {
  padding-left: 0;
}
.eyebrow--center::before { display: none; }
.eyebrow--center.eyebrow--muted { color: #9a958c; }

/* ---------- Grid 4 ---------- */
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Solution (dark variant) ---------- */
.solution--dark {
  background: #131313;
  border-color: rgba(255,255,255,0.06);
  color: #E7E2DA;
  text-align: center;
}
.solution--dark .solution__bar { margin-left: auto; margin-right: auto; }

/* ---------- Plans: light note ---------- */
.plans__note--light a { color: #C8A96A; border-bottom: 1px solid rgba(200,169,106,0.4); }
.plans__note--light { color: #b9b3a8; }

/* ---------- Open source section ---------- */
.oss__closing {
  margin-top: clamp(40px, 5vw, 56px);
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  text-align: center;
  font-size: 1rem;
  color: #b9b3a8;
}

/* ---------- Manifesto (editorial) ---------- */
.manifesto { text-align: center; }
.manifesto__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  margin: 18px 0 32px;
  color: #0B0B0B;
}
.manifesto__body {
  max-width: 620px;
  margin: 0 auto;
}
.manifesto__body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4d4d4d;
  margin-bottom: 1.3em;
}
.manifesto__body p:last-child { margin-bottom: 0; }

/* ---------- Featured service cards ---------- */
.card--featured {
  border-color: rgba(200,169,106,0.45);
  border-top: 3px solid #C8A96A;
  box-shadow: 0 0 0 1px rgba(200,169,106,0.18) inset;
  padding-top: 29px;
}
.card--featured:hover {
  border-color: rgba(200,169,106,0.75);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(200,169,106,0.3) inset;
}
.card--featured .card__title { font-weight: 600; }
.card--featured .card__icon { width: 50px; height: 50px; box-shadow: 0 0 16px rgba(200,169,106,0.4), 0 0 6px rgba(200,169,106,0.7), inset 0 0 10px rgba(200,169,106,0.2); }
.card--featured .card__icon svg { width: 26px; height: 26px; filter: drop-shadow(0 0 4px rgba(200,169,106,0.9)); }
.card__sub {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #C8A96A;
  font-weight: 500;
  margin-bottom: 14px;
}
.card__text--muted {
  margin-top: 12px;
  color: #6b6b6b !important;
  font-style: italic;
}
.grid--support { margin-top: 24px; }
.block-label {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a958c;
  font-weight: 500;
  text-align: left;
  margin: 0 0 24px;
}
.block-label--accent { color: #C8A96A; }
.services__block + .services__block { margin-top: 64px; }
.block-label:first-of-type { margin-top: 0; }

/* ---------- Sofía section ---------- */
.sofia {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.sofia__intro .section__title { text-align: left; margin: 14px 0 18px; }
.sofia__intro .btn { margin-top: 18px; }
.sofia__card {
  background: #FFFFFF;
  border: 1px solid rgba(11,11,11,0.05);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 40px);
}
.sofia__point { margin-bottom: 28px; }
.sofia__point:last-child { margin-bottom: 0; }
.sofia__point-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 8px;
}
.sofia__point h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0B0B0B;
  margin-bottom: 6px;
}
.sofia__point p {
  font-size: 0.93rem;
  color: #5a5a5a;
  line-height: 1.55;
}
.section--soft .oss__closing { color: #5a5a5a; }

/* ---------- Contact section ---------- */
.contact__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 5vw, 52px);
}
.contact__head .section__title { text-align: center; }
.contact__head .section__lead { margin-left: auto; margin-right: auto; }
.contact__cta {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.contact__micro {
  text-align: center;
  font-size: 0.85rem;
  color: #9a958c;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact__col h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #F7F4EF;
}
.contact__col > p {
  color: #b9b3a8;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: #E7E2DA;
  letter-spacing: 0.02em;
}
.field .opt { font-weight: 400; color: #8a857c; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: #0B0B0B;
  background: #FFFFFF;
  border: 1px solid rgba(11,11,11,0.12);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #C8A96A;
  box-shadow: 0 0 0 3px rgba(200,169,106,0.18);
}
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__micro { font-size: 0.8rem; color: #8a857c; max-width: 320px; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: #d97a7a;
  box-shadow: 0 0 0 3px rgba(217,122,122,0.18);
}
.field__error {
  font-size: 0.78rem;
  color: #f1b5b5;
  margin-top: 2px;
}
.form__error-banner {
  background: rgba(217,122,122,0.12);
  border: 1px solid rgba(217,122,122,0.4);
  color: #f1b5b5;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.form__submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Form success ---------- */
.form__success {
  background: #131313;
  border: 1px solid rgba(200,169,106,0.4);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}
.form__success.is-visible { display: block; }
.form__success[hidden] { display: none; }
.form__success h3 { font-size: 1.3rem; margin-bottom: 10px; color: #F7F4EF; }
.form__success p { color: #b9b3a8; font-size: 0.95rem; margin-bottom: 16px; }

/* ---------- Calendar placeholder ---------- */
.calendar {
  background: #131313;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.calendar__big { font-size: 2.2rem; }
.calendar p { color: #b9b3a8; }
.calendar__btn { margin-top: 6px; }
#calendario-embed { width: 100%; }

/* ---------- Focus visible (a11y) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #C8A96A;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Footer minimal ---------- */
.footer--simple { padding: 44px 0 32px; }
.footer__simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer__tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #E7E2DA;
  font-size: 1.05rem;
}
.footer__inline {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: #b9b3a8;
}
.footer__inline a { color: #E7E2DA; }
.footer__inline a:hover { color: #C8A96A; }
.footer__copy a { color: #6b6760; }
.footer__copy a:hover { color: #C8A96A; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 380px; margin-top: 20px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .sofia { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .diff-grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__nav { justify-content: center; }
  .footer__copy { text-align: center; }
}

@media (max-width: 720px) {
  .nav, .header__cta { display: none; }
  .header__inner .lang-toggle { display: none; }
  .burger { display: flex; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .sofia { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .dashboard { max-width: 360px; }
  .dashboard__chip { font-size: 12px; padding: 10px 14px; }
  .trust { gap: 12px; font-size: 11px; letter-spacing: 0.2em; }
  .section__head { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chatbot:not(.is-open) .chatbot__toggle { animation: none; }
}

/* ---------- Chatbot widget ---------- */
.chatbot {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 999;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.chatbot__toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C8A96A, #b5955a);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(11, 11, 11, 0.25), 0 4px 12px rgba(200, 169, 106, 0.35);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  color: #0B0B0B;
  padding: 0;
}

.chatbot__toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 36px rgba(11, 11, 11, 0.3), 0 6px 18px rgba(200, 169, 106, 0.5);
}

.chatbot__toggle:focus-visible {
  outline: 3px solid rgba(200, 169, 106, 0.55);
  outline-offset: 4px;
}

.chatbot__icon {
  display: block;
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.chatbot__icon--close { display: none; }
.chatbot.is-open .chatbot__icon--open { display: none; }
.chatbot.is-open .chatbot__icon--close { display: block; }

@keyframes chatbreathe {
  0%, 100% { box-shadow: 0 12px 32px rgba(11, 11, 11, 0.25), 0 4px 12px rgba(200, 169, 106, 0.35); }
  50%      { box-shadow: 0 12px 32px rgba(11, 11, 11, 0.25), 0 4px 24px rgba(200, 169, 106, 0.75); }
}
.chatbot:not(.is-open) .chatbot__toggle {
  animation: chatbreathe 4.5s var(--ease) infinite;
}
.chatbot.is-open .chatbot__toggle {
  display: none;
}

.chatbot__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 140px));
  background: #F7F4EF;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(11, 11, 11, 0.28), 0 0 0 1px rgba(11, 11, 11, 0.05);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transform-origin: bottom right;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  overflow: hidden;
}

.chatbot.is-open .chatbot__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #0B0B0B;
  color: #F7F4EF;
  flex-shrink: 0;
}

.chatbot__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.chatbot__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C8A96A, #b5955a);
  color: #0B0B0B;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.6px;
}

.chatbot__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #F7F4EF;
  margin: 0;
  line-height: 1.2;
}

.chatbot__sub {
  font-size: 0.72rem;
  color: rgba(247, 244, 239, 0.62);
  margin: 2px 0 0;
  letter-spacing: 0.01em;
}

.chatbot__close {
  background: transparent;
  border: 0;
  color: rgba(247, 244, 239, 0.7);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.chatbot__close:hover {
  color: #F7F4EF;
  background: rgba(247, 244, 239, 0.08);
}
.chatbot__close:focus-visible {
  outline: 2px solid #C8A96A;
  outline-offset: 2px;
}

.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chatbot__messages::-webkit-scrollbar { width: 6px; }
.chatbot__messages::-webkit-scrollbar-track { background: transparent; }
.chatbot__messages::-webkit-scrollbar-thumb {
  background: rgba(11, 11, 11, 0.15);
  border-radius: 3px;
}

.chatbot__msg {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  animation: chatmsg .25s var(--ease);
}
@keyframes chatmsg {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chatbot__msg--bot {
  background: #FFFFFF;
  color: #0B0B0B;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(11, 11, 11, 0.06);
}
.chatbot__msg--user {
  background: #0B0B0B;
  color: #F7F4EF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chatbot__msg--error {
  background: rgba(217, 122, 122, 0.1);
  color: #b04141;
  border: 1px solid rgba(217, 122, 122, 0.3);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  font-size: 0.85rem;
}
.chatbot__msg a {
  color: #0B0B0B;
  text-decoration: underline;
  font-weight: 500;
}
.chatbot__msg--user a { color: #C8A96A; }

.chatbot__msg--bot strong { font-weight: 600; color: #0B0B0B; }
.chatbot__msg--bot em { font-style: italic; }
.chatbot__msg--bot code {
  background: rgba(11,11,11,0.08);
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.85em;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.chatbot__msg--bot pre {
  background: #1a1a1a;
  color: #F7F4EF;
  padding: 12px 14px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 8px 0;
  font-size: 0.82em;
  line-height: 1.4;
}
.chatbot__msg--bot pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}
.chatbot__msg--bot a {
  color: #b5955a;
  text-decoration: underline;
  font-weight: 500;
}
.chatbot__msg--bot a:hover { color: #C8A96A; }
.chatbot__msg--bot br + br { display: block; margin-top: 4px; }

.chatbot__typing {
  align-self: flex-start;
  background: #FFFFFF;
  padding: 14px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(11, 11, 11, 0.06);
  display: flex;
  gap: 5px;
}
.chatbot__typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(11, 11, 11, 0.4);
  animation: chattype 1.2s var(--ease) infinite;
}
.chatbot__typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chattype {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%           { opacity: 1;   transform: translateY(-3px); }
}

.chatbot__suggestions {
  padding: 4px 14px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex-shrink: 0;
  max-height: 84px;
  overflow-y: auto;
}
.chatbot__chip {
  background: transparent;
  border: 1px solid rgba(200, 169, 106, 0.5);
  color: #0B0B0B;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  font-family: inherit;
  line-height: 1.2;
  white-space: nowrap;
}
.chatbot__chip:hover {
  background: rgba(200, 169, 106, 0.15);
  border-color: #C8A96A;
  transform: translateY(-1px);
}
.chatbot__chip:focus-visible {
  outline: 2px solid #C8A96A;
  outline-offset: 2px;
}

.chatbot__form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(11, 11, 11, 0.08);
  background: #FFFFFF;
  flex-shrink: 0;
}
.chatbot__form input {
  flex: 1;
  border: 1px solid rgba(11, 11, 11, 0.12);
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #F7F4EF;
  color: #0B0B0B;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  min-width: 0;
}
.chatbot__form input:focus {
  border-color: #C8A96A;
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.2);
}
.chatbot__form input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.chatbot__form button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0B0B0B;
  color: #F7F4EF;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.chatbot__form button:hover {
  background: #1a1a1a;
  transform: scale(1.05);
}
.chatbot__form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.chatbot__form button:focus-visible {
  outline: 2px solid #C8A96A;
  outline-offset: 2px;
}

.chatbot__form button.chatbot__form-btn {
  width: 38px;
  height: 38px;
  background: rgba(11, 11, 11, 0.06);
  color: #3A3A3A;
}
.chatbot__form button.chatbot__form-btn:hover {
  background: rgba(200, 169, 106, 0.18);
  color: #0B0B0B;
}
.chatbot__form button.chatbot__form-btn.is-recording {
  background: #d04444;
  color: #F7F4EF;
  animation: chatrecord 1.2s var(--ease) infinite;
}
@keyframes chatrecord {
  0%, 100% { box-shadow: 0 0 0 0 rgba(208, 68, 68, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(208, 68, 68, 0); }
}

.chatbot__previews {
  display: flex;
  gap: 8px;
  padding: 8px 16px 0;
  overflow-x: auto;
  scrollbar-width: thin;
  flex-shrink: 0;
}
.chatbot__preview {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(11, 11, 11, 0.05);
  border: 1px solid rgba(11, 11, 11, 0.1);
}
.chatbot__preview img,
.chatbot__preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.chatbot__preview--audio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(200, 169, 106, 0.12);
  color: #0B0B0B;
  font-size: 0.7rem;
  padding: 6px;
  text-align: center;
}
.chatbot__preview--audio .chatbot__preview-icon {
  font-size: 1.5rem;
}
.chatbot__preview--file {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(11, 11, 11, 0.06);
  color: #0B0B0B;
  font-size: 0.7rem;
  padding: 6px;
  text-align: center;
  word-break: break-word;
}
.chatbot__preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: rgba(11, 11, 11, 0.7);
  color: #F7F4EF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  padding: 0;
  transition: background .2s var(--ease);
}
.chatbot__preview-remove:hover {
  background: #d04444;
}

.chatbot__record-timer {
  flex: 1;
  text-align: center;
  font-size: 0.85rem;
  color: #d04444;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  align-self: center;
}

.field input.is-prefilled,
.field select.is-prefilled,
.field textarea.is-prefilled {
  border-color: #C8A96A;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(200,169,106,0.25);
}

@keyframes formReadyPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(200,169,106,0.7), 0 4px 18px rgba(11,11,11,0.06);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(200,169,106,0), 0 4px 18px rgba(11,11,11,0.06);
    transform: scale(1.04);
  }
}

.form .btn--primary.is-ready {
  animation: formReadyPulse 1.4s ease-in-out infinite;
  background: linear-gradient(135deg, #C8A96A, #d4b87a);
  color: #0B0B0B;
  font-weight: 600;
}

.chatbot__hidden-input { display: none; }

@media (max-width: 600px) {
  .chatbot { right: 12px; bottom: 12px; }
  .chatbot__toggle { width: 54px; height: 54px; }
  .chatbot__panel {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    transform-origin: bottom center;
  }
  .chatbot.is-open .chatbot__toggle {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    z-index: 1000;
  }
  .chatbot__msg { max-width: 90%; }
}