main button {
  font-family: inherit;
  margin: 1rem auto;
  cursor: pointer;
  font-weight: 700;
}
.btn-solid-gold {
  background-color: var(--gold);
  border: 3px solid var(--gold);
  padding: 1rem 2rem;
  border-radius: 10px;
  color: var(--black);
  transition: background-color 300ms ease;
}
.btn-solid-gold:hover {
  background-color: #e0b815;
  border-color: #e0b815;
}
.btn-whatsapp {
  width: fit-content;
  margin-top: 4rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  background-color: #4ac959;
  color: var(--white);
  border-radius: 7px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 500ms ease;
}
body.dark .contact-info .info-wrapper .whatsapp-cta {
  box-shadow: 0px 0px 25px rgba(41, 175, 7, 0.2);
}
.btn-whatsapp:hover {
  background-color: #32b441;
  color: #ffffff;
  box-shadow: 0px 0px 25px rgba(41, 175, 7, 0.4);
}
.btn-whatsapp .fa-whatsapp {
  font-size: 1.3rem;
  margin-left: 1rem;
}

/* ---------------------------------------- HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  padding-top: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden !important;
}
.hero p {
  width: 60%;
  text-align: center;
  color: var(--text);
  z-index: 980;
}
.hero button {
  margin-top: 2rem;
  z-index: 980;
}
.hero a {
  margin-top: auto;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--text);
  color: var(--text);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  animation: bounce 1s ease infinite alternate;
  z-index: 980;
}

@keyframes bounce {
  0% {
    margin-bottom: 3rem;
  }
  100% {
    margin-bottom: 1.5rem;
  }
}

.or {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.or hr {
  width: 100%;
  background-color: rgba(179, 179, 179, 0.9);
}
.or p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: var(--h2);
  background: var(--bg);
  padding: 0 2rem;
  color: rgba(179, 179, 179, 0.9);
}

/* -------------------------------------- CARDS SECTION  */
.packages .heading,
.packages .intro {
  text-align: center;
  margin-bottom: 1rem;
}
.packages .intro {
  margin: 0 auto;
  margin-bottom: 3rem;
  width: 60%;
  color: var(--text);
}
.cards {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  padding: 5%;
}
.card {
  min-width: 300px;
  width: 30%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  padding: 2%;
  color: var(--text);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg);
  background: linear-gradient(45deg, var(--nav-bg), var(--bg));
}
.card:has(.badge) {
  color: var(--white);
  background: var(--primary);
  background: linear-gradient(45deg, var(--primary-hover), var(--primary));
}
.card.enterprise {
  color: var(--white);
  background: var(--primary);
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.95), rgba(18, 29, 38, 1));
}
.badge {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background-color: var(--gold);
  color: var(--black);
  width: fit-content;
  padding: 1rem 5rem;
  transform: rotate(45deg);
  top: 20px;
  right: -70px;
}
.card h2 {
  margin-bottom: 1rem;
}
.card h3 {
  font-size: var(--h2);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.card p {
  margin-bottom: 2rem;
  position: relative;
  font-size: 0.85rem;
}
.card p::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  width: 40%;
  height: 2px;
  background-color: var(--gold);
}
.card ul {
  margin-bottom: 2rem;
}
.card li {
  margin-bottom: 0.5rem;
  list-style: circle;
  list-style-position: inside;
  font-size: 0.85rem;
}
.card .btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* ------------------------------------- EXTENSION */
.extended {
  padding: 5%;
  justify-content: space-between;
  gap: 20px;
  align-items: stretch;
}
.extended .info {
  width: 50%;
}
.extended p {
  margin: 2rem 0;
  color: var(--text);
}
.extended .image-container {
  width: 45%;
  border-radius: var(--radius);
}
.extended .image-container img {
  height: 100%;
}

/* ------------------------------------- BACKGROUND  */
.gradient-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.sphere-1 {
  width: 40vw;
  height: 40vw;
  background: linear-gradient(
    40deg,
    rgba(255, 0, 128, 0.2),
    rgba(255, 102, 0, 0.1)
  );
  top: -10%;
  left: -10%;
  animation: float-1 15s ease-in-out infinite alternate;
}

.sphere-2 {
  width: 45vw;
  height: 45vw;
  background: linear-gradient(
    240deg,
    rgba(72, 0, 255, 0.2),
    rgba(0, 183, 255, 0.1)
  );
  bottom: -20%;
  right: -10%;
  animation: float-2 18s ease-in-out infinite alternate;
}

.sphere-3 {
  width: 30vw;
  height: 30vw;
  background: linear-gradient(
    120deg,
    rgba(133, 89, 255, 0.5),
    rgba(98, 216, 249, 0.3)
  );
  top: 60%;
  left: 20%;
  animation: float-3 20s ease-in-out infinite alternate;
}

.noise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes float-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(10%, 10%) scale(1.1);
  }
}

@keyframes float-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-10%, -5%) scale(1.15);
  }
}

@keyframes float-3 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-5%, 10%) scale(1.05);
    opacity: 0.6;
  }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  z-index: 2;
}

.glow {
  position: absolute;
  width: 40vw;
  height: 40vh;
  background: radial-gradient(circle, rgba(72, 0, 255, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: pulse 8s infinite alternate;
  filter: blur(30px);
}

@keyframes pulse {
  0% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--text);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

/* ------------------------------------ MODALS */
.normal {
  color: #0071f2;
}
.warning {
  color: #d85600;
}
.danger {
  color: red;
}
.mt-1 {
  margin-top: 1rem;
}

.btn-disabled {
  background-color: #cccccc;
  border-color: #cccccc;
  color: #ffffff;
  cursor: wait;
  /* pointer-events: none; */
}

main.wizard {
  width: 100%;
  height: 100%;
  margin-top: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wizard-card {
  position: relative;
  width: 50%;
  padding: 3%;
  margin: 2rem auto;
  background-color: var(--bg);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-margin-top: 10rem;
}
.wizard-card .top p {
  opacity: 0.5;
}
.wizard-card .top a {
  opacity: 1;
  color: var(--primary);
  font-weight: 500;
  transition: color 00ms ease;
}
.wizard-card .top a:hover {
  color: var(--primary-hover);
}
::placeholder {
  font-family: inherit;
  font-style: italic;
}
.wizard-card .top p {
  font-weight: 700;
}
.wizard-card .intro {
  margin-bottom: 2rem;
}
.wizard-card .intro h2 {
  color: var(--primary);
  text-align: center;
  margin-top: 1rem;
}
.wizard-card .intro p {
  text-align: center;
  width: 80%;
  margin: 0 auto;
}
.wizard-card .messages {
  width: 100%;
  padding: 2%;
  border-radius: 10px;
  border: 1px solid rgb(196, 0, 0);
  color: rgb(196, 0, 0);
  background-color: rgba(255, 179, 179, 0.95);
  justify-content: flex-start;
  margin-bottom: 2rem;
}
.wizard-card .messages.success {
  border: 1px solid rgb(29, 122, 0);
  color: rgb(29, 122, 0);
  background-color: rgba(194, 255, 179, 0.95);
}
.wizard-card .messages .fas {
  font-size: calc(var(--p) + 0.15rem);
}
.wizard-card .messages p {
  font-size: 0.85rem;
  margin-left: 0.5rem;
}
.wizard-card .input {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.wizard-card .or hr {
  margin: 3rem auto;
}
.wizard-card .or p {
  font-size: var(--p);
  font-weight: 700;
  color: var(--text);
}
.wizard-card .input input,
.wizard-card .input textarea {
  font-family: inherit;
  padding: 2%;
  border-radius: 10px;
  border: 2px solid var(--text);
  margin: 0 0 0.2rem;
}
.wizard-card .input label {
  font-size: 0.85rem;
  font-weight: 700;
}
.wizard-card .input .error,
.char-display,
.deadline-warning {
  font-size: 0.85rem;
  align-self: flex-end;
  min-height: 20px;
}
.wizard-card .input .error {
  color: red;
}
.wizard-card .checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2rem;
}
.wizard-card .checkbox {
  justify-content: flex-start;
}
.wizard-card .checkbox p {
  margin: 0 0.5rem;
}
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  width: max-content;
  max-width: 250px;
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  bottom: 125%; 
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: normal; 
  text-align: center;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}
.wizard-card .note {
  font-size: 0.75rem;
  font-style: italic;
  margin-top: 0.5rem;
}
.wizard-card .checks {
  margin: 2rem 0 0;
}
.wizard-card .file-input {
  padding: 1%;
  margin-top: 0.2rem;
  border: 2px solid var(--text);
  border-radius: 7px;
  width: 100%;
}
.wizard-card .file {
  opacity: 0;
  width: 0.1px;
  height: 0.1px;
  position: absolute;
}
.wizard-card .file-input label {
  display: block;
  position: relative;
  padding: 2%;
  width: fit-content;
  border-radius: 7px;
  background-color: var(--primary);
  /* box-shadow: 0 4px 7px rgba(0, 0, 0, 0.4); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease-out;
}
.wizard-card .items .item {
  font-size: 0.75rem;
  margin-bottom: -1rem;
}
.wizard-card .items .item p {
  font-size: 0.85rem;
}
.wizard-card .items .item .actions {
  gap: 10px;
}
.wizard-card .items .item button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: grid;
  place-content: center;
  padding: 0.7rem;
  border: none;
  cursor: pointer;
}
.wizard-card button {
  width: 100%;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: var(--text);
  width: 20px;
  height: 20px;
  border: 2px solid var(--text);
  border-radius: 4px !important;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}
input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: var(--primary);
}
input[type="checkbox"]:checked::before {
  transform: scale(1);
}

/* ------------------------------------ Quote Page ---------------------------------------------- */
.wizard:has(.review-hero) {
  display: block;
}
.review-hero {
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  text-align: center;
  background-color: var(--bg);
  color: var(--text);
}
.review-hero h1 {
  color: var(--primary);
}
.review-hero p {
  width: 50%;
  margin: 1rem auto;
}
.review-hero .image-container {
  width: 40%;
}
.quote {
  position: relative;
  padding: 5%;
  width: 80%;
  margin: 1rem auto;
  background-color: var(--nav-bg);
  color: var(--text);
}
.quote .header {
  margin-bottom: 1rem;
}
.quote h2 {
  text-transform: uppercase;
  color: var(--primary);
}
.quote .image-container {
  width: 15%;
}
.quote h4 {
  text-decoration: underline;
  margin-bottom: 0.5rem;
}
.quote hr {
  margin: 1rem auto;
}
.quote .address {
  align-items: flex-start;
  margin-top: -0.5rem;
}
.quote .details p {
  margin: 0.5rem 0;
}
.quote table {
  margin: 2rem 0;
  width: 100%;
  border-spacing: 0.5rem;
}
.quote table thead tr td {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-weight: 700;
}
.quote table thead td.qty {
  text-transform: uppercase;
}
.quote table td.qty {
  text-align: center;
  width: 10%;
}
.quote table td.price {
  text-align: right;
}
.quote table tbody tr td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--text);
}
.banking-details p,
.totals div {
  margin: 0.5rem 0;
}
.quote .totals {
  width: 40%;
}
.quote .totals .total {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem;
  font-weight: 700;
}
.notes {
  margin-top: 2rem;
}
.notes p {
  font-size: 0.85rem;
}
.coupon {
  margin: 2rem 0;
  margin-left: 10%;
  width: 40%;
}
.coupon .input input {
  padding: 0.75rem 1rem;
}
.cta {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: 90%;
  margin-left: auto;
}
.cta button {
  margin: 0;
}

@media print {
  body * {
    visibility: hidden;
  }
  .quote,
  .quote * {
    visibility: visible;
  }
  .quote {
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: #ffffff;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    width: 210mm;
    min-height: 100vh;
    overflow: visible;
  }
  .banking-details p,
  .totals div {
    margin: 0.3rem 0;
  }
  .notes {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 1024px) {
  .card.enterprise {
    flex-grow: initial;
    width: 49%;
  }
  .wizard-card {
    width: 60%;
  }
}

@media screen and (max-width: 768px) {
  .hero p,
  .packages .intro {
    width: 80%;
  }
  .card {
    padding: 2rem;
  }
  .card.enterprise {
    flex-grow: 1;
  }
  hr {
    width: 60%;
    margin: 3rem auto;
  }
  .extended {
    flex-direction: column;
  }
  .extended .info,
  .extended .image-container {
    width: 100%;
  }
  .wizard-card {
    width: 70%;
  }
}

@media screen and (max-width: 550px) {
  :root {
    --h2: 1.25rem;
    --p: 0.85rem;
  }
  .hero p,
  .packages .intro,
  .review-hero p {
    width: 90%;
  }
  .review-hero .image-container{
    width: 70%;
  }
  hr {
    width: 80%;
    margin: 2rem auto;
  }
  .extended p {
    margin: 1rem 0;
    line-height: 1.6;
  }
  .btn-whatsapp {
    margin-top: 0;
    margin-bottom: 2rem;
  }
  .coupon,
  .wizard-card {
    width: 90%;
    margin: 2rem auto;
    padding: 5%;
  }
  .wizard-card .intro p{
      width: 100%;
  }
  .coupon{
    padding: 2rem;
  }
  .cta{
    width: 95%;
  }
}

@media screen and (max-width: 425px) {
  :root {
    --small-p: 0.75rem;
  }
  ::placeholder {
    font-size: var(--small-p);
  }
  .wizard-card .or p {
    width: 60%;
  }
  .wizard-card .input input,
  .wizard-card .input textarea {
    padding: 3%;
  }
  .wizard-card .input .error,
  .char-display,
  .deadline-warning {
    font-size: var(--small-p);
  }
  .wizard-card .messages {
    padding: 0.85rem;
  }
  .wizard-card .messages p {
    font-size: var(--small-p);
  }
  .card p {
    width: 90%;
  }
}