/*--------------------------------------------------------------------------------
 # General
 --------------------------------------------------------------------------------*/
:root {
  --thalasso-verdigris: #18a999;
  --thalasso-gray-dark: #2e2e2e;
  --thalasso-gray-mid: #4a4a4a;
  --thalasso-gray-light: #666666;
  --thalasso-gray-band: #5a5a5a;
  --thalasso-line: #b8b8b8;
}

body {
  background: #ffffff;
  color: var(--thalasso-gray-dark);
  font-family: "Quicksand", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

/*--------------------------------------------------------------------------------
 # Header Section
 --------------------------------------------------------------------------------*/
#header {
  padding: 2rem 0.75rem 1rem;
}

.header-content {
  position: relative;
}

#header #logo {
  max-width: 220px;
  width: 100%;
  display: inline-block;
}

.language-selector {
  position: absolute;
  right: 0.15rem;
  top: -1.3rem;
}

.language-selector__button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0.25rem;
  color: var(--thalasso-gray-mid);
  display: inline-flex;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 0.4rem;
  line-height: 1;
  padding: 0.4rem 0.25rem;
}

.language-selector__button:hover,
.language-selector__button:focus-visible {
  color: var(--thalasso-verdigris);
}

.language-selector__button:focus-visible {
  outline: 3px solid rgba(24, 169, 153, 0.25);
  outline-offset: 2px;
}

.language-selector__icon {
  fill: none;
  height: 1.1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 1.1rem;
}

.language-selector__chevron {
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  height: 0.35rem;
  margin: -0.18rem 0 0 0.1rem;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  width: 0.35rem;
}

.language-selector__button.show .language-selector__chevron {
  margin-top: 0.18rem;
  transform: rotate(225deg);
}

.language-selector__menu {
  border: 1px solid var(--thalasso-line);
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.1);
  font-family: inherit;
  min-width: 9.5rem;
  overflow: hidden;
  padding: 0.3rem;
}

.language-selector__menu .dropdown-item {
  border-radius: 0.3rem;
  color: var(--thalasso-gray-mid);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 0.65rem;
}

.language-selector__menu .dropdown-item span {
  color: var(--thalasso-gray-light);
  font-size: 0.8rem;
  font-weight: 500;
  margin-left: 0.35rem;
}

.language-selector__menu .dropdown-item:hover,
.language-selector__menu .dropdown-item:focus,
.language-selector__menu .dropdown-item.active {
  background: #e6f5f3;
  color: var(--thalasso-verdigris);
}


/*--------------------------------------------------------------------------------
 # Main Section
 --------------------------------------------------------------------------------*/
.page-title {
  color: var(--thalasso-gray-mid);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 1.5rem 0 1.25rem;
  text-align: center;
}

/*--------------------------------------------------------------------------------
 # Price Toggle
 --------------------------------------------------------------------------------*/
.toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.price-toggle {
  background: #ffffff;
  border: 1px solid var(--thalasso-gray-light);
  border-radius: 999px;
  display: inline-flex;
  overflow: hidden;
}

.price-toggle button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--thalasso-gray-mid);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.price-toggle button.active {
  background-color: var(--thalasso-verdigris);
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2rem;
}

.price-toggle button:focus-visible {
  outline: 3px solid #0b5047;
  outline-offset: 2px;
}

/*--------------------------------------------------------------------------------
 # Price Table
 --------------------------------------------------------------------------------*/
.price-panel {
  margin: 0 auto;
  max-width: 900px;
}

.price-tax-note {
  color: var(--thalasso-gray-light);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.price-row {
  align-items: start;
  border-top: 1px solid var(--thalasso-line);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1rem 0;
}

.price-row:last-of-type {
  border-bottom: 1px solid var(--thalasso-line);
}

.item-name {
  color: var(--thalasso-gray-mid);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

.item-duration {
  color: var(--thalasso-gray-light);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.item-duration span {
  font-size: 1.25rem;
  line-height: 1;
  vertical-align: -0.05em;
}

.item-desc {
  color: var(--thalasso-gray-light);
  font-size: 1rem;
  line-height: 1.5;
}

.item-price {
  color: var(--thalasso-gray-mid);
  font-size: 1.35rem;
  font-weight: 600;
  padding-top: 0;
  white-space: nowrap;
  max-width: 750px;
}

.section-band {
  background-color: var(--thalasso-gray-band);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
}

.section-band span {
  display: block;
  font-size: 0.9em;
  font-weight: 500;
  margin-top: 0.2rem;
}

.section-desc {
  color: var(--thalasso-gray-light);
  font-size: 1rem;
  margin: 0.5rem 0;
}

/*--------------------------------------------------------------------------------
 # VAT Legend
 --------------------------------------------------------------------------------*/
.vat-legend {
  align-items: flex-start;
  background: #e6f5f3;
  border: 1px solid rgba(24, 169, 153, 0.35);
  border-radius: 0.5rem;
  color: var(--thalasso-gray-mid);
  display: flex;
  gap: 0.6rem;
  line-height: 1.5;
  margin: 0 auto 1.5rem;
  max-width: 900px;
  padding: 0.85rem 1rem;
}

.vat-legend p {
  font-size: 0.95rem;
  margin: 0;
}

.vat-legend__icon {
  fill: none;
  flex-shrink: 0;
  height: 1.15rem;
  margin-top: 0.1rem;
  stroke: var(--thalasso-verdigris);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 1.15rem;
}

/*--------------------------------------------------------------------------------
 # Buy Button
 --------------------------------------------------------------------------------*/
.buy-button {
  align-items: center;
  background-color: #18a999;
  background-color: var(--thalasso-verdigris, #18a999);
  border: 1px solid #0f8a7d;
  border-radius: 999px;
  box-shadow: 0 0.2rem 0.45rem rgba(24, 169, 153, 0.3);
  color: #ffffff;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.4rem;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 0.55rem 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.buy-button:hover {
  background-color: #12897c;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.buy-button:focus-visible {
  outline: 3px solid rgba(24, 169, 153, 0.35);
  outline-offset: 2px;
}

.buy-button__icon {
  fill: none;
  height: 1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 1rem;
}

/* Right column for rows that carry an action (price + buy button) */
.price-side {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/*--------------------------------------------------------------------------------
 # Service tooltips (pure CSS, works with hover and click/focus)
 --------------------------------------------------------------------------------*/
.service-tip {
  cursor: help;
  display: inline-block;
  margin-left: 0.45rem;
  position: relative;
}

.service-tip:focus-visible {
  outline: 2px solid rgba(24, 169, 153, 0.4);
  outline-offset: 2px;
  border-radius: 50%;
}

/* Stroke-based help icon (circle + "?") — same style as the other page icons */
.service-tip__icon {
  fill: none;
  height: 1.05rem;
  stroke: var(--thalasso-verdigris);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  vertical-align: -0.15em;
  width: 1.05rem;
}

.service-tip__bubble {
  background: var(--thalasso-gray-dark);
  border-radius: 0.4rem;
  bottom: calc(100% + 0.55rem);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  left: 50%;
  line-height: 1.45;
  opacity: 0;
  padding: 0.6rem 0.75rem;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%) translateY(0.25rem);
  transition: opacity 0.18s ease, transform 0.18s ease;
  visibility: hidden;
  width: 230px;
  z-index: 20;
}

.service-tip__bubble::after {
  border: 6px solid transparent;
  border-top-color: var(--thalasso-gray-dark);
  content: "";
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
}

.service-tip:hover .service-tip__bubble,
.service-tip:focus .service-tip__bubble,
.service-tip:focus-within .service-tip__bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

/* Keep the tooltip inside the viewport on small screens */
@media (max-width: 575.98px) {
  .service-tip__bubble {
    left: 0;
    max-width: min(80vw, 260px);
    transform: translateY(0.25rem);
  }

  .service-tip__bubble::after {
    left: 0.9rem;
    transform: none;
  }

  .service-tip:hover .service-tip__bubble,
  .service-tip:focus .service-tip__bubble,
  .service-tip:focus-within .service-tip__bubble {
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------------------------
 # Footer Section
 --------------------------------------------------------------------------------*/
#footer {
  background-color: var(--thalasso-gray-band);
  color: #ffffff;
  margin-top: 2rem;
  padding: 2rem 1rem;
  text-align: center;
}

#footer p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

#footer p:last-child {
  margin-bottom: 0;
}

#footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

#footer a:hover {
  text-decoration: underline;
}

#footer .footer-contact {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
}

#footer .footer-icon {
  fill: none;
  flex-shrink: 0;
  height: 1.1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 1.1rem;
}

/*--------------------------------------------------------------------------------
 # Back to Top
 --------------------------------------------------------------------------------*/
.back-to-top {
  align-items: center;
  background: var(--thalasso-verdigris);
  border: 0;
  border-radius: 50%;
  bottom: 1.25rem;
  box-shadow: 0 0.35rem 0.9rem rgba(46, 46, 46, 0.2);
  color: #ffffff;
  display: flex;
  height: 2.8rem;
  justify-content: center;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  position: fixed;
  right: 1.25rem;
  transform: translateY(0.75rem);
  transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  width: 2.8rem;
  z-index: 1000;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #12897c;
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(24, 169, 153, 0.35);
  outline-offset: 3px;
}

.back-to-top svg {
  fill: none;
  height: 1.35rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.35rem;
}

@media (max-width: 767.98px) {
  .back-to-top {
    bottom: calc(1rem + env(safe-area-inset-bottom));
    right: 1rem;
  }
}

/*--------------------------------------------------------------------------------
 # Responsive - Tablet and larger screens
 --------------------------------------------------------------------------------*/
@media (min-width: 768px) {
  #header {
    padding: 2.5rem 1rem 1.25rem;
  }

  #header #logo {
    max-width: 250px;
  }

  .page-title {
    font-size: 1.8rem;
    margin: 1.75rem 0 1.5rem;
  }

  .price-toggle button {
    font-size: 1.05rem;
    padding: 0.7rem 2rem;
  }

  .item-name {
    font-size: 1.3rem;
  }

  .item-duration {
    font-size: 1rem;
  }

  .item-price {
    font-size: 1.45rem;
  }

  .section-band span {
    display: inline;
    float: right;
    margin-top: 0;
  }

  .price-tax-note {
    text-align: right;
  }
}

/*--------------------------------------------------------------------------------
 # Responsive - Desktop screens
 --------------------------------------------------------------------------------*/
@media (min-width: 992px) {
  #header {
    padding: 3rem 1rem 1.5rem;
  }

  .page-title {
    font-size: 2rem;
    margin: 2rem 0 1.5rem;
  }

  .toggle-wrap {
    margin-bottom: 2.5rem;
  }

  .price-toggle button {
    font-size: 1.15rem;
    padding: 0.75rem 2.5rem;
  }

  .price-row {
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
  }

  .item-name {
    font-size: 1.4rem;
  }

  .item-price {
    font-size: 1.6rem;
  }

  .section-band {
    font-size: 1.15rem;
  }

  #footer {
    margin-top: 3rem;
    padding: 2.5rem 1rem;
  }

  .price-tax-note {
    text-align: right;
  }
}

[hidden] {
  display: none !important;
}