/* Carousel Hero Section Styles */

html, body {
  margin: 0;
  padding: 0;
}

:root {
  --section-scroll-offset: 7.5rem;
}

.carousel-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #f5f1ed;
  border-bottom: 1px solid #e0d9d1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.carousel-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  gap: 2rem;
}

.carousel-header-logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.carousel-header-right-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.carousel-phone-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #1c1917;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.carousel-phone-header:hover {
  color: #d4a574;
}

.carousel-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.carousel-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.carousel-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.carousel-header-brand {
  margin: 0;
  padding: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1c1917;
  letter-spacing: 0.05em;
}

.carousel-header-services {
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.6rem;
  color: #8b7355;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carousel-header-top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn {
  border: 1px solid rgba(28, 25, 23, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.28rem 0.34rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.lang-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 165, 116, 0.7);
  background: rgba(255, 255, 255, 0.95);
}

.lang-btn.active {
  border-color: rgba(212, 165, 116, 0.92);
  background: rgba(212, 165, 116, 0.18);
}

.lang-btn img {
  display: block;
  width: 24px;
  height: 17px;
  border-radius: 3px;
}

.carousel-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.carousel-nav-link {
  text-decoration: none;
  color: #1c1917;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
  white-space: nowrap;
}

.carousel-nav-link:hover,
.carousel-nav-link.active {
  border-bottom-color: #d4a574;
  color: #d4a574;
}

.carousel-book-btn {
  background: #1c1917;
  color: white;
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 25px;
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.carousel-book-btn:hover {
  background: #d4a574;
  transform: translateY(-2px);
}

/* Header Responsive Design */
@media (max-width: 991px) {
  .carousel-header-main {
    padding: 0.4rem 1rem;
    gap: 1rem;
    align-items: flex-start;
  }

  .carousel-logo {
    height: 70px;
  }

  .carousel-nav {
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .carousel-nav-link {
    font-size: 0.85rem;
  }

  .carousel-header-right-section {
    gap: 1rem;
  }

  .carousel-phone-header {
    font-size: 0.8rem;
  }

  .carousel-book-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .carousel-header-main {
    flex-wrap: wrap;
    padding: 0.3rem 0.8rem;
    gap: 0.65rem;
  }

  .carousel-header-logo-section {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 0.3rem;
  }

  .carousel-logo {
    height: 60px;
  }

  .carousel-header-brand {
    font-size: 1rem;
  }

  .carousel-header-services {
    font-size: 0.55rem;
  }

  .carousel-nav {
    width: 100%;
    gap: 0.55rem 0.9rem;
    order: 3;
    margin-right: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .carousel-nav-link {
    font-size: 0.75rem;
    padding: 0.3rem 0;
  }

  .carousel-header-right-section {
    width: 100%;
    gap: 0.6rem 0.8rem;
    order: 4;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .carousel-phone-header {
    font-size: 0.7rem;
    white-space: normal;
    line-height: 1.35;
  }

  .lang-toggle {
    gap: 0.3rem;
  }

  .carousel-book-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  .phone-desktop {
    display: none;
  }

  .phone-mobile {
    display: inline;
  }
}

@media (max-width: 480px) {
  .carousel-header-main {
    padding: 0.3rem 0.7rem 0.45rem;
  }

  .carousel-header-logo-section {
    width: 100%;
  }

  .carousel-logo {
    height: 50px;
  }

  .carousel-header-brand {
    font-size: 0.9rem;
  }

  .carousel-header-services {
    font-size: 0.5rem;
  }

  .carousel-nav {
    width: 100%;
    gap: 0.45rem 0.75rem;
  }

  .carousel-nav-link {
    font-size: 0.7rem;
  }

  .carousel-header-right-section {
    width: 100%;
    justify-content: flex-start;
    gap: 0.45rem 0.6rem;
  }

  .carousel-phone-header {
    width: 100%;
    font-size: 0.68rem;
  }

  .lang-btn {
    padding: 0.24rem 0.3rem;
  }

  .carousel-book-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.65rem;
  }
}

/* Services / Studio / Gallery Sections */

.services-section,
.studio-section,
.gallery-section {
  padding: 4rem 2rem;
  background: #f5f1ed;
}

#services,
#studio,
#gallery,
#contact {
  scroll-margin-top: var(--section-scroll-offset);
}

.studio-section {
  background: #f8f4ef;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 0.75rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b7355;
}

.section-title-main {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #1c1917;
  letter-spacing: 0.02em;
}

.section-intro {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #5d5348;
}

.section-intro-left {
  max-width: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-feature-card,
.studio-visual-card,
.studio-copy-card {
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.08);
  overflow: hidden;
}

.service-feature-image,
.studio-visual-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.service-feature-content {
  padding: 1.5rem;
}

.service-category {
  margin: 0 0 0.65rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b7355;
}

.service-feature-content h3,
.studio-point h3 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #1c1917;
}

.service-feature-content p,
.studio-point p {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.8;
  color: #5d5348;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: stretch;
}

.studio-copy-card {
  padding: 2rem;
}

.studio-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.studio-point {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: #f8f4ef;
  border: 1px solid rgba(212, 165, 116, 0.18);
}

.gallery-title {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #1c1917;
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(0.95rem, 2vw, 1.4rem);
}

.gallery-card {
  grid-column: span 1;
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.08);
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  transition: transform 420ms ease;
  display: block;
}

.gallery-card:hover .gallery-image {
  transform: scale(1.04);
}

.gallery-open {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-open:focus-visible {
  outline: 3px solid #d4a574;
  outline-offset: 2px;
}

/* Contact / Map Section */

.contact-section {
  padding: 4rem 2rem;
  background: #f8f4ef;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.contact-copy-block,
.contact-card {
  background: white;
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.08);
}

.contact-copy-block {
  padding: 2rem;
}

.contact-card {
  padding: 1.25rem;
}

.contact-eyebrow {
  margin: 0 0 0.75rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b7355;
}

.contact-title {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: #1c1917;
}

.contact-copy {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #5d5348;
}

.contact-details {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
  font-family: "Manrope", sans-serif;
  color: #1c1917;
}

.contact-details a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(212, 165, 116, 0.75);
  text-underline-offset: 3px;
}

.phone-desktop {
  display: inline;
}

.phone-mobile {
  display: none;
}

.map-embed {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.12);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.map-embed .map-click {
  position: absolute;
  inset: 0;
}

/* Gallery Lightbox */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(28, 25, 23, 0.88);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-inner {
  position: relative;
  width: min(1120px, 100%);
  padding: clamp(0.85rem, 2vw, 1.3rem);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(28, 25, 23, 0.48);
  box-shadow: 0 28px 70px rgba(28, 25, 23, 0.22);
}

.gallery-lightbox-image {
  width: 100%;
  max-height: min(78vh, 860px);
  object-fit: contain;
  border-radius: 14px;
  background: rgba(28, 25, 23, 0.35);
  display: block;
}

/* Gallery Navigation Buttons */

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(28, 25, 23, 0.64);
  color: white;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  user-select: none;
  transition: background 0.3s ease;
}

.gallery-nav-btn:hover {
  background: rgba(28, 25, 23, 0.8);
}

.gallery-nav-btn:focus-visible {
  outline: 2px solid #d4a574;
  outline-offset: 2px;
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-close {
  top: 14px;
  left: 14px;
  transform: none;
  width: auto;
  padding: 0 0.9rem;
  font-size: 1.8rem;
  height: 40px;
}

.hero-carousel .carousel-item {
  min-height: clamp(640px, 95vh, 980px);
}

.hero-carousel {
  position: relative;
  background: #bea373;
}

.hero-carousel .carousel-inner {
  position: relative;
  min-height: clamp(640px, 95vh, 980px);
  background: #bea373;
}

/* Keep all slides in the DOM and fade them with smooth opacity transition */
.hero-carousel .carousel-item {
  display: block !important;
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
}

.hero-carousel .carousel-item.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide {
  min-height: clamp(640px, 95vh, 980px);
  background: #bea373;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--slide-image);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform, opacity;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(7rem, 11vh, 8.5rem) 0 clamp(5rem, 10vh, 7rem);
  max-width: 700px;
}

.hero-content h1 {
  color: white;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 0.7rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  font-family: "Cormorant Garamond", serif;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.45;
  margin: 0;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: #d4a574;
  margin: 0 0 0.45rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-content {
  margin-left: clamp(1rem, 5vw, 5rem) !important;
  margin-right: auto !important;
}

/* Zoom-move animation matching aaqHomes */
.carousel-item.active .hero-slide::before {
  animation: zoom-move 10s linear infinite;
}

@keyframes zoom-move {
  0% {
    transform: translateX(0) scale(1);
    transform-origin: 50% 50%;
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translateX(15%) scale(1.2);
    transform-origin: 50% 50%;
    opacity: 1;
  }
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.75rem;
}

.carousel-indicators button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 300ms ease;
  padding: 0;
}

.carousel-indicators button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel-indicators button.active {
  background: white;
  border-color: white;
  width: 32px;
  border-radius: 999px;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(28, 25, 23, 0.4);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  transition: all 300ms ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(28, 25, 23, 0.7);
  border-color: white;
}

.carousel-control-prev {
  left: 2rem;
}

.carousel-control-next {
  right: 2rem;
}

/* Icon styles */
.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  content: "";
  display: block;
}

.carousel-control-prev-icon::before {
  content: "‹";
  font-size: 2rem;
}

.carousel-control-next-icon::before {
  content: "›";
  font-size: 2rem;
}

/* Buttons */
.btn {
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-block;
  text-decoration: none;
  transition: all 300ms ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: #d4a574;
  border-color: #d4a574;
  color: #1c1917;
}

.btn-primary:hover {
  background: #e5b891;
  border-color: #e5b891;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
  background: transparent;
}

.btn-outline-light:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991px) {
  .hero-slide::before {
    background-size: contain;
  }

  .hero-carousel .carousel-item,
  .hero-carousel .carousel-inner,
  .hero-slide {
    min-height: clamp(560px, 88vh, 860px);
  }

  .hero-content {
    padding: 7.2rem 0 5rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .carousel-indicators {
    bottom: 1.5rem;
    gap: 0.6rem;
  }

  .carousel-indicators button {
    width: 12px;
    height: 12px;
  }

  .carousel-indicators button.active {
    width: 28px;
  }
}

@media (max-width: 767px) {
  .hero-slide::before {
    background-size: contain;
    background-position: center center;
  }

  .hero-carousel .carousel-item,
  .hero-carousel .carousel-inner,
  .hero-slide {
    min-height: clamp(480px, 78vh, 680px);
  }

  .hero-content {
    padding: calc(var(--section-scroll-offset) + 1.5rem) 0 4.2rem;
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    max-width: none;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-content p {
    max-width: 31rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    max-width: 22rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: auto;
    bottom: 2rem;
    transform: none;
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev {
    left: 1rem;
  }

  .carousel-control-next {
    right: 1rem;
  }

  .carousel-indicators {
    bottom: 5.5rem;
    gap: 0.5rem;
  }

  .carousel-indicators button {
    width: 10px;
    height: 10px;
  }

  .carousel-indicators button.active {
    width: 24px;
  }
}

@media (max-width: 480px) {
  .hero-slide::before {
    background-size: contain;
  }

  .hero-carousel .carousel-item,
  .hero-carousel .carousel-inner,
  .hero-slide {
    min-height: clamp(560px, 84vh, 700px);
  }

  .hero-content {
    padding: calc(var(--section-scroll-offset) + 1.3rem) 0 3.8rem;
  }

  .hero-content h1 {
    font-size: clamp(1.95rem, 8vw, 2.45rem);
    line-height: 1.08;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-actions .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Hide duplicate header in root div */
#root header {
  display: none;
}

#root .carousel-header {
  display: none;
}

body.no-scroll {
  overflow: hidden;
}

/* Gallery Responsive Design */
@media (max-width: 767px) {
  :root {
    --section-scroll-offset: 10.5rem;
  }

  .services-section,
  .studio-section,
  .contact-section {
    padding: 2rem 1rem;
  }

  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .studio-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .section-title-main {
    font-size: 1.95rem;
  }

  .service-feature-image,
  .studio-visual-image {
    height: 220px;
  }

  .contact-copy-block,
  .contact-card,
  .studio-copy-card {
    padding: 1.25rem;
  }

  .contact-title {
    font-size: 1.9rem;
  }

  .map-embed iframe {
    height: 240px;
  }

  .gallery-section {
    padding: 2rem 1rem;
  }

  .gallery-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  #root footer .footer-link {
    overflow-wrap: anywhere;
  }

  .gallery-nav-btn.gallery-prev,
  .gallery-nav-btn.gallery-next {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .gallery-nav-btn.gallery-prev {
    left: 14px;
  }

  .gallery-nav-btn.gallery-next {
    right: 14px;
  }

  .gallery-lightbox-inner {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-scroll-offset: 11.5rem;
  }

  .section-title-main,
  .contact-title {
    font-size: 1.6rem;
  }

  .map-embed iframe {
    height: 210px;
  }

  .gallery-title {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }

  #root footer .footer-link {
    font-size: 0.92rem;
  }

  .gallery-lightbox-image {
    max-height: min(70vh, 600px);
  }
}
