/* ===========================================================================
   Zemora AI - landing page layer
   ---------------------------------------------------------------------------
   Extends the existing .zemora-* system in the Customizer rather than
   restating it. Only classes prefixed .zemora-lp- are defined here, so this
   file can be removed without touching the home page.
   Tokens mirror the Elementor global kit: Space Grotesk, #05060D ground,
   #22D3EE accent, #A78BFA secondary, #A4A9C5 body copy.
   ======================================================================== */

.zemora-lp-hero {
  padding: 92px 32px 76px !important;
}

/* Hero H1 - one per page, sized by viewport rather than a fixed step so it
   never overflows on a narrow phone. */
.zemora-lp-h1,
.zemora-lp-h1 .elementor-heading-title {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(34px, 5.2vw, 62px) !important;
  font-weight: 800 !important;
  line-height: 1.06 !important;
  letter-spacing: -0.035em !important;
  color: #ffffff !important;
  margin: 0 0 22px !important;
  max-width: 20ch;
  text-wrap: balance;
}

.zemora-lp-hero .zemora-hero-sub,
.zemora-lp-hero .zemora-hero-sub p {
  color: #a4a9c5 !important;
  max-width: 68ch;
  margin-bottom: 30px !important;
}

/* Button rows - wrap instead of overflowing, keep 44px+ tap targets. */
.zemora-lp-btnrow {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  align-items: center !important;
  width: auto !important;
  padding: 0 !important;
}
.zemora-lp-btnrow .elementor-widget-button { width: auto !important; }
.zemora-lp-btnrow .elementor-button { min-height: 46px !important; }

.zemora-lp-hero .zemora-hero-meta {
  margin-top: 38px !important;
  padding-top: 26px !important;
  border-top: 1px solid rgba(139, 92, 246, 0.12) !important;
}

/* Body prose. Section headers stay centred; running copy is left aligned at a
   comfortable measure, which reads better than centred multi-line paragraphs. */
.zemora-lp-prose {
  max-width: 860px !important;
  margin: 0 auto !important;
}
.zemora-lp-prose p {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 17.5px !important;
  line-height: 1.68 !important;
  color: #a4a9c5 !important;
  margin: 0 0 20px !important;
  max-width: 74ch;
  text-wrap: pretty;
}
.zemora-lp-prose p:last-child { margin-bottom: 0 !important; }
.zemora-lp-prose strong { color: #ffffff !important; font-weight: 700 !important; }

/* Inline links inside body copy - underline on hover, never a bare colour
   change, so they remain identifiable without relying on colour alone. */
.zemora-lp-prose a,
.zemora-usecase-body a {
  color: #22d3ee !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.zemora-lp-prose a:hover,
.zemora-usecase-body a:hover {
  color: #67e8f9 !important;
  border-bottom-color: #67e8f9;
}

/* Grids */
.zemora-lp-grid {
  margin-top: 44px !important;
  align-items: stretch !important;
}
.zemora-lp-grid-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.zemora-cards-grid.zemora-lp-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.zemora-lp-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 28px !important;
  height: 100% !important;
}
.zemora-lp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.45) !important;
}
.zemora-lp-card .zemora-usecase-title,
.zemora-lp-card .zemora-usecase-title .elementor-heading-title {
  font-size: 19px !important;
  margin-bottom: 10px !important;
}
.zemora-lp-card .zemora-usecase-body p {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.62 !important;
  color: #a4a9c5 !important;
  margin: 0 !important;
}
.zemora-lp-card .zemora-features { margin-top: 16px !important; }
.zemora-lp-card .zemora-features .elementor-icon-list-text {
  font-size: 14.5px !important;
}

/* Standalone feature lists sit at prose width so the checkmarks line up with
   the paragraph above them. */
.zemora-lp-listwrap {
  max-width: 860px !important;
  margin: 26px auto 0 !important;
  padding: 0 !important;
}

.zemora-lp-inline-cta {
  margin-top: 34px !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 !important;
}

/* Closing conversion block */
.zemora-lp-cta {
  padding: 96px 32px !important;
  text-align: center !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.12), transparent 62%),
    #05060d !important;
  border-top: 1px solid rgba(139, 92, 246, 0.14) !important;
}
.zemora-lp-cta .zemora-section-inner {
  max-width: 760px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
.zemora-lp-cta .zemora-section-sub,
.zemora-lp-cta .zemora-section-sub p {
  margin-bottom: 32px !important;
  max-width: 60ch;
}
.zemora-lp-cta .zemora-lp-btnrow { justify-content: center !important; }

/* Alternating section ground so long pages keep a rhythm. */
.zemora-lp-hero + .zemora-section { border-top: 1px solid rgba(139, 92, 246, 0.10) !important; }
.zemora-section + .zemora-section { border-top: 1px solid rgba(139, 92, 246, 0.07) !important; }

/* FAQ — native <details>, so it works with no JS and is keyboard operable. */
.zemora-lp-faq { max-width: 860px; margin: 0 auto; width: 100%; }

.zemora-faq-list { display: flex; flex-direction: column; gap: 10px; }

.zemora-faq-item {
  background: linear-gradient(180deg, rgba(17, 20, 42, .5), rgba(10, 12, 23, .5));
  border: 1px solid rgba(139, 92, 246, .16);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s ease;
}
.zemora-faq-item[open] { border-color: rgba(139, 92, 246, .38); }

.zemora-faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
}
.zemora-faq-item summary::-webkit-details-marker { display: none; }

/* Chevron drawn in CSS so no icon font is needed for the toggle affordance. */
.zemora-faq-item summary::after {
  content: '';
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid #22d3ee;
  border-bottom: 2px solid #22d3ee;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}
.zemora-faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.zemora-faq-item summary:hover { background: rgba(139, 92, 246, .06); }
.zemora-faq-item summary:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: -2px;
}

.zemora-faq-answer { padding: 0 22px 20px; }
.zemora-faq-answer p {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #a4a9c5;
  max-width: 72ch;
}
.zemora-faq-answer a {
  color: #22d3ee;
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, .35);
}
.zemora-faq-answer a:hover { color: #67e8f9; border-bottom-color: #67e8f9; }

@media (prefers-reduced-motion: reduce) {
  .zemora-faq-item, .zemora-faq-item summary::after { transition: none !important; }
}

@media (max-width: 767px) {
  .zemora-faq-item summary { padding: 15px 17px; font-size: 15.5px; }
  .zemora-faq-answer { padding: 0 17px 17px; }
  .zemora-faq-answer p { font-size: 15.5px; }
}

/* 404 */
.zemora-404 { text-align: center; padding: 96px 32px 104px !important; }
.zemora-404 .zemora-section-inner { max-width: 940px; }

.zemora-404-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #22d3ee;
  margin: 0 0 14px;
}

.zemora-404 .zemora-lp-h1 { max-width: none; margin-inline: auto; }

.zemora-404-lead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #a4a9c5;
  max-width: 54ch;
  margin: 0 auto 44px;
}

.zemora-404-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.zemora-404-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: 16px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(17, 20, 42, .6), rgba(10, 12, 23, .6));
  border: 1px solid rgba(139, 92, 246, .18);
  transition: transform .25s ease, border-color .25s ease;
}
.zemora-404-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, .45);
}
.zemora-404-card:focus-visible { outline: 2px solid #22d3ee; outline-offset: 3px; }

.zemora-404-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16.5px;
  font-weight: 800;
  color: #fff;
}
.zemora-404-card-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #a4a9c5;
}

.zemora-404-foot {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: #6a7196;
  margin: 40px 0 0;
}
.zemora-404-foot a { color: #22d3ee; text-decoration: none; border-bottom: 1px solid rgba(34, 211, 238, .35); }
.zemora-404-foot a:hover { color: #67e8f9; }

@media (max-width: 900px) { .zemora-404-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .zemora-404 { padding: 64px 20px 72px !important; }
  .zemora-404-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .zemora-404-card, .zemora-404-card:hover { transition: none !important; transform: none !important; }
}

/* ===========================================================================
   Contact page
   ---------------------------------------------------------------------------
   The page came from the purchased theme with a teal palette, white browser
   default form fields and a capitalised icon list. Structure was corrected in
   the Elementor tree; this is the presentation layer.
   ======================================================================== */

.zemora-contact-hero {
  padding: 84px 32px 72px !important;
}

/* The hero is a two-column layout, so the eyebrow must sit left rather than
   inherit the centred treatment used on the section headers. */
.zemora-contact-hero .zemora-contact-eyebrow {
  margin: 0 0 18px !important;
}

.zemora-contact-hero .zemora-lp-h1 {
  max-width: 15ch;
  margin-bottom: 20px !important;
}

.zemora-contact-hero .zemora-hero-sub,
.zemora-contact-hero .zemora-hero-sub p {
  font-size: 17px !important;
  max-width: 52ch;
}

/* The list inherited text-transform: capitalize from the theme, which turned
   "A 30-minute scoping call" into "A 30-Minute Scoping Call". */
.zemora-contact-points .elementor-icon-list-text {
  text-transform: none !important;
  font-size: 16px !important;
  color: #a4a9c5 !important;
}
.zemora-contact-points .elementor-icon-list-item {
  margin-bottom: 4px !important;
}

/* Contact Form 7 renders the phone field as input[type="tel"], which the
   original .zemora-cta-form rules never covered - it was the one field still
   rendering as a white browser default. */
.zemora-contact-form input[type="tel"],
.zemora-contact-form input[type="url"],
.zemora-contact-form input[type="number"],
.zemora-cta-form input[type="tel"],
.zemora-cta-form input[type="url"],
.zemora-cta-form input[type="number"] {
  width: 100% !important;
  padding: 13px 16px !important;
  margin-bottom: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease !important;
}
.zemora-contact-form input[type="tel"]:focus,
.zemora-cta-form input[type="tel"]:focus {
  outline: none !important;
  border-color: #a78bfa !important;
}
.zemora-contact-form input[type="tel"]::placeholder,
.zemora-cta-form input[type="tel"]::placeholder {
  color: #6a7196 !important;
}

/* The theme wrapped fields in a bootstrap grid; neutralise its gutters so the
   fields line up with the rest of the form. */
.zemora-contact-form .row,
.zemora-contact-form [class*="col-md-"] {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
.zemora-contact-form .wpcf7-form-wrap { margin: 0 !important; }

/* The theme left ~250px of empty section below the cards and a wide gap
   between the intro and the bullet list. Both are just inherited padding. */
.zemora-contact-cards {
  padding: 0 32px 96px !important;
}
.zemora-contact-hero .zemora-contact-points {
  margin-top: 26px !important;
}

/* Contact cards: equal height, brand icons. */
.zemora-contact-cards .e-con-inner,
.zemora-contact-cards > .e-con-inner {
  align-items: stretch !important;
}
.zemora-contact-card {
  padding: 34px 26px !important;
  text-align: center !important;
  height: 100% !important;
  justify-content: flex-start !important;
}
.zemora-contact-card-title,
.zemora-contact-card-title .elementor-heading-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 18px 0 8px !important;
}
.zemora-contact-card .elementor-widget-text-editor,
.zemora-contact-card .elementor-widget-text-editor p {
  color: #a4a9c5 !important;
  font-size: 15.5px !important;
  margin: 0 !important;
}

/* The card icons ship as green SVGs served through <img>, so they cannot be
   recoloured by fill. A hue rotation moves the theme's green onto the brand
   cyan without touching the asset or swapping in an icon font. */
.zemora-contact-card img {
  width: 58px !important;
  height: auto !important;
  filter: hue-rotate(28deg) saturate(1.25) brightness(1.05);
}

@media (max-width: 1024px) {
  .zemora-contact-hero { padding: 64px 24px 56px !important; }
  .zemora-contact-hero .zemora-lp-h1 { max-width: none; }
}

@media (max-width: 1024px) {
  .zemora-contact-cards { padding: 0 24px 72px !important; }
}

@media (max-width: 767px) {
  .zemora-contact-hero { padding: 52px 20px 44px !important; }
  .zemora-contact-cards { padding: 0 20px 56px !important; }
  .zemora-contact-card { padding: 28px 20px !important; }
  .zemora-contact-card img { width: 48px !important; }
  /* Form and copy stack; keep the form full width rather than half. */
  .zemora-contact-form,
  .zemora-contact-hero .zemora-hero-sub p { max-width: 100% !important; }
}

/* Breadcrumbs */
.zemora-breadcrumbs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: #6a7196;
}
.zemora-breadcrumbs a {
  color: #a4a9c5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.zemora-breadcrumbs a:hover { color: #22d3ee; border-bottom-color: rgba(34, 211, 238, 0.4); }
.zemora-breadcrumbs .breadcrumb_last { color: #ffffff; }

/* Visible keyboard focus. The site had no focus style, which made the new
   in-content links impossible to follow by keyboard. */
.zemora-lp-prose a:focus-visible,
.zemora-usecase-body a:focus-visible,
.zemora-breadcrumbs a:focus-visible,
.zemora-lp-btnrow .elementor-button:focus-visible {
  outline: 2px solid #22d3ee !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1024px) {
  .zemora-cards-grid.zemora-lp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .zemora-lp-hero { padding: 64px 20px 52px !important; }
  .zemora-lp-h1 { max-width: none; }
  .zemora-lp-h1,
  .zemora-lp-h1 .elementor-heading-title {
    font-size: clamp(29px, 8vw, 38px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
  }
  .zemora-lp-cta { padding: 68px 20px !important; }

  /* Single column on phones - the 2- and 3-up grids would otherwise force
     horizontal scroll on the narrowest devices. */
  .zemora-lp-grid-2,
  .zemora-cards-grid.zemora-lp-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
  .zemora-lp-card { padding: 22px !important; }
  .zemora-lp-prose p { font-size: 16.5px !important; }

  /* Full-width buttons on mobile keep the tap target generous. */
  .zemora-lp-btnrow { width: 100% !important; }
  .zemora-lp-btnrow .elementor-widget-button { width: 100% !important; }
  .zemora-lp-btnrow .elementor-button {
    width: 100% !important;
    justify-content: center !important;
  }
  .zemora-breadcrumbs { padding: 14px 20px 0; font-size: 12px; }
}

/* Respect a reduced-motion preference - the card lift is decorative. */
@media (prefers-reduced-motion: reduce) {
  .zemora-lp-card,
  .zemora-lp-card:hover { transition: none !important; transform: none !important; }
}
