.ah-natal {
  margin: 0 auto clamp(36px, 6vw, 80px);
  padding: 0 16px;
  color: #f7f1df;
}

.ah-natal *,
.ah-natal *::before,
.ah-natal *::after {
  box-sizing: border-box;
}

.ah-natal__shell {
  max-width: 1180px;
  min-width: 0;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(205, 173, 104, 0.38);
  border-radius: 8px;
  background:
    radial-gradient(circle at top left, rgba(205, 173, 104, 0.18), transparent 30%),
    linear-gradient(135deg, #003939 0%, #082f2d 52%, #151514 100%);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

/* Make natal calculator background full browser width */
.ah-natal--premium {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: clamp(34px, 6vw, 72px);
  background:
    linear-gradient(180deg, rgba(246, 242, 231, 0.88), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 84% 10%, rgba(213, 184, 117, 0.22), transparent 28%);
}

.ah-natal--premium .ah-natal__shell {
  position: relative;
  overflow: hidden;
  max-width: 1220px;
  border-color: rgba(213, 184, 117, 0.5);
  background:
    linear-gradient(135deg, rgba(0, 57, 57, 0.98) 0%, rgba(7, 49, 47, 0.97) 48%, rgba(18, 20, 20, 0.98) 100%);
}

.ah-natal--premium .ah-natal__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(120deg, transparent, #000 22%, transparent 82%);
}

.ah-natal__hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  margin-bottom: 24px;
}

.ah-natal__intro {
  max-width: 720px;
}

.ah-natal__eyebrow {
  margin: 0 0 8px;
  color: #d5b875;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ah-natal h2,
.ah-natal h3,
.ah-natal h4,
.ah-natal p {
  margin-top: 0;
}

.ah-natal h2 {
  margin-bottom: 12px;
  color: #fff7df;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.ah-natal h3 {
  margin-bottom: 8px;
  color: #fff7df;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

.ah-natal h4 {
  margin-bottom: 12px;
  color: #fff7df;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

.ah-natal p {
  color: rgba(247, 241, 223, 0.82);
  line-height: 1.6;
}

.ah-natal__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 24px;
}

.ah-natal__ghost-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(213, 184, 117, 0.64);
  border-radius: 999px;
  color: #f3d98e;
  font-weight: 800;
  padding: 10px 18px;
  text-decoration: none;
}

.ah-natal__hero-actions span {
  color: rgba(247, 241, 223, 0.72);
  font-size: 14px;
}

.ah-natal__preview {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(213, 184, 117, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 54px rgba(0, 0, 0, 0.24);
}

.ah-natal__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 34%, transparent 0 38%, rgba(0, 18, 18, 0.08) 62%, rgba(0, 18, 18, 0.42) 100%),
    linear-gradient(180deg, transparent 0 68%, rgba(0, 18, 18, 0.34) 100%);
  pointer-events: none;
}

.ah-natal__preview-visual,
.ah-natal__preview-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.ah-natal__preview-visual {
  position: absolute;
  inset: 0;
}

.ah-natal__preview-visual img {
  object-fit: cover;
  object-position: center;
}

.ah-natal__preview-sheet {
  position: absolute;
  inset: 22px 22px 150px;
  border: 1px solid rgba(213, 184, 117, 0.48);
  border-radius: 6px;
  background: #fffaf0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.ah-natal__preview-wheel {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 190px;
  height: 190px;
  border: 1px solid #17302e;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(0, 57, 57, 0.22) 49.7% 50.3%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(0, 57, 57, 0.22) 49.7% 50.3%, transparent 50.3%),
    radial-gradient(circle, #fffaf0 0 28%, rgba(22, 133, 61, 0.08) 28% 54%, #fffaf0 54% 100%);
  transform: translateX(-50%);
  box-shadow:
    inset 0 0 0 18px #fffaf0,
    inset 0 0 0 19px rgba(0, 57, 57, 0.14),
    inset 0 0 0 42px transparent,
    inset 0 0 0 43px rgba(0, 57, 57, 0.12);
}

.ah-natal__preview-wheel::before,
.ah-natal__preview-wheel::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 50%;
}

.ah-natal__preview-wheel::after {
  inset: 39%;
}

.ah-natal__preview-wheel span {
  position: absolute;
  display: block;
  width: 36%;
  height: 1px;
  left: 50%;
  top: 50%;
  background: #00a327;
  transform-origin: left center;
}

.ah-natal__preview-wheel span:nth-child(1) {
  transform: rotate(24deg);
}

.ah-natal__preview-wheel span:nth-child(2) {
  background: #e24a2f;
  transform: rotate(86deg);
}

.ah-natal__preview-wheel span:nth-child(3) {
  transform: rotate(148deg);
}

.ah-natal__preview-wheel span:nth-child(4) {
  background: #e24a2f;
  transform: rotate(236deg);
}

.ah-natal__preview-wheel strong {
  position: absolute;
  left: -18px;
  top: 50%;
  color: #003939;
  font-size: 12px;
  transform: translateY(-50%);
}

.ah-natal__preview-table {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 8px;
}

.ah-natal__preview-table p {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid rgba(0, 57, 57, 0.12);
  color: #17302e;
  font-size: 12px;
}

.ah-natal__preview-table b {
  color: #174bd6;
  font-size: 17px;
  line-height: 1;
}

.ah-natal__preview-table span {
  color: #17302e;
  font-weight: 700;
}

.ah-natal__preview-table strong {
  color: rgba(0, 57, 57, 0.62);
  font-size: 11px;
}

.ah-natal__preview-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 35, 34, 0.86);
  backdrop-filter: blur(10px);
}

.ah-natal__preview-card p {
  margin-bottom: 10px;
  color: #f3d98e;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ah-natal__preview-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ah-natal__preview-card li {
  color: rgba(255, 247, 223, 0.86);
  font-size: 14px;
}

.ah-natal__preview-card li::before {
  content: "✦";
  margin-right: 6px;
  color: #d5b875;
}

.ah-natal__trust-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.ah-natal__trust-row article {
  padding: 15px 16px;
  border: 1px solid rgba(213, 184, 117, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.ah-natal__trust-row strong,
.ah-natal__trust-row span {
  display: block;
}

.ah-natal__trust-row strong {
  color: #fff7df;
  font-size: 15px;
}

.ah-natal__trust-row span {
  margin-top: 4px;
  color: rgba(247, 241, 223, 0.68);
  font-size: 13px;
}

.ah-natal__form {
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.ah-natal--premium .ah-natal__form {
  border-color: rgba(213, 184, 117, 0.3);
  background: rgba(0, 18, 18, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ah-natal__form-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ah-natal__form-head h3,
.ah-natal__form-head p {
  margin-bottom: 0;
}

.ah-natal__form-head p {
  max-width: 430px;
  color: rgba(247, 241, 223, 0.68);
  font-size: 14px;
}

.ah-natal__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ah-natal label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: rgba(255, 247, 223, 0.92);
  font-size: 14px;
  font-weight: 700;
}

.ah-natal input,
.ah-natal select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(213, 184, 117, 0.45);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: #17302e !important;
  font: inherit;
  letter-spacing: 0;
  padding: 10px 12px;
  -webkit-text-fill-color: #17302e;
}

.ah-natal select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #17302e 50%) calc(100% - 18px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, #17302e 50%, transparent 50%) calc(100% - 13px) 50% / 7px 7px no-repeat,
    #fffdf7;
  color-scheme: light;
  cursor: pointer;
  font-weight: 800;
  padding-right: 34px;
}

.ah-natal select:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.ah-natal__name-field,
.ah-natal__date-field,
.ah-natal__time-field,
.ah-natal__checkbox {
  grid-column: span 2;
}

.ah-natal__date-parts,
.ah-natal__time-parts {
  display: grid;
  gap: 8px;
}

.ah-natal__date-parts {
  grid-template-columns: minmax(72px, 0.7fr) minmax(132px, 1.35fr) minmax(98px, 0.95fr);
}

.ah-natal__time-parts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ah-natal input[type="date"],
.ah-natal input[type="time"] {
  background: #fffdf7;
  color-scheme: light;
  font-weight: 800;
  opacity: 1;
}

.ah-natal input::placeholder {
  color: rgba(23, 48, 46, 0.42);
  -webkit-text-fill-color: rgba(23, 48, 46, 0.42);
}

.ah-natal input[type="date"]::-webkit-date-and-time-value,
.ah-natal input[type="time"]::-webkit-date-and-time-value,
.ah-natal input[type="date"]::-webkit-datetime-edit,
.ah-natal input[type="time"]::-webkit-datetime-edit {
  color: #17302e;
  -webkit-text-fill-color: #17302e;
}

.ah-natal input:focus,
.ah-natal select:focus {
  outline: 2px solid rgba(213, 184, 117, 0.48);
  outline-offset: 2px;
}

.ah-natal__place-field {
  position: relative;
  grid-column: 1 / -1;
}

.ah-natal__city-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  max-height: 292px;
  overflow-y: auto;
  border: 1px solid rgba(213, 184, 117, 0.5);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.ah-natal__city-menu[hidden] {
  display: none;
}

.ah-natal .ah-natal__city-option {
  display: grid !important;
  gap: 3px;
  width: 100%;
  min-height: 0;
  justify-content: stretch;
  border: 0;
  border-radius: 0;
  background: #fffaf0 !important;
  color: #17302e !important;
  cursor: pointer;
  padding: 11px 13px;
  text-align: left;
  white-space: normal;
  box-shadow: none;
  transform: none;
}

.ah-natal .ah-natal__city-option + .ah-natal__city-option {
  border-top: 1px solid rgba(0, 57, 57, 0.1);
}

.ah-natal .ah-natal__city-option:hover,
.ah-natal .ah-natal__city-option:focus {
  background: rgba(213, 184, 117, 0.22) !important;
  color: #003939 !important;
  outline: none;
  transform: none;
}

.ah-natal .ah-natal__city-option strong,
.ah-natal .ah-natal__city-option span,
.ah-natal__city-empty {
  display: block;
  color: #17302e;
}

.ah-natal .ah-natal__city-option strong {
  font-size: 14px;
  line-height: 1.2;
}

.ah-natal .ah-natal__city-option span,
.ah-natal__city-empty {
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.78;
}

.ah-natal__city-empty {
  margin: 0;
  padding: 12px 13px;
}

.ah-natal__place-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ah-natal__place-summary[hidden] {
  display: none;
}

.ah-natal__place-summary span {
  border: 1px solid rgba(213, 184, 117, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 247, 223, 0.86);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  padding: 7px 10px;
}

.ah-natal__checkbox {
  align-self: end;
  display: flex !important;
  min-height: 46px;
  align-items: center;
  gap: 10px !important;
  padding: 10px 12px;
  border: 1px solid rgba(213, 184, 117, 0.32);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.ah-natal__checkbox input {
  width: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: #d5b875;
}

.ah-natal__form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.ah-natal__form-footer p {
  margin-bottom: 0;
  font-size: 14px;
}

.ah-natal button,
.ah-natal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid #d5b875;
  border-radius: 6px;
  background: #d5b875;
  color: #003939;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  padding: 12px 18px;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.ah-natal button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.ah-natal button:hover,
.ah-natal__cta:hover {
  background: #f3d98e;
  color: #00302f;
  transform: translateY(-1px);
}

.ah-natal__status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(213, 184, 117, 0.35);
  border-radius: 6px;
  background: rgba(213, 184, 117, 0.12);
  color: #fff7df;
}

.ah-natal__status[hidden],
.ah-natal__form[hidden],
.ah-natal__results[hidden] {
  display: none;
}

.ah-natal__status.is-loading {
  border-color: rgba(213, 184, 117, 0.48);
  background: rgba(0, 18, 18, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.ah-natal__status strong,
.ah-natal__status small {
  display: block;
}

.ah-natal__status small {
  margin-top: 2px;
  color: rgba(247, 241, 223, 0.7);
  font-size: 13px;
}

.ah-natal__loader {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 3px solid rgba(213, 184, 117, 0.24);
  border-top-color: #d5b875;
  border-radius: 50%;
  animation: ah-natal-spin 850ms linear infinite;
}

@keyframes ah-natal-spin {
  to {
    transform: rotate(360deg);
  }
}

.ah-natal__results {
  min-width: 0;
  margin-top: 28px;
}

.ah-natal__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ah-natal__summary p {
  margin-bottom: 0;
}

.ah-natal__summary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ah-natal .ah-natal__secondary-action {
  border-color: rgba(213, 184, 117, 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: #fff7df;
  text-transform: none;
}

.ah-natal .ah-natal__secondary-action:hover {
  background: rgba(213, 184, 117, 0.16);
  color: #fff7df;
}

.ah-natal__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.ah-natal__cards article {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(213, 184, 117, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.ah-natal__cards span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(213, 184, 117, 0.16);
  color: #f3d98e;
  font-weight: 800;
}

.ah-natal__cards p {
  margin-bottom: 6px;
  color: rgba(247, 241, 223, 0.68);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ah-natal__cards h4 {
  margin-bottom: 0;
}

.ah-natal__chart-focus {
  min-width: 0;
  margin-bottom: 18px;
}

.ah-natal__chart-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.ah-natal__chart-heading h4,
.ah-natal__chart-heading p {
  margin-bottom: 0;
}

.ah-natal__chart-heading > p {
  max-width: 430px;
  color: rgba(247, 241, 223, 0.72);
  font-size: 14px;
}

.ah-natal__chart-system {
  margin-top: 6px;
  color: rgba(213, 184, 117, 0.95) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ah-natal__visuals {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
}

.ah-natal__wheel-wrap,
.ah-natal__interpretation,
.ah-natal__tables section,
.ah-natal__chart-support section,
.ah-natal__aspects {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.ah-natal__wheel-wrap {
  padding: clamp(10px, 2.5vw, 18px);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.ah-natal__classic-sheet {
  position: relative;
  min-width: 900px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 34px);
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #fff;
  color: #151515;
  scroll-margin-top: 110px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.ah-natal__chart-toggle {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin: 0 0 10px auto;
}

.ah-natal .ah-natal__chart-toggle button {
  width: auto;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #c9b06b;
  border-radius: 999px;
  background: #fffdf7;
  color: #4f3b11;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
}

.ah-natal .ah-natal__chart-toggle button.is-active {
  background: #063f37;
  color: #fff8db;
  box-shadow: none;
}

.ah-natal__classic-sheet[data-ah-chart-view="clear"] [data-ah-wheel-mode="full"],
.ah-natal__classic-sheet[data-ah-chart-view="full"] [data-ah-wheel-mode="clear"] {
  display: none;
}

.ah-natal__classic-sheet p,
.ah-natal__classic-sheet td,
.ah-natal__classic-sheet th {
  color: #151515;
}

.ah-natal__classic-meta {
  position: absolute;
  top: clamp(18px, 3vw, 40px);
  left: clamp(18px, 4vw, 64px);
  z-index: 2;
  display: grid;
  gap: 2px;
  color: #151515;
  font-size: 13px;
  line-height: 1.25;
}

.ah-natal__classic-meta strong {
  font-size: 14px;
}

.ah-natal__classic-wheel {
  max-width: 760px;
  margin: 0 auto;
}

.ah-natal__wheel-mode {
  min-width: 0;
}

.ah-natal__classic-bottom {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.25fr) minmax(220px, 0.8fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.ah-natal__classic-sheet h5 {
  margin: 0 0 8px;
  color: #151515;
  font-size: 13px;
  line-height: 1.2;
}

.ah-natal__classic-position-list {
  display: grid;
  gap: 4px;
}

.ah-natal__classic-position-list p {
  display: grid;
  grid-template-columns: minmax(98px, 1fr) minmax(104px, 1fr) minmax(74px, 0.7fr);
  gap: 8px;
  margin: 0;
  color: #111;
  font-size: 12px;
  line-height: 1.25;
}

.ah-natal__classic-body b,
.ah-natal__classic-position b {
  display: inline-block;
  min-width: 18px;
  color: #174bd6;
  font-size: 15px;
  line-height: 1;
}

.ah-natal__classic-dignity {
  color: #174bd6;
}

.ah-natal__quick-positions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.ah-natal__quick-positions h5 {
  margin-bottom: 10px;
}

.ah-natal__quick-position-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ah-natal__quick-position {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: #fbfaf2;
  color: #151515;
  font-size: 12px;
  line-height: 1.2;
}

.ah-natal__quick-glyph {
  grid-row: span 3;
  min-width: 22px;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.ah-natal__quick-position strong,
.ah-natal__quick-position em,
.ah-natal__quick-position small {
  min-width: 0;
}

.ah-natal__quick-position strong {
  color: #111;
  font-size: 12px;
}

.ah-natal__quick-position em {
  color: #303030;
  font-style: normal;
  font-weight: 800;
}

.ah-natal__quick-position small {
  color: #666;
  font-size: 11px;
}

.ah-natal__wheel {
  display: block;
  width: 100%;
  height: auto;
  max-width: 760px;
  margin: 0 auto;
}

.ah-natal__wheel-paper {
  fill: #fff;
  stroke: transparent;
  stroke-width: 0;
}

.ah-natal__wheel-bg {
  fill: #fff;
  stroke: #111;
  stroke-width: 1.2;
}

.ah-natal__wheel--clear .ah-natal__wheel-bg {
  fill: #fffdf6;
}

.ah-natal__wheel-zodiac {
  fill: none;
  stroke: #fff;
  stroke-width: 42;
}

.ah-natal__wheel-ring,
.ah-natal__divisions line {
  fill: none;
  stroke: rgba(0, 0, 0, 0.32);
  stroke-width: 1;
}

.ah-natal__wheel-inner-zodiac-bg {
  fill: none;
  stroke: #eef6eb;
  stroke-width: 42;
}

.ah-natal__asc-line {
  stroke: #f3d98e;
  stroke-width: 2.2;
}

.ah-natal__sign-label {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  text-anchor: middle;
}

.ah-natal__wheel--clear .ah-natal__sign-label {
  font-size: 30px;
  font-weight: 800;
}

.ah-natal__wheel-inner-sign {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  text-anchor: middle;
}

.ah-natal__wheel-inner-sign-line {
  stroke: rgba(0, 0, 0, 0.45);
  stroke-width: 0.8;
}

.ah-natal__wheel-tick {
  stroke: #e13a2f;
  stroke-width: 0.7;
}

.ah-natal__wheel-tick.is-medium {
  stroke: #e13a2f;
  stroke-width: 1;
}

.ah-natal__wheel-tick.is-major {
  stroke: #111;
  stroke-width: 1.8;
}

.ah-natal__wheel-house-line {
  stroke: #16853d;
  stroke-width: 1.25;
}

.ah-natal__wheel--clear .ah-natal__wheel-house-line {
  stroke: rgba(0, 0, 0, 0.42);
  stroke-width: 1;
}

.ah-natal__wheel-house-line.is-axis {
  stroke: #111;
  stroke-width: 1.8;
}

.ah-natal__wheel-house-number {
  fill: #16853d;
  font-size: 16px;
  font-weight: 800;
  text-anchor: middle;
}

.ah-natal__wheel--clear .ah-natal__wheel-house-number {
  fill: rgba(0, 0, 0, 0.58);
  font-size: 13px;
}

.ah-natal__wheel-cusp-number {
  fill: #16853d;
  font-size: 13px;
  font-weight: 800;
  text-anchor: middle;
}

.ah-natal__wheel-cusp-degree,
.ah-natal__wheel-cusp-minute {
  fill: #111;
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
}

.ah-natal__wheel-aspect {
  stroke-width: 1.25;
  opacity: 0.92;
}

.ah-natal__wheel--clear .ah-natal__wheel-aspect {
  stroke-width: 1;
  opacity: 0.46;
}

.ah-natal__wheel-aspect.is-soft {
  stroke: #00b91f;
}

.ah-natal__wheel-aspect.is-hard {
  stroke: #ff2828;
}

.ah-natal__wheel-aspect.is-blend {
  stroke: #ff2828;
}

.ah-natal__wheel-aspect.is-adjust,
.ah-natal__wheel-aspect.is-creative {
  stroke: #174bd6;
}

.ah-natal__wheel-aspect.is-minor {
  stroke-width: 0.9;
  opacity: 0.72;
}

.ah-natal__planet-marker circle {
  fill: #fff7df;
  stroke: #d5b875;
  stroke-width: 1.4;
}

.ah-natal__wheel--clear .ah-natal__planet-marker circle {
  fill: rgba(255, 253, 246, 0.96);
  stroke: rgba(184, 145, 59, 0.82);
  stroke-width: 1.2;
}

.ah-natal__planet-marker text {
  fill: #111;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
  stroke-linejoin: round;
  font-weight: 800;
  text-anchor: middle;
}

.ah-natal__planet-glyph {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 19px;
}

.ah-natal__wheel--clear .ah-natal__planet-glyph {
  font-size: 26px;
}

.ah-natal__planet-position {
  font-size: 11px;
}

.ah-natal__wheel--clear .ah-natal__planet-position {
  font-size: 15px;
  font-weight: 800;
}

.ah-natal__wheel-planet-leader {
  stroke: rgba(0, 0, 0, 0.4);
  stroke-width: 0.9;
}

.ah-natal__wheel--clear .ah-natal__wheel-planet-leader {
  stroke: rgba(0, 0, 0, 0.25);
  stroke-width: 0.75;
}

.ah-natal__wheel-axis-labels text {
  fill: #111;
  font-size: 14px;
  font-weight: 900;
  text-anchor: middle;
}

.ah-natal__wheel--clear .ah-natal__wheel-axis-labels text {
  fill: rgba(0, 0, 0, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.ah-natal__wheel-aspect-symbol {
  font-size: 15px;
  font-weight: 900;
  text-anchor: middle;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
  stroke-linejoin: round;
}

.ah-natal__wheel-aspect-symbol.is-soft {
  fill: #00b91f;
}

.ah-natal__wheel-aspect-symbol.is-hard,
.ah-natal__wheel-aspect-symbol.is-blend {
  fill: #ff2828;
}

.ah-natal__wheel-aspect-symbol.is-adjust,
.ah-natal__wheel-aspect-symbol.is-creative {
  fill: #174bd6;
}

.ah-natal__wheel-aspect-symbol.is-minor {
  font-size: 12px;
}

.ah-natal__wheel-core {
  fill: #fff;
  stroke: #111;
}

.ah-natal__interpretation {
  margin-top: 18px;
  padding: 22px;
}

.ah-natal__interpretation p:last-child {
  margin-bottom: 0;
}

.ah-natal__tables {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 18px;
  min-width: 0;
}

.ah-natal__chart-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.ah-natal__tables section,
.ah-natal__chart-support section,
.ah-natal__aspects {
  min-width: 0;
  padding: 18px;
}

.ah-natal__table-scroll,
.ah-natal__matrix-scroll {
  max-width: 100%;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ah-natal table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.ah-natal th,
.ah-natal td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  padding: 11px 8px;
  text-align: left;
  vertical-align: top;
}

.ah-natal th {
  color: #d5b875;
  font-size: 13px;
  text-transform: uppercase;
}

.ah-natal td {
  color: rgba(255, 247, 223, 0.9);
}

.ah-natal td span {
  color: #f3d98e;
  font-weight: 800;
}

.ah-natal__aspect-matrix {
  min-width: 360px;
  table-layout: fixed;
  border-collapse: collapse;
}

.ah-natal__aspect-matrix th,
.ah-natal__aspect-matrix td {
  width: 24px;
  height: 24px;
  border: 1px solid #111;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.ah-natal__aspect-matrix th {
  color: #174bd6;
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
}

.ah-natal__aspect-matrix th span {
  display: block;
  color: #174bd6;
  font-size: 14px;
  line-height: 1;
}

.ah-natal__aspect-matrix td {
  height: 34px;
  color: #111;
  font-size: 18px;
  font-weight: 900;
}

.ah-natal__aspect-matrix td.is-empty {
  background: #fff;
  border-color: transparent;
}

.ah-natal__aspect-matrix td.is-soft {
  color: #00b91f;
}

.ah-natal__aspect-matrix td.is-hard {
  color: #ff2828;
}

.ah-natal__aspect-matrix td.is-blend {
  color: #ff2828;
}

.ah-natal__aspect-matrix td.is-adjust,
.ah-natal__aspect-matrix td.is-creative {
  color: #174bd6;
}

.ah-natal__aspect-matrix td.is-minor {
  font-size: 13px;
}

.ah-natal__mode-grid {
  min-width: 0 !important;
  border-collapse: collapse;
  table-layout: fixed;
}

.ah-natal__mode-grid th,
.ah-natal__mode-grid td {
  width: 62px;
  min-height: 52px;
  border: 1px solid #111;
  padding: 7px 5px;
  color: #111;
  text-align: center;
  vertical-align: middle;
}

.ah-natal__mode-grid th {
  font-size: 13px;
  font-weight: 800;
}

.ah-natal__mode-grid td span {
  display: inline-block;
  margin: 1px 2px;
  color: inherit;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.home .astro-start-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(213, 184, 117, 0.42);
  background:
    linear-gradient(135deg, #003939 0%, #06302f 48%, #151514 100%) !important;
  box-shadow: 0 24px 58px rgba(0, 57, 57, 0.18);
}

.home .astro-start-card::before,
.home .astro-start-card::after {
  content: none !important;
  display: none !important;
}

.home .astro-start-card > .e-con-inner {
  position: relative;
  z-index: 1;
  min-height: 174px;
  align-items: center;
  gap: 28px;
}

.home .astro-start-card > .e-con-inner > .e-con {
  flex: 1 1 0;
  min-width: 0;
}

.home .astro-start-card .elementor-widget-button {
  flex: 0 0 auto;
  min-width: 236px;
}

.home .astro-start-card .elementor-heading-title {
  color: #fff7df !important;
}

.home .astro-start-card p {
  max-width: 680px;
  color: rgba(247, 241, 223, 0.76) !important;
}

.home .astro-start-card .elementor-button[href*="/izchisli-natalna-karta/"] {
  position: relative;
  width: 100%;
  border: 1px solid #d5b875 !important;
  border-radius: 999px !important;
  background: #d5b875 !important;
  color: #003939 !important;
  text-align: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.home .astro-start-card .elementor-button[href*="/izchisli-natalna-karta/"] .elementor-button-text {
  white-space: nowrap;
}

.home .astro-start-card .elementor-button[href*="/izchisli-natalna-karta/"]:hover {
  background: #f3d98e !important;
  color: #003939 !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0, 57, 57, 0.22);
}

.ah-natal__element-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ah-natal__element-grid h5 {
  margin: 0 0 10px;
  color: #f3d98e;
  font-size: 14px;
  line-height: 1.2;
}

.ah-natal__element-grid p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ah-natal__element-grid strong {
  color: #fff7df;
}

.ah-natal__aspect-list {
  display: grid;
  gap: 10px;
}

.ah-natal__aspect-list p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ah-natal__aspect-list span {
  color: rgba(247, 241, 223, 0.72);
  text-align: right;
}

.ah-natal__aspects {
  margin-top: 18px;
}

.ah-natal__report {
  min-width: 0;
  margin-top: 24px;
}

.ah-natal__report > h3 {
  margin-bottom: 16px;
}

.ah-natal__report-details {
  min-width: 0;
  border: 1px solid rgba(213, 184, 117, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ah-natal__report-details + .ah-natal__report-details {
  margin-top: 12px;
}

.ah-natal__report-details summary {
  cursor: pointer;
  color: #fff7df;
  font-weight: 800;
  line-height: 1.3;
  list-style-position: inside;
  padding: 16px 18px;
}

.ah-natal__report-details[open] summary {
  border-bottom: 1px solid rgba(213, 184, 117, 0.18);
  color: #f3d98e;
}

.ah-natal__report-content {
  min-width: 0;
  padding: 18px;
  overflow-wrap: break-word;
}

.ah-natal__report-text,
.ah-natal__report-list,
.ah-natal__sabian-grid {
  display: grid;
  gap: 14px;
}

.ah-natal__report-entry {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
}

.ah-natal__report-entry h4 {
  margin-bottom: 10px;
  color: #f3d98e;
  font-size: 17px;
}

.ah-natal__report-entry p:last-child,
.ah-natal__report-text p:last-child {
  margin-bottom: 0;
}

.ah-natal__report-marker {
  margin-bottom: 8px;
  color: rgba(247, 241, 223, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ah-natal__sabian-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ah-natal__muted {
  color: rgba(247, 241, 223, 0.68);
}

@media (max-width: 980px) {
  .ah-natal__hero,
  .ah-natal__trust-row {
    grid-template-columns: 1fr;
  }

  .ah-natal__preview {
    min-height: 410px;
  }

  .home .astro-start-card::before {
    right: 42px;
    opacity: 0.34;
  }

  .home .astro-start-card::after {
    right: 170px;
    opacity: 0.45;
  }

  .ah-natal__grid,
  .ah-natal__cards,
  .ah-natal__visuals,
  .ah-natal__tables,
  .ah-natal__chart-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ah-natal__visuals,
  .ah-natal__tables,
  .ah-natal__chart-support {
    grid-template-columns: 1fr;
  }

  .ah-natal__classic-bottom {
    grid-template-columns: 1fr;
  }

  .ah-natal__quick-position-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ah-natal {
    padding: 0 12px;
  }

  .ah-natal__shell {
    padding: 22px 16px;
  }

  .ah-natal__form {
    padding: 16px;
  }

  .ah-natal__grid,
  .ah-natal__cards,
  .ah-natal__element-grid {
    grid-template-columns: 1fr;
  }

  .ah-natal__name-field,
  .ah-natal__date-field,
  .ah-natal__time-field,
  .ah-natal__checkbox,
  .ah-natal__place-field {
    grid-column: 1 / -1;
  }

  .ah-natal__date-parts {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .ah-natal__summary,
  .ah-natal__chart-heading,
  .ah-natal__form-head,
  .ah-natal__form-footer,
  .ah-natal__aspect-list p {
    align-items: stretch;
    flex-direction: column;
  }

  .ah-natal__hero-actions,
  .ah-natal__form-head,
  .ah-natal__summary-actions {
    align-items: flex-start;
  }

  .ah-natal__summary-actions {
    justify-content: stretch;
    width: 100%;
  }

  .ah-natal__preview-card ul {
    grid-template-columns: 1fr;
  }

  .home .astro-start-card::before,
  .home .astro-start-card::after {
    display: none;
  }

  .home .astro-start-card {
    padding-inline: 18px;
  }

  .home .astro-start-card > .e-con-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-block: 26px;
  }

  .home .astro-start-card .elementor-widget-button {
    flex-basis: auto;
    width: 100%;
    min-width: 0;
  }

  .home .astro-start-card .elementor-button[href*="/izchisli-natalna-karta/"] {
    max-width: 320px;
  }

  .ah-natal__classic-sheet {
    min-width: 0;
    max-width: 100%;
    padding: 14px;
  }

  .ah-natal__chart-toggle {
    justify-content: stretch;
  }

  .ah-natal .ah-natal__chart-toggle button {
    flex: 1 1 0;
    width: auto;
  }

  .ah-natal__classic-meta {
    position: static;
    margin-bottom: 8px;
  }

  .ah-natal__quick-position-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ah-natal__classic-position-list p {
    grid-template-columns: minmax(92px, 1fr) minmax(100px, 1fr);
  }

  .ah-natal__classic-dignity {
    grid-column: 1 / -1;
  }

  .ah-natal button,
  .ah-natal__cta {
    width: 100%;
    white-space: normal;
  }

  .ah-natal .ah-natal__chart-toggle button {
    width: auto;
  }

  .ah-natal__aspect-list span {
    text-align: left;
  }

  .ah-natal__sabian-grid {
    grid-template-columns: 1fr;
  }

  .ah-natal table {
    min-width: 340px;
  }
}

@media (max-width: 380px) {
  .ah-natal__quick-position-grid {
    grid-template-columns: 1fr;
  }

  .ah-natal table {
    min-width: 320px;
  }
}
