/* =============================================
   COMMERCIAL LANDING PAGE — commercial.css
   ============================================= */

/* Hero */
.comm-hero {
  background: linear-gradient(135deg, #060e22 0%, #0D1B3E 55%, #0a2060 100%);
  padding-block: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.comm-hero-glow {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(21,101,192,0.22) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.comm-hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(230,92,0,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.comm-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
  padding-block: 5rem;
}

/* Badge */
.comm-badge {
  display: inline-block;
  background: rgba(230,92,0,0.12);
  color: var(--orange);
  border: 1px solid rgba(230,92,0,0.35);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.comm-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.comm-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 54ch;
  margin-bottom: 2rem;
}

/* Who we serve inline pills */
.comm-serves {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.comm-serve-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 50px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
}

.comm-serve-item svg { flex-shrink: 0; color: var(--orange); }

/* Form card in hero */
.comm-hero-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 8px 48px rgba(0,0,0,0.35);
}

.comm-form-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--grey-light);
}

.comm-form-header h2 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.comm-form-header p {
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: none;
}

.comm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comm-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.comm-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

.req { color: var(--orange); }

.comm-field input,
.comm-field select,
.comm-field textarea {
  width: 100%;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.comm-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.comm-field input:focus,
.comm-field select:focus,
.comm-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(230,92,0,0.1);
}

.comm-field input::placeholder,
.comm-field textarea::placeholder { color: var(--text-light); }

.comm-field textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

.comm-submit {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  margin-top: 0.25rem;
  gap: 0.5rem;
}

.comm-form-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.75rem;
  max-width: none;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 2.5rem 1rem;
}
.form-success svg { margin-bottom: 1rem; }
.form-success h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 0.5rem; }
.form-success p  { color: var(--text-light); margin-inline: auto; font-size: 0.93rem; }

/* Process section */
.comm-process-section {
  background: var(--navy);
  padding-block: 5rem;
}

.comm-process-section .section-header h2 { color: #fff; }
.comm-process-section .section-header p  { color: rgba(255,255,255,0.6); }
.comm-process-section .section-tag       { color: var(--orange); }

.comm-process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.comm-step {
  flex: 1;
  text-align: center;
  padding: 0 1.25rem;
}

.comm-step-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 1rem;
}

.comm-step-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  color: #fff;
  transition: background var(--transition), border-color var(--transition);
}

.comm-step:hover .comm-step-icon { background: var(--orange); border-color: var(--orange); }

.comm-step h3 { color: #fff; font-size: 1rem; margin-bottom: 0.6rem; }
.comm-step p  { font-size: 0.87rem; color: rgba(255,255,255,0.55); max-width: 24ch; margin-inline: auto; }

.comm-step-connector {
  flex-shrink: 0;
  width: 48px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.25) 0px, rgba(255,255,255,0.25) 4px, transparent 4px, transparent 10px);
  margin-top: 2.5rem;
  align-self: flex-start;
}

/* Systems */
.comm-systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.comm-systems-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.comm-system-card {
  background: var(--off-white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.comm-system-card:hover {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-hover);
}

.comm-system-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--blue);
}

.comm-system-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.comm-system-card p  { font-size: 0.88rem; max-width: none; }

/* Why Partner section */
.comm-why-section {
  background: var(--off-white);
  padding-block: 5rem;
}

.comm-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.comm-why-card {
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.comm-why-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.comm-why-icon {
  width: 52px;
  height: 52px;
  background: rgba(230,92,0,0.08);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--orange);
  transition: background var(--transition), color var(--transition);
}

.comm-why-card:hover .comm-why-icon { background: var(--orange); color: #fff; }

.comm-why-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.comm-why-card p  { font-size: 0.88rem; max-width: none; }

/* Footer */
.comm-footer { background: var(--navy); padding-top: 2.5rem; }

.comm-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}

.comm-footer-logo { height: 56px; border-radius: 6px; margin-bottom: 0.75rem; }

.comm-footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  max-width: none;
  line-height: 1.6;
}

.comm-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.comm-footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.comm-footer-links a:hover { color: #fff; }

.comm-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-block: 1.2rem; }
.comm-footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); text-align: center; max-width: none; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .comm-systems-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .comm-why-grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .comm-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4rem; }
  .comm-hero       { min-height: auto; }
}

@media (max-width: 768px) {
  .comm-process-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .comm-step-connector {
    width: 2px; height: 32px;
    margin: 0 auto;
    background: repeating-linear-gradient(180deg, rgba(255,255,255,0.25) 0px, rgba(255,255,255,0.25) 4px, transparent 4px, transparent 10px);
    align-self: auto;
  }
  .comm-step {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 0.5rem 0;
  }
  .comm-step-icon { flex-shrink: 0; margin: 0; }
  .comm-step h3, .comm-step p { margin-inline: 0; }
  .comm-step p { max-width: none; }
  .comm-hero-form { padding: 1.75rem 1.25rem; }
  .comm-form-row  { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 600px) {
  .comm-systems-grid--4 { grid-template-columns: 1fr; }
  .comm-why-grid         { grid-template-columns: 1fr; }
  .comm-footer-inner     { flex-direction: column; }
  .comm-footer-links     { align-items: flex-start; }
}
