:root {
  --bg-main: #fff9f5;
  --bg-light: #ffffff;
  --bg-accent: #f4e4dc;
  --text-main: #2d2d2d;
  --text-muted: #5d5d5d;
  --primary: #d4a59a;
  --primary-dark: #c89485;
  --border-soft: #f0e0d7;
  --warm-muted: #8b6b5c;
  --pale-cream: #ffece1;
  --bg-soft: #fffaf7;
  --primary-12: rgba(212, 165, 154, 0.12);
  --primary-25: rgba(212, 165, 154, 0.25);
  --primary-40: rgba(212, 165, 154, 0.4);
  --footer-bg: #2b2523;
  --footer-text: #f6ece6;
  --footer-link: #ffe0cf;
  --footer-pale: #f0e3dd;
  --price-btn: #d6aca2;
  --price-btn-hover: #af8d85;
  --bp-xs: 320px;
  --bp-sm: 640px;
  --bp-md: 960px;
  --bp-lg: 1280px;
  --container-pad: 16px;
  --radius-large: 24px;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.08);
  --container-width: 1120px;
  --pricing-min: 300px;
  --fs-h1: clamp(2rem, 8vw, 3.5rem);
  --fs-h2: clamp(1.6rem, 5vw, 2.4rem); 
  --fs-h3: clamp(1.1rem, 3vw, 1.4rem);
  --fs-body: clamp(0.95rem, 1vw + 0.5rem, 1.05rem);
  --fs-base: 1rem;
  --section-spacing: clamp(40px, 8vw, 100px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

.html {
  font-size: 16px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--primary-25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0px;
}

.header__logo-link {
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 18px;
  color: black;
  text-decoration: none;
}

.header__logo-link span {
  color: black;
}

.footer__logo {
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 18px;
  color: white;
  text-decoration: none;
} 

.footer__center {
  font-size: 14px;
  margin-top: 8px;
}

.footer-p2 {
  color: rgb(173, 173, 173);
}


.footer__logo span {
  color: white;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav__link {
  font-size: 14px;
  text-decoration: none;
  color: #4a4a4a;
  padding: 5px 30px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav__link:hover {
  background: var(--primary-12);
  color: var(--text-main);
}

.nav__link--primary {
  background: var(--primary);
  color: #ffffff;
}

.nav__link--primary:hover {
  background: var(--primary-dark);
}

.lang-select {
  position: relative;
  display: inline-block;
  margin-right: 8px;
}

.lang-select__current {
  background: var(--bg-accent);
  color: var(--warm-muted);
  border: 1px solid var(--border-soft);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-select__current:hover {
  background: var(--primary-12);
  border-color: var(--primary);
}

.lang-select__list {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  list-style: none;
  padding: 8px 0;
  min-width: 60px;
  box-shadow: var(--shadow-soft);
  display: none;
  z-index: 100;
}

.lang-select__list li a {
  display: block;
  padding: 6px 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  text-align: center;
  transition: background 0.2s;
}

.lang-select__list li a:hover {
  background: var(--bg-accent);
  color: var(--primary-dark);
}

.lang-select.is-active .lang-select__list {
  display: block;
}

.hero {
  background: 
    linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(ellipse, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 1) 90%),
    url("/static/img/photo-1661346376364-706a9eac60ab.jpg");
  
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: auto;
  max-height: none;
}

.hero__inner {
  padding: var(--section-spacing) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.tagline__container {
  background-color: var(--bg-accent);
  padding: 1px 3px;
  border-radius: 80px;
  max-width: 400px;
  display: flex;
  justify-content: center;
}

.hero__tagline {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--warm-muted);
  margin-bottom: 12px;
}

.hero__title,
.hero__title2 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  font-weight: 500;
}

.hero__title {
  padding-top: 30px;
  margin: 0 0 16px;
}

.hero__title2 {
  margin: 0 0 16px;
  color: var(--warm-muted);
}

.hero__subtitle {
  margin: 0 0 24px;
  color: var(--text-muted);
  max-width: 460px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero__benefits li::before {
  content: "• ";
  color: var(--primary);
}

.hero__image {
  display: flex;
  justify-content: center;
}

.hero__photo-placeholder {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  border-radius: 32px;
  background: linear-gradient(145deg, var(--bg-accent), var(--pale-cream));
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(8px, 1.2vw, 10px) clamp(16px, 2.4vw, 24px);
  border-radius: 999px;
  border: none;
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.05s, box-shadow 0.1s;
}

.btn--primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 24px var(--primary-40);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(1px);
  box-shadow: 0 6px 16px var(--primary-40);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-main);
  border: 1px solid var(--primary-40);
}

.btn--ghost:hover {
  background: #ffffff;
}

.btn--full {
  width: 100%;
}

.section {
  padding: var(--section-spacing) 0;
  background: var(--bg-main);
}

.section--light {
  background: var(--bg-light);
  margin-top: -1px;
  position: relative;
}

.container__booking {
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.booking__info {
  display: flex;
  justify-content: center;
  flex-direction: column; 
  align-items: center; 
  text-align: center;
}

.section--accent {
  background: linear-gradient(90deg, #e8d4c8 50%, #d4a59a 120%);
}

.section--blur {
    background: linear-gradient(
    to bottom,
    var(--bg-light) 0%,
    rgba(255, 255, 255, 0) 30%
  );
}

.section__title {
  font-weight: 500;
  font-size: var(--fs-h2);
  margin: 0 0 12px;
}

.section__title--center {
  text-align: center;
}

.review__form-title {
  margin-top: 1.2em;
}

.hero__subtitle,
.section__subtitle {
  font-size: var(--fs-body);
  line-height: 1.6;
}

.section__subtitle {
  margin: 0 0 32px;
  color: var(--text-muted);
}

.section__subtitle--center {
  text-align: center;
  max-width: 540px;
  margin-left: auto;
  font-size: 15px;
  color: #8b6b5c;
  margin-right: auto;
}

.section__text {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.section__center {
  text-align: center;
  margin-top: 24px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.container__about {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 520px;
  gap: 40px;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__bg {
  position: absolute;
  inset: -5px;
  border-radius: 40px;
  max-width: 370px;
  background: var(--bg-accent);
  opacity: 0.5;
}

.about__photo {
  position: relative;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--pale-cream), #f4d0c4);
  background-image: url(/static/img/IMG_0274.png);
  background-size: cover;
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.about__content {
  max-width: 520px;
}

.about__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
}

.span__li__about {
  color: var(--warm-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pricing__image {
  width: 100%;
  height: 250px;     
  object-fit: cover; 
  border-radius: 25px 25px 0 0; 
}

.card {
  text-align: center;
  background: var(--bg-light);
  border-radius: var(--radius-large);
  padding: 50px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.card__icon {
  filter: invert(77%) sepia(13%) saturate(1008%) hue-rotate(325deg) brightness(92%) contrast(85%);
  margin-bottom: 0.5em;
}

.card__title {
  margin: 0 0 8px;
  font-weight: normal;
  font-size: var(--fs-h3);
}

.card__text {
  margin: 0;
  font-size: 14px;
  color: var(--warm-muted);
}

.pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: center; 
}

/* hide columns beyond first four until JS enables pagination */
#pricingContainer .pricing__column:nth-child(n+5) {
  display: none;
}

/* pagination controls */
.pricing-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 50px auto 0; /* more space above, center horizontally */
  padding: 0 16px; /* small horizontal padding so buttons don't touch sides on narrow screens */
}

.pricing-page-btn {
  min-width: 40px;
  background: var(--price-btn);
  color: #ffffff;
}

.pricing-page-btn:hover {
  background: var(--price-btn-hover);
}

.pricing-page-btn.active {
  background: var(--primary);
  color: #ffffff;
}

.pricing__column {
  background: var(--bg-light);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 24px); 
  min-width: 300px; 
  max-width: 360px; 
}

.pricing__column:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing__content {
  padding: 25px; 
}

.pricing__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: normal;
}

.pricing__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing__list li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.pricing__list li:last-child {
  border-bottom: none;
}

.review__container {
  background: var(--bg-soft);
  border-radius: var(--radius-large);
  padding: 20px 18px;
  border: 1px solid var(--border-soft);
  max-width: 700px;
  min-height: 150px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.review__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.review__text {
  text-align: center;
  font-style: italic;
  margin: 0 0 12px;
}

.human__review {
  text-align: center;
  margin-top: 10px;
  font-weight: 500;
  margin-bottom: 0;
}

.review__rating {
  text-align: center;
  margin-top: 8px;
  font-size: 16px;
  color: var(--primary);
}

.reviews__carousel {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 24px auto 0;
  max-width: 900px;
}

.review__container {
  flex: 1;
  max-width: 600px;
}

.reviews__btn {
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviews__btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .reviews__carousel {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .review__container {
    width: 100%;
    flex: none;
    flex-basis: 100%;
    order: 1;
  }
  
  .reviews__btn--prev {
    order: 2;
    flex: 1;
  }
  
  .reviews__btn--next {
    order: 3;
    flex: 1;
  }
  
  .reviews__btn--prev, .reviews__btn--next {
    width: 35px;
    height: 35px;
    font-size: 16px;
    flex: none;
  }
}

.btn__booking {
  font-weight: normal;
  background: var(--bg-light);
  color: var(--warm-muted);
  margin-top: 30px;
  font-size: 15px;
}

.btn__booking:hover {
  box-shadow: 0 10px 24px rgba(65, 64, 64, 0.4);
  transform: scale(1.1);
  transition: ease-in-out 0.3s;
}

.faq {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 720px;
  margin: 24px auto 0;
}

.faq__item {
  border-radius: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  padding: 12px 16px;
  margin-bottom: 10px;
}

.faq__question {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

.faq__answer {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: flex-start;
}

.booking__list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
}

.form {
  background: var(--bg-light);
  border-radius: 24px;
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 12px;
}

.form__field span {
  color: var(--text-main);
}

.form input,
.form select,
.form textarea {
  border-radius: 999px;
  border: 1px solid #e5d4cb;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.form textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 72px;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-25);
  background: #fffdfb;
}

.footer {
  padding: 32px 0 20px;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: start;
  max-width: var(--container-width);
  width: 100%;
  padding: 0 16px;
}

.footer__left, .footer__center, .footer__right {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__logo {
  margin-top: 15px;
  margin-bottom: 8px;
}

.footer__text {
  margin: 0;
  font-size: 14px;
  color: var(--primary);
  max-width: 260px;
}

.footer__center p {
  margin-bottom: 0px;
}

.footer__block h4 {
  font-size: 15px;
}

.footer__block p {
  font-size: 14px;
  color: var(--footer-pale);
}

.footer a {
  color: var(--footer-link);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.price {
  font-size: 24px;
  color: var(--primary);
  font-weight: 500;
  display: flex;           
  justify-content: space-between; 
  align-items: baseline;     
  width: 100%;
  margin-top: -5px;
}

.price__from {
  font-size: 12px;       
  color:var(--warm-muted);              
  font-weight: normal;
  text-transform: lowercase;
}

.price__btn {
  width: 100%;
  background-color: var(--price-btn);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 40px;
  cursor: pointer;
}

.price__btn:hover {
  background-color: var(--price-btn-hover);
  transition: background-color 0.3s ease-in-out;
}

  .footer__line {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 90%;
  }

  .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   
    width: 100%;
    text-align: center;
    padding: 20px;
    max-width: 100%;
  }

  .footer__disclaimer {
    max-width: 900px;   
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;   
  }

  .footer__copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
  }

  .review__form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .review__form-field input,
  .review__form-field textarea {
    border: none;            
    outline: none;             
    border-radius: 80px;     
    width: 100%;
    padding: 5px 10px;
    background: #ffffff;      
    font: inherit;
    resize: none;              
  }

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh; 
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal, .contact-modal {
  width: 100%;
  max-width: 520px;
  margin: auto;
  position: relative;
  transform: translateY(-20px);
}

.modal .form {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.error-content {
  background: var(--bg-light);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  max-width: 500px;
  width: auto;
  margin: 0 auto;
  transform: translateY(0);
  display: inline-block;
}

.error-title {
  font-weight: normal;
  font-size: 24px;
  margin: 0 0 16px;
  color: var(--text-main);
}

.error-message {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 24px;
  line-height: 1.6;
}

.success-content {
  background: var(--bg-light);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  max-width: 450px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.success-icon {
  font-size: 64px;
  color: var(--primary);
  margin-bottom: 16px;
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-weight: normal;
  font-size: 24px;
  margin: 0 0 16px;
  color: var(--text-main);
}

.success-message {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 24px;
  line-height: 1.6;
}

.contact-modal {
  background: var(--bg-light);
  border-radius: 24px;
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  max-width: 520px;
  width: 100%;
  text-align: center;
  max-height: 90vh;
  overflow: auto;
}

#closeContactModal {
  margin-top: 18px;
  display: inline-block;
}

.contact__icons {
  display: flex;
  gap: 20px;      
  justify-content: space-evenly; 
  align-items: center;
  flex-wrap: nowrap;    
  overflow-x: auto;     
  margin: 8px 0 6px;
}

.contact__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main);
  text-decoration: none;
  padding: 8px 12px;
  flex: 0 1 auto;      
  min-width: 60px;   
}

.contact__item svg,
.contact__icon {
  width: 48px;
  height: 48px;
  filter: invert(77%) sepia(13%) saturate(1008%) hue-rotate(325deg) brightness(92%) contrast(85%);
}

.contact__label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.phone-popup {
  margin-top: 10px;
}
.phone-popup__inner {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}
.phone-popup__inner #phoneNumberDisplay {
  font-weight: 600;
  color: var(--text-main);
}
.phone-popup__inner #copyPhone {
  padding: 6px 10px;
  border-radius: 999px;
}

.review__rating-input {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.review-star-icon {
    width: 18px;
    height: 18px;
    margin: 0 1px;
    filter: invert(77%) sepia(13%) saturate(1008%) hue-rotate(325deg) brightness(92%) contrast(85%);
}

.stars {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.star {
  filter: invert(77%) sepia(13%) saturate(1008%) hue-rotate(325deg) brightness(92%) contrast(85%);
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.3;
  transition: opacity 0.2s, transform 0.2s, filter 0.2s;
}

.star:hover,
.star.active {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 380px) {
    .header__logo {
        font-size: 1.2rem; 
    }
    
    .header__logo span {
        display: none; 
    }

    .nav__link--primary {
        padding: 6px 8px;
        font-size: 11px;
        letter-spacing: 0;
    }
}

@media (max-width: 480px) {
  .header__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap; 
    }

    .nav {
        margin-left: auto; 
    }

    .nav__link--primary {
        padding: 8px 12px; 
        font-size: 13px;   
    }

    .lang-select__current {
        font-size: 13px;
        padding: 5px;
    }

  .modal-overlay { padding: 16px; }
  .modal { max-width: 100%; }
  
  .section__text--about {
    font-size: 15px;
  }

  .section__title {
    font-weight: 500;
  }

}
  .error-content {
    padding: 24px 16px;
  }

   .review__form-field {
     width: 400px;
   }

   .textarea-wrapper {
  position: relative;
  width: 100%;
  }

  .review__form-field textarea {
    padding-right: 60px;
    min-height: 45px;
    padding: 12px 60px 12px 20px;
    line-height: 1.2;
    display: flex;
    align-items: center;
  }

  .char-counter {
    position: absolute;
    right: 20px;
    bottom: 12px; 
    font-size: 11px;
    color: var(--warm-muted);
    pointer-events: none;
    background: rgba(255, 255, 255, 0.8); 
    padding: 2px 4px;
    border-radius: 4px;
  }

  .char-counter.limit-reached {
    color: #d9534f;
    font-weight: bold;
  }

  .review__form-form {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: var(--bg-soft);
    gap: 12px;
    padding: 50px 200px;
    max-width: 600px;
    border-radius: 80px;
    border: 1px solid #e5d4cb;
  }

  .btn--form {
    margin-top: 2em;
  }

  .footer__phone {
  display: block;
  font-size: 16px;
  color: var(--footer-pale);
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s;
  }

  .footer__phone:hover {
    color: var(--primary);
  }

  .footer__socials {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
  }

  .footer__social-link img {
    width: 24px;
    height: 24px;
    filter: invert(93%) sepia(5%) saturate(543%) hue-rotate(323deg) brightness(105%) contrast(92%);
    transition: transform 0.2s, filter 0.2s;
  }

  .footer__social-link:hover img {
    transform: translateY(-3px);
    filter: invert(77%) sepia(13%) saturate(1008%) hue-rotate(325deg) brightness(92%) contrast(85%);
  }

@media(min-width: 961px) and (max-width: 1240px) {
  .header__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  .hero__content {
    padding-left: 40px;
  }
  .container__about {
    padding-left: 40px; 
    box-sizing: border-box;
  }
}

@media (max-width: 960px) {
  .hero__inner,
  .about,
  .cards,
  .booking,
  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__inner {
    text-align: left;
  }

  .hero__image {
    order: -1;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding-top: 40px;
  }

  .hero__content {
    text-align: center;
    align-self: start;
  }

  .tagline__container {
    position: static;
    left: auto;
    transform: none;
    top: auto;
    margin: 0 auto 12px;
    z-index: auto;
  }

  .hero__inner .hero__actions {
    justify-content: center !important;
    width: 100% !important;
  }

  .hero__inner .hero__actions > .btn {
    display: block !important;
    margin: 0 auto !important;
    max-width: 320px !important;
    width: 100% !important;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header__inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 20px;
  }

  .container__about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    width: 100%;
  }

  .about__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 0;
    list-style: none;
  }

  .about__list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--primary-12);
    transition: padding-left 0.3s ease;
  }

  .about__list li:last-child {
    border-bottom: none;
  }

  .about__list li:hover {
    padding-left: 10px; 
  }

  .container__about .about__image .about__bg {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .container__about .about__content {
    width: 100%;
    max-width: 520px;
  }

  .about__photo {
    width: min(520px, 92vw) !important;
  }

  .about__bg {
    width: min(540px, 94vw) !important;
  }

  .section__title {
    margin-top: 1em;
    text-align: center;
  }
  
}
  
  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

@media (max-width: 640px) {
  
    #reviewTextarea {
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
  }
  .lang-select {
    margin-right: 0;
  }

  .section__text--about {
    margin-left: 1em;
    margin-right: 0.5em;
  }

  .about__list li {
    margin-top: 1em;
  }

  .span__li__about {
    margin-top: 0.5em;
  }
  
  .container__about {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  .review__form {
    padding: 0 20px; 
    box-sizing: border-box;
    max-width: 1000px; 
    margin: 0 auto;
  }

  .review__form-form {
    padding: 30px 20px;
    width: 100%; 
    max-width: 100%; 
    box-sizing: border-box;
  }

  .review__form-field {
    width: 100%;
    box-sizing: border-box;
  }

  .hero__tagline {
    padding-top: 5px;
    font-size: 8px;
  }

  .tagline__container {
    max-width: 320px;
  }

  .section__text--about {
    font-size: 16px;
    text-align: center;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
  }

  .booking {
    gap: 20px;
  }

  .contact__icons {
    gap: 8px;                   
    justify-content: center;    
    flex-wrap: nowrap;
    overflow-x: visible;
  }

  .contact__item {
    padding: 6px 8px;           
    min-width: 48px;             
    flex: 0 1 auto;               
  }

  .contact__item svg,
  .contact__icon {
    width: 28px;
    height: 28px;
  }

  .contact__label {
    font-size: 10px;
    margin-top: 3px;
  }

  .footer__socials {
    gap: 10px;
  }

  .footer__social-link img {
    width: 20px;
    height: 20px;
  }

  .footer__bottom {
    padding: 15px;
    gap: 10px;
  }

  .footer__disclaimer {
    max-width: 100%;
    font-size: 11px;
    margin-bottom: 10px;
  }
}