.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  align-items: end;
}
.div__action {
  margin: 0 !important;
}
.actions-grid-page {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4vh;
    margin-bottom: 2.5rem;
    margin-left: 4vh;
    margin-right: 4vh;
    align-items: end;
}
.action-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  min-height: 120px;
  height: 300px;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.action-card-page {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.07);
    overflow: hidden;
    padding: 0;
    position: relative;
    height: 100%;
}
.actions__label {
    position: absolute;
    top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    background-color: #ff0000cf;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 5px 10px;
    z-index: 10;
    text-transform: uppercase;
    width: 100%;
}
.action-card:hover {
  box-shadow: 0 8px 32px 0 rgba(45,131,244,0.10);
}
.action-card-page:hover {
  box-shadow: 0 8px 32px 0 rgba(45,131,244,0.10);
}
.action-image {
  width: 100%;
  height: 250px;
  flex-shrink: 0;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 15px 15px 0px 0px;
  overflow: hidden;
  padding: 0;
}
.action-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.action-content {
  flex: 1 1 auto;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.action-content-body {
  display: flex;
  flex-direction: column;
   align-items: stretch !important;
  min-width: 0;
}
.action-title {
  margin-bottom: 0.4em;
}
.action-short-desc {
  color: #444;
  font-size: 0.97rem;
  margin: 0 0 0.5em 0;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  display: block;
}
.small-description {
  width: 100%;
  height: auto;
  display: block;
}

.action-short-desc.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.action-toggle-btn {
  display: inline-block;
  margin-bottom: 0.6em;
  border: none;
  background: #fff;
  color: #19191a;
  border-radius: 5px;
  padding: 9px 18px 9px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
  outline: none;
  box-shadow: 0 1px 4px 0 rgba(55,55,55,0.03);
  user-select: none;
  letter-spacing: 0.02em;
}
.action-toggle-btn:hover, .action-toggle-btn:focus {
  background: #ededed;
  color: #19191a;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(25,25,26,0.10);
}
.action-toggle-btn:active {
  background: #d9d9d9;
  color: #0d0d0d;
  box-shadow: none;
}
.action-desc-collapsed {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.57,.1,.1,1), padding 0.3s;
  padding: 0 0;
  margin-bottom: 0;
}

.action-desc-collapsed.is-open {
  max-height: 2000px;
  padding: 0.5rem 0 1rem 0;
  margin-bottom: 0.5rem;
  /* Нет скролла и жёсткой высоты */
}
.action-signup-btn {
  margin-left: auto;
  align-self: flex-start;
}
.action-full-desc {
  word-break: break-word;
  white-space: pre-line;
  overflow-y: auto;
  max-height: 200px;
  padding: 0.9em 1.3rem 0.5em 1.3rem;
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
}
.action-desc-full {
  word-break: break-word;
  white-space: pre-line;
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
  margin-bottom: 0.8em;
  overflow-y: auto;
  max-height: calc(320px - 60px - 2*1.3rem);
  padding-bottom: 1rem;
}
.action-desc-full-page {
    word-break: break-word;
    white-space: pre-line;
    font-size: 1rem;
    color: #222;
    line-height: 1.6;
    margin-bottom: 0.8em;
    overflow-y: auto;
    height: calc(300px - 60px - 2 * 1.47rem);
    padding-bottom: 1rem;
}
.action-content.js-action-brief,
.action-content.js-action-full {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  height: 400px;
}
.action-full-buttons {
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    display: flex;
    gap: 1rem;
    box-shadow: 0 -2px 8px rgba(25, 25, 26, 0.03);
    z-index: 2;
}
.action-full-buttons-page {
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    display: flex;
    gap: 1rem;
    box-shadow: 0 -2px 8px rgba(25, 25, 26, 0.03);
    z-index: 2;
}
@media (max-width: 1024px) {
.actions-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4vh;
    margin-bottom: 2.5rem;
    margin-left: 4vh;
    margin-right: 4vh;
    align-items: end;
}
}
@media (max-width: 768px) {
.actions-grid-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4vh;
    margin-bottom: 2.5rem;
    margin-left: 4vh;
    margin-right: 4vh;
    align-items: end;
}
}
@media (max-width: 425px) {
.actions-grid-page {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 4vh;
    margin-bottom: 2.5rem;
    margin-left: 4vh;
    margin-right: 4vh;
    align-items: end;
}
}
@media (max-width: 900px) {
  .actions-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 96vw;
  }
  .action-card {
    min-height: 180px;
    padding: 0.9rem;
  }
  .action-image { height: 150px; margin-bottom: 0.7rem; }
  .action-title { font-size: 1rem; }
  .action-signup-btn { margin: 0; align-self: stretch; }
  .action-short-desc { max-width: 100%; }
}
.actions {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}
.actions__preloader {
  min-height: 320px;
  width: 100%;
  background: #f7f7f7;
  border-radius: 16px;
  animation: fade 1.2s infinite alternate;
}
@keyframes fade {
  from { opacity: 0.5; }
  to { opacity: 1; }
}
.actions--ready .actions__preloader {
  display: none;
}
.actions__slider {
  min-height: 320px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.actions__wrapper {
    display: flex;
}
.actions__slider {
  min-height: 320px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.actions__slider.swiper-initialized {
  min-height: auto;
  opacity: 1;
}
.actions__item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transition: transform .3s ease, box-shadow .3s ease;
    flex: 0 0 auto;
    margin-bottom: 2vh;
}
.actions__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.actions__image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
}
.actions__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.actions__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 25%, rgba(0,0,0,0.1) 80%, transparent 100%);
    box-sizing: border-box;
}
.action-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.action-short-desc {
    font-size: 15px;
    margin-bottom: 12px;
    max-width: 90%;
}
.action-short-desc-main {
    font-size: 15px;
    margin-bottom: 12px;
    max-width: 90%;
    color: block;
}
.yellow-btn.action-signup-btn {
    background: #ffcc00;
    color: #000;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}
.yellow-btn.action-signup-btn:hover {
    background: #e6b800;
}
.allcategory-container {
    margin: auto;
    text-align: left;
    background-color: #fff;
}
.allcategory-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
    max-width: 140vh;
    margin: 0 auto;
    margin-top: 5vh;
    flex: 1;
    padding-bottom: 5vh;
}
.allcategory-item {
    width: 32%;
    background: white;
    padding: 2vh;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.allcategory-item:hover {
    transform: scale(1.05);
    z-index: 2;
}
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.category-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 2vh;
}
.button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-content: center;
}
.allcategory-border-btn {
    background: transparent;
    color: #000;
    border: 1px solid #f1c40f;
    padding: 5px 15px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 25px;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.3s;
}
.allcategory-border-btn:hover {
    background-color: #f1c40f;
    color: #000;
}
.category-img-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}
.allcategory-item img {
    width: 100%;
    height: auto;
    margin-top: 10px;
    object-fit: cover;
}
@media (max-width: 1200px) {
  .allcategory-item {
    width: 48%;
  }
  .category-title {
    font-size: 16px;
  }
  .allcategory-border-btn {
    font-size: 16px;
    padding: 5px 12px;
  }
}
@media (max-width: 992px) {
  .allcategory-grid {
    gap: 15px;
  }
  .allcategory-item {
    width: 100%;
  }
  .category-title {
    font-size: 15px;
  }
  .allcategory-border-btn {
    font-size: 15px;
    padding: 5px 10px;
  }
}
@media (max-width: 768px) {
  .allcategory-grid {
    padding: 0 10px;
  }
  .allcategory-item {
    padding: 2vh 1.5vh;
  }
  .category-title {
    font-size: 14px;
  }
  .allcategory-border-btn {
    font-size: 14px;
    padding: 4px 10px;
  }
}
@media (max-width: 480px) {
  .allcategory-grid {
    gap: 10px;
  }
  .allcategory-item {
    padding: 2vh 1vh;
  }
  .category-title {
    font-size: 13px;
  }
  .allcategory-border-btn {
    font-size: 13px;
    padding: 4px 8px;
  }
  .allcategory-item img {
    margin-top: 5px;
  }
}
.carousel-section {
    margin: auto;
    text-align: left;
    background-color: #fff;
}
.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.carousel-header h2 {
    font-size: 22px;
    font-weight: bold;
}
.request-btn {
    background: yellow;
    padding: 12px 20px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 20px;
}
.main-carousel-container {
    position: relative;
    overflow: hidden;
}
.compilation-link {
    text-decoration: none;
    color: inherit;
    outline: none;
    background: none;
    user-select: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
    border: 0;
}
.carousel-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    margin-bottom: 15vh;
    margin-top: 10vh;
    transition: transform 0.4sease-in-out;
    padding-right: 100px;
    padding-left: 100px;

}
.carousel-item {
    width: 400px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    margin-right: 2vh;
    margin-left: : 2vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.carousel-item img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 15px;
}
.image-05{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  flex-direction: column;
}
.image-05 img {
object-fit: cover;
}
.carousel-item .info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(2px);
}
.carousel-item .info img {
    width: 16px;
    margin-right: 5px;
}
.carousel-btn {
    position: absolute;
    top: 40%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    z-index: 10;
    transition: transform 0.2s ease;
}
.carousel-btn:hover {
    transform: scale(1.1);
}
.carousel-btn.left {
    left: 5px;
}
.carousel-btn.right {
    right: 5px;
}
.compilation-card-title {
    font-size: 18px;
    display: flex;
    align-items: center;
}
.compilation-card-title span {
    color: #FFD700;
    font-size: 20px;
    margin-right: 5px;
}
.carousel-item:hover {
    transition: transform 0.3s ease;
    transform: scale(1.03);
}
@media (max-width: 1200px) {
  .carousel-wrapper {
    padding-left: 50px;
    padding-right: 50px;
  }
  .carousel-item {
    width: 350px;
    height: 260px;
  }
  .carousel-header h2 {
    font-size: 20px;
  }
  .request-btn {
    padding: 10px 18px;
    font-size: 14px;
  }
}
@media (max-width: 992px) {
  .carousel-wrapper {
    padding-left: 30px;
    padding-right: 30px;
    justify-content: center;
    transform: 0;
  }
  .carousel-item {
    width: 300px;
    height: 220px;
    margin: 0 10px;
  }
  .carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .carousel-header h2 {
    font-size: 18px;
  }
  .request-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .carousel-wrapper {
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
  }
  .carousel-item {
    width: 90%;
    height: auto;
    margin: 10px 0;
  }
  .carousel-header h2 {
    font-size: 16px;
  }
  .request-btn {
    padding: 6px 14px;
    font-size: 12px;
  }
  .com-btn {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .carousel-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
  .carousel-item {
    width: 100%;
    height: 300px;
    margin: 8px 0;
    object-fit: cover;
  }
  .carousel-header h2 {
    font-size: 14px;
  }
  .request-btn {
    padding: 5px 12px;
    font-size: 11px;
  }
  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .carousel-item .info {
    font-size: 12px;
    padding: 4px 8px;
  }
  .carousel-item .info img {
    width: 14px;
    margin-right: 4px;
  }
}
.information-01 {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #fff;
}
.div-01 {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1920px;
    gap: 5vh;
    padding: 20px;
}
.content,
.image {
    flex: 1;
    max-width: 900px;
    min-width: 450px;
    height: auto;
}
.content {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 20px;
}
.highlight {
    color: #f1c40f;
}
.image {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image img {
    width: 100%;
    height: auto;
    border-radius: 15px 15px 0px 0px;
    box-shadow: 4px 11px 10px 2px rgb(0 0 0 / 20%);
}
@media (max-width: 1024px) {
    .div-01 {
        gap: 3vh;
    }
    .content, .image {
        max-width: 100%;
        min-width: auto;
    }
    .content {
        font-size: 18px;
    }
}
@media (max-width: 768px) {
    .div-01 {
        flex-direction: column;
        gap: 2vh;
    }
    .content, .image {
        max-width: 100%;
        min-width: auto;
    }
    .content {
        font-size: 16px;
    }
    .image img {
        border-radius: 10px 10px 0px 0px;
    }
}
@media (max-width: 480px) {
    .div-01 {
        padding: 10px;
    }
    .content {
        font-size: 14px;
    }
    .image img {
        border-radius: 8px 8px 0px 0px;
    }
}
.div-02 {
    margin: auto;
    text-align: left;
    background-color: #fff;
    padding: 20px;
}
.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 15vh;
}
.stat {
    position: relative;
    background: white;
    padding: 2rem;
    box-shadow: 0px 4px 10px 4px rgb(0 0 0 / 20%);
    text-align: center;
    flex: 1 1 300px;
    height: auto;
    max-width: 400px;
    box-sizing: border-box;
    transition: color 0.3s;
}
.stat::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F6C833;
    transform: scaleY(0);
    transform-origin: bottom left;
    transition: transform 0.5s ease;
    z-index: 1;
}
.stat:hover::before {
    transform: scaleY(1) scaleX(1);
    transform-origin: top right;
}
.stat .number,
.stat .text {
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}
.stat:hover .number,
.stat:hover .text {
    color: white;
}
.stat .number {
    font-size: 3.75rem;
    font-weight: bold;
    color: #F6C833;
}
.stat .text {
    font-size: 1.25rem;
    color: #333;
    margin-top: 10px;
}
.buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid #F6C833;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}
.btn.primary {
    background: #F6C833;
}
@media (max-width: 768px) {
    .stat {
        flex: 1 1 100%;
        max-width: 90%;
    }
    .stat .number {
        font-size: 2.5rem;
    }
    .stat .text {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .stat {
        padding: 1rem;
    }
    .stat .number {
        font-size: 2rem;
    }
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}
.div-03 {
    margin: auto;
    text-align: left;
    background-color: #fff;
}
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 180vh;
    justify-content: center;
    align-content: center;
    margin: 0 auto;
    margin-top: 10vh;
    padding-bottom: 10vh;
}
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 10px 15px 2px rgb(0 0 0 / 20%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 25vh;
    position: relative;
    transition: color 0.3s;
}
.card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F5CB08;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.5s ease;
    z-index: 1;   
}
.card:hover::before {
    transform: scale(1);
    transform-origin: top left;
}
.card .card-header,
.card h3,
.card p {
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}
.card:hover .card-header *,
.card:hover p {
    color: white;
}
.card .card-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.card img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}
.card h3 {
    font-size: 22px;
    font-weight: 600;
}
.card p {
    font-size: 20px;
    color: black;
    line-height: 1.7;
}
.card.large {
    grid-column: span 2;
}
@media (max-width: 1400px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card {
    height: 30vh;
  }
}
@media (max-width: 992px) {
  .grid {
    display: flex;
    flex-direction: column;
  }
    .card {
        display: flex;
        height: 32vh;
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 768px) {
  .grid {
    display: flex;
    flex-direction: column;
    padding: 0 20px 20px;
  }
  .card {
    padding: 15px;
  }
}
@media (max-width: 576px) {
  .card h3 {
    font-size: 18px;
  }
  .card p {
    font-size: 16px;
  }
  .card img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
  }
}
@media (max-width: 400px) {
  .card {
    padding: 10px;
  }
  .card h3 {
    font-size: 16px;
  }
  .card p {
    font-size: 14px;
  }
}
.home-blog-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}
.home-blog-swiper {
    position: relative;
    margin: 0 auto;
    padding: 0 20px;
}
.home-blog-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}
.swiper-slide {
    width: 100% !important;
    height: auto;
    max-width: 420px;
    flex-shrink: 0;
}
.home-blog-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    width: 100%;
}
.home-blog-card:hover {
    transform: translateY(-5px);
}
.home-blog-cover {
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.home-blog-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.home-blog-card:hover .home-blog-cover img {
    transform: scale(1.05);
}
.home-blog-no-cover {
    height: 200px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}
.home-blog-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.home-blog-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.6em;
    line-height: 1.2;
}
.home-blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
}
.home-blog-meta a{
    border-radius: 0;
}

.home-blog-date {
    font-size: 0.85rem;
    color: #6c757d;
    white-space: nowrap;
}
.home-blog-nav {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.home-blog-prev,
.home-blog-next {
  pointer-events: all;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 10px;
  z-index: 10;
}
.home-blog-prev:hover,
.home-blog-next:hover {
  background: #ffd700;
}
.home-blog-prev:hover svg, 
.home-blog-next:hover svg {
    stroke: white;
}
@media (max-width: 1400px) {
    .swiper-slide {
        max-width: 380px;
    }
}
@media (max-width: 1200px) {
    .swiper-slide {
        max-width: 340px;
    }
    .home-blog-card-title {
        -webkit-line-clamp: 2;
        min-height: 2.4em;
    }
}
@media (max-width: 992px) {
    .swiper-slide {
        max-width: 320px;
    }
    .home-blog-cover {
        height: 180px;
    }
    .home-blog-info {
        padding: 15px;
    }
}
@media (max-width: 768px) {
    .swiper-slide {
        max-width: 300px;
    }
    .home-blog-title {
        margin-bottom: 0;
    }
    .home-blog-cover {
        height: 160px;
    }
    .home-blog-card-title {
        font-size: 1.1rem;
    }
}
@media (max-width: 576px) {
    .swiper-slide {
        max-width: 280px;
    }
    .home-blog-swiper {
        padding: 0 10px;
    }
    .home-blog-cover {
        height: 150px;
    }
    .home-blog-info {
        padding: 12px;
    }
    .home-blog-card-title {
        -webkit-line-clamp: 2;
        min-height: 2.4em;
        font-size: 1rem;
    }
    .home-blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.div-izhs {
    background: white;
}
.swiper-container-izhs {
    position: relative;
    overflow: hidden;
    padding: 0 20vh;
    margin: 0 auto;
}
.cards {
    display: flex;
    gap: 5vh;
    position: relative;
    padding-bottom: 10vh;
    justify-content: flex-start;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}
.card-container {
    width: 35vh;
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    height: 80vh;
    margin-bottom: 2vh;
}
.swiper-wrapper-02 {
    display: flex;
    will-change: transform;
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
    justify-content: center;
    height: auto;
}
.card-container:hover {
    transform: scale(1.05);
    z-index: 2;
}
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slider img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: none;
    transition: transform 0.3s ease;
}
.slider img.active {
    display: block;
}
.slider img.active:hover {
    transform: scale(1.02);
}
.slider .prev, .slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider .prev {
    left: 10px;
}
.slider .next {
    right: 10px;
}
.izhs-card {
    width: 100%;
    background: rgba(217, 217, 217, 0.4);
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    min-height: 30vh;
    max-height: 30vh;
}
.card-title {
    font-weight: bold;
    font-size: 1.8vh;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.card-title span {
    color: #FFD700;
    font-size: 20px;
    margin-right: 5px;
}
.card-text {
    font-size: 1.6vh;
    margin-bottom: 15px;
    color: #333;
    flex-grow: 1;
}
.card-footer {
    font-size: 16px;
    font-weight: bold;
    border-top: 1px solid #aaa;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-footer span {
    font-weight: normal;
    color: #666;
}
.swiper-button-prev-izhs,
.swiper-button-next-izhs {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.3s ease;
}
.swiper-button-prev-izhs:hover,
.swiper-button-next-izhs:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}
.swiper-button-prev-izhs::after,
.swiper-button-next-izhs::after {
    content: '';
    width: 16px;
    height: 16px;
    border: solid #333;
    border-width: 0 3px 3px 0;
    display: block;
}
.swiper-button-prev-izhs::after {
    transform: rotate(135deg);
    margin-left: 4px;
}
.swiper-button-next-izhs::after {
    transform: rotate(-45deg);
    margin-right: 4px;
}
.swiper-button-prev-izhs {
    left: 2vh;
}
.swiper-button-next-izhs {
    right: 2vh;
}
@media (max-width: 1200px) {
    .swiper-container-izhs {
        padding: 0 10vh;
    }
    .cards {
        margin-left: 10vh;
        margin-right: 10vh;
        gap: 4vh;
    }
    .card-container {
        width: 30vh;
    }
    .slider img {
        height: 350px;
    }
}
@media (max-width: 992px) {
    .swiper-container-izhs {
        padding: 0 5vh;
    }
    .cards {
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin-left: 5vh;
        margin-right: 5vh;
        gap: 3vh;
    }
    .card-container {
        width: 45vh;
    }
    .slider img {
        height: 300px;
    }
    .swiper-button-prev-izhs,
    .swiper-button-next-izhs {
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 768px) {
    .swiper-container-izhs {
        padding: 0 2vh;
    }
    .cards {
        flex-direction: row;
        align-items: stretch;
        margin-left: 2vh;
        margin-right: 2vh;
        gap: 2vh;
    }
    .card-container {
        width: 80vw;
    }
    .slider img {
        height: 250px;
    }
    .card-title {
        font-size: 16px;
    }
    .card-title span {
        font-size: 18px;
    }
    .card-text,
    .card-footer {
        font-size: 14px;
    }
    .swiper-button-prev-izhs {
        left: 1vh;
    }
    .swiper-button-next-izhs {
        right: 1vh;
    }
}
@media (max-width: 480px) {
    .swiper-container-izhs {
        padding: 0 1vh;
    }
    .cards {
        margin-left: 1vh;
        margin-right: 1vh;
        gap: 1.5vh;
    }
    .card-container {
        width: 95vw;
    }
    .slider img {
        height: 200px;
    }
    .card-title {
        font-size: 14px;
    }
    .card-title span {
        font-size: 16px;
    }
    .card-text,
    .card-footer {
        font-size: 12px;
    }
    .slider .prev,
    .slider .next {
        width: 30px;
        height: 30px;
        padding: 8px;
    }
    .swiper-button-prev-izhs,
    .swiper-button-next-izhs {
        width: 35px;
        height: 35px;
        top: 35%;
    }
    .swiper-button-prev-izhs::after,
    .swiper-button-next-izhs::after {
        width: 14px;
        height: 14px;
    }
}
.mortgage-calculator {
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
    justify-content: center;
    align-items: center;
}
.calculator-header {
    background: #ffd700;
    color: white;
    padding: 18px 25px;
    text-align: center;
}
.calculator-header h2 {
    font-size: 22px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: black;
}
.calculator-header p {
    opacity: 0.9;
    font-size: 14px;
    color: black;
}
.calculator-content {
    display: flex;
    flex-wrap: wrap;
    padding: 1vh;
}
.input-section {
    flex: 1;
    min-width: 300px;
    padding: 15px;
}
.result-section {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 10px;
}
.bank-section {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 10px; 
}
.section-title {
    font-size: 18px;
    margin-bottom: 18px;
    color: #1a3a6c;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.form-group {
    margin-bottom: 16px;
}
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}
.input-with-icon {
    position: relative;
}
.input-with-icon input, 
.input-with-icon select {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}
.input-with-icon input:focus, 
.input-with-icon select:focus {
    border-color: #1a3a6c;
    box-shadow: 0 0 0 3px rgba(26, 58, 108, 0.1);
    outline: none;
}
.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
}
.range-container {
    padding: 0 10px;
    margin-top: 5px;
}
.range-value {
    font-weight: 600;
    color: black;
    margin-top: 4px;
    font-size: 14px;
}
input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: #e9ecef;
    border-radius: 5px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #ffd700;
    border-radius: 50%;
    cursor: pointer;
}
.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 6px;
}
.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
}
.radio-option input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.bank-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 10px;
}
.bank-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}
.bank-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.bank-card.selected {
    border-color: #ffd700;
    background: rgba(26, 58, 108, 0.05);
}
.bank-logo {
    height: 24px;
    margin-bottom: 8px;
    object-fit: contain;
}
.bank-rate {
    font-size: 16px;
    font-weight: 700;
    color: #1a3a6c;
}
.bank-name {
    color: #6c757d;
    margin-top: 4px;
}
.calculate-btn {
    width: 100%;
    padding: 14px;
    background: #ffd700;
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.calculate-btn:hover {
    background: #ffdd24;
}
.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.result-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.result-title {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
}
.result-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a6c;
}
.payment-breakdown {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.breakdown-title {
    font-size: 16px;
    margin-bottom: 12px;
    color: #1a3a6c;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.progress-container {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 0;
}
.progress-bar {
    height: 100%;
    display: flex;
}
.principal {
    background: #ffd700;
}
.interest {
    background: #a9a9a9;
}
.breakdown-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.breakdown-value {
    font-weight: 600;
    color: #1a3a6c;
}
.disclaimer {
    margin-top: 20px;
    padding: 12px;
    background: #fff8e6;
    border-radius: 8px;
    color: #856404;
    border-left: 3px solid #ffc107;
    display: flex;
    gap: 8px;
}
@media (max-width: 1124px) {
.bank-section {
    flex: 1;
    min-width: 300px;
    padding: 5px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 10px;
}
}
@media (max-width: 768px) {
    .calculator-content {
        flex-direction: column;
        align-content: center;
        align-items: center;
    }
    .result-grid {
        grid-template-columns: 1fr;
    }
    .bank-cards {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
  :root{
    --bg: #ffffff;
    --surface: #f8fafc;
    --accent: #0f766e;
    --muted: #6b7280;
    --border: #e6edf0;
    --radius: 14px;
    --shadow: 0 6px 20px rgba(16,24,40,0.06);
    --transition: 240ms cubic-bezier(.2,.9,.3,1);
  }
.faq {
    max-width: var(--max-width);
    padding: 24px;
    background: var(--bg);
    box-shadow: var(--shadow);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial;
    color: #0f172a;
}
  .faq__title{
    font-size: 28px;
    line-height: 1.05;
    font-weight: 700;
    text-align: center;
    margin: 0 0 18px;
  }
  .faq__list{
    display: grid;
    gap: 12px;
  }
  .faq__item{
    background: linear-gradient(180deg, rgba(15,118,110,0.02), transparent 50%);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
  }
  .faq__button{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    font-size: 16px;
    font-weight: 600;
    color: #071124;
  }
  .faq__button:hover{
    background: var(--surface);
  }
  .faq__q{
    display: block;
  }
  .faq__icon{
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    transform-origin: center;
    transition: transform var(--transition);
    color: var(--accent);
  }
  .faq__panel{
    padding: 14px 18px 18px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.5;
    background: #fbfdfd;
    border-top: 1px solid rgba(15,118,110,0.04);
    animation: panelFade .18s ease-out;
  }
  @keyframes panelFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .faq__button[aria-expanded="true"] .faq__icon{
    transform: rotate(180deg);
  }
  @media (max-width: 520px){
    .faq__title{ font-size: 22px; }
    .faq__button{ padding: 12px 14px; font-size: 15px; }
    .faq__panel{ padding: 12px 14px 16px; font-size: 14px; }
  }
  .new-buildings {
    margin: 0 auto;
    position: relative;
    background: #FFFFFF;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.view-all {
    background: #FFD700;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 11;
    font-family: inherit;
    transition: transform 0.2s;
    white-space: nowrap;
}
.view-all:hover {
    transform: scale(1.05);
}
.newbuilding-card-name {
    font-size: 1.8vh;
    margin: 12px 0 6px;
    line-height: 1.3;
    color: #333;
    font-weight: 600;
}
.image-container {
    width: 100%;
    height: var(--image-height, 200px);
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #f5f5f5;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;
}
.date {
    font-size: 14px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    position: absolute;
    bottom: 12px;
    left: 12px;
    backdrop-filter: blur(2px);
}
.swiper-container {
    position: relative;
    overflow: visible;
    padding: 20px 0;
    margin-top: 2vh;
    width: 100%;
}
.swiper-wrapper {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    gap: 20px;
    padding: 0 20px;
    height: 45vh;
    box-sizing: border-box;
}
.swiper-slide {
    display: flex !important;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: none;
    user-select: none;
    flex: 0 0 auto;
    width: calc(100% - 40px);
    min-width: 280px;
    scroll-snap-align: start;
    align-items: center;
}
.newbuilding-card {
    background: rgba(238, 238, 238, 0.3);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 6px 10px 4px rgb(0 0 0 / 20%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 60%;
    transition: transform 0.2s;
    margin: 0 10px;
    width: 100%;
}
.newbuilding-card:hover {
    transform: translateY(-3px);
}
.newbuilding-card h3 {
    font-size: 1.8vh;
    margin: 12px 0 6px;
    line-height: 1.3;
    color: #333;
}
.newbuilding-card p {
    font-size: 1.6vh;
    color: #666;
    margin: 4px 0;
    line-height: 1.4;
}
.card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5vh;
    color: #666;
    margin-top: auto;
    padding-top: 12px;
}
.nb_round {
    color: #FFD700;
    font-size: 1.7vh;
    margin-right: 6px;
    display: inline-block;
}
.price {
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 48px !important;
    height: 48px !important;
    z-index: 10 !important;
    opacity: 0.9;
    transition: all 0.3s;
    background: #FFFFFF;
    border-radius: 50% !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    outline: none;
}
.swiper-button-prev::after,
.swiper-button-next::after {
    content: '' !important;
    width: 16px;
    height: 16px;
    border: solid #333;
    border-width: 0 3px 3px 0;
    display: inline-block;
}
.swiper-button-prev::after {
    transform: rotate(135deg);
    margin-left: 4px;
}
.swiper-button-next::after {
    transform: rotate(-45deg);
    margin-right: 4px;
    content: '' !important;
}
.swiper-button-prev {
    left: 0;
}
.swiper-button-next {
    right: 0;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}
.swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
}
@media (max-width: 575.98px) {
    .new-buildings {
        padding: 15px;
    }
    .view-all {
        position: relative;
        top: auto;
        right: auto;
        display: block;
        margin: 0 auto 15px;
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    .swiper-container {
        padding: 10px 0;
        margin-top: 0;
    }
    .swiper-wrapper {
        gap: 15px;
        padding: 0 15px;
    }
    .swiper-slide {
        width: calc(100% - 30px);
        min-width: calc(100% - 30px);
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
        top: 45%;
    }
    .swiper-button-prev {
        left: -5px;
    }
    .swiper-button-next {
        right: -5px;
    }
    .swiper-button-prev::after,
    .swiper-button-next::after {
        width: 14px;
        height: 14px;
    }
    .newbuilding-card {
        padding: 15px;
        margin: 0 5px;
    }
    .newbuilding-card h3 {
        font-size: 15px;
    }
    .newbuilding-card p {
        font-size: 13px;
    }
    .card-info {
        font-size: 13px;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .swiper-slide {
        width: calc(50% - 20px);
        min-width: calc(50% - 20px);
    }
    .swiper-button-prev {
        left: 10px;
    }
    .swiper-button-next {
        right: 10px;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .swiper-slide {
        width: calc(33.333% - 20px);
        min-width: calc(33.333% - 20px);
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .swiper-slide {
        width: calc(25% - 20px);
        min-width: calc(25% - 20px);
    }
}
@media (min-width: 1200px) {
    .swiper-slide {
        width: calc(20% - 20px);
        min-width: calc(20% - 20px);
    }
    .swiper-button-prev {
        left: 20px;
    }
    .swiper-button-next {
        right: 20px;
    }
}
.reviews {
  padding: 3rem 1rem;
  font-family: 'Inter', sans-serif;
}
.reviews__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.reviews__title {
  font-size: 1.8rem;
  font-weight: 700;
}
.reviews__subtitle {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #555;
}
.reviews__wrapper {
  position: relative;
  overflow: hidden;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
  transition: transform 0.6s ease;
}
.review-card {
  width: 700px;
  height: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1/1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}
.review-card.active {
  opacity: 1;
  transform: translateY(0);
}
.review-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-card__name { font-weight: 600; }
.review-card__rating { color: #FFD700; }
.review-card__comment { color: #444; font-size: .95rem; line-height: 1.4; flex-grow: 1; }
.review-card__footer { text-align: right; font-size: .85rem; color: #888; }
.reviews__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.reviews__button {
  background: #eee;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background .3s;
}
.reviews__button:hover { background: #ddd; }
.reviews__pagination {
  display: flex;
  gap: .5rem;
}
.reviews__pagination-dot {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: #999;
  transition: background .3s;
}
.reviews__pagination-dot.active {
  background: #333;
}
@media (max-width: 1024px) {
  .review-card { 
    aspect-ratio: auto;
    width: 400px; 
    height: auto;
  }
}
@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .review-card { 
    aspect-ratio: auto;
    width: 300px;
    height: 300px; 
  }
}
@media (max-width: 600px) {
  .reviews__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .review-card { aspect-ratio: auto; }
}
@media (max-width: 424px) {
  .review-card { 
    aspect-ratio: auto;
    width: 250px; 
    height: auto;
  }
}