/* ==============================================================================
   DISPATCHFUSE - TRILOGY AT VISTANCIA (LAYOUT C)
   Resort-Grade Warm Sandstone & Safe Pool Hardscape Theme
============================================================================== */

:root {
  --bg-dark: #0a0e17;
  --bg-card: #121926;
  --bg-card-alt: #162032;
  --sandstone: #e0a96d;
  --sandstone-hover: #c98e4f;
  --sandstone-glow: rgba(224, 169, 109, 0.25);
  --cyan-pool: #38bdf8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-warm: rgba(224, 169, 109, 0.35);
  --text-main: #fcfaf6;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-code: 'Space Mono', monospace;
  --max-w: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

/* 1. TOP STRIP */
.trilogy-alert-strip {
  background: #05080e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 0;
  font-size: 0.82rem;
}

.strip-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.alert-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--sandstone);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.alert-notice {
  color: var(--text-muted);
}

.alert-routing {
  background: rgba(224, 169, 109, 0.12);
  border: 1px solid var(--border-warm);
  padding: 2px 10px;
  border-radius: 4px;
  font-family: var(--font-code);
  color: #fff;
}

.alert-routing strong {
  color: var(--sandstone);
}

/* 2. TOP NAV */
.trilogy-nav {
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-branding {
  display: flex;
  flex-direction: column;
}

.kicker {
  font-family: var(--font-code);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--sandstone);
}

.title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.nav-cta-zone {
  display: flex;
  align-items: center;
  gap: 15px;
}

.badge-55 {
  display: none;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding-right: 15px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .badge-55 {
    display: inline-block;
  }
}

.direct-call-pill {
  background: var(--sandstone);
  color: #000;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.direct-call-pill:hover {
  background: var(--sandstone-hover);
  transform: translateY(-1px);
}

/* 3. HERO (Layout C: Split Safety & Resort Conversion) */
.trilogy-hero {
  padding: 60px 0 70px 0;
  background: radial-gradient(circle at 75% 30%, rgba(224, 169, 109, 0.08) 0%, rgba(10, 14, 23, 0) 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.safety-cert-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-left h1 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .hero-left h1 {
    font-size: 3rem;
  }
}

.accent-text {
  color: var(--sandstone);
  text-shadow: 0 0 25px var(--sandstone-glow);
}

.hero-explainer {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.65;
}

.safety-checks {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-icon {
  background: rgba(224, 169, 109, 0.15);
  color: var(--sandstone);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-item strong {
  display: block;
  font-size: 0.98rem;
  color: #fff;
}

.check-item small {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Right Column Intake Card */
.intake-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.intake-desk-tag {
  font-family: var(--font-code);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--sandstone);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.intake-header h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.intake-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.intake-dialer-block {
  margin-bottom: 20px;
}

.call-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: linear-gradient(135deg, #e0a96d 0%, #c98e4f 100%);
  color: #000;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 25px var(--sandstone-glow);
  transition: all 0.2s;
}

.call-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(224, 169, 109, 0.45);
}

.phone-symbol {
  font-size: 1.4rem;
}

.btn-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-action-main {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.btn-action-code {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.75);
}

.intake-speed-note {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.or-separator {
  position: relative;
  text-align: center;
  margin: 18px 0;
}

.or-separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.or-separator span {
  position: relative;
  background: var(--bg-card);
  padding: 0 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.trilogy-fast-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-group input,
.input-group select {
  width: 100%;
  background: #0a0e17;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.input-group input:focus,
.input-group select:focus {
  border-color: var(--sandstone);
}

.submit-action-btn {
  background: transparent;
  border: 2px solid var(--sandstone);
  color: var(--sandstone);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.2s;
}

.submit-action-btn:hover {
  background: var(--sandstone);
  color: #000;
}

.form-privacy {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 6px;
}

.success-alert {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  border-radius: 6px;
  padding: 20px;
  color: #22c55e;
  text-align: center;
}

/* 4. SAFETY DEEP DIVE */
.safety-deep-dive {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
  background: #070a10;
}

.section-badge-center {
  text-align: center;
  margin-bottom: 10px;
}

.section-badge-center span {
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--sandstone);
  font-weight: 700;
  letter-spacing: 1.5px;
}

.section-title-center {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #fff;
}

.three-col-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 768px) {
  .three-col-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-warm);
}

.highlighted-feature {
  border-color: var(--border-warm);
  background: linear-gradient(180deg, #182235 0%, #121926 100%);
}

.card-num {
  font-family: var(--font-code);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sandstone);
  margin-bottom: 15px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 5. GROUNDING */
.trilogy-grounding {
  padding: 70px 0;
}

.grounding-card {
  background: linear-gradient(135deg, #121926 0%, #1a2538 100%);
  border: 1px solid var(--border-warm);
  border-radius: 12px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (min-width: 800px) {
  .grounding-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.grounding-tag {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--sandstone);
  font-weight: 700;
  letter-spacing: 1px;
}

.grounding-info h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  margin: 6px 0 10px 0;
  color: #fff;
}

.grounding-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 650px;
  margin-bottom: 14px;
}

.grounding-meta {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.grounding-meta strong {
  color: #cbd5e1;
}

.grounding-call-btn {
  background: var(--sandstone);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 22px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-block;
  transition: all 0.2s;
}

.grounding-call-btn:hover {
  background: var(--sandstone-hover);
  transform: translateY(-2px);
}

/* 6. FOOTER */
.trilogy-footer {
  background: #05080e;
  border-top: 1px solid var(--border-subtle);
  padding: 35px 0;
  font-size: 0.85rem;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-col-left strong {
  color: #fff;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.footer-col-left p {
  color: var(--text-dim);
}

.footer-col-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 768px) {
  .footer-col-right {
    text-align: right;
  }
}

.footer-routing-box {
  color: var(--sandstone);
  font-family: var(--font-code);
}

.footer-col-right p {
  color: var(--text-dim);
  font-size: 0.78rem;
}

/* 7. MOBILE DOCK */
.mobile-dialer-dock {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0a0e17;
  border-top: 1px solid var(--border-warm);
  padding: 10px 15px;
  z-index: 999;
}

@media (min-width: 769px) {
  .mobile-dialer-dock {
    display: none;
  }
}

.dock-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dock-code {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dock-code strong {
  display: block;
  font-size: 0.95rem;
  color: var(--sandstone);
}

.dock-call-btn {
  background: var(--sandstone);
  color: #000;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.88rem;
  flex-grow: 1;
  text-align: center;
}
