body {
	background-image: url("../assets/images/bnb.jpg");
}

.container:nth-child(1) {
	align-items: center;
	& .btn {
		border-color: rgba(255, 255, 255, 0.3);
		margin-top: 1rem;
		padding-inline: 2rem;
	}
}

/* --- CHOICE GRID --- */
.choice-grid {
  display: grid;
  width: 100%;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

.choice-card {
	color: white;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--br);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.choice-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
}

.choice-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  font-weight: bold;
}

.choice-info p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}
p b {
	font-weight: 500;
}
.choice-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
  opacity: 0.9;
}

/* --- MODALS --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1500;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1600;
  padding: 1rem;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-inner {
  max-width: 540px;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  border-radius: var(--br);
  padding: 1.5rem 1.6rem 1.8rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  & .btn {
	color: white;
	cursor: pointer;
  }
}

.modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: var(--dimmish);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  color: var(--white);
  transform: scale(1.1);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.modal-form fieldset {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--br);
  padding: 0.8rem 0.9rem;
}

.modal-form legend {
  padding: 0 0.3rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.check-row input[type="checkbox"] {
  margin-top: 0.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.field span {
  opacity: 0.9;
  &:after {
	content: " *";
	color: rgb(0, 166, 255);
  }
}
.field:last-of-type span:after {
	content: " (optional)";
	font-size: .8em;
  }

.field input,
.field textarea {
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--br);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.55rem 0.7rem;
  color: white;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.7);
}

.form-note {
  font-size: 0.75rem;
  opacity: 0.6;
}

.form-confirmation {
  font-size: 0.85rem;
  margin-top: 0.4rem;
  color: var(--dimmish);
  background: rgba(0, 145, 255, 0.1);
  padding: .5rem;
  border-radius: var(--br);
}

/* Mobile adjustments */
@media (max-width: 800px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .modal-inner {
    padding: 1.2rem 1.1rem 1.4rem;
  }
}

/* --- FLOATING SELECTABLE TOGGLES (Label-only version) --- */
.toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  border: none;
  margin-bottom: 0.6rem;
}

/* The clickable pill */
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.55rem 1.1rem;
  border-radius: var(--br-r);

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(170, 240, 255, 0.35);

  cursor: pointer;
  user-select: none;

  font-size: 0.9rem;

  transition: 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Hover */
.toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Hide real checkbox */
.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ACTIVE STATE — apply to the label itself */
.toggle input:checked + * {
  /* No effect here — since there's no span */
}

.toggle input:checked {
  /* Also no effect — must target the label */
}

/* Targeting the LABEL when input is checked */
.toggle input:checked {
  /* no visual here */
}

.toggle input:checked ~ * {
  /* nothing here either */
}

/* REAL active style — use :has() if supported, fallback trick below */
.toggle:has(input:checked) {
  background: rgba(0, 166, 255, 0.15);
  border-color: rgba(0, 166, 255, 0.85);
  box-shadow: 0 0 8px rgba(0, 166, 255, 0.1);
  font-weight: bold;
  color: white;
}

/* Tooltip */
.toggle[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;

  background: rgba(0,0,0,0.75);
  padding: 0.3rem 0.55rem;
  border-radius: var(--br);
  font-size: 0.75rem;

  opacity: 0;
  pointer-events: none;

  border: 1px solid rgba(0, 166, 255, 0.5);
  transition: opacity 0.15s ease;
}

.toggle:hover::after {
  opacity: 1;
}

/* Mobile */
@media (max-width: 520px) {
  .toggle {
    width: 100%;
    justify-content: center;
  }
}

.subp {
	color: rgba(255, 255, 255, 0.222);
}


/* --- INDEX FLEX LAYOUT --- */
#index .index-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

#index .index-text {
  flex: 1;
  max-width: 600px;
}

#index .index-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

#index .index-subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 1.3rem;
}

#index .index-list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
  opacity: 0.95;
  font-size: 0.95rem;
  line-height: 1.6;
}

#index .index-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

#index .index-image img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--br);
  opacity: 0.88;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.4));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#index .index-image img:hover {
  opacity: 1;
  transform: scale(1.02);
}

#index .index-btn {
  margin-top: 1.5rem;
  padding-inline: 2rem;
}

/* Mobile */
@media (max-width: 900px) {
  #index .index-flex {
    flex-direction: column;
    text-align: center;
  }

  #index .index-image img {
    max-width: 320px;
  }

  #index .index-text {
    text-align: center;
  }
}


/* --- GREGI 360 FLEX LAYOUT --- */
#g360 .g360-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

#g360 .g360-text {
  flex: 1;
  max-width: 600px;
}

#g360 .g360-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

#g360 .g360-subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 1.3rem;
}

#g360 .g360-list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
  opacity: 0.95;
  font-size: 0.95rem;
  line-height: 1.6;
}

#g360 .g360-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

#g360 .g360-image img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--br);
  opacity: 0.88;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.4));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#g360 .g360-image img:hover {
  opacity: 1;
  transform: scale(1.02);
}

#g360 .g360-btn {
  margin-top: 1.5rem;
  padding-inline: 2rem;
}

/* Mobile layout */
@media (max-width: 900px) {
  #g360 .g360-flex {
    flex-direction: column;
    text-align: center;
  }

  #g360 .g360-image img {
    max-width: 320px;
  }

  #g360 .g360-text {
    text-align: center;
  }
}

#g360, #index {
  & li {
    list-style: none;
  }
}
.g360-text, .index-text {
  margin-bottom: 2rem;
}