/* Odoo hero — copy and standalone visual share one row on desktop. */
.odoo-hero-visual {
  position: relative;
  isolation: isolate;
  overflow: visible;
  display: block;
  min-height: 0;
  padding: clamp(38px, 4.2vw, 64px) 0 clamp(42px, 4.5vw, 68px);
  background: #fbfcfd;
}
.odoo-hero-visual__inner {
  position: relative;
  z-index: 1;
  width: min(92%, 1500px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
.odoo-hero-visual__copy { position: relative; z-index: 2; width: 100%; min-width: 0; padding: 0; }
.odoo-hero-visual__copy .eyebrow { margin: 0 0 22px; }
.odoo-hero-visual__copy h2 {
  max-width: 680px; margin: 0; font-size: clamp(42px, 4.7vw, 72px);
  line-height: .99; letter-spacing: -.055em;
}
.odoo-hero-visual__business { display: block; }
.odoo-hero-visual__lead { max-width: 590px; margin: 22px 0 0; color: #485565; font-size: clamp(15px, 1.08vw, 18px); line-height: 1.65; }
.odoo-hero-visual__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.odoo-hero-visual__meta { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; color: #536071; font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.odoo-hero-visual__meta i { width: 4px; height: 4px; border-radius: 50%; background: #f15a24; }
.odoo-hero-visual__media {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  margin: 0;
  align-self: center;
  border-radius: 18px;
}
/* A soft violet halo gives the illustration depth without turning it into a card. */
.odoo-hero-visual__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7% 5% 1%;
  border-radius: 24px;
  background: radial-gradient(ellipse at 52% 48%, rgba(125, 82, 190, .20), rgba(125, 82, 190, .08) 48%, transparent 76%);
  filter: blur(28px);
  opacity: .8;
  pointer-events: none;
}
.odoo-hero-visual__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  box-shadow: 0 24px 54px rgba(23, 31, 52, .16), 0 8px 20px rgba(63, 48, 104, .09), 0 1px 3px rgba(23, 31, 52, .10);
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s ease, filter .55s ease;
  filter: saturate(1.025) contrast(1.012);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .odoo-hero-visual__media:hover .odoo-hero-visual__image {
    transform: translateY(-5px) scale(1.008);
    box-shadow: 0 31px 66px rgba(23, 31, 52, .19), 0 12px 26px rgba(91, 61, 151, .13), 0 1px 3px rgba(23, 31, 52, .10);
    filter: saturate(1.045) contrast(1.018);
  }
}
.odoo-hero-visual__image-description { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 900px) {
  .odoo-hero-visual__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; width: min(94%, 760px); }
  .odoo-hero-visual__copy h2 { font-size: clamp(38px, 5.2vw, 54px); }
  .odoo-hero-visual__actions .btn { font-size: 11px; padding-inline: 13px; }
}
@media (max-width: 680px) {
  .odoo-hero-visual { padding: 30px 0 38px; }
  .odoo-hero-visual__inner { width: calc(100% - 36px); display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
  .odoo-hero-visual__copy .eyebrow { margin-bottom: 15px; font-size: 10px; }
  .odoo-hero-visual__copy h2 { font-size: clamp(39px, 10.5vw, 54px); }
  .odoo-hero-visual__lead { margin-top: 14px; font-size: 14px; line-height: 1.55; }
  .odoo-hero-visual__actions { gap: 8px; margin-top: 18px; }
  .odoo-hero-visual__actions .btn { min-height: 42px; padding-inline: 14px; font-size: 11px; }
  .odoo-hero-visual__meta { margin-top: 18px; font-size: 9px; gap: 9px; }
  .odoo-hero-visual__media { width: 100%; margin: 0; }
  .odoo-hero-visual__image { width: 100%; max-height: none; border-radius: 12px; box-shadow: 0 16px 34px rgba(23, 31, 52, .15), 0 5px 14px rgba(63, 48, 104, .08); }
  .odoo-hero-visual__media::before { inset: 8% 5% 0; filter: blur(22px); }
}
@media (prefers-reduced-motion: reduce) { .odoo-hero-visual * { scroll-behavior: auto; } }
