* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  background: #fff8fa;
  color: #171717;
  overflow-x: hidden;
}

.gallery-page {
  background: #fff8fa;
}

/* HERO */

.gallery-hero {
  min-height: 430px;
  padding: 115px 6% 70px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 22%, rgba(220, 95, 136, 0.12), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fff5f8 55%, #ffdce8 100%);
}

.gallery-hero-content {
  max-width: 620px;
}

.gallery-hero-content > p:first-child {
  color: #dc5f88;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.gallery-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(70px, 8vw, 110px);
  line-height: 0.9;
  font-weight: 600;
  color: #171717;
  margin-bottom: 18px;
}

.gallery-hero-content span {
  display: block;
  width: 80px;
  height: 2px;
  background: #dc5f88;
  margin-bottom: 22px;
}

.gallery-hero-content p:last-of-type {
  max-width: 520px;
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.gallery-hero a {
  height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e56f96, #c93f70);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 11px;
  font-weight: 800;
}

.gallery-hero a:hover {
  background: #171717;
}

/* GALLERY GRID */

.gallery-section {
  padding: 55px 6% 90px;
  background: #fffafc;
}

.gallery-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  width: 100%;
  height: 285px;
  border-radius: 18px;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  position: relative;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TABLET */

@media (max-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-card {
    height: 240px;
  }
}

/* MOBILE */

@media (max-width: 650px) {
  .gallery-section {
    padding: 35px 14px 70px;
  }

  .gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: 12px !important;
    align-items: stretch;
  }

  .gallery-card {
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    border-radius: 14px;
    margin: 0 !important;
    position: relative !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .gallery-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: static !important;
  }
}