.ground-break-page {
  --gb-primary: #17313a;
  --gb-accent: #b7791f;
  --gb-soft: #f8fafc;
  --gb-warm: #fff6e6;
  --gb-good: #18864b;
  --gb-bad: #c2410c;
  --gb-muted: #64748b;
  --gb-border: #e2e8f0;
  --gb-radius-xl: 26px;
  --gb-radius-lg: 18px;
  --gb-shadow: 0 18px 48px rgba(12, 35, 42, 0.1);

  max-width: 1320px;
  margin: 10rem auto 4rem;
  padding: 0 16px;
  color: var(--gb-primary);

  * {
    box-sizing: border-box;
  }

  .ground-break-eyebrow {
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    align-items: center;
    padding: 7px 13px;
    border: 1px solid rgba(183, 121, 31, 0.28);
    border-radius: 999px;
    background: var(--gb-warm);
    color: #84500d;
    font-size: 1.18rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .ground-break-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
    align-items: stretch;
    overflow: hidden;
    padding: clamp(26px, 4vw, 46px);
    border-radius: var(--gb-radius-xl);
    background:
      linear-gradient(135deg, rgba(23, 49, 58, 0.94), rgba(111, 78, 34, 0.9)),
      url(/src/docs/images/common/project/caurongdanang.jpg) center / cover no-repeat;
    box-shadow: var(--gb-shadow);

    .ground-break-hero__content {
      display: flex;
      min-height: 320px;
      flex-direction: column;
      justify-content: center;

      .ground-break-eyebrow {
        border-color: rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.12);
        color: #ffe2a8;
      }

      h1 {
        max-width: 840px;
        margin: 14px 0;
        color: #fff;
        font-size: clamp(3rem, 4vw, 5rem);
        font-weight: 920;
        line-height: 1.08;
      }

      p {
        max-width: 780px;
        margin: 0;
        color: rgba(255, 255, 255, 0.84);
        font-size: 1.55rem;
        line-height: 1.7;
      }
    }

    .ground-break-hero__visual {
      position: relative;
      display: grid;
      place-items: center;
      align-content: start;
      gap: 12px;
      min-height: 260px;
      padding-top: 88px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.11);
      color: #fff;
      text-align: center;
      backdrop-filter: blur(7px);

      > * {
        position: relative;
        z-index: 2;
      }

      &::before,
      &::after {
        position: absolute;
        top: 116px;
        left: 50%;
        width: 108px;
        height: 108px;
        border: 1px solid rgba(255, 226, 168, 0.42);
        border-radius: 32px;
        content: "";
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.82);
        animation: groundBreakIconPulse 2.8s ease-out infinite;
      }

      &::after {
        animation-delay: 1.4s;
      }

      .ground-break-hero__logo {
        display: block;
        width: 96px;
        height: 96px;
        padding: 10px;
        border-radius: 28px;
        background: #fff;
        object-fit: contain;
        filter: drop-shadow(0 10px 16px rgba(0, 32, 39, 0.18));
        transform: translateY(-18px);
      }

      strong {
        font-size: 2.2rem;
        font-weight: 920;
        margin-top: 37px;
      }

      span {
        color: rgba(255, 255, 255, 0.78);
        font-size: 1.35rem;
        font-weight: 720;
      }
    }
  }

  .ground-break-tool,
  .ground-break-guide {
    margin-top: 26px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--gb-border);
    border-radius: var(--gb-radius-xl);
    background: #fff;
    box-shadow: var(--gb-shadow);
  }

  .ground-break-tool__intro,
  .ground-break-guide__heading {
    max-width: 900px;
    margin-bottom: 24px;

    h2 {
      margin: 12px 0 10px;
      color: var(--gb-primary);
      font-size: clamp(2.4rem, 3vw, 3.5rem);
      font-weight: 900;
      line-height: 1.16;
    }

    p {
      margin: 0;
      color: var(--gb-muted);
      font-size: 1.48rem;
      line-height: 1.7;
    }
  }

  .ground-break-form {
    position: relative;
    z-index: 5;
    display: grid;
    gap: 16px;
  }

  .ground-break-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--gb-border);
    border-radius: var(--gb-radius-lg);
    background: linear-gradient(180deg, #fff, var(--gb-soft));
  }

  .ground-break-group__title {
    grid-column: 1 / -1;
    color: var(--gb-primary);
    font-size: 1.45rem;
    font-weight: 900;
  }

  .ground-break-field {
    position: relative;
    min-width: 0;
  }

  .ground-break-label {
    display: block;
    margin-bottom: 9px;
    color: var(--gb-primary);
    font-size: 1.32rem;
    font-weight: 850;
  }

  .ground-break-select {
    position: relative;
  }

  .ground-break-input {
    width: 100%;
    height: 52px;
    padding: 0 44px 0 15px;
    border: 1px solid var(--gb-border);
    border-radius: 14px;
    background: var(--gb-soft);
    color: var(--gb-primary);
    cursor: pointer;
    font-size: 1.38rem;
    font-weight: 720;
    outline: 0;

    &:focus {
      border-color: var(--gb-accent);
      background: #fff;
      box-shadow: 0 0 0 4px rgba(183, 121, 31, 0.12);
    }

    &.shake {
      border-color: #ef4444;
      animation: groundBreakShake 0.36s ease;
    }
  }

  .ground-break-select__icon {
    position: absolute;
    top: 18px;
    right: 15px;
    color: var(--gb-muted);
    pointer-events: none;
    transition: transform 0.2s ease;

    &.active {
      transform: rotate(180deg);
    }
  }

  .ground-break-error {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 4;
    color: #dc2626;
    font-size: 1.16rem;
    font-weight: 760;
  }

  .ground-break-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 30;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--gb-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(12, 35, 42, 0.16);
  }

  .ground-break-search {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid var(--gb-border);

    .ground-break-search__input {
      width: 100%;
      height: 40px;
      padding: 0 38px 0 12px;
      border: 1px solid var(--gb-border);
      border-radius: 12px;
      outline: 0;
    }

    i {
      position: absolute;
      top: 23px;
      right: 24px;
      color: var(--gb-muted);
    }
  }

  .ground-break-suggestions__list {
    max-height: 260px;
    overflow-y: auto;
    padding: 8px;
  }

  .ground-break-option,
  .suggestion-item {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 9px 12px;
    border-radius: 11px;
    color: var(--gb-primary);
    cursor: pointer;
    font-size: 1.32rem;
    font-weight: 720;

    &:hover,
    &.active {
      background: var(--gb-warm);
      color: #84500d;
    }
  }

  .ground-break-clear {
    display: none;
    padding: 10px 12px 12px;
    border-top: 1px solid var(--gb-border);

    &.active {
      display: block;
    }
  }

  .ground-break-clear__button {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 11px;
    background: var(--gb-warm);
    color: #84500d;
    cursor: pointer;
    font-size: 1.28rem;
    font-weight: 850;
  }

  .ground-break-submit {
    display: inline-flex;
    justify-self: center;
    width: fit-content;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background: var(--gb-primary);
    color: #fff;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 880;
    box-shadow: 0 12px 26px rgba(23, 49, 58, 0.2);
  }

  .ground-break-result {
    display: none;
    margin-top: 26px;

    &.active {
      display: block;
    }
  }

  .ground-break-report {
    overflow: hidden;
    border: 1px solid rgba(183, 121, 31, 0.22);
    border-radius: var(--gb-radius-xl);
    background: linear-gradient(180deg, #fff, #fffaf1);
  }

  .ground-break-report__header {
    display: grid;
    gap: 10px;
    padding: clamp(20px, 3vw, 30px);
    background: linear-gradient(135deg, var(--gb-primary), #74501c);
    color: #fff;

    h3 {
      margin: 0;
      font-size: clamp(2.2rem, 3vw, 3.4rem);
      font-weight: 920;
    }

    p {
      margin: 0;
      color: rgba(255, 255, 255, 0.84);
      font-size: 1.4rem;
      line-height: 1.6;
    }
  }

  .ground-break-report__body {
    display: grid;
    gap: 16px;
    padding: clamp(18px, 3vw, 28px);
  }

  .ground-break-card {
    padding: 18px;
    border: 1px solid var(--gb-border);
    border-radius: 16px;
    background: #fff;

    h4 {
      margin: 0 0 12px;
      color: var(--gb-primary);
      font-size: 1.75rem;
      font-weight: 900;
    }

    p,
    li,
    small {
      color: var(--gb-muted);
      font-size: 1.36rem;
      line-height: 1.62;
    }

    ul {
      display: grid;
      gap: 8px;
      margin: 0;
      padding-left: 18px;
    }
  }

  .ground-break-verdict {
    border-left: 6px solid var(--gb-accent);

    h3 {
      margin: 0 0 8px;
      font-size: 2.2rem;
      font-weight: 920;
    }
  }

  .ground-break-date-grid,
  .ground-break-signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .ground-break-date-pill,
  .ground-break-signal {
    padding: 13px;
    border-radius: 14px;
    background: var(--gb-soft);
  }

  .ground-break-hours {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    .hour-tag {
      display: inline-flex;
      min-height: 34px;
      align-items: center;
      padding: 7px 12px;
      border-radius: 999px;
      background: var(--gb-warm);
      color: #84500d;
      font-size: 1.24rem;
      font-weight: 850;
    }
  }

  .ground-break-guide__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
  }

  .ground-break-guide-card {
    display: grid;
    height: 100%;
    grid-template-rows: auto auto 1fr;
    padding: 22px;
    border: 1px solid var(--gb-border);
    border-radius: var(--gb-radius-lg);
    background: #fff;

    :is(i, svg) {
      display: inline-grid;
      width: 46px;
      height: 46px;
      place-items: center;
      border-radius: 15px;
      background: var(--gb-warm);
      color: var(--gb-accent);
      font-size: 1.85rem;
    }

    h3 {
      margin: 14px 0 8px;
      color: var(--gb-primary);
      font-size: 1.7rem;
      font-weight: 880;
    }

    p {
      margin: 0;
      color: var(--gb-muted);
      font-size: 1.36rem;
      line-height: 1.62;
    }
  }
}

@keyframes groundBreakShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

@keyframes groundBreakIconPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
  }
  28% {
    opacity: 0.46;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.72);
  }
}

@media (max-width: 900px) {
  .ground-break-page {
    margin: 4rem auto 3rem;

    .ground-break-hero,
    .ground-break-group,
    .ground-break-date-grid,
    .ground-break-signals,
    .ground-break-guide__grid {
      grid-template-columns: 1fr;
    }

    .ground-break-guide-card {
      grid-template-columns: 46px minmax(0, 1fr);
      grid-template-rows: auto auto;
      gap: 6px 12px;
      padding: 16px;

      :is(i, svg) {
        grid-row: span 2;
      }

      h3 {
        margin: 0;
      }
    }
  }
}

@media (max-width: 760px) {
  .ground-break-page {
    .ground-break-hero__visual {
      display: none;
    }
  }
}

@media (max-width: 640px) {
  .mobile-search-section {
    display: none;
  }

  .ground-break-page {
    padding: 4rem 12px 0;

    .ground-break-hero,
    .ground-break-tool,
    .ground-break-guide,
    .ground-break-group {
      border-radius: 20px;
      padding: 18px;
    }

    .ground-break-submit {
      width: min(100%, 260px);
      justify-self: center;
    }
  }
}
