/* CRM page — dark/gold luxury layout */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&display=swap");

body.tmb-crm-page {
  --crm-gold: #c9a962;
  --crm-gold-hi: #e4d09a;
  --crm-gold-deep: #a8873f;
  --crm-ink: #07080b;
  --crm-panel: rgba(14, 16, 22, 0.9);
  --crm-border: rgba(201, 169, 98, 0.34);
  --crm-mute: rgba(244, 239, 230, 0.72);
  --crm-serif: "Cormorant Garamond", Georgia, serif;
}

body.tmb-crm-page section.tmb-crm-section > .container,
body.tmb-crm-page .tmb-crm-section > .container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  max-width: none !important;
  border-radius: 0 !important;
}

body.tmb-crm-page .banner-section.two.inner {
  display: none !important;
}

body.tmb-crm-page .tmb-crm-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

body.tmb-crm-page .tmb-crm-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--crm-gold) !important;
  text-shadow: none !important;
}

body.tmb-crm-page .tmb-crm-title {
  margin: 0 0 1rem;
  font-family: var(--crm-serif) !important;
  font-size: clamp(2rem, 4.4vw, 3.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  color: #fff !important;
  text-shadow: none !important;
}

body.tmb-crm-page .tmb-crm-title .gold {
  color: var(--crm-gold-hi) !important;
  font-style: italic;
}

body.tmb-crm-page .tmb-crm-lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--crm-mute) !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  text-shadow: none !important;
}

body.tmb-crm-page .tmb-crm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

body.tmb-crm-page .tmb-crm-btn:hover {
  transform: translateY(-2px);
}

body.tmb-crm-page .tmb-crm-btn--gold {
  background: linear-gradient(180deg, var(--crm-gold-hi), var(--crm-gold-deep));
  color: #1a150c !important;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 28px rgba(168, 135, 63, 0.3);
}

body.tmb-crm-page .tmb-crm-btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

body.tmb-crm-page .tmb-crm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Hero ---------- */
.tmb-crm-hero {
  position: relative;
  min-height: min(78vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8.5rem 0 3rem;
  overflow: hidden;
  background-color: #08090c !important;
}

.tmb-crm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #08090c;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(180deg, rgba(8, 9, 12, 0.55) 0%, rgba(8, 9, 12, 0.28) 42%, rgba(8, 9, 12, 0.92) 100%),
    radial-gradient(ellipse at 28% 42%, rgba(212, 179, 106, 0.14), transparent 58%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tmb-crm-hero > .tmb-crm-inner {
  position: relative;
  z-index: 1;
}

.tmb-crm-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.tmb-crm-hero__pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.tmb-crm-hero__pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(10, 12, 16, 0.72);
  border: 1px solid var(--crm-border);
  backdrop-filter: blur(10px);
}

.tmb-crm-hero__pill svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: var(--crm-gold);
}

.tmb-crm-hero__pill span {
  color: rgba(244, 239, 230, 0.9) !important;
  font-size: 0.78rem !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

/* Device mock in hero */
.tmb-crm-devices {
  position: relative;
  min-height: 320px;
}

.tmb-crm-laptop {
  border-radius: 16px;
  border: 1px solid var(--crm-border);
  background: linear-gradient(180deg, #151820, #0b0d12);
  box-shadow:
    0 0 0 1px rgba(201, 169, 98, 0.1),
    0 0 40px rgba(201, 169, 98, 0.16),
    0 28px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.tmb-crm-laptop__bar {
  display: flex;
  gap: 6px;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(201, 169, 98, 0.18);
}

.tmb-crm-laptop__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: block;
}

.tmb-crm-laptop__bar i:first-child { background: #c9a962; }

.tmb-crm-dash {
  padding: 1rem;
}

.tmb-crm-dash__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.tmb-crm-dash__head strong {
  color: #fff !important;
  font-size: 0.9rem !important;
  text-shadow: none !important;
}

.tmb-crm-dash__head span {
  color: var(--crm-gold) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: none !important;
}

.tmb-crm-dash__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.tmb-crm-dash__stat {
  padding: 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 98, 0.18);
}

.tmb-crm-dash__stat b {
  display: block;
  color: var(--crm-gold-hi) !important;
  font-family: var(--crm-serif);
  font-size: 1.25rem !important;
  text-shadow: none !important;
}

.tmb-crm-dash__stat small {
  color: var(--crm-mute) !important;
  font-size: 0.68rem !important;
  text-shadow: none !important;
}

.tmb-crm-dash__rows {
  display: grid;
  gap: 0.4rem;
}

.tmb-crm-dash__row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr 0.6fr;
  gap: 0.4rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(244, 239, 230, 0.82);
  font-size: 0.72rem;
}

.tmb-crm-dash__row--head {
  background: transparent;
  border: 0;
  color: var(--crm-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
  font-weight: 700;
}

.tmb-crm-phone {
  position: absolute;
  right: -0.5rem;
  bottom: -1rem;
  width: min(42%, 168px);
  border-radius: 22px;
  border: 1px solid var(--crm-border);
  background: #0c0e14;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(201, 169, 98, 0.18);
  overflow: hidden;
  padding: 0.55rem;
}

.tmb-crm-phone__notch {
  width: 42%;
  height: 8px;
  margin: 0 auto 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.tmb-crm-phone__card {
  padding: 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 98, 0.2);
  margin-bottom: 0.45rem;
}

.tmb-crm-phone__card strong {
  display: block;
  color: #fff !important;
  font-size: 0.72rem !important;
  margin-bottom: 0.2rem;
  text-shadow: none !important;
}

.tmb-crm-phone__card span {
  color: var(--crm-mute) !important;
  font-size: 0.64rem !important;
  text-shadow: none !important;
}

/* ---------- Features ---------- */
.tmb-crm-features {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 98, 0.08), transparent 45%),
    linear-gradient(180deg, #08090c 0%, #0c0e14 100%);
}

.tmb-crm-features__head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.tmb-crm-features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tmb-crm-card {
  background: var(--crm-panel);
  border: 1px solid var(--crm-border);
  border-radius: 18px;
  padding: 1.35rem 1.3rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tmb-crm-card:hover {
  border-color: rgba(201, 169, 98, 0.55);
  transform: translateY(-3px);
}

.tmb-crm-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(201, 169, 98, 0.12);
  border: 1px solid rgba(201, 169, 98, 0.35);
}

.tmb-crm-card__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--crm-gold);
}

.tmb-crm-card h3 {
  margin: 0 0 0.55rem;
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.tmb-crm-card p {
  margin: 0;
  color: var(--crm-mute) !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  text-shadow: none !important;
}

/* ---------- Preview ---------- */
.tmb-crm-preview {
  padding: 5rem 0;
  background: #08090c;
}

.tmb-crm-preview__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.tmb-crm-preview__visual {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--crm-border);
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 169, 98, 0.18), transparent 45%),
    linear-gradient(160deg, #151820, #0a0c10);
  box-shadow:
    0 0 0 1px rgba(201, 169, 98, 0.1),
    0 0 48px rgba(201, 169, 98, 0.14),
    0 28px 60px rgba(0, 0, 0, 0.5);
  padding: 1.25rem;
  min-height: 360px;
}

.tmb-crm-preview__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.tmb-crm-preview__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--crm-mute) !important;
  font-size: 0.98rem !important;
  line-height: 1.45 !important;
  text-shadow: none !important;
}

.tmb-crm-preview__list li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9a962'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E")
    center/14px no-repeat,
    rgba(201, 169, 98, 0.14);
  border: 1px solid rgba(201, 169, 98, 0.4);
}

/* ---------- Audience ---------- */
.tmb-crm-audience {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #0c0e14 0%, #08090c 100%);
}

.tmb-crm-audience__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.tmb-crm-audience__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tmb-crm-person {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--crm-border);
  background: var(--crm-panel);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.tmb-crm-person__media {
  flex: 0 0 auto;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #12151c;
}

.tmb-crm-person__media img,
.tmb-crm-person img {
  width: 100% !important;
  height: 180px !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
  filter: none !important;
}

.tmb-crm-person__body {
  flex: 1 1 auto;
  padding: 1.1rem 1.15rem 1.25rem;
}

.tmb-crm-person__body h3 {
  margin: 0 0 0.4rem;
  color: #fff !important;
  font-size: 1rem !important;
  text-shadow: none !important;
}

.tmb-crm-person__body p {
  margin: 0;
  color: var(--crm-mute) !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
  text-shadow: none !important;
}

/* ---------- CTA / Lead form ---------- */
.tmb-crm-cta {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background-color: #08090c;
  background-image:
    linear-gradient(90deg, rgba(8, 9, 12, 0.88) 0%, rgba(8, 9, 12, 0.72) 55%, rgba(8, 9, 12, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 9, 12, 0.4), rgba(8, 9, 12, 0.9)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
}

.tmb-crm-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.tmb-crm-cta__form {
  background: rgba(12, 14, 20, 0.88);
  border: 1px solid var(--crm-border);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 40px rgba(201, 169, 98, 0.12), 0 24px 50px rgba(0, 0, 0, 0.4);
}

.tmb-crm-cta__form h3 {
  margin: 0 0 0.35rem;
  color: #fff !important;
  font-family: var(--crm-serif) !important;
  font-size: 1.6rem !important;
  text-shadow: none !important;
}

.tmb-crm-cta__form > p {
  margin: 0 0 1.15rem;
  color: var(--crm-mute) !important;
  font-size: 0.95rem !important;
  text-shadow: none !important;
}

.tmb-crm-cta__fields {
  display: grid;
  gap: 0.75rem;
}

.tmb-crm-cta__fields input,
.tmb-crm-cta__fields textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  outline: none;
}

.tmb-crm-cta__fields textarea {
  min-height: 96px;
  resize: vertical;
}

.tmb-crm-cta__fields input:focus,
.tmb-crm-cta__fields textarea:focus {
  border-color: rgba(201, 169, 98, 0.7);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.12);
}

.tmb-crm-cta__fields input::placeholder,
.tmb-crm-cta__fields textarea::placeholder {
  color: rgba(244, 239, 230, 0.45);
}

.tmb-crm-cta__form .tmb-crm-btn {
  width: 100%;
  margin-top: 0.85rem;
}

.tmb-form-feedback {
  margin-bottom: 0.85rem;
  display: none;
}

@media (max-width: 1100px) {
  .tmb-crm-hero__grid,
  .tmb-crm-features__head,
  .tmb-crm-preview__grid,
  .tmb-crm-cta__grid {
    grid-template-columns: 1fr;
  }

  .tmb-crm-audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmb-crm-hero__pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmb-crm-devices {
    max-width: 560px;
    width: 100%;
  }

  .tmb-crm-phone {
    display: none;
  }
}

@media (max-width: 900px) {
  .tmb-crm-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tmb-crm-hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .tmb-crm-features,
  .tmb-crm-preview,
  .tmb-crm-audience,
  .tmb-crm-cta {
    padding: 3.5rem 0;
  }

  .tmb-crm-features__grid,
  .tmb-crm-audience__grid,
  .tmb-crm-hero__pills {
    grid-template-columns: 1fr;
  }

  .tmb-crm-actions {
    flex-direction: column;
  }

  .tmb-crm-actions .tmb-crm-btn {
    width: 100%;
  }

  .tmb-crm-phone {
    display: none;
  }

  .tmb-crm-dash__row {
    grid-template-columns: 1fr;
    font-size: 0.7rem;
  }

  .tmb-crm-dash__row--head {
    display: none;
  }

  .tmb-crm-dash__row span:nth-child(n + 3) {
    display: none;
  }

  .tmb-crm-cta__fields input,
  .tmb-crm-cta__fields textarea {
    width: 100%;
    box-sizing: border-box;
  }
}
