/* Invitartes · generador de invitaciones gratis (cromática de la landing de Invitartes) */
:root {
  --bg: #FBF7F1;
  --bg-2: #F4EDE3;
  --ink: #14100D;
  --ink-2: #2C2521;
  --body: #4A4239;
  --muted: #8A8078;
  --line: #EDE4D8;
  --line-2: #DCD1C2;
  --accent: #E8590C;
  --accent-d: #C24705;
  --accent-soft: #FCEBDE;
  --gold: #C9A227;
  --wa: #25D366;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ivg-gen { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
.ivg-gen a { color: inherit; text-decoration: none; }
.ivg-gen h1, .ivg-gen h2, .ivg-gen h3 { margin: 0; }
.ivg-gen p { margin: 0; }
.ivg-gen svg { flex: none; }
.ivg-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.ivg-narrow { max-width: 780px; }
.ivg-gen .ivg-center { text-align: center; margin-top: 34px; }
.ivg-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px !important; }
.ivg-gen section h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -.02em; }
.ivg-sub { font-size: 17px; color: var(--body); margin-top: 12px !important; max-width: 680px; }

/* ---------- Botones ---------- */
.ivg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; font: 800 15px/1.1 var(--sans); cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s; text-align: center; }
.ivg-btn svg { width: 18px; height: 18px; }
.ivg-btn:active { transform: translateY(1px); }
.ivg-btn-main { background: var(--accent); color: #fff !important; }
.ivg-btn-main:hover { background: var(--accent-d); }
.ivg-btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.ivg-btn-ghost:hover { border-color: var(--ink); }
.ivg-btn-dark { background: var(--ink); color: #fff !important; }
.ivg-btn-dark:hover { background: var(--ink-2); }
.ivg-btn-light { background: transparent; color: #FBF7F1 !important; border-color: rgba(251, 247, 241, .4); }
.ivg-btn-light:hover { border-color: #FBF7F1; }
.ivg-btn-wa { background: var(--wa); color: #fff !important; }
.ivg-btn-wa:hover { background: #1FB855; }
.ivg-btn-sm { padding: 10px 16px; font-size: 14px; }
.ivg-btn-block { width: 100%; }
.ivg-btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Barra superior ---------- */
.ivg-top { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 241, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ivg-top-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.ivg-brand { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -.01em; }
.ivg-nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 700; color: var(--body); }
.ivg-nav a:hover { color: var(--accent); }
@media (max-width: 860px) { .ivg-nav { display: none; } .ivg-top .ivg-btn { margin-left: auto; } }
@media (max-width: 380px) { .ivg-top .ivg-btn span { display: none; } }

/* ---------- Portada ---------- */
.ivg-hero { padding: 54px 0 26px; }
.ivg-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -.025em; max-width: 820px; }
.ivg-hero h1 em { font-style: italic; color: var(--accent); }
.ivg-lead { font-size: clamp(17px, 2vw, 19px); color: var(--body); max-width: 680px; margin-top: 18px !important; }
.ivg-pills { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ivg-pills li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: 14px; font-weight: 700; }
.ivg-pills svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- App: formulario + vista previa ---------- */
.ivg-app { padding: 20px 0 70px; }
.ivg-app-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 960px) { .ivg-app-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; } }
.ivg-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px 22px; box-shadow: 0 18px 50px rgba(20, 16, 13, .06); }
@media (min-width: 600px) { .ivg-panel { padding: 34px 34px; } }
.ivg-form fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.ivg-form legend { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 22px; margin-bottom: 16px; padding: 0; }
.ivg-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 13px var(--sans); }
.ivg-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px) { .ivg-types { grid-template-columns: repeat(4, 1fr); } }
.ivg-type input { position: absolute; opacity: 0; pointer-events: none; }
.ivg-type span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border: 1.5px solid var(--line-2); border-radius: 16px; cursor: pointer; transition: all .15s; text-align: center; color: var(--body); }
.ivg-type span svg { width: 30px; height: 30px; color: var(--gold); }
.ivg-type b { font-size: 14px; color: var(--ink); }
.ivg-type span:hover { border-color: var(--ink); }
.ivg-type input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(232, 89, 12, .12); }
.ivg-type input:checked + span svg { color: var(--accent); }
.ivg-type input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ivg-row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 520px) { .ivg-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.ivg-field { display: block; margin-bottom: 14px; }
.ivg-field[hidden] { display: none; }
.ivg-field > span { display: block; font-size: 13px; font-weight: 800; color: var(--body); margin-bottom: 6px; }
.ivg-field i { font-style: normal; font-weight: 600; color: var(--muted); }
.ivg-field input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); font: 500 16px var(--sans); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.ivg-field input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 89, 12, .14); }
.ivg-field input::placeholder { color: #B5ABA0; }
.ivg-field small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.ivg-field.has-error input { border-color: #D93025; box-shadow: 0 0 0 3px rgba(217, 48, 37, .12); }
.ivg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ivg-error { background: #FDECEA; color: #A52714; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 700; margin-bottom: 14px !important; }
.ivg-fine { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px !important; }
.ivg-btn-main.ivg-btn-block { padding: 18px 24px; font-size: 16px; box-shadow: 0 10px 26px rgba(232, 89, 12, .28); }

/* Aviso de paquetes bajo el formulario */
.ivg-nudge { margin-top: 26px; background: var(--bg); border: 1px dashed var(--line-2); border-radius: 16px; padding: 18px 18px; font-size: 14.5px; color: var(--body); }
.ivg-nudge b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.ivg-nudge a { display: inline-block; margin-top: 10px; color: var(--accent); font-weight: 800; }

/* Invitaciones guardadas en este dispositivo */
.ivg-mine { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 24px; }
.ivg-mine-title { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px !important; }
.ivg-mine-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ivg-mine-row:first-of-type { border-top: 0; }
.ivg-mine-row div { flex: 1; min-width: 0; }
.ivg-mine-row b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ivg-mine-row small { color: var(--muted); }
.ivg-mine-row a, .ivg-mine-row button { font: 800 13px var(--sans); color: var(--accent); background: none; border: 0; cursor: pointer; padding: 4px; }

/* Resultado */
.ivg-done-kicker { display: inline-block; background: #E7F8EE; color: #137A3F; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px !important; }
.ivg-done h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; }
.ivg-done-sub { color: var(--body); margin-top: 8px !important; }
.ivg-linkbox { display: flex; align-items: center; gap: 10px; margin-top: 20px; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 6px 6px 6px 14px; background: var(--bg); }
.ivg-linkbox svg { width: 20px; height: 20px; color: var(--muted); }
.ivg-linkbox input { flex: 1; min-width: 0; border: 0; background: transparent; font: 700 15px var(--sans); color: var(--ink); padding: 10px 0; }
.ivg-linkbox input:focus { outline: 0; }
.ivg-linkbox .ivg-btn { background: var(--ink); color: #fff; }
.ivg-done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ivg-done-actions .ivg-btn-wa { flex: 1 1 100%; padding: 16px; font-size: 16px; }
@media (min-width: 600px) { .ivg-done-actions .ivg-btn-wa { flex: 1 1 auto; } }
.ivg-expire { font-size: 14px; color: var(--body); margin-top: 16px !important; padding: 12px 14px; background: #FFF7E6; border-radius: 12px; }
.ivg-upsell { margin-top: 26px; background: var(--ink); color: #FBF7F1; border-radius: 20px; padding: 26px 22px; }
.ivg-upsell h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; }
.ivg-upsell ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 10px; font-size: 15px; color: #E6DED4; }
.ivg-upsell li { display: flex; gap: 10px; align-items: flex-start; }
.ivg-upsell li svg { width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }
.ivg-upsell-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ivg-upsell .ivg-btn-ghost { background: transparent; color: #FBF7F1; border-color: rgba(251, 247, 241, .35); }
.ivg-upsell .ivg-btn-ghost:hover { border-color: #FBF7F1; }

/* Teléfono con la vista previa */
.ivg-preview-sticky { position: sticky; top: 84px; }
.ivg-preview-label { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--body); margin-bottom: 14px !important; }
.ivg-dot { width: 8px; height: 8px; border-radius: 50%; background: #22B45A; box-shadow: 0 0 0 4px rgba(34, 180, 90, .18); animation: ivg-blink 1.6s infinite; }
@keyframes ivg-blink { 50% { opacity: .35; } }
.ivg-phone { position: relative; width: 100%; max-width: 340px; margin: 0 auto; background: var(--ink); border-radius: 46px; padding: 12px; box-shadow: 0 30px 70px rgba(20, 16, 13, .22), inset 0 0 0 2px #3A322D; }
.ivg-phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 38%; max-width: 128px; height: 26px; background: var(--ink); border-radius: 0 0 16px 16px; z-index: 2; box-shadow: 0 -6px 0 var(--ink); }
.ivg-phone-screen { position: relative; overflow: hidden; border-radius: 34px; background: #fff; height: 600px; }
.ivg-phone-screen iframe { position: absolute; top: 0; left: 0; width: 390px; height: 780px; border: 0; transform-origin: 0 0; display: block; }
.ivg-preview-hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px !important; }
.ivg-float-preview { position: fixed; left: 16px; bottom: 18px; transform: translateY(160%); z-index: 50; background: var(--ink); color: #fff !important; font-weight: 800; font-size: 14px; padding: 13px 22px; border-radius: 999px; box-shadow: 0 10px 30px rgba(20, 16, 13, .3); transition: transform .25s ease; }
.ivg-float-preview.is-on { transform: translateY(0); }
@media (min-width: 960px) { .ivg-float-preview { display: none; } }

/* ---------- Comparación ---------- */
.ivg-compare { padding: 70px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ivg-table-wrap { margin-top: 30px; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
.ivg-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.ivg-table th, .ivg-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ivg-table tbody tr:last-child th, .ivg-table tbody tr:last-child td { border-bottom: 0; }
.ivg-table thead th { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.ivg-table thead th:last-child { color: var(--accent); background: var(--accent-soft); }
.ivg-table thead small { display: block; text-transform: none; letter-spacing: 0; font-weight: 700; color: var(--accent-d); }
.ivg-table tbody th { font-weight: 800; color: var(--ink); width: 34%; }
.ivg-table td { color: var(--body); }
.ivg-table td:last-child { color: var(--ink); font-weight: 700; background: #FFFBF7; }

/* ---------- Carrusel de funciones ---------- */
.ivg-features { background: var(--ink); color: #FBF7F1; padding: 76px 0 80px; overflow: hidden; }
.ivg-features-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.ivg-features .ivg-eyebrow { color: #FF8A4C; }
.ivg-arrows { display: flex; gap: 10px; }
.ivg-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(251, 247, 241, .3); background: transparent; color: #FBF7F1; font-size: 18px; cursor: pointer; transition: all .15s; }
.ivg-arrow:hover { background: #FBF7F1; color: var(--ink); }
@media (max-width: 600px) { .ivg-arrows { display: none; } }
.ivg-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 82%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; outline: 0; }
.ivg-track::-webkit-scrollbar { display: none; }
.ivg-feat { scroll-snap-align: start; background: var(--ink-2); border: 1px solid #3A322D; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.ivg-feat img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.ivg-feat-body { padding: 22px 22px 26px; }
.ivg-feat-art { aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle at 30% 20%, rgba(232, 89, 12, .28), transparent 55%), radial-gradient(circle at 80% 90%, rgba(201, 162, 39, .22), transparent 50%), #1B1512; border-bottom: 1px solid #3A322D; }
.ivg-feat-art svg { width: 76px; height: 76px; stroke-width: 1.2; }
.ivg-feat-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(201, 162, 39, .14); color: var(--gold); margin-bottom: 16px; }
.ivg-feat h3 { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.15; margin-bottom: 10px; }
.ivg-feat p { color: #C4BBB1; font-size: 15px; line-height: 1.6; }

/* ---------- Catálogo ---------- */
.ivg-catalog { padding: 80px 0; }
.ivg-cards { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 34px; }
@media (min-width: 560px) { .ivg-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ivg-cards { grid-template-columns: repeat(4, 1fr); } }
.ivg-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.ivg-card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(20, 16, 13, .14); }
.ivg-card.is-hero { border: 2px solid var(--accent); }
.ivg-card-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: var(--bg-2); }
.ivg-badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.ivg-card-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 22px; flex: 1; }
.ivg-card-body small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ivg-card-body b { font-family: var(--serif); font-size: 23px; font-weight: 600; }
.ivg-card-body span { font-size: 14px; color: var(--body); flex: 1; }
.ivg-card-body em { font-style: normal; font-weight: 800; color: var(--accent); font-size: 14px; margin-top: 8px; }

/* ---------- Paquetes ---------- */
.ivg-packs { padding: 80px 0; background: var(--bg-2); }
.ivg-pack-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 34px; }
@media (min-width: 640px) { .ivg-pack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .ivg-pack-grid { grid-template-columns: repeat(4, 1fr); } }
.ivg-pack { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px 22px; }
.ivg-pack.is-top { border: 2px solid var(--accent); box-shadow: 0 18px 44px rgba(232, 89, 12, .16); }
.ivg-pack-tag { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.ivg-pack h3 { font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ivg-price { font-family: var(--serif); font-size: 42px; font-weight: 600; line-height: 1.1; margin: 8px 0 10px !important; }
.ivg-pack > p:not(.ivg-price) { font-size: 14.5px; color: var(--body); }
.ivg-pack ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; font-size: 14px; font-weight: 700; flex: 1; align-content: start; }
.ivg-pack li { display: flex; gap: 8px; align-items: flex-start; }
.ivg-pack li svg { width: 17px; height: 17px; color: var(--accent); margin-top: 2px; }
.ivg-more a { color: var(--accent); font-weight: 800; }

/* ---------- Preguntas ---------- */
.ivg-faq { padding: 80px 0; }
.ivg-faq h2 { margin-bottom: 26px; }
.ivg-faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 20px; }
.ivg-faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 16.5px; padding: 18px 28px 18px 0; position: relative; }
.ivg-faq summary::-webkit-details-marker { display: none; }
.ivg-faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 24px; font-weight: 400; color: var(--accent); }
.ivg-faq details[open] summary::after { content: '−'; }
.ivg-faq details p { color: var(--body); padding: 0 0 20px; }

/* ---------- Cierre ---------- */
.ivg-final { background: var(--ink); color: #FBF7F1; padding: 76px 0; text-align: center; }
.ivg-final p { color: #C4BBB1; font-size: 17px; margin-top: 14px; }
.ivg-final-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.ivg-footer { background: var(--ink); color: #8A8078; border-top: 1px solid #2C2521; padding: 24px 0 90px; text-align: center; font-size: 14px; }
.ivg-footer a { color: #FBF7F1; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ivg-dot { animation: none; }
}
.ivg-done, .ivg-form, .ivg-gen section, #ivg-preview-col { scroll-margin-top: 80px; }
.ivg-consent { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 2px 0 0 !important; }

/* ---------- Pedido personalizado ---------- */
.ivg-upsell-more { margin-top: 14px !important; font-size: 14px; }
.ivg-upsell-more a { color: #E6DED4; text-decoration: underline; text-underline-offset: 3px; }
.ivg-nudge a { margin-right: 14px; }
.ivg-order { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; background: #fff; border: 1px dashed var(--accent); border-radius: 20px; padding: 22px 24px; }
.ivg-order > div { flex: 1 1 380px; }
.ivg-order b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.ivg-order p { color: var(--body); font-size: 15px; margin-top: 6px !important; }

/* ---------- Botón flotante de WhatsApp (mismo estilo de la landing) ---------- */
.ivg-chat { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.ivg-chat > * { pointer-events: auto; }
.ivg-chat-pop { width: min(320px, calc(100vw - 40px)); background: #F7F4F0; border-radius: 18px; overflow: hidden; box-shadow: 0 22px 54px rgba(20, 16, 13, .28); transform-origin: bottom right; transform: translateY(10px) scale(.94); opacity: 0; pointer-events: none !important; transition: opacity .22s ease, transform .22s ease; }
.ivg-chat.is-open .ivg-chat-pop { transform: none; opacity: 1; pointer-events: auto !important; }
.ivg-chat-head { background: var(--accent); padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px; color: #fff; }
.ivg-chat-av { width: 40px; height: 40px; border-radius: 999px; background: #fff; color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 17px; font-weight: 700; flex: none; }
.ivg-chat-head div { flex: 1; }
.ivg-chat-head b { display: block; font-size: 15px; font-weight: 800; }
.ivg-chat-head small { font-size: 13px; opacity: .9; }
.ivg-chat-x { background: transparent; border: 0; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 4px; }
.ivg-chat-body { padding: 16px; }
.ivg-chat-bubble { background: #fff; border-radius: 14px; padding: 14px 16px; font-size: 15px; line-height: 1.5; color: var(--ink); box-shadow: 0 2px 8px rgba(20, 16, 13, .06); }
.ivg-chat-wa, .ivg-chat-form { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border-radius: 12px; font-size: 15px; font-weight: 800; transition: background .18s ease, border-color .18s ease; }
.ivg-chat-wa { background: var(--wa); color: #fff !important; }
.ivg-chat-wa:hover { background: #1FB855; }
.ivg-chat-form { background: #fff; color: var(--ink) !important; border: 1.5px solid var(--line-2); margin-top: 10px; }
.ivg-chat-form:hover { border-color: var(--ink); }
.ivg-chat-btn { position: relative; display: inline-flex; align-items: center; gap: 9px; background: var(--wa); color: #fff; border: 0; border-radius: 999px; padding: 14px 22px; font: 800 16px var(--sans); cursor: pointer; box-shadow: 0 12px 30px rgba(37, 211, 102, .34); transition: transform .18s ease; }
.ivg-chat-btn:hover { transform: translateY(-2px); }
.ivg-chat-dot { position: absolute; top: -2px; right: -2px; width: 13px; height: 13px; border-radius: 999px; background: var(--accent); border: 2px solid #fff; opacity: 0; transition: opacity .2s; }
.ivg-chat-dot.is-on { opacity: 1; animation: ivg-blink 1.6s infinite; }
@media (max-width: 600px) {
  .ivg-chat { right: 14px; bottom: 14px; }
  .ivg-chat-btn { padding: 14px 18px; font-size: 15px; }
  .ivg-chat-btn .ivg-chat-txt + .ivg-chat-txt { display: none; }
}
@media (max-width: 380px) { .ivg-chat-btn .ivg-chat-txt { display: none; } .ivg-chat-btn { padding: 15px; font-size: 20px; } }
