/* ===================================================
   Odoo Clone — Static CSS
   Converted from Tailwind/Next.js to pure CSS
   =================================================== */

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  --brand: rgb(113, 75, 103);
  --brand-hover: rgb(95, 60, 87);
  --brand-foreground: #fff;
  --heading: rgb(17, 24, 39);
  --body: rgb(55, 65, 81);
  --muted-bg: rgb(243, 244, 246);
  --whatsapp: rgb(37, 211, 102);
  --highlight-yellow: #FFD43B;
  --highlight-blue: #74B9FF;
  --background: #fff;
  --border: rgb(229, 231, 235);
  --container-page: 1320px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  background: var(--background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  color: var(--heading);
  font-family: 'Caveat', cursive;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 88px; line-height: 1; }
h2 { font-size: 64px; line-height: 1.05; }
h3 { font-size: 40px; line-height: 1.1; }
p  { color: var(--heading); }

/* ---------- Container ---------- */
.container-page {
  max-width: var(--container-page);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ---------- Highlight Brushstrokes ---------- */
.x-highlight-yellow {
  background: linear-gradient(transparent 55%, var(--highlight-yellow) 55%, var(--highlight-yellow) 90%, transparent 90%);
  padding: 0 0.1em;
}
.x-highlight-blue {
  background: linear-gradient(transparent 70%, var(--highlight-blue) 70%, var(--highlight-blue) 95%, transparent 95%);
  padding: 0 0.1em;
}

/* ---------- Buttons ---------- */
.btn-odoo-primary {
  background-color: var(--brand);
  color: var(--brand-foreground);
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 150ms ease;
}
.btn-odoo-primary:hover { background-color: var(--brand-hover); }

.btn-odoo-light {
  background-color: #fff;
  color: var(--heading);
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 150ms ease;
}
.btn-odoo-light:hover { background-color: var(--muted-bg); }

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 60px;
  background: #fff;
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: 'Caveat', cursive;
  font-size: 1.875rem;
  color: var(--heading);
  line-height: 1;
}

/* Nav */
.header-nav {
  display: none;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}

.dropdown { position: relative; }

.dropdown-trigger {
  padding: 8px 12px;
  color: var(--heading);
  border-radius: 6px;
  transition: background 0.15s;
}
.dropdown-trigger:hover,
.dropdown-trigger.active { background: var(--muted-bg); }

.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border-radius: 12px;
  border: 1px solid var(--border);
  z-index: 40;
}
.dropdown-panel.open { display: block; }

.dropdown-grid { display: grid; gap: 4px; padding: 16px; }
.dropdown-grid--3col { grid-template-columns: repeat(3, 1fr); min-width: 600px; }
.dropdown-grid--2col { grid-template-columns: repeat(2, 1fr); min-width: 400px; }
.dropdown-grid--1col { min-width: 220px; }

.dropdown-link {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--heading);
  transition: background 0.15s;
  white-space: nowrap;
}
.dropdown-link:hover { background: var(--muted-bg); }

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-link {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--whatsapp);
  font-size: 15px;
  padding: 0 8px;
}
.whatsapp-link svg { width: 20px; height: 20px; }

.signin-link {
  color: var(--heading);
  font-size: 15px;
  display: none;
  padding: 0 8px;
}

.try-free-btn {
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s;
}
.try-free-btn:hover { background: var(--brand-hover); }

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  padding-top: 96px;
  padding-bottom: 64px;
  text-align: center;
}
.hero h1 {
  font-size: 64px;
  margin-bottom: 24px;
}
.hero h2 {
  font-size: 40px;
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hero-buttons .btn-extra { display: none; }

/* ===================================================
   APPS GRID
   =================================================== */
.apps-grid-section {
  background: var(--muted-bg);
  padding-top: 48px;
  padding-bottom: 64px;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 16px;
  justify-items: center;
}
.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 96px;
}
.app-card-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.app-card:hover .app-card-icon { transform: translateY(-4px); }
.app-card-icon img { width: 48px; height: 48px; }
.app-card-name {
  font-size: 13px;
  color: var(--heading);
  text-align: center;
  line-height: 1.3;
}

/* ===================================================
   APPS INTRO
   =================================================== */
.apps-intro {
  background: var(--muted-bg);
  padding-bottom: 64px;
  text-align: center;
}
.apps-intro-inner { max-width: 896px; margin: 0 auto; }
.apps-intro p {
  font-size: 1.5rem;
  line-height: 1.625;
  margin-bottom: 24px;
}
.apps-intro-image {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.apps-intro-image img { opacity: 0.9; max-width: 420px; }

/* ===================================================
   QUOTE BANNER
   =================================================== */
.quote-banner {
  background: var(--muted-bg);
  padding: 64px 0;
}
.quote-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1024px;
  margin: 0 auto;
}
.quote-avatar-wrapper { position: relative; flex-shrink: 0; }
.quote-avatar-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translate(12px, 12px);
}
.quote-avatar {
  width: 128px; height: 128px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.quote-text {
  text-align: center;
}
.quote-text p:first-child {
  font-family: 'Caveat', cursive;
  font-size: 40px;
  line-height: 1.2;
  color: var(--heading);
  font-weight: 700;
}
.quote-text .quote-author {
  margin-top: 16px;
  color: var(--body);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
}

/* ===================================================
   QUALITY WORK SECTION
   =================================================== */
.quality-work { padding: 96px 0; }
.section-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 48px;
}
.section-header h2 {
  font-size: 48px;
  margin-bottom: 24px;
}
.section-header p {
  font-size: 1.25rem;
  color: var(--body);
}

.card-grid-2 {
  display: grid;
  gap: 32px;
  max-width: 1024px;
  margin: 0 auto;
}
.feature-card {
  border-radius: 24px;
  background: var(--muted-bg);
  padding: 32px;
  overflow: hidden;
}
.feature-card h3 {
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--body);
  margin-bottom: 24px;
}
.feature-card-img {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.feature-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* ═══════════════════════════════════════════════════
   PRODUCTIVITY — exact odoo.com
   "Optimized for productivity" mosaic of 4 screenshots
   ═══════════════════════════════════════════════════ */
.o-prod {
  padding: 96px 0;
  background: var(--muted-bg);
  overflow: hidden;
}
/* Heading: italic Caveat + yellow brush on "productivity" */
.o-prod__title {
  font-family: 'Caveat', cursive;
  font-size: 52px;
  font-weight: 700;
  font-style: italic;
  color: var(--heading);
  line-height: 1.1;
  margin-bottom: 40px;
  text-align: left;
}
.o-prod__em {
  font-style: italic;
  background: linear-gradient(
    transparent 55%,
    var(--highlight-yellow) 55%,
    var(--highlight-yellow) 88%,
    transparent 88%
  );
  padding: 0 0.05em;
}
/* ── Desktop mosaic ── */
.o-prod__mosaic {
  display: none;
  position: relative;
  width: 100%;
  height: 900px;
  margin: 0 auto 56px;
}
.o-prod__shot {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
  background: #fff;
}
.o-prod__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* shot--1: left — project kanban tall */
.o-prod__shot--1 { left:0; top:0; width:47%; height:57%; z-index:1; }
/* shot--2: center overlay — ctrl-k + AI chat */
.o-prod__shot--2 { left:20%; top:33%; width:52%; z-index:3; }
/* shot--3: right top — activity dashboard */
.o-prod__shot--3 { right:0; top:0; width:47%; height:43%; z-index:1; }
/* shot--4: full-width bottom — two kanban panels */
.o-prod__shot--4 { left:0; bottom:0; width:100%; height:40%; z-index:2; }

/* ── Mobile ── */
.o-prod__mobile {
  display: block;
  margin: 0 auto 40px;
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
.o-prod__mobile img { width:100%; height:auto; display:block; }

/* ── Text + CTA ── */
.o-prod__desc {
  font-size: 1.125rem;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 680px;
}
.o-prod__desc strong { color:var(--heading); font-weight:700; }
.o-prod__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.o-prod__cta-arrow {
  width: 36px;
  height: auto;
  opacity: 0.75;
  margin-left: 12px;
  transform: rotate(10deg);
}
.o-prod__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Caveat', cursive;
  font-size: 26px;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
}
.o-prod__cta-link:hover { opacity:0.75; }

/* ── Responsive ── */
@media (min-width: 768px)  { .o-prod__title { font-size:64px; } }
@media (min-width: 1024px) {
  .o-prod__title  { font-size:80px; }
  .o-prod__mosaic { display:block; }
  .o-prod__mobile { display:none; }
}

/* ===================================================
   NATIVE AI SECTION
   =================================================== */
.native-ai { padding: 96px 0; }
.ai-video-wrapper {
  max-width: 1024px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}
.ai-video-wrapper video { width: 100%; height: auto; display: block; }
.ai-powered {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
  color: var(--body);
}
.ai-powered img { height: 28px; width: auto; }

/* ===================================================
   ENTERPRISE SOFTWARE SECTION
   =================================================== */
.enterprise {
  padding: 96px 0;
  background: var(--muted-bg);
}
.enterprise-video {
  max-width: 1200px;
  margin: 0 auto 48px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}
.enterprise-video video { width: 100%; height: auto; display: block; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Caveat', cursive;
  font-size: 72px;
  color: var(--heading);
  line-height: 1;
  font-weight: 700;
}
.stat-label {
  font-size: 18px;
  color: var(--body);
  margin-top: 8px;
}
.unique-value-img {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.unique-value-img img { width: 100%; max-width: 768px; height: auto; }

/* ===================================================
   HAPPY USERS SECTION
   =================================================== */
.happy-users { padding: 80px 0; }
.happy-users-inner {
  text-align: center;
  max-width: 896px;
  margin: 0 auto;
}
.happy-users h2 {
  font-size: 48px;
  margin-bottom: 16px;
}
.happy-users p.subtitle {
  font-size: 1.25rem;
  color: var(--body);
  margin-bottom: 40px;
}

.testimonial-card {
  margin-top: 64px;
  display: grid;
  gap: 32px;
  align-items: center;
  text-align: left;
  background: var(--muted-bg);
  border-radius: 24px;
  padding: 32px;
}
.testimonial-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-logo { height: 40px; width: auto; }
.testimonial-quote img { margin-bottom: 16px; }
.testimonial-quote p {
  font-size: 1.25rem;
  color: var(--heading);
  line-height: 1.625;
  margin-bottom: 16px;
}
.testimonial-quote .author { color: var(--body); }
.testimonial-quote .author strong {
  font-weight: 600;
  color: var(--heading);
}

/* ===================================================
   TESTIMONIAL SECTION
   =================================================== */
.testimonial-section {
  padding: 80px 0;
  background: var(--muted-bg);
}
.testimonial-section-inner {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-section-inner .quote-icon { margin: 0 auto 24px; }
.testimonial-section-inner .big-quote {
  font-family: 'Caveat', cursive;
  font-size: 36px;
  line-height: 1.3;
  color: var(--heading);
  margin-bottom: 24px;
  font-weight: 700;
}
.testimonial-section-inner .author { color: var(--body); }
.testimonial-section-inner .author strong {
  font-weight: 600;
  color: var(--heading);
}

/* ===================================================
   GROWTH CTA SECTION
   =================================================== */
.growth-cta {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.growth-cta-inner {
  text-align: center;
  max-width: 896px;
  margin: 0 auto;
}
.growth-cta-headline { position: relative; display: inline-block; }
.growth-cta h2 {
  font-size: 56px;
  margin-bottom: 32px;
}
.growth-cta-arrow {
  position: absolute;
  right: -64px;
  top: 40px;
  display: none;
}
.growth-cta p.desc {
  font-size: 1.25rem;
  color: var(--body);
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.growth-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.growth-cta .signin-text {
  margin-top: 24px;
  font-size: 14px;
  color: var(--body);
}
.growth-cta .signin-text a {
  text-decoration: underline;
  transition: color 0.15s;
}
.growth-cta .signin-text a:hover { color: var(--heading); }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--muted-bg);
  padding-top: 48px;
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--body);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.footer-brand { grid-column: span 2; }
.footer-logo {
  font-family: 'Caveat', cursive;
  font-size: 2.25rem;
  color: var(--heading);
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-brand p {
  max-width: 320px;
  color: var(--body);
}

.footer-col h4 {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--heading);
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-col a { transition: color 0.15s; }
.footer-col a:hover { color: var(--heading); }

.footer-languages { grid-column: span 2; }
.footer-languages h4 {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--heading);
  margin-bottom: 12px;
  font-weight: 700;
}
.lang-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 4px;
  max-height: 224px;
  overflow: hidden;
}
.lang-list a:hover { color: var(--heading); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
}
.footer-legal { display: flex; gap: 16px; }

/* ===================================================
   RESPONSIVE — md (768px+)
   =================================================== */
@media (min-width: 768px) {
  .hero h1 { font-size: 88px; }
  .hero h2 { font-size: 64px; }
  .hero-buttons .btn-extra { display: inline; }

  .apps-grid { grid-template-columns: repeat(6, 1fr); }

  .quote-inner { flex-direction: row; }
  .quote-avatar { width: 160px; height: 160px; }
  .quote-text { text-align: left; }
  .quote-text p:first-child { font-size: 56px; }

  .section-header h2 { font-size: 72px; }
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid-3 { grid-template-columns: repeat(3, 1fr); }

  .testimonial-card {
    grid-template-columns: 1fr 2fr;
    padding: 48px;
  }
  .testimonial-avatar-col { align-items: flex-start; }

  .testimonial-section-inner .big-quote { font-size: 48px; }

  .growth-cta h2 { font-size: 88px; }
  .growth-cta-arrow { display: block; }

  .whatsapp-link { display: inline-flex; }
  .signin-link { display: inline; }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* sm (640px+) */
@media (min-width: 640px) {
  .apps-grid { grid-template-columns: repeat(4, 1fr); }
}

/* lg (1024px+) */
@media (min-width: 1024px) {
  .header-nav { display: flex; }
  .apps-grid { grid-template-columns: repeat(8, 1fr); }

  .footer-grid { grid-template-columns: repeat(6, 1fr); }
  .footer-brand { grid-column: span 2; }
  .footer-languages { grid-column: span 2; }
}

/* Smaller screens */
@media (max-width: 767px) {
  .happy-users h2 { font-size: 36px; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-number { font-size: 56px; }
}

/* ===================================================
   WORDPRESS THEME — ADDITIONS ONLY
   These do not override any source CSS above.
   =================================================== */

/* Font import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Caveat:wght@400;700&display=swap');

/* WP body/page structure */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.page-content { padding-top: 60px; }
body.admin-bar .page-content { padding-top: 60px; }

/* Skip link */
.skip-to-content {
  position: absolute; top: -100px; left: 16px;
  background: var(--brand); color: #fff;
  padding: 10px 20px; border-radius: 6px; z-index: 9999;
  transition: top 0.2s; font-size: 14px;
}
.skip-to-content:focus { top: 16px; }

/* Mobile nav (not in source — added for WP theme) */
.mobile-menu-btn {
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 6px;
  cursor: pointer; background: none; border: none;
}
.mobile-menu-btn span { display: block; width: 20px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .25s, opacity .25s; }
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: #fff; z-index: 49; overflow-y: auto; padding: 16px; flex-direction: column; gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 16px; border-radius: 8px; color: var(--heading); font-size: 17px; font-weight: 500; }
.mobile-nav a:hover { background: var(--muted-bg); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 48; }
.mobile-overlay.open { display: block; }

/* Elementor compat */
.nexus-elementor-page { width: 100%; max-width: 100%; padding: 0; }
body.no-header .site-header { display: none; }
body.no-header .page-content { padding-top: 0; }
body.no-footer .site-footer  { display: none; }

/* WP nav menu items */
.header-nav .menu-item a { padding: 8px 12px; color: var(--heading); border-radius: 6px; transition: background 0.15s; display: inline-block; }
.header-nav .menu-item a:hover { background: var(--muted-bg); }

/* Inner pages */
.nexus-page-wrap { max-width: 860px; margin: 0 auto; padding: 64px 24px 80px; }
.nexus-page-title { font-family: 'Caveat', cursive; font-size: 56px; font-weight: 700; color: var(--heading); margin-bottom: 24px; }
.nexus-entry-content { font-size: 17px; line-height: 1.8; color: var(--body); }
.nexus-entry-content h2 { font-size: 40px; margin: 32px 0 12px; }
.nexus-entry-content h3 { font-size: 30px; margin: 24px 0 10px; }
.nexus-entry-content p { margin-bottom: 16px; color: var(--body); }
.nexus-entry-content ul, .nexus-entry-content ol { padding-left: 24px; margin-bottom: 16px; list-style: disc; }
.nexus-entry-content li { margin-bottom: 6px; }
.nexus-entry-content a { color: var(--brand); text-decoration: underline; }
.nexus-post-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.nexus-card-body { padding: 24px; }
.nexus-card-title { font-family: 'Caveat', cursive; font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.nexus-card-title a { color: var(--heading); }
.nexus-card-excerpt { font-size: 14px; color: var(--body); line-height: 1.6; margin-bottom: 16px; }
.nexus-404 { text-align: center; padding: 120px 24px; min-height: 60vh; }
.nexus-404 h1 { font-size: 120px; color: var(--brand); line-height: 1; }

/* App cards in inner pages (archive) */
.app-card-icon svg { display: block; }

/* ═══════════════════════════════════════════════════
   HAPPY USERS — exact odoo.com: user mosaic + pill card
   ═══════════════════════════════════════════════════ */
.s-users {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: #fff;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 60 user boxes in a flex-wrap grid behind the pill */
.s-users__mosaic {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 8px;
  padding: 16px;
  pointer-events: none;
}
.s-users__box {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--muted-bg);
}
.s-users__box--color { border-radius: 50%; }

/* Pill card — centered overlay */
.s-users__pill {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 999px;
  padding: 48px 80px;
  text-align: center;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  max-width: 680px;
  width: 90%;
}
/* "happy" superscript with arrow */
.s-users__happy-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  justify-content: flex-end;
  width: 100%;
  padding-right: 32px;
}
.s-users__arrow {
  width: 32px;
  height: auto;
  transform: scaleX(-1);
  opacity: 0.7;
}
.s-users__happy {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  font-weight: 700;
  color: #F59E0B; /* amber/orange — matches odoo.com */
  font-style: italic;
}
/* Main heading — ONE line, Caveat, huge */
.s-users__title {
  font-family: 'Caveat', cursive;
  font-size: 56px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.05;
  margin-bottom: 12px;
}
.s-users__sub {
  font-size: 18px;
  color: var(--body);
}

@media (max-width: 768px) {
  .s-users__pill { padding: 32px 24px; border-radius: 24px; }
  .s-users__title { font-size: 36px; }
  .s-users__box { width: 56px; height: 56px; }
}
@media (min-width: 1024px) {
  .s-users__title { font-size: 72px; }
  .s-users { min-height: 520px; }
}

/* ═══════════════════════════════════════════════════
   TESTIMONIAL — exact odoo.com with real photos
   ═══════════════════════════════════════════════════ */
.s-testi {
  padding: 80px 0;
  background: var(--muted-bg);
}
.s-testi__inner {
  max-width: 960px;
  margin: 0 auto;
}
.s-testi__quote-icon {
  margin-bottom: 24px;
}
.s-testi__quote-icon img { width: 64px; height: auto; }
.s-testi__text {
  font-size: 1.375rem;
  line-height: 1.7;
  color: var(--heading);
  font-style: normal;
  margin-bottom: 32px;
  font-family: 'Inter', sans-serif;
}
.s-testi__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.s-testi__person {
  display: flex;
  align-items: center;
  gap: 16px;
}
.s-testi__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.s-testi__info { display: flex; flex-direction: column; gap: 2px; }
.s-testi__info strong { font-size: 16px; font-weight: 700; color: var(--heading); }
.s-testi__info span  { font-size: 14px; color: var(--body); }
.s-testi__logo { height: 36px; width: auto; }

@media (max-width: 768px) {
  .s-testi__text { font-size: 1.1rem; }
  .s-testi__footer { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════
   CSS VARIABLE ALIASES — backward compat
   Some templates/widgets use Bootstrap-style names
   ═══════════════════════════════════════════════════ */
:root {
  /* Aliases so old inline styles still work */
  --gray-50:  rgb(249, 250, 251);
  --gray-100: rgb(243, 244, 246); /* = --muted-bg */
  --gray-200: rgb(229, 231, 235); /* = --border */
  --gray-300: rgb(209, 213, 219);
  --gray-400: rgb(156, 163, 175);
  --muted:    rgb(107, 114, 128);
}

/* .container alias for Elementor widgets and legacy templates */
.container {
  max-width: var(--container-page);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Elementor full-width section fix */
.elementor-section-stretched {
  left: 0 !important;
  max-width: 100% !important;
}

/* Elementor editor: prevent our fixed header from hiding toolbar */
body.elementor-editor-active #site-header {
  top: 32px;
}

/* Elementor popup fix */
.elementor-location-popup .site-header,
.elementor-location-popup .site-footer {
  display: none !important;
}

/* Page-content offset for fixed header */
.page-content {
  padding-top: 60px;
}
body.admin-bar .page-content {
  padding-top: 60px;
}
body.admin-bar #site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar #site-header { top: 46px; }
}

/* Elementor-built pages: remove container constraint */
.nexus-elementor-page {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* No-header / no-footer page templates */
body.nexus-landing-page .site-header,
body.nexus-landing-page .site-footer,
body.nexus-canvas-page  .site-header,
body.nexus-canvas-page  .site-footer {
  display: none !important;
}
body.nexus-landing-page .page-content,
body.nexus-canvas-page  .page-content {
  padding-top: 0 !important;
}
