/* Revana: Enterprise and provider pages. Loaded after site.css; only adds, never restyles shared parts. */

/* ---------- contact actions (email, text, call) ---------- */
.contact-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.cbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px;
  font-size: 15px; font-weight: 550; white-space: nowrap; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.cbtn:hover { border-color: var(--border-strong); background: var(--surface-2); }
.cbtn svg { width: 17px; height: 17px; flex: none; }
.cbtn.is-main { background: var(--text); border-color: var(--text); color: var(--bg); }
.cbtn.is-main:hover { background: color-mix(in srgb, var(--text) 84%, var(--c-blue)); box-shadow: var(--glow); }
.cbtn.on-phone { display: none; }
/* On a phone the text message is the first, primary action; email steps back. */
@media (max-width: 760px) {
  .contact-btns { display: grid; grid-template-columns: minmax(0, 1fr); }
  .contact-btns .cbtn { width: 100%; }
  .contact-btns .cbtn-text { order: -1; background: var(--text); border-color: var(--text); color: var(--bg); }
  .contact-btns .cbtn-mail.is-main { background: var(--surface); border-color: var(--border); color: var(--text); }
  .cbtn.on-phone { display: inline-flex; }
}

/* A card of contact rows: icon, label, the address or number itself. */
.contact-card { background: var(--surface); border: 1px solid var(--border-strong); min-width: 0; }
.contact-card .cc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.contact-card .cc-head span { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.contact-card .cc-head small { font: 500 11px/1 var(--mono); color: var(--faint); letter-spacing: .06em; }
.cc-rows { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.cc-row {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--surface); transition: background .15s;
}
.cc-row:hover { background: var(--surface-2); }
.cc-row .ic { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--bg-2); color: var(--text-2); }
.cc-row .ic svg { width: 17px; height: 17px; }
.cc-row b { display: block; font-size: 14.5px; font-weight: 550; }
.cc-row .cc-t { min-width: 0; }
.cc-row small { display: block; font: 500 13px var(--mono); color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.cc-row .go { width: 16px; height: 16px; color: var(--faint); transition: transform .15s, color .15s; }
.cc-row:hover .go { transform: translateX(3px); color: var(--text); }
.cc-row.cc-text .ic { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); background: var(--accent-soft); }
.contact-card .cc-foot { padding: 12px 18px 14px; border-top: 1px solid var(--border); color: var(--faint); font-size: 12.5px; }
@media (max-width: 760px) { .cc-rows .cc-text { order: -1; } }

/* ---------- enterprise ---------- */
.ent-hero { position: relative; padding: 64px 0 56px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--border); }
.ent-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 10%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 85% 10%, #000 20%, transparent 75%);
}
.ent-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ent-grid > * { min-width: 0; }
.ent-hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 550; letter-spacing: -0.045em; line-height: 1; }
.ent-hero h1 em { font-style: normal; color: var(--accent); }
.ent-lede { margin-top: 20px; max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.6; }
/* On a phone the hero buttons already carry text, email and call. */
@media (max-width: 760px) { .ent-card { display: none; } }
@media (max-width: 900px) { .ent-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .ent-hero { padding: 44px 0 40px; } }

.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.offer > div { background: var(--surface); padding: 26px 24px 28px; min-width: 0; }
.offer .on { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--accent); }
.offer h3 { margin: 16px 0 8px; font-size: 18px; font-weight: 550; letter-spacing: -0.015em; }
.offer p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 960px) { .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .offer { grid-template-columns: minmax(0, 1fr); } .offer > div { padding: 22px 18px 24px; } }

.ent-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: es; }
.ent-steps li { padding: 22px; border: 1px solid var(--border); background: var(--surface); min-width: 0; }
.ent-steps li::before { counter-increment: es; content: "0" counter(es); display: inline-grid; place-items: center; width: 30px; height: 30px; font: 600 12px var(--mono); color: var(--accent); background: var(--accent-soft); }
.ent-steps h3 { margin: 16px 0 6px; font-size: 16.5px; font-weight: 550; letter-spacing: -0.01em; }
.ent-steps p { color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 860px) { .ent-steps { grid-template-columns: minmax(0, 1fr); } }

.ent-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ent-split > .card { padding: 24px; min-width: 0; }
.ent-split h2 { font-size: 20px; letter-spacing: -0.02em; }
.ent-split .muted { margin-top: 8px; font-size: 14.5px; }
.ent-split .ticks { margin-top: 18px; }
@media (max-width: 860px) { .ent-split { grid-template-columns: minmax(0, 1fr); } }

.ent-band { padding: 48px 40px; border: 1px solid var(--border-strong); background: var(--surface); background-image: var(--stripe); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.ent-band h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.035em; }
.ent-band p { color: var(--muted); margin-top: 10px; max-width: 520px; }
.ent-band .contact-btns { margin-top: 0; justify-content: flex-end; }
@media (max-width: 900px) { .ent-band { grid-template-columns: minmax(0, 1fr); padding: 32px 20px; } .ent-band .contact-btns { justify-content: flex-start; } }

/* ---------- pricing: the Enterprise row under the packs ---------- */
.ent-row {
  margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 22px 24px; border: 1px solid var(--border-strong); background: linear-gradient(100deg, var(--accent-soft), transparent 55%), var(--surface);
}
.ent-row .kicker { margin-bottom: 10px; }
.ent-row h3 { font-size: 20px; letter-spacing: -0.02em; }
.ent-row p { color: var(--muted); font-size: 14.5px; margin-top: 6px; max-width: 640px; }
.ent-row .acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ent-row .acts .cbtn { height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 760px) {
  .ent-row { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  .ent-row .acts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-content: stretch; }
  .ent-row .acts .cbtn { width: 100%; }
  .ent-row .acts .cbtn:first-child { grid-column: 1 / -1; }
}

/* ---------- providers ---------- */
@media (max-width: 899px) { .provider-grid { grid-template-columns: minmax(0, 1fr); } }
.provider-aside { display: grid; gap: 16px; padding: 0; }
.provider-aside .card { padding: 22px; }
.provider-aside .card h2 { font-size: 17px; margin-bottom: 12px; }
.provider-aside .card ul { margin: 0; }
.provider-form .form-note { color: var(--faint); font-size: 13px; }
.provider-fallback { display: grid; gap: 12px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); background: color-mix(in srgb, var(--warn) 7%, transparent); }
.provider-fallback[hidden] { display: none; }
.provider-fallback p { margin: 0; color: var(--text-2); font-size: 14px; }
.provider-fallback .contact-btns { margin-top: 0; }
.provider-fallback .cbtn { height: 40px; font-size: 14px; }
.provider-done .contact-btns { margin-top: 4px; }

/* Enterprise sections sit closer together than the long marketing pages. */
.ent-main > .section, .ent-main > .section-tight { padding: 64px 0 0; }
.ent-main > .section:last-child { padding-bottom: 88px; }
@media (max-width: 760px) { .ent-main > .section, .ent-main > .section-tight { padding-top: 40px; } .ent-main > .section:last-child { padding-bottom: 56px; } }
