/* Home page ("/") — measurements taken from the Framer desktop layout at 1440px. */

.home { background: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: var(--white); padding: 55px 0 33px; text-align: center; overflow: hidden; }
.hero-orbit { width: min(1337px, 93vw); margin-inline: auto; }
.hero-orbit img { width: 100%; aspect-ratio: 1337 / 550; }
.hero-copy { position: relative; margin-top: calc(min(1337px, 93vw) * -0.071); display: flex; flex-direction: column; align-items: center; gap: 20px; padding-inline: var(--gutter); }
.hero-copy h1 { max-width: 907px; }
.hero-copy .hero-lines { font-family: var(--font-manrope); font-weight: 500; font-size: 24px; line-height: 40px; color: #d3d3d3; }
.hero-copy .btn { margin-top: 24px; }

/* ---------- Solution showcases (Automotive / Real Estate) ---------- */
.showcase { padding: 32px 0 40px; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.showcase--dark { background: var(--black); color: var(--white); }
.showcase--light { background: var(--white); color: var(--black); padding: 48px 0; }
.showcase-media { position: relative; width: 100%; }
.showcase-media--full img { width: 100%; aspect-ratio: 1440 / 422; }
.showcase-media--overlay .showcase-copy { position: absolute; left: 0; right: 0; top: 104px; margin-inline: auto; width: 300px; }
.showcase-copy h2 { font-family: var(--font-gilroy); font-weight: 600; font-size: 56px; line-height: 60px; letter-spacing: -1.44px; color: #f5f5f7; }
.showcase-copy p { margin: 8px auto 0; max-width: 231px; font-family: var(--font-manrope); font-weight: 500; font-size: 17px; line-height: 25px; letter-spacing: -0.37px; }
.showcase-media--boxed { width: min(1080px, 100% - 2 * var(--gutter)); }
.showcase-media--boxed img { aspect-ratio: 1080 / 506; }
.showcase--light .showcase-heading h2 { font-family: var(--font-gilroy); font-weight: 700; font-size: 56px; line-height: 60px; letter-spacing: -1.44px; }
.showcase--light .showcase-heading p { margin: 6px auto 0; max-width: 474px; font-family: var(--font-manrope); font-weight: 500; font-size: 20px; line-height: 26px; letter-spacing: .23px; }
.showcase--light .showcase-heading { margin-top: 4px; }

.feature-row { display: grid; grid-template-columns: repeat(4, 278px); gap: 10px; justify-content: center; width: 100%; padding-inline: var(--gutter); }
.feature-card { border-radius: 16px; padding: 24px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; min-height: 162px; }
.feature-card h3 { font-family: var(--font-gilroy); font-weight: 700; font-size: 19px; line-height: 24px; letter-spacing: -0.6px; }
.feature-card p { font-family: var(--font-manrope); font-weight: 500; font-size: 14px; line-height: 20px; }
.feature-card--dark { background: #101011; color: #ededef; }
.feature-card--dark p { color: #a09fa6; }
.feature-card--light { background: #f5f5f5; color: #000; }
.showcase--dark .feature-row { margin-top: 0; }

/* ---------- By industry ---------- */
.industries { background: var(--black); color: var(--white); padding: 56px 0; text-align: center; }
.industries-head { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-inline: var(--gutter); }
.industries-head p { max-width: 478px; font-family: var(--font-manrope); font-weight: 500; font-size: 21px; line-height: 29px; letter-spacing: .23px; }
.industries-head .btn { margin-top: 16px; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 261px); gap: 48px; justify-content: center; margin-top: 32px; padding-inline: var(--gutter); }
.industry-card { display: flex; flex-direction: column; align-items: center; gap: 17px; }
.industry-card img { width: 100%; aspect-ratio: 261 / 198; border-radius: 6px; }
.industry-card h3 { font-family: var(--font-gilroy); font-weight: 700; font-size: 20px; line-height: 32px; letter-spacing: -0.6px; }
.industry-card span { display: block; font-family: var(--font-manrope); font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: -0.12px; color: #6e6e73; text-transform: uppercase; }

/* ---------- Zoho premium partner ---------- */
.partner { background: var(--white); padding: 32px 0 56px; text-align: center; }
.partner-orbit { width: min(1401px, 100% - 40px); margin-inline: auto; }
.partner-orbit img { width: 100%; aspect-ratio: 1401 / 511; }
.partner-copy { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; padding-inline: var(--gutter); }
.partner-copy h2 { max-width: 703px; color: var(--ink); }
.partner-copy p { max-width: 505px; font-family: var(--font-manrope); font-weight: 500; font-size: 21px; line-height: 29px; letter-spacing: .23px; color: #000; }
.partner-badge { width: 221px; margin-top: 18px; }
.partner-badge img { border-radius: 15px; aspect-ratio: 221 / 65; }

/* ---------- Light stack of panels ---------- */
.panels { background: var(--surface-light); padding: 48px 0; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.panel { width: min(1220px, 100% - 2 * var(--gutter)); background: var(--white); border-radius: 24px; }

/* Story (image with text overlay) */
.panel--story { position: relative; overflow: hidden; color: var(--white); background: #2a2a2a; }
.panel--story img { width: 100%; aspect-ratio: 1220 / 705; }
.story-copy { position: absolute; left: 68px; top: 81px; max-width: 380px; text-align: left; }
.story-copy .kicker { font-family: var(--font-gilroy); font-weight: 700; font-size: 24px; line-height: 28px; letter-spacing: .22px; }
.story-copy h2 { margin-top: 8px; font-family: var(--font-gilroy); font-weight: 700; font-size: 48px; line-height: 52px; letter-spacing: -0.14px; }
.story-copy .btn { margin-top: 23px; }

/* Split panels (AMC + final CTA) */
.panel--split { padding: 32px; min-height: 519px; display: flex; align-items: center; justify-content: space-around; gap: 32px; }
.split-copy { max-width: 494px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; }
.split-copy h2 { color: var(--ink); }
.split-copy p { font-family: var(--font-manrope); font-weight: 500; font-size: 21px; line-height: 29px; letter-spacing: .23px; color: #000; }
.split-copy .btn { margin-top: 16px; }
.split-copy--cta { max-width: 425px; }
.split-copy--cta h2 { font-family: var(--font-gilroy); font-weight: 700; font-size: 55px; line-height: 55px; letter-spacing: -1.2px; }
.split-copy--cta p { font-weight: 400; }
.avatar-circle { position: relative; width: 411px; height: 411px; flex: none; }
.avatar-circle::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #f6f6f6; }
.avatar-circle img { position: absolute; left: -22px; top: 0; width: 455px; max-width: none; aspect-ratio: 1; border-radius: 50%; }

/* Brands */
.panel--brands { padding: 48px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.panel--brands h2 { max-width: 500px; color: var(--ink); }
.brand-strip { width: min(1113px, 100%); margin-top: 34px; }
.brand-strip img { aspect-ratio: 1113 / 104; }
.panel--brands .brands-cta { margin-top: 46px; font-family: var(--font-manrope); font-weight: 500; font-size: 17px; line-height: 25px; letter-spacing: -0.37px; color: var(--ink); }
.panel--brands .brands-cta a { font-weight: 400; color: #0066cc; margin-left: 8px; }
.panel--brands .brands-cta a:hover { text-decoration: underline; }

/* Testimonials */
.panel--quotes { padding: 48px 32px; }
.quotes { position: relative; max-width: 1059px; margin-inline: auto; }
.quotes [data-carousel-track] { gap: 0; }
.quote { width: 100%; display: grid; grid-template-columns: 65px 1fr; gap: 85px; align-items: start; padding-inline: 6px 23px; }
.quote-mark { width: 65px; height: 135px; }
.quote blockquote p { font-family: var(--font-gilroy); font-weight: 500; font-size: 23px; line-height: 27.6px; color: #000; }
.quote figcaption { margin-top: 24px; font-family: var(--font-gilroy); font-weight: 500; font-size: 25px; line-height: 30px; color: #000; }
.quote figcaption strong { display: block; margin-top: 6px; font-weight: 700; }
.panel--quotes .carousel-btn { position: absolute; top: 173px; background: rgba(0,0,0,.2); color: #fff; }
.panel--quotes .carousel-btn:hover { background: rgba(0,0,0,.35); color: #fff; }
.panel--quotes .carousel-btn--prev { left: 25px; }
.panel--quotes .carousel-btn--next { right: 24px; }
.panel--quotes { position: relative; }

/* WhatsApp floating icon (custom code carried over from the old site — home page only) */
.whatsapp-fab { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; padding: 3px; border-radius: 50%; background: #4dc247; box-shadow: 2px 2px 6px rgba(0,0,0,.4); transition: box-shadow .2s ease; }
.whatsapp-fab:hover { box-shadow: 2px 2px 11px rgba(0,0,0,.7); }
.whatsapp-fab svg { width: 100%; height: 100%; fill: #fff; }

/* ---------- Tablet + phone (values measured from Framer at 900px; phone overrides below) ---------- */
@media (max-width: 1199px) {
  /* Hero */
  .hero { padding: 0 0 56px; }
  .hero-orbit { width: 100%; }
  .hero-orbit picture { display: block; }
  .hero-copy { gap: 0; }
  .hero-copy h1 { font-size: 56px; line-height: 70px; letter-spacing: -1.44px; }
  .hero-copy .hero-lines { font-size: 16px; line-height: 24px; }

  /* Automotive: Framer swaps in the bike/workflow composite, shown whole in a 342px-tall box */
  .showcase-media--full { padding-inline: 56px; }
  .showcase-media--full picture { display: block; }
  .showcase-media--full img { height: 342px; aspect-ratio: auto; object-fit: contain; }
  .showcase-media--overlay .showcase-copy { position: static; width: auto; margin-top: 32px; }
  .showcase-copy h2 { font-size: 40px; line-height: 50px; }
  .showcase-copy p { max-width: none; margin-top: 0; font-size: 16px; line-height: 25px; }
  .feature-row { display: flex; flex-wrap: wrap; justify-content: center; padding-inline: 32px; }
  .feature-card { flex: none; width: 278px; }

  /* Real estate */
  .showcase-media--boxed { width: calc(100% - 112px); }
  .showcase-media--boxed img { height: 342px; aspect-ratio: auto; object-fit: contain; }
  .showcase--light .showcase-heading { margin-top: 0; padding-inline: 24px; }
  .showcase--light .showcase-heading h2 { font-size: 40px; line-height: 50px; }
  .showcase--light .showcase-heading p { max-width: none; margin-top: 0; }

  /* By industry: cards wrap (4, 3+1 or 2+2 per row) */
  .industries { display: flex; flex-direction: column; gap: 32px; }
  .industries-head { gap: 0; }
  .industries-head h2 { font-size: 40px; line-height: 50px; letter-spacing: -1.44px; }
  .industries-head p { font-size: 16px; line-height: 29px; }
  .industry-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 31px 32px; margin-top: 0; padding-inline: 0; }
  .industry-card { width: 261px; gap: 11px; }

  /* Zoho premium partner */
  .partner-orbit { width: 100%; }
  .partner-copy { margin-top: 10px; gap: 10px; }
  .partner-copy h2 { font-size: 44px; line-height: 50px; letter-spacing: -1.44px; text-transform: capitalize; }
  .partner-copy p { font-size: 18px; line-height: 24px; }
  .partner-badge { margin-top: 14px; }

  /* Panels */
  .panels { padding: 48px 32px; }
  .panel { width: 100%; }
  .panel--story { background: transparent; border-radius: 0; } /* the image has its own rounded corners */
  .story-copy { left: 44px; top: 53px; }
  .story-copy h2 { margin-top: 2px; font-size: 44px; line-height: 52px; }
  .story-copy .btn { margin-top: 16px; }

  .panel--split { flex-direction: column-reverse; justify-content: flex-start; gap: 32px; min-height: 0; padding: 32px; text-align: center; }
  .split-copy { max-width: none; align-items: center; text-align: center; }
  .split-copy h2 { font-size: 44px; line-height: 52px; letter-spacing: -1.44px; }
  .split-copy p + p { margin-top: -8px; }
  .split-copy--cta { max-width: none; }
  .split-copy--cta h2 { font-size: 44px; line-height: 44px; letter-spacing: -1.2px; }
  .split-copy--cta p { max-width: 425px; }
  .avatar-circle { width: 360px; height: 360px; margin: 7px 0 8px; }
  .avatar-circle img { left: -19px; top: -3px; width: 398px; }
  .split-copy--cta + .avatar-circle { width: 343px; height: 343px; margin: 51px 0 61px; }
  .split-copy--cta + .avatar-circle img { left: -21px; top: 0; width: 353px; }

  .panel--brands h2 { max-width: none; font-size: 44px; line-height: 52px; letter-spacing: -1.44px; }
  .brand-strip { width: 100%; margin-top: 31px; }
  .brand-strip img { height: 104px; aspect-ratio: auto; }

  /* Framer shows the testimonials carousel on desktop only. The rules below keep it laid out
     correctly if it is ever shown again on tablet/phone (delete the display: none line). */
  .panel--quotes { display: none; }
  .quote { padding-inline: 70px; gap: 40px; }
  .panel--quotes .carousel-btn--prev { left: 0; }
  .panel--quotes .carousel-btn--next { right: 0; }
}

/* ---------- Tablet only ---------- */
@media (min-width: 810px) and (max-width: 1199px) {
  /* full-width orbit, centred on a fixed 448px band; the title overlaps its lower edge */
  .hero-orbit { position: relative; height: 448px; }
  .hero-orbit img { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
  .hero-copy { margin-top: -67px; }
  /* Framer puts the industry cards above the heading on tablet */
  .industry-grid { order: -1; }
  /* Framer breaks the partner heading after "Being" */
  .partner-copy h2 { max-width: 580px; }
}

/* ---------- Phone (values measured from Framer at 390px) ---------- */
@media (max-width: 809px) {
  /* Hero: Framer swaps in a tall orbit image; image + copy sit centred in an 860px-tall band */
  .hero { min-height: 860px; display: flex; flex-direction: column; justify-content: center; gap: 23px; }
  .hero-orbit img { aspect-ratio: 390 / 535; }
  .hero-copy { margin-top: 0; gap: 17px; padding-inline: 16px; }
  .hero-copy h1 { font-size: 40px; line-height: 46px; }
  .hero-copy .hero-lines { margin-inline: -10px; font-size: 14px; line-height: 20px; }
  .hero-copy .btn { margin-top: 24px; }

  /* Automotive */
  .showcase-media--full { padding-inline: 16px; }
  .showcase-media--full img { height: 296px; }
  .showcase-media--overlay .showcase-copy { margin-top: 12px; }
  .showcase-copy h2 { font-size: 28px; line-height: 40px; }
  .showcase-copy p { font-size: 15px; line-height: 20px; }
  .feature-row { flex-wrap: nowrap; justify-content: flex-start; padding-inline: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
  .feature-row::-webkit-scrollbar { display: none; }
  .feature-card { scroll-snap-align: start; }

  /* Real estate */
  .showcase-media--boxed { width: calc(100% - 32px); }
  .showcase-media--boxed img { height: 189px; }
  .showcase--light .showcase-heading h2 { font-size: 28px; line-height: 34px; }
  .showcase--light .showcase-heading p { font-size: 15px; line-height: 20px; }

  /* By industry */
  .industries-head { padding-inline: 0; }
  .industries-head h2 { font-size: 28px; line-height: 50px; }
  .industries-head p { max-width: none; line-height: 20px; }

  /* Zoho premium partner */
  .partner-copy { padding-inline: 16px; }
  .partner-copy h2 { font-size: 28px; line-height: 34px; }
  .partner-copy p { max-width: none; font-size: 15px; line-height: 20px; }
  .partner-badge { width: 187px; }

  /* Panels */
  .panels { padding: 48px 16px; }
  .story-copy { left: 16px; top: 16px; }
  .story-copy .kicker { font-size: 16px; }
  .story-copy h2 { max-width: 185px; margin-top: 0; font-size: 20px; line-height: 20px; }
  .story-copy .btn { min-height: 36px; padding: 8px 16px; border-radius: 12px; font-size: 12px; }

  .panel--split { gap: 24px; padding: 32px 16px; }
  .split-copy h2 { font-size: 28px; line-height: 38px; }
  .split-copy p { font-size: 15px; line-height: 20px; }
  .split-copy--cta h2 { font-size: 28px; line-height: 28px; }
  .split-copy--cta p { max-width: none; }
  .avatar-circle { width: 208px; height: 208px; margin: 0; }
  .avatar-circle img { left: 1px; top: 20px; width: 207px; }
  .split-copy--cta + .avatar-circle { width: 218px; height: 207px; margin: 0 0 8px; }
  .split-copy--cta + .avatar-circle::before { content: none; }
  .split-copy--cta + .avatar-circle img { left: 0; top: 0; width: 218px; aspect-ratio: 218 / 207; }

  .panel--brands { padding: 48px 16px; }
  .panel--brands h2 { font-size: 28px; line-height: 30px; }
  .brand-strip { margin-top: 0; }
  .brand-strip img { height: 82px; }
  .panel--brands .brands-cta { margin-top: 22px; font-size: 16px; line-height: 20px; }
  .panel--brands .brands-cta a { display: block; margin: 6px 0 0; line-height: 25px; }

  .panel--quotes { padding: 32px 16px 80px; }
  .quote { grid-template-columns: 1fr; gap: 16px; padding-inline: 8px; }
  .quote-mark { width: 40px; height: 83px; }
  .quote blockquote p { font-size: 17px; line-height: 23px; }
  .quote figcaption { font-size: 17px; line-height: 22px; }
  .panel--quotes .carousel-btn { top: auto; bottom: 20px; transform: none; }
  .panel--quotes .carousel-btn--prev { left: calc(50% - 52px); }
  .panel--quotes .carousel-btn--next { right: calc(50% - 52px); }
}
