:root {
  --accent: #F2B233;
  --accent-soft: #FFF6E6;
  --accent-dark: #B7791F;
  --ink: #404850;
  --muted: #6B7280;
  --bg: #F6F8FA;
  --card: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  --shadow-soft: 0 8px 20px rgba(16, 24, 40, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 250, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.brand img {
  height: 64px;
  width: auto;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navlinks a, .navlinks button {
  font: inherit;
  background: transparent;
  border: 0;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
}

.navlinks a:hover, .navlinks button:hover {
  background: rgba(64, 72, 80, 0.06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0px); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #06211d;
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
}

.mobile-toggle {
  display: none;
}

.dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: min(620px, calc(100vw - 40px));
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
}

.dropdown.open .dropdown-panel {
  display: block;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.drop-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}
.drop-item:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 178, 51, 0.8);
  background: rgba(242, 178, 51, 0.08);
}

.drop-title {
  font-weight: 700;
  margin: 0 0 4px 0;
}
.drop-sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  padding: 56px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-soft);
  color: #0b3b34;
  border: 1px solid rgba(242, 178, 51, 0.35);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.h1 {
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.08;
  margin: 14px 0 10px;
  letter-spacing: -0.02em;
}
.subhead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 56ch;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.mock {
  border-radius: 14px;
  border: 1px dashed rgba(64, 72, 80, 0.25);
  background: linear-gradient(180deg, rgba(242,178,51,0.12), rgba(255,255,255,0));
  padding: 18px;
}
.mock h3 {
  margin: 0 0 8px;
}
.mock p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 40px 0;
}

.section h2 {
  font-size: 30px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.section p.lead {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 75ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
}


/* Product platform logos (home tiles) */
.platform-logo{
  display:block;
  height:28px;
  width:auto;
  max-width: 220px;
  object-fit: contain;
  margin: 12px 0 10px;
}
@media (max-width: 520px){
  .platform-logo{ height:26px; max-width: 200px; }
}

/* Product page hero logos */
.product-logo{
  display:block;
  height:44px;
  width:auto;
  max-width: 320px;
  object-fit: contain;
  margin: 10px 0 10px;
}
@media (max-width: 520px){
  .product-logo{ height:38px; max-width: 260px; }
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.list {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}
.list li { margin: 7px 0; }

.cta {
  background: linear-gradient(135deg, rgba(242,178,51,0.18), rgba(255,255,255,0.0));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0;
}
.cta h3 {
  margin: 0 0 6px;
  font-size: 22px;
}
.cta p {
  margin: 0;
  color: var(--muted);
}

.footer {
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }

.hr {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.small {
  font-size: 14px;
  color: var(--muted);
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.table th, .table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.table th {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(64,72,80,0.03);
}
.table tr:last-child td { border-bottom: 0; }

.notice {
  border: 1px solid rgba(242,178,51,0.45);
  background: rgba(242,178,51,0.10);
  padding: 12px 14px;
  border-radius: 14px;
  color: #0b3b34;
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .navlinks {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .navlinks.open { display: flex; }
  .mobile-toggle {
    display: inline-flex;
  }
  .nav-cta { display: none; }
  .dropdown-panel {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-top: 8px;
  }
  .dropdown-grid { grid-template-columns: 1fr; }
}


/* Product logo lockups (text + iQ mark) */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.lockup .word {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lockup.xl .word { font-size: clamp(34px, 4.6vw, 56px); }
.lockup.lg .word { font-size: 34px; }
.lockup.md .word { font-size: 22px; }
.lockup.sm .word { font-size: 18px; }

.iqmark {
  position: relative;
  width: 86px;
  height: 44px;
  display: inline-block;
  transform: translateY(2px);
}
.iqmark .i-body {
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent);
}
.iqmark .i-dot {
  position: absolute;
  left: 2px;
  top: -2px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent);
}
.iqmark .q-body {
  position: absolute;
  left: 26px;
  top: 0px;
  width: 58px;
  height: 44px;
  border-radius: 18px;
  background: var(--accent);
}
.iqmark .q-tail {
  position: absolute;
  left: 22px;
  top: 18px;
  width: 20px;
  height: 20px;
  background: var(--bg);
  border-radius: 12px;
  transform: rotate(28deg);
}

/* Optional: if you use an actual PNG logo */
.product-logo-img {
  max-width: 520px;
  width: 100%;
  height: auto;
}


/* --- Product logos --- */
.hero-logo img{
  height: 56px;
  width: auto;
  max-width: 100%;
  display: block;
}
@media (max-width: 760px){
  .hero-logo img{ height: 46px; }
}
.drop-row{
  display:flex;
  gap:12px;
  align-items:center;
}
.drop-logo{
  height: 26px;
  width: auto;
  flex: 0 0 auto;
}
.tile-logo{
  height: 34px;
  width: auto;
  margin: 10px 0 8px;
  display:block;
}


/* Footer CTA + Footer (shared across pages) */
.footer-cta{
  padding: 34px 0 10px;
  background: var(--bg);
}
.footer-cta .cta-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 26px 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-cta .cta-left h2{
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.footer-cta .cta-left p{
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 560px;
}
.footer-cta .cta-email{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-cta .cta-right{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 320px;
}
.footer-cta .cta-btn{
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}
.footer-cta .cta-secondary{
  background: #fff;
}
.footer-title{
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--ink);
}
.footer-link{
  margin: 0 0 6px;
}
@media (max-width: 900px){
  .footer-cta .cta-card{
    flex-direction: column;
  }
  .footer-cta .cta-right{
    min-width: 0;
    width: 100%;
  }
}

/* Accessibility */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}


/* Language selector */
.lang-switch{display:flex;align-items:center;gap:10px;margin-right:14px;font-weight:600;color:var(--muted);}
.lang-switch .lang-link{color:var(--muted);text-decoration:none;padding:6px 8px;border-radius:10px;border:1px solid transparent;}
.lang-switch .lang-link:hover{color:var(--ink);border-color:var(--border);background:rgba(255,255,255,.7);}
.lang-switch .lang-link.is-active{color:var(--ink);border-color:var(--border);background:rgba(255,255,255,.9);}
.lang-switch .lang-sep{opacity:.6;}
@media (max-width: 880px){.lang-switch{margin:10px 0 0 0;}
.nav-cta{flex-wrap:wrap;}}


/* --- advisoriQ page components (crmiQ theme) --- */
.alt{
  background: rgba(255,255,255,0.65);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-subnav-wrap{
  position: sticky;
  top: 64px;
  z-index: 60;
  background: rgba(246,248,250,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.page-subnav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  padding: 12px 0;
}
.page-subnav a{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  font-size: 14px;
}
.page-subnav a:hover{ transform: translateY(-1px); }

.floating-demo-button{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--accent);
  border: 1px solid rgba(0,0,0,0.08);
  color: #06211d;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.floating-demo-button:hover{ transform: translateY(-1px); }
@media (max-width: 520px){
  .floating-demo-button{
    left: 12px;
    right: 12px;
    text-align:center;
  }
}

.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 900px){
  .feature-grid{ grid-template-columns: 1fr; }
}

.logo-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 980px){
  .logo-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .logo-grid{ grid-template-columns: 1fr; }
}
.logo-grid .logo-tile{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  min-height: 230px;
}
.logo-grid .logo-tile img{
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.logo-grid .title{
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}
.logo-grid .desc{
  margin: 0;
  color: var(--muted);
}

/* Rotating trusted-by logos */
.logo-marquee{
  overflow:hidden;
  position:relative;
}
.logo-marquee::before,
.logo-marquee::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width: 80px;
  pointer-events:none;
  z-index: 1;
}
.logo-marquee::before{
  left:0;
  background: linear-gradient(90deg, var(--bg), rgba(246,248,250,0));
}
.logo-marquee::after{
  right:0;
  background: linear-gradient(270deg, var(--bg), rgba(246,248,250,0));
}
.marquee-track{
  display:flex;
  gap: 16px;
  width: max-content;
  animation: crmiq-marquee 26s linear infinite;
}
.logo-marquee:hover .marquee-track{ animation-play-state: paused; }

.logo-marquee .logo-tile{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 16px 22px;
  min-width: 260px;
  height: 110px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.logo-marquee .logo-tile img{
  max-height: 64px;
  width:auto;
  object-fit: contain;
}

@keyframes crmiq-marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* “See in action” blocks */
.action-block{ margin-top: 22px; }
.action-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.action-shot{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.action-caption{
  margin: 12px auto 0;
  text-align: center;
  color: var(--muted);
  max-width: 80ch;
}

/* Testimonials */
.testimonials{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 900px){
  .testimonials{ grid-template-columns: 1fr; }
}
.quote{
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
}

/* Pricing */
.pricing-card{
  max-width: 560px;
  margin: 0 auto;
}
.price{
  font-size: 28px;
  font-weight: 900;
  margin: 6px 0;
}
.fine{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}


/* Zoho platform section (home page) */
.zoho-platform .kicker-logo{
  height: 22px;
  width: auto;
  display: inline-block;
}
.zoho-platform .zoho-grid{
  align-items: start;
}
.zoho-platform .zoho-stats{
  margin-top: 14px;
}
.zoho-platform .zoho-card{
  padding: 18px;
}
.zoho-platform .zoho-mark{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 6px 0;
  margin-bottom: 12px;
}
.zoho-platform .zoho-logo{
  max-height: 110px;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.zoho-platform .zoho-cta{
  margin-top: 14px;
}
@media (max-width: 900px){
  .zoho-platform .zoho-logo{ max-height: 90px; }
}
/* --- Zoho logo hard sizing override (safety) --- */
.zoho-platform .kicker-logo{
  height: 22px !important;
  width: auto !important;
  max-width: 140px;
  display: inline-block;
}

.zoho-platform .zoho-mark{
  max-height: 140px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoho-platform .zoho-logo{
  max-height: 120px !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px){
  .zoho-platform .zoho-logo{ max-height: 100px !important; }
}

