:root {
  --blue: #002b86;
  --blue-dark: #001a55;
  --yellow: #f2c300;
  --white: #ffffff;
  --text: #1d2939;
  --muted: #667085;
  --bg: #f5f7fb;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(0, 31, 91, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.topbar {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 160px;
  max-height: 70px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.menu a {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  transition: .2s;
}

.menu a:hover {
  color: var(--yellow);
}

.menu-toggle {
  display: none;
  background: var(--yellow);
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
}

.hero {
  min-height: 680px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(0, 26, 85, .92), rgba(0, 43, 134, .72)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1800") center/cover;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -60px;
  width: 280px;
  height: 280px;
  border: 34px solid var(--yellow);
  border-radius: 50%;
  opacity: .18;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.tagline {
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  max-width: 850px;
}

.hero p {
  margin-top: 22px;
  font-size: 20px;
  max-width: 620px;
  color: rgba(255, 255, 255, .88);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: .2s;
}

.btn-primary {
  background: var(--yellow);
  color: var(--blue-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(242, 195, 0, .28);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, .7);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
}

.search-box-section {
  margin-top: -58px;
  position: relative;
  z-index: 5;
}

.search-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr auto;
  gap: 16px;
  align-items: end;
}

.search-box label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.search-box select,
.search-box input {
  width: 100%;
  height: 50px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 15px;
  outline: none;
}

.search-box button {
  height: 50px;
  border: none;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  padding: 0 22px;
}

.section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 38px;
}

.section-title span {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: clamp(30px, 4vw, 46px);
  color: var(--blue-dark);
  margin-top: 8px;
}

.section-title p {
  color: var(--muted);
  margin-top: 10px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .25s;
}

.property-card:hover {
  transform: translateY(-7px);
}

.property-img {
  height: 245px;
  position: relative;
  overflow: hidden;
}

.property-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-img span {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--yellow);
  color: var(--blue-dark);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
}

.property-info {
  padding: 22px;
}

.property-info h3 {
  color: var(--blue-dark);
  font-size: 22px;
}

.property-info p {
  color: var(--muted);
  margin-top: 6px;
}

.property-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.property-details span {
  background: #eef3ff;
  color: var(--blue);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #eef0f4;
  padding-top: 16px;
}

.property-footer strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.property-footer a {
  color: var(--blue);
  font-weight: 900;
}

.about-highlight {
  padding: 90px 0;
  background:
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 34px;
  align-items: center;
}

.about-grid h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 12px 0 18px;
}

.about-grid p {
  color: rgba(255, 255, 255, .86);
  line-height: 1.7;
  margin-bottom: 26px;
}

.about-card {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 34px;
  backdrop-filter: blur(8px);
}

.about-card h3 {
  font-size: 32px;
  color: var(--yellow);
  margin-bottom: 12px;
}

.contact-cta {
  text-align: center;
  background: var(--white);
}

.contact-cta h2 {
  color: var(--blue-dark);
  font-size: clamp(30px, 4vw, 44px);
}

.contact-cta p {
  margin: 12px 0 26px;
  color: var(--muted);
}

.footer {
  background: #06163d;
  color: var(--white);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr;
  gap: 36px;
}

.footer-logo {
  width: 155px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.footer h4 {
  color: var(--yellow);
  margin-bottom: 16px;
}

.footer a,
.footer p {
  display: block;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  padding: 22px;
  margin-top: 40px;
  color: rgba(255, 255, 255, .68);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 88px;
    left: 0;
    width: 100%;
    background: var(--blue-dark);
    flex-direction: column;
    padding: 24px;
    display: none;
  }

  .menu.active {
    display: flex;
  }

  .search-box,
  .properties-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
  }
}

.page-banner {
  padding: 120px 0 100px;
  background:
    linear-gradient(rgba(0, 26, 85, .88),
      rgba(0, 43, 134, .86)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1800") center/cover;
  color: var(--white);
  text-align: center;
}

.page-banner span {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-banner h1 {
  margin-top: 14px;
  font-size: clamp(38px, 5vw, 64px);
}

.page-banner p {
  margin-top: 14px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

.filters-section {
  margin-top: -45px;
  position: relative;
  z-index: 20;
}

.filters-box {
  background: var(--white);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--blue-dark);
}

.filter-group input,
.filter-group select {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid #d7dce5;
  padding: 0 16px;
  outline: none;
  font-size: 15px;
}

.btn-filter {
  height: 54px;
  border: none;
  background: var(--yellow);
  color: var(--blue-dark);
  font-weight: 900;
  border-radius: 14px;
  cursor: pointer;
  padding: 0 26px;
  transition: .2s;
}

.btn-filter:hover {
  transform: translateY(-2px);
}

.imoveis-page {
  padding: 80px 0;
}

.imoveis-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
  gap: 20px;
}

.imoveis-top h2 {
  color: var(--blue-dark);
  font-size: clamp(28px, 4vw, 42px);
}

.mini-title {
  color: var(--yellow);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1px;
}

.view-buttons {
  display: flex;
  gap: 10px;
}

.view-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: none;
  background: #edf2ff;
  color: var(--blue);
  font-size: 22px;
  cursor: pointer;
  transition: .2s;
}

.view-btn.active {
  background: var(--blue);
  color: var(--white);
}

.property-code {
  display: inline-flex;
  background: #eef3ff;
  color: var(--blue);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.page-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: none;
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.page-btn.active {
  background: var(--blue);
  color: var(--white);
}

.menu a.active {
  color: var(--yellow);
}

@media (max-width: 1000px) {

  .filters-box {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 768px) {

  .filters-box {
    grid-template-columns: 1fr;
  }

  .imoveis-top {
    flex-direction: column;
    align-items: flex-start;
  }

}


.property-hero {
  padding: 70px 0 50px;
  background:
    radial-gradient(circle at right top, rgba(242, 195, 0, .22), transparent 34%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
}

.property-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.property-breadcrumb a {
  color: rgba(255, 255, 255, .82);
}

.property-title-area {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
}

.property-title-area h1 {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.property-title-area p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

.property-badge {
  display: inline-flex;
  background: var(--yellow);
  color: var(--blue-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.property-price-box {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  padding: 22px 26px;
  min-width: 260px;
  text-align: right;
}

.property-price-box small {
  display: block;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 8px;
}

.property-price-box strong {
  color: var(--yellow);
  font-size: 32px;
}

.property-detail-section {
  padding: 60px 0 80px;
}

.property-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: flex-start;
}

.property-gallery,
.property-content-card,
.sidebar-card {
  background: var(--white);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-main {
  height: 520px;
  background: #dfe6f2;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 14px;
}

.thumb {
  height: 110px;
  border: 3px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
}

.thumb.active {
  border-color: var(--yellow);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-content-card {
  padding: 30px;
  margin-top: 26px;
}

.property-content-card h2 {
  color: var(--blue-dark);
  font-size: 28px;
  margin-bottom: 18px;
}

.property-content-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.property-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.property-summary div {
  background: #eef3ff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.property-summary strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  margin-bottom: 6px;
}

.property-summary span {
  color: var(--muted);
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.features-grid span {
  background: #eef3ff;
  color: var(--blue-dark);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
}

.map-placeholder {
  height: 280px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(0, 43, 134, .82), rgba(0, 26, 85, .82)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?w=1200") center/cover;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.map-placeholder strong {
  color: var(--yellow);
  font-size: 24px;
}

.property-sidebar {
  position: sticky;
  top: 110px;
}

.sidebar-card {
  padding: 26px;
  margin-bottom: 24px;
}

.sidebar-card h3 {
  color: var(--blue-dark);
  font-size: 24px;
  margin-bottom: 14px;
}

.sidebar-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.whatsapp-btn,
.phone-btn {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-top: 12px;
}

.whatsapp-btn {
  background: #25d366;
  color: #fff;
}

.phone-btn {
  background: var(--blue);
  color: var(--white);
}

.property-list {
  list-style: none;
}

.property-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0f5;
}

.property-list li:last-child {
  border-bottom: none;
}

.property-list span {
  color: var(--muted);
}

.property-list strong {
  color: var(--blue-dark);
  text-align: right;
}

.form-card form {
  display: grid;
  gap: 12px;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid #d7dce5;
  border-radius: 14px;
  padding: 14px;
  font-family: inherit;
  outline: none;
}

.form-card textarea {
  resize: vertical;
}

.form-card button {
  border: none;
  border-radius: 999px;
  min-height: 52px;
  background: var(--yellow);
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
}

.related-section {
  background: var(--white);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  background: #25d366;
  color: #fff;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(37, 211, 102, .34);
}

@media (max-width: 1050px) {
  .property-detail-grid {
    grid-template-columns: 1fr;
  }

  .property-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .property-title-area {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-price-box {
    width: 100%;
    text-align: left;
  }

  .gallery-main {
    height: 340px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-summary,
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.about-banner {
  background:
    linear-gradient(rgba(0, 26, 85, .88), rgba(0, 43, 134, .86)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1800") center/cover;
}

.contact-banner {
  background:
    linear-gradient(rgba(0, 26, 85, .88), rgba(0, 43, 134, .86)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1800") center/cover;
}

.about-page-section,
.contact-page-section {
  padding: 90px 0;
}

.about-page-grid {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.about-page-image {
  background:
    radial-gradient(circle at top, rgba(242, 195, 0, .28), transparent 46%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 32px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.about-page-image img {
  width: 100%;
  border-radius: 22px;
}

.about-page-text h2,
.contact-info-panel h2 {
  color: var(--blue-dark);
  font-size: clamp(32px, 4vw, 50px);
  margin: 12px 0 20px;
  line-height: 1.08;
}

.about-page-text p,
.contact-info-panel p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.about-values div {
  background: var(--white);
  border-left: 6px solid var(--yellow);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 12px 28px rgba(0, 31, 91, .08);
}

.about-values strong {
  display: block;
  color: var(--blue-dark);
  font-size: 18px;
  margin-bottom: 4px;
}

.about-values span {
  color: var(--muted);
}

.numbers-section {
  padding: 55px 0;
  background: var(--blue);
  color: var(--white);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.numbers-grid div {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  padding: 26px;
  text-align: center;
}

.numbers-grid strong {
  display: block;
  color: var(--yellow);
  font-size: 24px;
  margin-bottom: 8px;
}

.numbers-grid span {
  color: rgba(255, 255, 255, .82);
  font-weight: 700;
}

.mission-section {
  background: var(--bg);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mission-card {
  background: var(--white);
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.mission-card h3 {
  color: var(--blue-dark);
  font-size: 26px;
  margin-bottom: 14px;
}

.mission-card p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: stretch;
}

.contact-info-panel,
.contact-form-panel {
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 36px;
}

.contact-info-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.contact-info-list div {
  background: #eef3ff;
  border-radius: 18px;
  padding: 18px;
}

.contact-info-list strong {
  display: block;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.contact-info-list span {
  color: var(--muted);
}

.whatsapp-large {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-weight: 900;
}

.contact-form-panel h3 {
  color: var(--blue-dark);
  font-size: 30px;
  margin-bottom: 22px;
}

.contact-form-panel form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
  width: 100%;
  border: 1px solid #d7dce5;
  border-radius: 16px;
  padding: 15px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.contact-form-panel textarea {
  resize: vertical;
}

.contact-form-panel button {
  border: none;
  min-height: 56px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
}

.map-section {
  padding: 0 0 90px;
}

.contact-map {
  height: 380px;
}

@media (max-width: 950px) {

  .about-page-grid,
  .contact-grid,
  .mission-grid,
  .numbers-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 650px) {

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-page-section,
  .contact-page-section {
    padding: 60px 0;
  }

}



.open-gallery {
  cursor: zoom-in;
}

.expand-photo-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 26, 85, .86);
  color: var(--white);
  font-weight: 900;
  padding: 12px 18px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.gallery-main {
  position: relative;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(1, 10, 35, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  position: relative;
  width: min(1100px, 92vw);
  height: min(760px, 82vh);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
  object-fit: contain;
}

.gallery-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-dark);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  font-weight: 900;
  z-index: 1001;
}

.gallery-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 72px;
  border: none;
  border-radius: 18px;
  background: rgba(255, 255, 255, .14);
  color: var(--white);
  font-size: 56px;
  line-height: 1;
  cursor: pointer;
  z-index: 1001;
  transition: .2s;
}

.gallery-arrow:hover {
  background: var(--yellow);
  color: var(--blue-dark);
}

.gallery-prev {
  left: 26px;
}

.gallery-next {
  right: 26px;
}

.gallery-counter {
  position: absolute;
  left: 50%;
  bottom: -48px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .gallery-modal {
    padding: 18px;
  }

  .gallery-arrow {
    width: 46px;
    height: 58px;
    font-size: 42px;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-close {
    top: 14px;
    right: 14px;
  }

  .expand-photo-btn {
    right: 12px;
    bottom: 12px;
    padding: 10px 14px;
    font-size: 13px;
  }
}

.pagination strong,
.pagination a,
.pagination span {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: none;
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination .active,
.pagination strong {
  background: var(--blue);
  color: var(--white);
}