.landing-agency {
  background: var(--bg-color);
}

.landing-agency .btn-default {
  text-transform: none;
}

.landing-header .navbar {
  padding: 22px 0;
}

.landing-header .navbar-brand img,
.agency-footer .footer-logo img {
  max-height: 42px;
}

.landing-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--dark-divider-color);
  border-radius: 12px;
  background: var(--secondary-color);
  padding: 12px;
}

.landing-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--primary-color);
}

.landing-mobile-menu {
  display: none;
}

.agency-hero {
  padding: 170px 0 110px;
}

.agency-hero-content .section-title {
  max-width: 980px;
  margin: 0 auto;
}

.agency-hero-content .section-title p {
  max-width: 820px;
  margin: 24px auto 0;
}

.agency-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.agency-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--divider-color);
  border-radius: 100px;
  color: var(--primary-color);
  background: rgba(255, 255, 255, .05);
  font-weight: 700;
}

.agency-badges i {
  color: var(--accent-color);
}

.voice-console {
  max-width: 900px;
  margin: 54px auto 0;
  padding: 30px;
  border: 1px solid var(--divider-color);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
    var(--secondary-color);
  box-shadow: 0 36px 90px -44px rgba(255, 119, 199, .65);
  text-align: left;
}

.agency-hero.hero::before,
.agency-hero.hero::after,
.agency-hero .hero-content::before,
.agency-hero .hero-content::after {
  display: none;
  animation: none;
}

.voice-console-header,
.voice-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.console-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.voice-console-header strong {
  color: var(--primary-color);
  font-size: 24px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  color: var(--primary-color);
  background: rgba(21, 57, 154, .45);
  font-weight: 700;
}

.live-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6df2bf;
  box-shadow: 0 0 0 6px rgba(109, 242, 191, .12);
}

.voice-lines {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.voice-lines p {
  margin: 0;
  padding: 15px 18px;
  border: 1px solid var(--divider-color);
  border-radius: 16px;
  color: var(--text-color);
  background: rgba(255, 255, 255, .04);
}

.voice-lines strong {
  color: var(--primary-color);
}

.voice-result span {
  flex: 1 1 180px;
  padding: 12px 16px;
  border-radius: 14px;
  color: var(--primary-color);
  background: linear-gradient(90deg, rgba(255, 119, 199, .34), rgba(21, 57, 154, .35));
  font-weight: 800;
  text-align: center;
}

.agency-section {
  padding: 100px 0;
}

.agency-section .section-title p {
  max-width: 760px;
  margin: 20px auto 0;
}

.agency-card,
.step-card,
.industry-grid article,
.compare-panel,
.calc-panel,
.task-console,
.mini-case,
.faq-list .faq-item {
  border: 1px solid var(--divider-color);
  border-radius: 30px;
  background: var(--secondary-color);
}

.agency-card {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 34px;
}

.agency-card .icon-box,
.industry-grid i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color));
  font-size: 22px;
}

.agency-card h3,
.step-card h3,
.industry-grid h4 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.agency-card p,
.step-card p,
.industry-grid p,
.mini-case p {
  margin-bottom: 0;
}

.agency-services,
.agency-industries,
.agency-calculator,
.agency-faq {
  background: rgba(255, 255, 255, .02);
}

.agency-service-card {
  height: calc(100% - 30px);
  margin-bottom: 30px;
}

.agency-service-card .service-item-content {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  border-radius: 22px;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color));
  box-shadow: 0 18px 44px -24px rgba(255, 119, 199, .9);
  font-size: 30px;
}

.agency-service-card .service-item-content h3 {
  margin-top: 0;
}

.step-card {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 34px;
}

.step-card span {
  display: inline-block;
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-grid article {
  padding: 28px;
}

.compare-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.compare-panel > div {
  padding: 38px;
}

.compare-panel > div:last-child {
  background:
    linear-gradient(135deg, rgba(255, 119, 199, .22), rgba(21, 57, 154, .22)),
    var(--secondary-color);
  border-left: 1px solid var(--divider-color);
}

.compare-panel h3 {
  margin-bottom: 24px;
}

.compare-panel p {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.compare-panel p:last-child {
  margin-bottom: 0;
}

.compare-panel i {
  width: 22px;
  margin-top: 3px;
  color: var(--accent-color);
}

.compare-panel > div:last-child i {
  color: #6df2bf;
}

.calc-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr);
  gap: 28px;
  padding: 36px;
  background:
    url("ai-agency/images/facts-item-bg.svg") no-repeat center / cover,
    var(--secondary-color);
}

.calc-controls label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 14px;
  color: var(--primary-color);
  font-weight: 800;
}

.calc-controls label:not(:first-child) {
  margin-top: 30px;
}

.calc-controls label span {
  color: var(--accent-color);
  white-space: nowrap;
}

.calc-controls input[type="range"] {
  width: 100%;
  accent-color: var(--accent-color);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--text-color);
  font-size: 14px;
}

.calc-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--divider-color);
  border-radius: 24px;
  text-align: center;
  background: rgba(255, 255, 255, .05);
}

.calc-result p,
.calc-result span {
  margin: 0;
  color: var(--text-color);
}

.calc-result strong {
  display: block;
  margin: 14px 0;
  color: var(--primary-color);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.calc-note {
  max-width: 850px;
  margin: 24px auto 0;
  text-align: center;
}

.deliverable-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.deliverable-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-color);
  line-height: 1.55em;
}

.deliverable-list li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.task-console {
  padding: 34px;
  background:
    url("ai-agency/images/real-impact-image-bg.svg") no-repeat center / cover,
    var(--secondary-color);
}

.task-card {
  padding: 24px;
  border: 1px solid var(--divider-color);
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
}

.task-card + .task-card {
  margin-top: 18px;
}

.task-card span {
  color: var(--accent-color);
  font-weight: 800;
}

.task-card h3 {
  margin: 10px 0 8px;
}

.task-card p {
  margin: 0;
}

.task-card.urgent span {
  color: #ff6d6d;
}

.mini-case {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 30px;
  background:
    url("ai-agency/images/testimonial-item-bg.svg") no-repeat center / cover,
    var(--secondary-color);
}

.mini-case strong {
  display: block;
  margin-top: 18px;
  color: var(--primary-color);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-list .faq-item {
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 24px 28px;
  border: 0;
  color: var(--primary-color);
  background: transparent;
  text-align: left;
  font-weight: 800;
}

.faq-q span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: var(--divider-color);
  transition: transform .2s ease;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color));
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.faq-a p {
  padding: 0 28px 24px;
  margin: 0;
}

.agency-contact {
  padding-bottom: 100px;
}

.contact-shell {
  padding: 96px 72px;
  text-align: left;
  background: var(--secondary-color);
}

.agency-contact .contact-shell::before,
.agency-contact .contact-shell::after {
  display: none;
  animation: none;
}

.contact-shell .section-title p {
  margin-top: 22px;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-point {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-color);
  font-weight: 700;
}

.contact-point i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #6df2bf;
  background: rgba(109, 242, 191, .1);
  font-size: 13px;
}

.calendar-cta {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--divider-color);
}

.calendar-cta .btn-default i {
  margin-right: 8px;
}

.agency-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--divider-color);
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
}

.agency-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.agency-form input,
.agency-form select,
.agency-form textarea {
  width: 100%;
  min-height: 58px;
  padding: 15px 18px;
  border: 1px solid var(--divider-color);
  border-radius: 14px;
  color: var(--primary-color);
  background: rgba(255, 255, 255, .05);
  outline: none;
}

.agency-form textarea {
  min-height: 128px;
  resize: vertical;
}

.agency-form input::placeholder,
.agency-form textarea::placeholder {
  color: rgba(167, 170, 187, .72);
}

.agency-form select {
  color: rgba(167, 170, 187, .95);
}

.agency-form option {
  color: var(--secondary-color);
}

.agency-form button {
  border: 0;
}

.agency-form button:disabled {
  opacity: .6;
  cursor: progress;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
}

.form-status.is-success {
  color: #6df2bf;
  border-color: rgba(109, 242, 191, .4);
  background: rgba(109, 242, 191, .1);
}

.form-status.is-error {
  color: #ff9d9d;
  border-color: rgba(255, 109, 109, .4);
  background: rgba(255, 109, 109, .1);
}

.agency-footer {
  padding: 70px 0;
}

.agency-footer p {
  margin: 0;
}

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

@media (max-width: 991px) {
  .landing-header .main-menu {
    display: none;
  }

  .landing-menu-toggle {
    display: block;
  }

  .landing-mobile-menu.show {
    display: grid;
    gap: 12px;
    padding: 18px 15px 24px;
    border-top: 1px solid var(--divider-color);
    background: var(--bg-color);
  }

  .landing-mobile-menu a {
    color: var(--primary-color);
    font-weight: 800;
  }

  .agency-hero {
    padding-top: 130px;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-panel,
  .calc-panel {
    grid-template-columns: 1fr;
  }

  .compare-panel > div:last-child {
    border-left: 0;
    border-top: 1px solid var(--divider-color);
  }

  .task-console,
  .agency-form {
    margin-top: 30px;
  }

  .contact-shell {
    padding: 64px 42px;
  }

  .agency-footer .row {
    gap: 22px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .agency-section {
    padding: 70px 0;
  }

  .agency-hero {
    padding: 112px 0 76px;
  }

  .voice-console,
  .calc-panel,
  .compare-panel > div,
  .task-console,
  .agency-form {
    padding: 22px;
    border-radius: 22px;
  }

  .contact-shell {
    padding: 42px 20px;
  }

  .voice-console-header strong {
    font-size: 20px;
  }

  .industry-grid,
  .agency-form .form-row {
    grid-template-columns: 1fr;
  }

  .agency-badges {
    justify-content: flex-start;
  }

  .agency-badges span,
  .voice-result span {
    width: 100%;
  }
}
