/* Mobile App Development Company in Melbourne — 01 Hero */

@keyframes cw-mad-melbourne-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.55);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(255, 153, 51, 0);
  }
}

@keyframes cw-mad-melbourne-pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@keyframes cw-mad-melbourne-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cw-mad-melbourne-fill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.cw-mobile-app-development-melbourne-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 520px at 82% 40%, var(--cw-mad-melbourne-glow, rgba(255, 153, 51, 0.2)), transparent 70%),
    radial-gradient(520px 420px at 40% 100%, rgba(123, 47, 247, 0.16), transparent 70%),
    #141210;
  color: #eae7e1;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-mobile-app-development-melbourne-hero__inner {
  position: relative;
  box-sizing: border-box;
  max-width: 1520px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(36px, 4vw, 64px);
  align-items: center;
}

@media (min-width: 960px) {
  .cw-mobile-app-development-melbourne-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.cw-mobile-app-development-melbourne-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}

.cw-mobile-app-development-melbourne-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cw-mad-melbourne-accent, #ff9933);
}

.cw-mobile-app-development-melbourne-hero__eyebrow-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cw-mad-melbourne-accent, #ff9933);
  animation: cw-mad-melbourne-ping 1.8s infinite;
}

.cw-mobile-app-development-melbourne-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 5.8vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: #f3efe7;
  text-wrap: balance;
}

.cw-mobile-app-development-melbourne-hero__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--cw-mad-melbourne-accent, #ff9933);
}

.cw-mobile-app-development-melbourne-hero__lead {
  margin: 0;
  max-width: 600px;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(234, 231, 225, 0.78);
  text-wrap: pretty;
}

.cw-mobile-app-development-melbourne-hero__lead-strong {
  font-weight: 700;
  color: #f3efe7;
}

.cw-mobile-app-development-melbourne-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-mobile-app-development-melbourne-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cw-mobile-app-development-melbourne-hero__btn--primary {
  background: #e0431c;
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(224, 67, 28, 0.8);
}

.cw-mobile-app-development-melbourne-hero__btn--primary:hover,
.cw-mobile-app-development-melbourne-hero__btn--primary:focus-visible {
  background: #c93a16;
  color: #fff;
}

.cw-mobile-app-development-melbourne-hero__btn--ghost {
  padding: 0 22px;
  border: 1px solid rgba(234, 231, 225, 0.25);
  color: #eae7e1;
  font-weight: 500;
}

.cw-mobile-app-development-melbourne-hero__btn--ghost:hover,
.cw-mobile-app-development-melbourne-hero__btn--ghost:focus-visible {
  border-color: #d4f53c;
  color: #fff;
}

.cw-mobile-app-development-melbourne-hero__btn:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 3px;
}

.cw-mobile-app-development-melbourne-hero__contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(234, 231, 225, 0.1);
}

.cw-mobile-app-development-melbourne-hero__contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 12px;
  text-decoration: none;
}

.cw-mobile-app-development-melbourne-hero__contact-item:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 3px;
  border-radius: 8px;
}

.cw-mobile-app-development-melbourne-hero__contact-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(234, 231, 225, 0.5);
}

.cw-mobile-app-development-melbourne-hero__contact-value {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.cw-mobile-app-development-melbourne-hero__contact-value--phone {
  color: var(--cw-mad-melbourne-accent, #ff9933);
}

.cw-mobile-app-development-melbourne-hero__contact-value--email {
  color: #b7a6f5;
  overflow-wrap: anywhere;
}

.cw-mobile-app-development-melbourne-hero__preview {
  min-width: 0;
  border-radius: 28px;
  background: #1a1714;
  border: 1px solid rgba(234, 231, 225, 0.1);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-mobile-app-development-melbourne-hero__preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(234, 231, 225, 0.5);
}

.cw-mobile-app-development-melbourne-hero__live {
  flex: none;
  color: var(--cw-mad-melbourne-accent, #ff9933);
}

.cw-mobile-app-development-melbourne-hero__preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
  align-items: stretch;
}

.cw-mobile-app-development-melbourne-hero__services {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.cw-mobile-app-development-melbourne-hero__services-hint {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #d4f53c;
  padding: 0 2px 4px;
}

.cw-mobile-app-development-melbourne-hero__service-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-mobile-app-development-melbourne-hero__service {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(234, 231, 225, 0.12);
  background: transparent;
  color: #f3efe7;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.cw-mobile-app-development-melbourne-hero__service.is-on {
  border-color: var(--cw-mad-melbourne-accent, #ff9933);
  background: rgba(255, 153, 51, 0.12);
  color: var(--cw-mad-melbourne-accent, #ff9933);
}

.cw-mobile-app-development-melbourne-hero__service-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--cw-mad-melbourne-accent, #ff9933);
  animation: cw-mad-melbourne-fill 5.2s linear both;
}

.cw-mobile-app-development-melbourne-hero__service-num {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 9px;
  background: rgba(234, 231, 225, 0.06);
  color: #f3efe7;
  display: grid;
  place-items: center;
  font: 800 10.5px 'Inter Tight', 'Inter', sans-serif;
}

.cw-mobile-app-development-melbourne-hero__service.is-on .cw-mobile-app-development-melbourne-hero__service-num {
  background: var(--cw-mad-melbourne-accent, #ff9933);
  color: #141210;
}

.cw-mobile-app-development-melbourne-hero__service-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.25;
}

.cw-mobile-app-development-melbourne-hero__service:focus-visible {
  outline: 2px solid var(--cw-mad-melbourne-accent, #ff9933);
  outline-offset: 2px;
}

.cw-mobile-app-development-melbourne-hero__stage {
  position: relative;
  min-height: 380px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 40%, var(--cw-mad-melbourne-glow, rgba(255, 153, 51, 0.22)), transparent 70%), #141210;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}

.cw-mobile-app-development-melbourne-hero__phone {
  flex: none;
  width: 196px;
  height: 390px;
  border-radius: 34px;
  background: #0b0a09;
  padding: 8px;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(234, 231, 225, 0.14), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}

.cw-mobile-app-development-melbourne-hero__screen {
  width: 100%;
  height: 100%;
  border-radius: 27px;
  overflow: hidden;
  background: #f6f3ee;
  color: #141210;
  display: flex;
  flex-direction: column;
}

.cw-mobile-app-development-melbourne-hero__appbar {
  padding: 14px 14px 12px;
  background: var(--cw-mad-melbourne-accent, #ff9933);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cw-mobile-app-development-melbourne-hero__appbar-brand {
  font-size: 9px;
  font-weight: 600;
  opacity: 0.7;
}

.cw-mobile-app-development-melbourne-hero__appbar-name {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.1;
}

.cw-mobile-app-development-melbourne-hero__screen-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  animation: cw-mad-melbourne-fade 0.4s ease-out both;
}

.cw-mobile-app-development-melbourne-hero__screen-body.is-updating {
  animation: cw-mad-melbourne-fade 0.4s ease-out both;
}

.cw-mobile-app-development-melbourne-hero__screen-ab {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #141210;
  color: var(--cw-mad-melbourne-accent, #ff9933);
  display: grid;
  place-items: center;
  font: 800 12px 'Inter Tight', 'Inter', sans-serif;
  animation: cw-mad-melbourne-pop 0.4s ease-out both;
}

.cw-mobile-app-development-melbourne-hero__screen-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.15;
}

.cw-mobile-app-development-melbourne-hero__screen-desc {
  margin: 0;
  font-size: 9.5px;
  line-height: 1.5;
  color: #4a433c;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

.cw-mobile-app-development-melbourne-hero__screen-others {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cw-mobile-app-development-melbourne-hero__other {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 9px;
  background: #fff;
}

.cw-mobile-app-development-melbourne-hero__other-ab {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 6px;
  color: #141210;
  display: grid;
  place-items: center;
  font: 800 7.5px 'Inter Tight', 'Inter', sans-serif;
}

.cw-mobile-app-development-melbourne-hero__other-t {
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
  .cw-mobile-app-development-melbourne-hero__eyebrow-dot,
  .cw-mobile-app-development-melbourne-hero__screen-body,
  .cw-mobile-app-development-melbourne-hero__screen-ab,
  .cw-mobile-app-development-melbourne-hero__service-bar {
    animation: none;
  }
}
