/* Appily thirtythree — Cold Chain Intercom Panel contact (unique wall-mounted desk layout) */

.page-contact-intercom {
  --ic-wall: #3a4248;
  --ic-wall-deep: #252b2f;
  --ic-steel: #8a949c;
  --ic-steel-light: #c8d0d6;
  --ic-panel: #2a3038;
  --ic-ink: #1e2428;
  --ic-muted: #5c656c;
  --ic-line: rgba(30, 36, 40, 0.14);
  --ic-green: #4ade80;
  --ic-mono: 'Consolas', 'Courier New', monospace;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(138, 148, 156, 0.15), transparent 55%),
    linear-gradient(180deg, #e8ecef 0%, var(--a33-cream) 30%, var(--a33-cream) 100%);
}

.a33-intercom {
  padding: 0 0 3.5rem;
}

/* ── Wall header ── */
.a33-intercom-wall {
  position: relative;
  background: linear-gradient(180deg, var(--ic-wall-deep) 0%, var(--ic-wall) 100%);
  color: #fff;
  padding: 2.25rem 0 2.5rem;
  overflow: hidden;
  border-bottom: 4px solid var(--ic-steel);
}

.a33-intercom-wall-texture {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 3px,
      rgba(0, 0, 0, 0.05) 3px,
      rgba(0, 0, 0, 0.05) 4px
    );
  pointer-events: none;
}

.a33-intercom-wall-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.a33-intercom-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--ic-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a33-lime);
}

.a33-intercom-wall h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
}

.a33-intercom-wall h1 em {
  font-style: normal;
  color: var(--a33-carrot);
}

.a33-intercom-lede {
  margin: 0 0 0.85rem;
  max-width: 48ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.a33-intercom-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.a33-intercom-channels li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem 0.3rem 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-family: var(--ic-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.a33-intercom-ch-num {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  background: var(--ic-steel);
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
}

.a33-intercom-unit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, #4a5258, var(--ic-panel));
  border: 3px solid var(--ic-steel);
  border-radius: 10px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.a33-intercom-led {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ic-green);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
  animation: a33-ic-pulse 2s ease infinite;
}

@keyframes a33-ic-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.a33-intercom-grille {
  width: 64px;
  height: 24px;
  margin-bottom: 0.5rem;
  background: repeating-linear-gradient(
    90deg,
    #222 0,
    #222 3px,
    #444 3px,
    #444 6px
  );
  border-radius: 4px;
  border: 1px solid #111;
}

.a33-intercom-unit strong {
  font-family: var(--ic-mono);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ic-green);
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.a33-intercom-unit span:last-child {
  font-family: var(--ic-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.2rem;
}

/* ── Stage layout ── */
.a33-intercom-stage {
  margin-top: 1.75rem;
}

.a33-intercom-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

/* Handset form panel */
.a33-intercom-handset {
  position: relative;
  background: var(--ic-panel);
  border: 3px solid var(--ic-steel);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(30, 36, 40, 0.15);
  color: #fff;
}

.a33-intercom-handset-cord {
  position: absolute;
  top: -8px;
  left: 24px;
  width: 4px;
  height: 24px;
  background: repeating-linear-gradient(
    180deg,
    #333 0,
    #333 4px,
    #666 4px,
    #666 8px
  );
  border-radius: 2px;
  z-index: 2;
}

.a33-intercom-handset-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, var(--ic-wall-deep), var(--ic-wall));
  border-bottom: 2px solid var(--ic-steel);
}

.a33-intercom-handset-tag {
  display: block;
  font-family: var(--ic-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a33-lime);
  margin-bottom: 0.25rem;
}

.a33-intercom-handset-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.a33-intercom-handset-ref {
  font-family: var(--ic-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.55rem;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
}

.a33-intercom-handset-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.a33-intercom-handset-lede {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.a33-intercom-notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 8px;
}

.a33-intercom-notice.is-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
}

.a33-intercom-notice-led {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.25rem;
  border-radius: 50%;
  background: var(--ic-green);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.a33-intercom-notice.is-error .a33-intercom-notice-led {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.a33-intercom-notice strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.a33-intercom-notice p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.a33-intercom-form {
  display: grid;
  gap: 1rem;
}

.a33-intercom-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.a33-intercom-field-wide {
  grid-column: 1 / -1;
}

.a33-intercom-field {
  display: grid;
  gap: 0.3rem;
}

.a33-intercom-field > span:first-child {
  font-family: var(--ic-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.a33-intercom-field input,
.a33-intercom-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font: inherit;
  font-size: 0.88rem;
  color: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.a33-intercom-field input::placeholder,
.a33-intercom-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.a33-intercom-field input:focus,
.a33-intercom-field textarea:focus {
  outline: none;
  border-color: var(--a33-lime);
  box-shadow: 0 0 0 2px rgba(232, 244, 140, 0.2);
}

.a33-intercom-send {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: start;
  font-weight: 700;
}

.a33-intercom-send-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ic-green);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
}

/* Directory panel */
.a33-intercom-directory {
  background: #fff;
  border: 2px solid var(--ic-steel-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(30, 36, 40, 0.08);
}

.a33-intercom-directory-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: linear-gradient(90deg, var(--a33-teal-dark), var(--a33-teal));
  color: #fff;
}

.a33-intercom-directory-head span {
  font-family: var(--ic-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.a33-intercom-directory-head strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
}

.a33-intercom-directory-body {
  padding: 1rem 1.15rem 1.15rem;
}

.a33-intercom-directory-grid {
  display: grid;
  gap: 0.65rem;
}

.a33-intercom-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.65rem 0.75rem;
  background: var(--a33-cream);
  border: 1px solid var(--ic-line);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.a33-intercom-line:hover {
  border-color: var(--a33-teal);
  box-shadow: 0 4px 12px rgba(26, 83, 92, 0.08);
}

.a33-intercom-line-btn {
  display: grid;
  place-items: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.35rem;
  background: linear-gradient(180deg, var(--ic-steel-light), var(--ic-steel));
  border: 2px solid var(--ic-wall);
  border-radius: 6px;
  font-family: var(--ic-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.15);
}

.a33-intercom-line-copy strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--a33-teal);
  margin-bottom: 0.15rem;
}

.a33-intercom-line-copy p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ic-ink);
  word-break: break-word;
}

.a33-intercom-line-copy a {
  color: var(--a33-teal);
  text-decoration: none;
}

.a33-intercom-line-copy a:hover {
  color: var(--a33-carrot);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .a33-intercom-wall-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .a33-intercom-unit {
    justify-self: start;
  }

  .a33-intercom-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .a33-intercom-fields {
    grid-template-columns: 1fr;
  }

  .a33-intercom-handset-head {
    flex-direction: column;
    align-items: stretch;
  }

  .a33-intercom-send {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a33-intercom-led,
  .a33-intercom-send-dot {
    animation: none;
  }
}
