:root {
  --navy-950: #0d1b2a;
  --navy-900: #14304f;
  --navy-800: #1f466e;
  --blue-700: #256fa8;
  --blue-500: #5ca9e6;
  --blue-300: #a9d6f5;
  --sea-50: #f4f9fc;
  --sea-100: #e9f4fb;
  --sand-50: #fbfcfd;
  --ink: #183046;
  --muted: #61778d;
  --line: #d8e4ee;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(13, 27, 42, 0.08);
  --shadow-soft: 0 12px 30px rgba(13, 27, 42, 0.06);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  overflow: visible;
  backdrop-filter: blur(14px);
  background: rgba(13, 27, 42, 0.74);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.3rem;
  padding: 0.45rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  font-weight: 600;
  min-height: 3.6rem;
}
.brand img {
  position: static;
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 10px 24px rgba(3, 10, 20, 0.22);
  padding: 0;
  flex-shrink: 0;
}
.brand span {
  margin-left: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: rgba(255,255,255,0.88);
}
.main-nav a { font-size: 0.96rem; }
.nav-cta {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}
.mobile-header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: var(--blue-500);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(92,169,230,0.22);
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(92,169,230,0.28), transparent 30%),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 5.7rem 0 4rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.hero-copy {
  padding-top: 2.2rem;
}
.eyebrow {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-300);
}
h1, h2, h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.04;
}
h1 { font-size: clamp(2.5rem, 4.7vw, 4.55rem); max-width: 15ch; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.62rem; }
.hero-text,
.section-intro,
.footer-legal { color: rgba(255,255,255,0.82); }
.hero-text {
  max-width: 62ch;
  font-size: 1.06rem;
  margin: 1.2rem 0 1.4rem;
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1rem;
  color: var(--ink);
  font-weight: 700;
}
.contact-details a {
  color: var(--blue-700);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(92,169,230,0.24);
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-right: 0.48rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1;
}
.btn-logo {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.52rem;
  border-radius: 0.45rem;
  object-fit: cover;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.18);
  flex-shrink: 0;
}
.btn-secondary {
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #052e16;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.26);
}
.btn-email {
  border-color: rgba(92,169,230,0.52);
  color: var(--white);
  background: rgba(92,169,230,0.16);
}
.btn-email .btn-icon {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: inset 0 0 0 1px rgba(37,111,168,0.22), 0 2px 7px rgba(13,27,42,0.14);
}
.btn-icon svg {
  width: 0.98rem;
  height: 0.98rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-ghost.btn-email {
  color: var(--ink);
  background: var(--white);
}
.btn-ghost.btn-whatsapp {
  color: #052e16;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.45rem 0 0;
  display: grid;
  gap: 0.72rem;
}
.hero-points li::before,
.bullet-panel li::before,
.contact-card li::before,
.pricing-card li::before,
.policy-band li::before {
  content: "•";
  color: var(--blue-300);
  margin-right: 0.65rem;
}
.hero-card,
.service-card,
.signal-card,
.note-card,
.contact-card,
.bullet-panel,
.pricing-card,
.faq-card,
.policy-band {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.6rem;
}
.card-kicker,
.pricing-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 0.65rem;
}
.mini-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.mini-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
}
.mini-card strong {
  display: block;
  margin-bottom: 0.35rem;
}
.mini-card span { color: rgba(255,255,255,0.84); font-size: 0.95rem; }

.signal-strip {
  background: var(--sea-100);
  padding: 1.25rem 0;
}
.signal-grid,
.cards-grid,
.about-notes,
.pricing-grid,
.faq-grid,
.agent-layout {
  display: grid;
  gap: 1rem;
}
.signal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.signal-card,
.service-card,
.note-card,
.contact-card,
.bullet-panel,
.pricing-card,
.faq-card,
.policy-band {
  background: var(--white);
  border: 1px solid var(--line);
}
.signal-card { padding: 1.15rem 1.2rem; }
.signal-card p,
.service-card p,
.note-card p,
.contact-card ul,
.bullet-panel ul,
.pricing-card ul,
.faq-card p,
.policy-band p { color: var(--muted); }

.section[id] {
  scroll-margin-top: 7.2rem;
}

.section { padding: 5rem 0; }
.alt-section { background: var(--sand-50); }
.agent-section {
  background:
    linear-gradient(180deg, rgba(244,249,252,0.88), rgba(255,255,255,1));
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.section-intro {
  max-width: 58ch;
  margin: 0;
}
.section-intro.dark { color: var(--muted); }
.cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card,
.pricing-card,
.faq-card { padding: 1.5rem; }
.service-card ul,
.bullet-panel ul,
.contact-card ul,
.pricing-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.service-card li,
.bullet-panel li,
.contact-card li,
.pricing-card li { margin-bottom: 0.7rem; }
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--sea-100);
  color: var(--navy-800);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.pricing-card {
  box-shadow: var(--shadow-soft);
}
.pricing-card.featured {
  border: 1px solid rgba(92,169,230,0.35);
  background: linear-gradient(180deg, rgba(92,169,230,0.08), rgba(255,255,255,1));
}
.price {
  margin: 1rem 0 0.5rem;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 700;
  color: var(--navy-900);
}
.policy-band {
  margin-top: 1.2rem;
  padding: 1.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.policy-band strong,
.faq-card strong,
.note-card strong,
.signal-card strong,
.contact-card strong { display: block; margin-bottom: 0.35rem; }

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agent-layout {
  grid-template-columns: 0.88fr 1.12fr;
  align-items: start;
}

.agent-explainer {
  display: grid;
  gap: 1rem;
}

.agent-note,
.agent-widget,
.agent-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.agent-note {
  padding: 1.35rem;
}

.agent-note ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.agent-note.warning {
  border-color: rgba(92,169,230,0.35);
  background: linear-gradient(180deg, rgba(92,169,230,0.08), rgba(255,255,255,1));
}

.agent-widget {
  padding: 1.4rem;
}

.whatsapp-reception-card {
  min-height: 320px;
}

.whatsapp-reception-box {
  display: grid;
  gap: 0.75rem;
  min-height: 220px;
  align-content: center;
  padding: 1.5rem;
  border: 1px dashed rgba(13, 110, 140, 0.35);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(232, 244, 248, 0.78), rgba(255, 255, 255, 1));
}

.whatsapp-reception-box strong {
  color: var(--navy-800);
  font-size: 1.1rem;
}

.whatsapp-reception-box p {
  margin: 0;
  color: var(--muted);
}

.whatsapp-reception-box .btn {
  width: fit-content;
  margin-top: 0.35rem;
}

/* Recepción web IA-Mar + ElevenLabs */
.unified-reception-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.reception-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.15rem;
}

.flow-step {
  position: relative;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 18px;
  color: var(--navy-800);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: var(--blue-500);
  color: var(--white);
  font-weight: 800;
}

.flow-step strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.whatsapp-reception-card,
.elevenlabs-reception-card {
  min-height: 360px;
}

.elevenlabs-reception-card {
  border-color: rgba(92,169,230,0.45);
  background:
    radial-gradient(circle at top right, rgba(169,214,245,0.28), transparent 38%),
    var(--white);
}

.reception-card-body,
.whatsapp-reception-box {
  display: grid;
  gap: 0.8rem;
  min-height: 235px;
  align-content: start;
  padding: 1.5rem;
  border: 1px dashed rgba(13, 110, 140, 0.35);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(232, 244, 248, 0.78), rgba(255, 255, 255, 1));
}

.reception-card-body p,
.whatsapp-reception-box p {
  margin: 0;
  color: var(--muted);
}

.reception-card-body ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.elevenlabs-widget-shell {
  min-height: 76px;
  display: grid;
  align-items: center;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(13, 110, 140, 0.18);
  background: rgba(255,255,255,0.78);
}

.reception-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.45rem;
}

.reception-actions .btn,
.whatsapp-reception-box .btn {
  width: fit-content;
}

.reception-limits {
  margin-top: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  color: var(--white);
}

.reception-limits strong {
  display: block;
  margin-bottom: 0.35rem;
}

.reception-limits p {
  margin: 0;
  color: rgba(255,255,255,0.78);
}

.agent-status.demo {
  color: var(--navy-800);
  background: var(--sea-100);
}

.agent-widget-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.agent-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--blue-500);
  margin-bottom: 0.45rem;
}

.agent-status {
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-800);
  background: var(--sea-100);
}

.agent-transcript {
  display: grid;
  gap: 0.9rem;
  max-height: 560px;
  overflow: auto;
  padding-right: 0.2rem;
}

.agent-bubble {
  max-width: 88%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.agent-bubble.assistant {
  background: var(--sea-50);
  border: 1px solid var(--line);
}

.agent-bubble.user {
  margin-left: auto;
  background: var(--navy-900);
  color: var(--white);
}

.agent-bubble strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.agent-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 0.8rem;
}

.agent-chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.agent-chip:hover {
  border-color: rgba(92,169,230,0.6);
  background: var(--sea-50);
}

.agent-form {
  margin-top: 0.2rem;
}

.agent-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.agent-input {
  width: 100%;
  resize: vertical;
  min-height: 92px;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.agent-input:focus {
  outline: 2px solid rgba(92,169,230,0.3);
  border-color: rgba(92,169,230,0.8);
}

.agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.agent-reset {
  color: var(--ink);
  border-color: var(--line);
}

.agent-summary {
  margin-top: 1rem;
  padding: 1rem;
}

.agent-summary pre {
  white-space: pre-wrap;
  margin: 0.8rem 0 0;
  padding: 1rem;
  border-radius: 16px;
  background: var(--sea-50);
  border: 1px solid var(--line);
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
}

.agent-summary-note {
  color: var(--muted);
  margin: 0.7rem 0 0;
}

.agent-delivery-status {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--sea-50);
  border: 1px solid var(--line);
  color: var(--ink);
}

.two-columns,
.about-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.two-columns { grid-template-columns: 1fr 1fr; }
.about-grid { grid-template-columns: 1.1fr 0.9fr; }
.contact-grid { grid-template-columns: 1.05fr 0.95fr; }
.bullet-panel,
.contact-card { padding: 1.4rem; }
.about-notes { grid-template-columns: 1fr; }
.note-card { padding: 1.25rem 1.3rem; }

.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.86);
  padding: 2rem 0;
}
.footer-inner { display: grid; gap: 0.4rem; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--blue-300); }

.legal-content {
  max-width: 860px;
}
.legal-content h2 {
  margin-top: 2rem;
  font-size: 2rem;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content a {
  color: var(--blue-700);
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero-grid,
  .cards-grid,
  .signal-grid,
  .agent-layout,
  .two-columns,
  .about-grid,
  .contact-grid,
  .pricing-grid,
  .faq-grid,
  .policy-band { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .mobile-header-cta { display: inline-flex; }
  .hero-copy { padding-top: 1.8rem; }
  .section-head { flex-direction: column; align-items: start; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 4.3rem; }
  .hero { padding-top: 5.7rem; }
  .brand { gap: 0.75rem; }
  .brand img {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    box-shadow: 0 10px 24px rgba(3, 10, 20, 0.22);
  }
  .brand span { display: none; }
  .mobile-header-cta {
    margin-left: auto;
    padding: 0.68rem 0.9rem;
    font-size: 0.88rem;
  }
  .hero-copy { padding-top: 0; }
  h1 { max-width: 100%; }
  .mini-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}

.data-notice {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  color: var(--white);
}

.data-notice strong {
  display: block;
  margin-bottom: 0.35rem;
}

.data-notice p {
  margin: 0;
  color: rgba(255,255,255,0.82);
}

.data-notice a {
  display: inline-flex;
  margin-top: 0.55rem;
  color: var(--blue-100);
  font-weight: 800;
}


/* Widget flotante propio IA-Mar */
.iamar-chat-widget {
  position: fixed;
  right: clamp(1rem, 2vw, 1.6rem);
  bottom: clamp(1rem, 2vw, 1.6rem);
  z-index: 1000;
  width: min(420px, calc(100vw - 2rem));
  font-size: 0.95rem;
}

.iamar-widget-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(10, 33, 52, 0.94);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(2, 12, 22, 0.30);
  backdrop-filter: blur(12px);
  cursor: pointer;
  text-align: left;
}

.iamar-widget-toggle strong,
.iamar-widget-toggle small { display: block; }
.iamar-widget-toggle small { color: rgba(255,255,255,0.72); margin-top: 0.12rem; }
.iamar-widget-pulse {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--sea-300);
  box-shadow: 0 0 0 7px rgba(128, 212, 210, 0.16);
  flex: 0 0 auto;
}

.iamar-widget-body {
  margin-top: 0.75rem;
  max-height: min(720px, calc(100vh - 7rem));
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 24px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 24px 70px rgba(2, 12, 22, 0.34);
}

.iamar-widget-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.9rem;
}

.iamar-widget-head strong,
.iamar-widget-head span { display: block; }
.iamar-widget-head span { color: var(--muted); font-size: 0.86rem; margin-top: 0.12rem; }
.iamar-widget-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.iamar-chat-widget .agent-transcript {
  max-height: 270px;
  padding-right: 0.25rem;
}

.iamar-chat-widget .agent-bubble {
  max-width: 94%;
  box-shadow: none;
}

.iamar-chat-widget .agent-input { min-height: 76px; }
.iamar-chat-widget .agent-actions { gap: 0.55rem; }
.iamar-chat-widget .btn { width: auto; padding: 0.72rem 0.9rem; }
.iamar-chat-widget .agent-summary { border: 1px solid var(--line); border-radius: 18px; }
.iamar-chat-widget .agent-summary pre { max-height: 160px; overflow: auto; }

@media (max-width: 640px) {
  .iamar-chat-widget {
    right: 0.7rem;
    bottom: 0.7rem;
    width: calc(100vw - 1.4rem);
  }
  .iamar-widget-body { max-height: calc(100vh - 6rem); border-radius: 20px; }
  .iamar-chat-widget .agent-actions { flex-direction: column; }
  .iamar-chat-widget .btn { width: 100%; }
}

/* IA-Mar ElevenLabs widget: custom open/minimize controls */
.iamar-launcher,
.iamar-minimize {
  position: fixed;
  right: 1rem;
  z-index: 2147483000;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 16px 40px rgba(7, 42, 54, 0.22);
}

.iamar-launcher {
  bottom: 1rem;
  display: grid;
  gap: 0.1rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), #0b6f86);
  text-align: left;
}

.iamar-launcher span {
  font-weight: 800;
  line-height: 1.05;
}

.iamar-launcher small {
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
}

.iamar-minimize {
  bottom: min(28rem, calc(100vh - 5rem));
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--brand-strong);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 110, 140, 0.16);
  font-weight: 800;
}

body.iamar-widget-open .iamar-launcher {
  display: none;
}

@media (max-width: 640px) {
  .iamar-launcher {
    right: 0.8rem;
    bottom: 0.8rem;
    max-width: calc(100vw - 1.6rem);
  }

  .iamar-minimize {
    right: 0.8rem;
    bottom: min(26rem, calc(100vh - 4.5rem));
  }
}
